PageSourceSearch

https://illwill.com/_next/static/chunks/1zqnsosfcc8ne.js

js illwill.com collected 2026-10-02 03:46:35 UTC 87,037 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bcafd1b6-ea3e-4173-4610-da4a5c835330")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,936185,e=>{e.v({"headless-player-range":"slider-module__m0coTq__headless-player-range"})},807643,(e,t,n)=>{!function(){"use strict";var t=function(){this.init()};t.prototype={init:function(){var e=this||r;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="u">typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var t=this||r;if(e=parseFloat(e),t.ctx||c(),void 0!==e&&e>=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,r.ctx.currentTime);for(var n=0;n<t._howls.length;n++)if(!t._howls[n]._webAudio)for(var o=t._howls[n]._getSoundIds(),i=0;i<o.length;i++){var a=t._howls[n]._soundById(o[i]);a&&a._node&&(a._node.volume=a._volume*e)}return t}return t._volume},mute:function(e){var t=this||r;t.ctx||c(),t._muted=e,t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e?0:t._volume,r.ctx.currentTime);for(var n=0;n<t._howls.length;n++)if(!t._howls[n]._webAudio)for(var o=t._howls[n]._getSoundIds(),i=0;i<o.length;i++){var a=t._howls[n]._soundById(o[i]);a&&a._node&&(a._node.muted=!!e||a._muted)}return t},stop:function(){for(var e=this||r,t=0;t<e._howls.length;t++)e._howls[t].stop();return e},unload:function(){for(var e=this||r,t=e._howls.length-1;t>=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,c()),e},codecs:function(e){return(this||r)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||r;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if("u">typeof Audio)try{var t=new Audio;void 0===t.oncanplaythrough&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{var t=new Audio;t.muted&&(e.noAudio=!0)}catch(e){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||r,t=null;try{t="u">typeof Audio?new Audio:null}catch(t){return e}if(!t||"function"!=typeof t.canPlayType)return e;var n=t.canPlayType("audio/mpeg;").replace(/^no$/,""),o=e._navigator?e._navigator.userAgent:"",i=o.match(/OPR\/(\d+)/g),a=i&&33>parseInt(i[0].split("/")[1],10),s=-1!==o.indexOf("Safari")&&-1===o.indexOf("Chrome"),l=o.match(/Version\/(.*?) /),u=s&&l&&15>parseInt(l[1],10);return e._codecs={mp3:!!(!a&&(n||t.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!n,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!u&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!u&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||r;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(;e._html5AudioPool.length<e.html5PoolSize;)try{var r=new Audio;r._unlocked=!0,e._releaseHtml5Audio(r)}catch(t){e.noAudio=!0;break}for(var o=0;o<e._howls.length;o++)if(!e._howls[o]._webAudio)for(var i=e._howls[o]._getSoundIds(),a=0;a<i.length;a++){var s=e._howls[o]._soundById(i[a]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}e._autoResume();var l=e.ctx.createBufferSource();l.buffer=e._scratchBuffer,l.connect(e.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),l.onended=function(){l.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var n=0;n<e._howls.length;n++)e._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",t,!0),document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),e}},_obtainHtml5Audio:function(){var e=this||r;if(e._html5AudioPool.length)return e._html5AudioPool.pop();var t=new Audio().play();return t&&"u">typeof Promise&&(t instanceof Promise||"function"==typeof t.then)&&t.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(e){var t=this||r;
vendor: 9,867 bytes, line 2
2return e._unlocked&&t._html5AudioPool.push(e),t},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&void 0!==e.ctx.suspend&&r.usingWebAudio){for(var t=0;t<e._howls.length;t++)if(e._howls[t]._webAudio){for(var n=0;n<e._howls[t]._sounds.length;n++)if(!e._howls[t]._sounds[n]._paused)return e}return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout(function(){if(e.autoSuspend){e._suspendTimer=null,e.state="suspending";var t=function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())};e.ctx.suspend().then(t,t)}},3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&void 0!==e.ctx.resume&&r.usingWebAudio)return"running"===e.state&&"interrupted"!==e.ctx.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state||"running"===e.state&&"interrupted"===e.ctx.state?(e.ctx.resume().then(function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")}),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}};var r=new t,o=function(e){e.src&&0!==e.src.length?this.init(e):console.error("An array of source files must be passed with any new Howl.")};o.prototype={init:function(e){var t=this;return r.ctx||c(),t._autoplay=e.autoplay||!1,t._format="string"!=typeof e.format?e.format:[e.format],t._html5=e.html5||!1,t._muted=e.mute||!1,t._loop=e.loop||!1,t._pool=e.pool||5,t._preload="boolean"!=typeof e.preload&&"metadata"!==e.preload||e.preload,t._rate=e.rate||1,t._sprite=e.sprite||{},t._src="string"!=typeof e.src?e.src:[e.src],t._volume=void 0!==e.volume?e.volume:1,t._xhr={method:e.xhr&&e.xhr.method?e.xhr.method:"GET",headers:e.xhr&&e.xhr.headers?e.xhr.headers:null,withCredentials:!!e.xhr&&!!e.xhr.withCredentials&&e.xhr.withCredentials},t._duration=0,t._state="unloaded",t._sounds=[],t._endTimers={},t._queue=[],t._playLock=!1,t._onend=e.onend?[{fn:e.onend}]:[],t._onfade=e.onfade?[{fn:e.onfade}]:[],t._onload=e.onload?[{fn:e.onload}]:[],t._onloaderror=e.onloaderror?[{fn:e.onloaderror}]:[],t._onplayerror=e.onplayerror?[{fn:e.onplayerror}]:[],t._onpause=e.onpause?[{fn:e.onpause}]:[],t._onplay=e.onplay?[{fn:e.onplay}]:[],t._onstop=e.onstop?[{fn:e.onstop}]:[],t._onmute=e.onmute?[{fn:e.onmute}]:[],t._onvolume=e.onvolume?[{fn:e.onvolume}]:[],t._onrate=e.onrate?[{fn:e.onrate}]:[],t._onseek=e.onseek?[{fn:e.onseek}]:[],t._onunlock=e.onunlock?[{fn:e.onunlock}]:[],t._onresume=[],t._webAudio=r.usingWebAudio&&!t._html5,void 0!==r.ctx&&r.ctx&&r.autoUnlock&&r._unlockAudio(),r._howls.push(t),t._autoplay&&t._queue.push({event:"play",action:function(){t.play()}}),t._preload&&"none"!==t._preload&&t.load(),t},load:function(){var e,t,n=null;if(r.noAudio)return void this._emit("loaderror",null,"No audio support.");"string"==typeof this._src&&(this._src=[this._src]);for(var o=0;o<this._src.length;o++){if(this._format&&this._format[o])e=this._format[o];else{if("string"!=typeof(t=this._src[o])){this._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(e=/^data:audio\/([^;,]+);/i.exec(t))||(e=/\.([^.]+)$/.exec(t.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&&r.codecs(e)){n=this._src[o];break}}return n?(this._src=n,this._state="loading","https:"===window.location.protocol&&"http:"===n.slice(0,5)&&(this._html5=!0,this._webAudio=!1),new i(this),this._webAudio&&s(this),this):void this._emit("loaderror",null,"No codec support for selected audio sources.")},play:function(e,t){var n=this,o=null;if("number"==typeof e)o=e,e=null;else if("string"==typeof e&&"loaded"===n._state&&!n._sprite[e])return null;else if(void 0===e&&(e="__default",!n._playLock)){for(var i=0,a=0;a<n._sounds.length;a++)n._sounds[a]._paused&&!n._sounds[a]._ended&&(i++,o=n._sounds[a]._id);1===i?e=null:o=null}var s=o?n._soundById(o):n._inactiveSound();if(!s)return null;if(o&&!e&&(e=s._sprite||"__default"),"loaded"!==n._state){s._sprite=e,s._ended=!1;var l=s._id;return n._queue.push({event:"play",action:function(){n.play(l)}}),l}if(o&&!s._paused)return t||n._loadQueue("play"),s._id;n._webAudio&&r._autoResume();var u=Math.max(0,s._seek>0?s._seek:n._sprite[e][0]/1e3),d=Math.max(0,(n._sprite[e][0]+n._sprite[e][1])/1e3-u),c=1e3*d/Math.abs(s._rate),h=n._sprite[e][0]/1e3,f=(n._sprite[e][0]+n._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var p=function(){s._paused=!1,s._seek=u,s._start=h,s._stop=f,s._loop=!!(s._loop||n._sprite[e][2])};if(u>=f)return void n._ended(s);var _=s._node;if(n._webAudio){var m=function(){n._playLock=!1,p(),n._refreshBuffer(s);var e=s._muted||n._muted?0:s._volume;_.gain.setValueAtTime(e,r.ctx.currentTime),s._playStart=r.ctx.currentTime,void 0===_.bufferSource.start?s._loop?_.bufferSource.noteGrainOn(0,u,86400):_.bufferSource.noteGrainOn(0,u,d):s._loop?_.bufferSource.start(0,u,86400):_.bufferSource.start(0,u,d),c!==1/0&&(n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),c)),t||setTimeout(function(){n._emit("play",s._id),n._loadQueue()},0)};"running"===r.state&&"interrupted"!==r.ctx.state?m():(n._playLock=!0,n.once("resume",m),n._clearTimer(s._id))}else{var g=function(){_.currentTime=u,_.muted=s._muted||n._muted||r._muted||_.muted,_.volume=s._volume*r.volume(),_.playbackRate=s._rate;try{var o=_.play();if(o&&"u">typeof Promise&&(o instanceof Promise||"function"==typeof o.then)?(n._playLock=!0,p(),o.then(function(){n._playLock=!1,_._unlocked=!0,t?n._loadQueue():n._emit("play",s._id)}).catch(function(){n._playLock=!1,n._emit("playerror",s._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."),s._ended=!0,s._paused=!0})):t||(n._playLock=!1,p(),n._emit("play",s._id)),_.playbackRate=s._rate,_.paused)return void n._emit("playerror",s._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"!==e||s._loop?n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),c):(n._endTimers[s._id]=function(){n._ended(s),_.removeEventListener("ended",n._endTimers[s._id],!1)},_.addEventListener("ended",n._endTimers[s._id],!1))}catch(e){n._emit("playerror",s._id,e)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===_.src&&(_.src=n._src,_.load());var v=window&&window.ejecta||!_.readyState&&r._navigator.isCocoonJS;if(_.readyState>=3||v)g();else{n._playLock=!0,n._state="loading";var w=function(){n._state="loaded",g(),_.removeEventListener(r._canPlayEvent,w,!1)};_.addEventListener(r._canPlayEvent,w,!1),n._clearTimer(s._id)}}return s._id},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),r=0;r<n.length;r++){t._clearTimer(n[r]);var o=t._soundById(n[r]);if(o&&!o._paused&&(o._seek=t.seek(n[r]),o._rateSeek=0,o._paused=!0,t._stopFade(n[r]),o._node))if(t._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),t._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||t._emit("pause",o?o._id:null)}return t},stop:function(e,t){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(e)}}),n;for(var r=n._getSoundIds(e),o=0;o<r.length;o++){n._clearTimer(r[o]);var i=n._soundById(r[o]);i&&(i._seek=i._start||0,i._rateSeek=0,i._paused=!0,i._ended=!0,n._stopFade(r[o]),i._node&&(n._webAudio?i._node.bufferSource&&(void 0===i._node.bufferSource.stop?i._node.bufferSource.noteOff(0):i._node.bufferSource.stop(0),n._cleanBuffer(i._node)):isNaN(i._node.duration)&&i._node.duration!==1/0||(i._node.currentTime=i._start||0,i._node.pause(),i._node.duration===1/0&&n._clearSound(i._node))),t||n._emit("stop",i._id))}return n},mute:function(e,t){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(e,t)}}),n;if(void 0===t)if("boolean"!=typeof e)return n._muted;else n._muted=e;for(var o=n._getSoundIds(t),i=0;i<o.length;i++){var a=n._soundById(o[i]);a&&(a._muted=e,a._interval&&n._stopFade(a._id),n._webAudio&&a._node?a._node.gain.setValueAtTime(e?0:a._volume,r.ctx.currentTime):a._node&&(a._node.muted=!!r._muted||e),n._emit("mute",a._id))}return n},volume:function(){var e,t,n,o=this,i=arguments;if(0===i.length)return o._volume;if(1===i.length||2===i.length&&void 0===i[1]?o._getSoundIds().indexOf(i[0])>=0?t=parseInt(i[0],10):e=parseFloat(i[0]):i.length>=2&&(e=parseFloat(i[0]),t=parseInt(i[1],10)),void 0===e||!(e>=0)||!(e<=1))return(n=t?o._soundById(t):o._sounds[0])?n._volume:0;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"volume",action:function(){o.volume.apply(o,i)}}),o;void 0===t&&(o._volume=e),t=o._getSoundIds(t);for(var a=0;a<t.length;a++)(n=o._soundById(t[a]))&&(n._volume=e,i[2]||o._stopFade(t[a]),o._webAudio&&n._node&&!n._muted?n._node.gain.setValueAtTime(e,r.ctx.currentTime):n._node&&!n._muted&&(n._node.volume=e*r.volume()),o._emit("volume",n._id));return o},fade:function(e,t,n,o){var i=this;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"fade",action:function(){i.fade(e,t,n,o)}}),i;e=Math.min(Math.max(0,parseFloat(e)),1),t=Math.min(Math.max(0,parseFloat(t)),1),n=parseFloat(n),i.volume(e,o);for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var l=i._soundById(a[s]);if(l){if(o||i._stopFade(a[s]),i._webAudio&&!l._muted){var u=r.ctx.currentTime,d=u+n/1e3;l._volume=e,l._node.gain.setValueAtTime(e,u),l._node.gain.linearRampToValueAtTime(t,d)}i._startFadeInterval(l,e,t,n,a[s],void 0===o)}}return i},_startFadeInterval:function(e,t,n,r,o,i){var a=this,s=t,l=n-t,u=Math.abs(l/.
201),d=Math.max(4,u>0?r/u:r),c=Date.now();e._fadeTo=n,e._interval=setInterval(function(){var o=(Date.now()-c)/r;c=Date.now(),s+=l*o,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),a._webAudio?e._volume=s:a.volume(s,e._id,!0),i&&(a._volume=s),(n<t&&s<=n||n>t&&s>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(n,e._id),a._emit("fade",e._id))},d)},_stopFade:function(e){var t=this._soundById(e);return t&&t._interval&&(this._webAudio&&t._node.gain.cancelScheduledValues(r.ctx.currentTime),clearInterval(t._interval),t._interval=null,this.volume(t._fadeTo,e),t._fadeTo=null,this._emit("fade",e)),this},loop:function(){var e,t,n,r=arguments;if(0===r.length)return this._loop;if(1===r.length)if("boolean"!=typeof r[0])return!!(n=this._soundById(parseInt(r[0],10)))&&n._loop;else e=r[0],this._loop=e;else 2===r.length&&(e=r[0],t=parseInt(r[1],10));for(var o=this._getSoundIds(t),i=0;i<o.length;i++)(n=this._soundById(o[i]))&&(n._loop=e,this._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=e,e&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop,this.playing(o[i])&&(this.pause(o[i],!0),this.play(o[i],!0)))));return this},rate:function(){var e,t,n,o=this,i=arguments;if(0===i.length?t=o._sounds[0]._id:1===i.length?o._getSoundIds().indexOf(i[0])>=0?t=parseInt(i[0],10):e=parseFloat(i[0]):2===i.length&&(e=parseFloat(i[0]),t=parseInt(i[1],10)),"number"!=typeof e)return(n=o._soundById(t))?n._rate:o._rate;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"rate",action:function(){o.rate.apply(o,i)}}),o;void 0===t&&(o._rate=e),t=o._getSoundIds(t);for(var a=0;a<t.length;a++)if(n=o._soundById(t[a])){o.playing(t[a])&&(n._rateSeek=o.seek(t[a]),n._playStart=o._webAudio?r.ctx.currentTime:n._playStart),n._rate=e,o._webAudio&&n._node&&n._node.bufferSource?n._node.bufferSource.playbackRate.setValueAtTime(e,r.ctx.currentTime):n._node&&(n._node.playbackRate=e);var s=o.seek(t[a]),l=1e3*((o._sprite[n._sprite][0]+o._sprite[n._sprite][1])/1e3-s)/Math.abs(n._rate);(o._endTimers[t[a]]||!n._paused)&&(o._clearTimer(t[a]),o._endTimers[t[a]]=setTimeout(o._ended.bind(o,n),l)),o._emit("rate",n._id)}return o},seek:function(){var e,t,n=this,o=arguments;if(0===o.length?n._sounds.length&&(t=n._sounds[0]._id):1===o.length?n._getSoundIds().indexOf(o[0])>=0?t=parseInt(o[0],10):n._sounds.length&&(t=n._sounds[0]._id,e=parseFloat(o[0])):2===o.length&&(e=parseFloat(o[0]),t=parseInt(o[1],10)),void 0===t)return 0;if("number"==typeof e&&("loaded"!==n._state||n._playLock))return n._queue.push({event:"seek",action:function(){n.seek.apply(n,o)}}),n;var i=n._soundById(t);if(i)if("number"==typeof e&&e>=0){var a=n.playing(t);a&&n.pause(t,!0),i._seek=e,i._ended=!1,n._clearTimer(t),n._webAudio||!i._node||isNaN(i._node.duration)||(i._node.currentTime=e);var s=function(){a&&n.play(t,!0),n._emit("seek",t)};if(a&&!n._webAudio){var l=function(){n._playLock?setTimeout(l,0):s()};setTimeout(l,0)}else s()}else{if(!n._webAudio)return i._node.currentTime;var u=n.playing(t)?r.ctx.currentTime-i._playStart:0,d=i._rateSeek?i._rateSeek-i._seek:0;return i._seek+(d+u*Math.abs(i._rate))}return n},playing:function(e){if("number"==typeof e){var t=this._soundById(e);return!!t&&!t._paused}for(var n=0;n<this._sounds.length;n++)if(!this._sounds[n]._paused)return!0;return!1},duration:function(e){var t=this._duration,n=this._soundById(e);return n&&(t=this._sprite[n._sprite][1]/1e3),t},state:function(){return this._state},unload:function(){for(var e=this,t=e._sounds,n=0;n<t.length;n++)t[n]._paused||e.stop(t[n]._id),e._webAudio||(e._clearSound(t[n]._node),t[n]._node.removeEventListener("error",t[n]._errorFn,!1),t[n]._node.removeEventListener(r._canPlayEvent,t[n]._loadFn,!1),t[n]._node.removeEventListener("ended",t[n]._endFn,!1),r._releaseHtml5Audio(t[n]._node)),delete t[n]._node,e._clearTimer(t[n]._id);var o=r._howls.indexOf(e);o>=0&&r._howls.splice(o,1);var i=!0;for(n=0;n<r._howls.length;n++)if(r._howls[n]._src===e._src||e._src.indexOf(r._howls[n]._src)>=0){i=!1;break}return a&&i&&delete a[e._src],r.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,r){var o=this["_on"+e];return"function"==typeof t&&o.push(r?{id:n,fn:t,once:r}:{id:n,fn:t}),this},off:function(e,t,n){var r=this["_on"+e],o=0;if("number"==typeof t&&(n=t,t=null),t||n)for(o=0;o<r.length;o++){var i=n===r[o].id;if(t===r[o].fn&&i||!t&&i){r.splice(o,1);break}}else if(e)this["_on"+e]=[];else{var a=Object.keys(this);for(o=0;o<a.length;o++)0===a[o].indexOf("_on")&&Array.isArray(this[a[o]])&&(this[a[o]]=[])}return this},once:function(e,t,n){return this.on(e,t,n,1),this},_emit:function(e,t,n){for(var r=this["_on"+e],o=r.length-1;o>=0;o--)(!r[o].id||r[o].id===t||"load"===e)&&(setTimeout((function(e){e.call(this,t,n)}).bind(this,r[o].fn),0),r[o].once&&this.off(e,r[o].fn,r[o].id));return this._loadQueue(e),this},_loadQueue:function(e){if(this._queue.length>0){var t=this._queue[0];t.event===e&&(this._queue.shift(),this._loadQueue()),e||t.action()}return this},_ended:function(e){var t=e._sprite;if(!this._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime<e._stop)return setTimeout(this._ended.bind(this,e),100),this;var n=!!(e._loop||this._sprite[t][2]);if(this._emit("end",e._id),!this._webAudio&&n&&this.stop(e._id,!0).play(e._id),this._webAudio&&n){this._emit("play",e._id),e._seek=e._start||0,e._rateSeek=0,e._playStart=r.ctx.currentTime;var o=(e._stop-e._start)*1e3/Math.abs(e._rate);this._endTimers[e._id]=setTimeout(this._ended.bind(this,e),o)}return this._webAudio&&!n&&(e._paused=!0,e._ended=!0,e._seek=e._start||0,e._rateSeek=0,this._clearTimer(e._id),this._cleanBuffer(e._node),r._autoSuspend()),this._webAudio||n||this.stop(e._id,!0),this}
2,_clearTimer:function(e){if(this._endTimers[e]){if("function"!=typeof this._endTimers[e])clearTimeout(this._endTimers[e]);else{var t=this._soundById(e);t&&t._node&&t._node.removeEventListener("ended",this._endTimers[e],!1)}delete this._endTimers[e]}return this},_soundById:function(e){for(var t=0;t<this._sounds.length;t++)if(e===this._sounds[t]._id)return this._sounds[t];return null},_inactiveSound:function(){this._drain();for(var e=0;e<this._sounds.length;e++)if(this._sounds[e]._ended)return this._sounds[e].reset();return new i(this)},_drain:function(){var e=this._pool,t=0,n=0;if(!(this._sounds.length<e)){for(n=0;n<this._sounds.length;n++)this._sounds[n]._ended&&t++;for(n=this._sounds.length-1;n>=0;n--){if(t<=e)return;this._sounds[n]._ended&&(this._webAudio&&this._sounds[n]._node&&this._sounds[n]._node.disconnect(0),this._sounds.splice(n,1),t--)}}},_getSoundIds:function(e){if(void 0!==e)return[e];for(var t=[],n=0;n<this._sounds.length;n++)t.push(this._sounds[n]._id);return t},_refreshBuffer:function(e){return e._node.bufferSource=r.ctx.createBufferSource(),e._node.bufferSource.buffer=a[this._src],e._panner?e._node.bufferSource.connect(e._panner):e._node.bufferSource.connect(e._node),e._node.bufferSource.loop=e._loop,e._loop&&(e._node.bufferSource.loopStart=e._start||0,e._node.bufferSource.loopEnd=e._stop||0),e._node.bufferSource.playbackRate.setValueAtTime(e._rate,r.ctx.currentTime),this},_cleanBuffer:function(e){var t=r._navigator&&r._navigator.vendor.indexOf("Apple")>=0;if(!e.bufferSource)return this;if(r._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=r._scratchBuffer}catch(e){}return e.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(r._navigator&&r._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var i=function(e){this._parent=e,this.init()};i.prototype={init:function(){var e=this._parent;return this._muted=e._muted,this._loop=e._loop,this._volume=e._volume,this._rate=e._rate,this._seek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++r._counter,e._sounds.push(this),this.create(),this},create:function(){var e=this._parent,t=r._muted||this._muted||this._parent._muted?0:this._volume;return e._webAudio?(this._node=void 0===r.ctx.createGain?r.ctx.createGainNode():r.ctx.createGain(),this._node.gain.setValueAtTime(t,r.ctx.currentTime),this._node.paused=!0,this._node.connect(r.masterGain)):r.noAudio||(this._node=r._obtainHtml5Audio(),this._errorFn=this._errorListener.bind(this),this._node.addEventListener("error",this._errorFn,!1),this._loadFn=this._loadListener.bind(this),this._node.addEventListener(r._canPlayEvent,this._loadFn,!1),this._endFn=this._endListener.bind(this),this._node.addEventListener("ended",this._endFn,!1),this._node.src=e._src,this._node.preload=!0===e._preload?"auto":e._preload,this._node.volume=t*r.volume(),this._node.load()),this},reset:function(){var e=this._parent;return this._muted=e._muted,this._loop=e._loop,this._volume=e._volume,this._rate=e._rate,this._seek=0,this._rateSeek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++r._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 e=this._parent;e._duration=Math.ceil(10*this._node.duration)/10,0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue()),this._node.removeEventListener(r._canPlayEvent,this._loadFn,!1)},_endListener:function(){var e=this._parent;e._duration===1/0&&(e._duration=Math.ceil(10*this._node.duration)/10,e._sprite.__default[1]===1/0&&(e._sprite.__default[1]=1e3*e._duration),e._ended(this)),this._node.removeEventListener("ended",this._endFn,!1)}};var a={},s=function(e){var t=e._src;if(a[t]){e._duration=a[t].duration,d(e);return}if(/^data:[^;]+;
2base64,/.test(t)){for(var n=atob(t.split(",")[1]),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);u(r.buffer,e)}else{var i=new XMLHttpRequest;i.open(e._xhr.method,t,!0),i.withCredentials=e._xhr.withCredentials,i.responseType="arraybuffer",e._xhr.headers&&Object.keys(e._xhr.headers).forEach(function(t){i.setRequestHeader(t,e._xhr.headers[t])}),i.onload=function(){var t=(i.status+"")[0];"0"!==t&&"2"!==t&&"3"!==t?e._emit("loaderror",null,"Failed loading audio file with status: "+i.status+"."):u(i.response,e)},i.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete a[t],e.load())},l(i)}},l=function(e){try{e.send()}catch(t){e.onerror()}},u=function(e,t){var n=function(){t._emit("loaderror",null,"Decoding audio data failed.")},o=function(e){e&&t._sounds.length>0?(a[t._src]=e,d(t,e)):n()};"u">typeof Promise&&1===r.ctx.decodeAudioData.length?r.ctx.decodeAudioData(e).then(o).catch(n):r.ctx.decodeAudioData(e,o,n)},d=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},c=function(){if(r.usingWebAudio){try{"u">typeof AudioContext?r.ctx=new AudioContext:"u">typeof webkitAudioContext?r.ctx=new webkitAudioContext:r.usingWebAudio=!1}catch(e){r.usingWebAudio=!1}r.ctx||(r.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(r._navigator&&r._navigator.platform),t=r._navigator&&r._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=t?parseInt(t[1],10):null;if(e&&n&&n<9){var o=/safari/.test(r._navigator&&r._navigator.userAgent.toLowerCase());r._navigator&&!o&&(r.usingWebAudio=!1)}r.usingWebAudio&&(r.masterGain=void 0===r.ctx.createGain?r.ctx.createGainNode():r.ctx.createGain(),r.masterGain.gain.setValueAtTime(r._muted?0:r._volume,r.ctx.currentTime),r.masterGain.connect(r.ctx.destination)),r._setup()}};"function"==typeof define&&define.amd&&e.v({Howler:r,Howl:o}),n.Howler=r,n.Howl=o,e.g.HowlerGlobal=t,e.g.Howler=r,e.g.Howl=o,e.g.Sound=i}(),function(){"use strict";HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){if(!this.ctx||!this.ctx.listener)return this;for(var t=this._howls.length-1;t>=0;t--)this._howls[t].stereo(e);return this},HowlerGlobal.prototype.pos=function(e,t,n){return this.ctx&&this.ctx.listener?(t="number"!=typeof t?this._pos[1]:t,n="number"!=typeof n?this._pos[2]:n,"number"!=typeof e)?this._pos:(this._pos=[e,t,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(e,t,n,r,o,i){if(!this.ctx||!this.ctx.listener)return this;var a=this._orientation;return(t="number"!=typeof t?a[1]:t,n="number"!=typeof n?a[2]:n,r="number"!=typeof r?a[3]:r,o="number"!=typeof o?a[4]:o,i="number"!=typeof i?a[5]:i,"number"!=typeof e)?a:(this._orientation=[e,t,n,r,o,i],void 0!==this.ctx.listener.forwardX?(this.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),this.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),this.ctx.listener.upX.setTargetAtTime(r,Howler.ctx.currentTime,.1),this.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),this.ctx.listener.upZ.setTargetAtTime(i,Howler.ctx.currentTime,.1)):this.ctx.listener.setOrientation(e,t,n,r,o,i),this)},Howl.prototype.init=(e=Howl.prototype.init,function(t){return this._orientation=t.orientation||[1,0,0],this._stereo=t.stereo||null,this._pos=t.pos||null,this._pannerAttr={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:0,distanceModel:void 0!==t.distanceModel?t.distanceModel:"inverse",maxDistance:void 0!==t.maxDistance?t.maxDistance:1e4,panningModel:void 0!==t.panningModel?t.panningModel:"HRTF",refDistance:void 0!==t.refDistance?t.refDistance:1,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:1},this._onstereo=t.onstereo?[{fn:t.onstereo}]:[],this._onpos=t.onpos?[{fn:t.onpos}]:[],this._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}),Howl.prototype.stereo=function(e,t){var n=this;if(!n._webAudio)return n;if("loaded"!==n._state)return n._queue.push({event:"stereo",action:function(){n.stereo(e,t)}}),n;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===t)if("number"!=typeof e)return n._stereo;else n._stereo=e,n._pos=[e,0,0];for(var i=n._getSoundIds(t),a=0;a<i.length;a++){var s=n._soundById(i[a]);if(s)if("number"!=typeof e)return s._stereo;else s._stereo=e,s._pos=[e,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||r(s,o),"spatial"===o?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(e,0,0):s._panner.pan.setValueAtTime(e,Howler.ctx.currentTime)),n._emit("stereo",s._id)}return n},Howl.prototype.pos=function(e,t,n,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"pos",action:function(){i.pos(e,t,n,o)}}),i;if(t="number"!=typeof t?0:t,n="number"!=typeof n?-.5:n,void 0===o)if("number"!=typeof e)return i._pos;else i._pos=[e,t,n];for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var l=i._soundById(a[s]);if(l)if("number"!=typeof e)return l._pos;else l._pos=[e,t,n],l._node&&((!l._panner||l._panner.pan)&&r(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(t,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(n,Howler.ctx.currentTime)):l._panner.setPosition(e,t,n)),i._emit("pos",l._id)}return i},Howl.prototype.orientation=function(e,t,n,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"orientation",action:function(){i.orientation(e,t,n,o)}}),i;if(t="number"!=typeof t?i._orientation[1]:t,n="number"!=typeof n?i._orientation[2]:n,void 0===o)if("number"!=typeof e)return i._orientation;else i._orientation=[e,t,n];for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var l=i._soundById(a[s]);if(l)if("number"!=typeof e)return l._orientation;else l._orientation=[e,t,n],l._node&&(l._panner||(l._pos||(l._pos=i._pos||[0,0,-.5]),r(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(t,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(n,Howler.ctx.currentTime)):l._panner.setOrientation(e,t,n)),i._emit("orientation",l._id)}return i},Howl.prototype.pannerAttr=function(){var e,t,n,o=arguments;if(!this._webAudio)return this;if(0===o.length)return this._pannerAttr;if(1===o.length)if("object"!=typeof o[0])return(n=this._soundById(parseInt(o[0],10)))?n._pannerAttr:this._pannerAttr;else e=o[0],void 0===t&&(e.pannerAttr||(e.pannerAttr={coneInnerAngle:e.coneInnerAngle,coneOuterAngle:e.coneOuterAngle,coneOuterGain:e.coneOuterGain,distanceModel:e.distanceModel,maxDistance:e.maxDistance,refDistance:e.refDistance,rolloffFactor:e.rolloffFactor,panningModel:e.panningModel}),this._pannerAttr={coneInnerAngle:void 0!==e.pannerAttr.coneInnerAngle?e.pannerAttr.coneInnerAngle:this._coneInnerAngle,coneOuterAngle:void 0!==e.pannerAttr.coneOuterAngle?e.pannerAttr.coneOuterAngle:this._coneOuterAngle,coneOuterGain:void 0!==e.pannerAttr.coneOuterGain?e.pannerAttr.coneOuterGain:this._coneOuterGain,distanceModel:void 0!==e.pannerAttr.distanceModel?e.pannerAttr.distanceModel:this._distanceModel,maxDistance:void 0!==e.pannerAttr.maxDistance?e.pannerAttr.maxDistance:this._maxDistance,refDistance:void 0!==e.pannerAttr.refDistance?e.pannerAttr.refDistance:this._refDistance,rolloffFactor:void 0!==e.pannerAttr.rolloffFactor?e.pannerAttr.rolloffFactor:this._rolloffFactor,panningModel:void 0!==e.pannerAttr.panningModel?e.pannerAttr.panningModel:this._panningModel});else 2===o.length&&(e=o[0],t=parseInt(o[1],10));for(var i=this._getSoundIds(t),a=0;a<i.length;a++)if(n=this._soundById(i[a])){var s=n._pannerAttr;s={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:s.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:s.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:s.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:s.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:s.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:s.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:s.rolloffFactor,panningModel:void 0!==e.panningModel?e.panningModel:s.panningModel};var l=n._panner;l||(n._pos||(n._pos=this._pos||[0,0,-.5]),r(n,"spatial"),l=n._panner),l.coneInnerAngle=s.coneInnerAngle,l.coneOuterAngle=s.coneOuterAngle,l.coneOuterGain=s.coneOuterGain,l.distanceModel=s.distanceModel,l.maxDistance=s.maxDistance,l.refDistance=s.refDistance,l.rolloffFactor=s.rolloffFactor,l.panningModel=s.panningModel}return this},Sound.prototype.init=(t=Sound.prototype.init,function(){var e=this._parent;this._orientation=e._orientation,this._stereo=e._stereo,this._pos=e._pos,this._pannerAttr=e._pannerAttr,t.call(this),this._stereo?e.stereo(this._stereo):this._pos&&e.pos(this._pos[0],this._pos[1],this._pos[2],this._id)}),Sound.prototype.reset=(n=Sound.prototype.reset,function(){var e=this._parent;return this._orientation=e._orientation,this._stereo=e._stereo,this._pos=e._pos,this._pannerAttr=e._pannerAttr,this._stereo?e.stereo(this._stereo):this._pos?e.pos(this._pos[0],this._pos[1],this._pos[2],this._id):this._panner&&(this._panner.disconnect(0),this._panner=void 0,e._refreshBuffer(this)),n.call(this)});var e,t,n,r=function(e,t){"spatial"===(t=t||"spatial")?(e._panner=Howler.ctx.createPanner(),e._panner.coneInnerAngle=e._pannerAttr.coneInnerAngle,e._panner.coneOuterAngle=e._pannerAttr.coneOuterAngle,e._panner.coneOuterGain=e._pannerAttr.coneOuterGain,e._panner.distanceModel=e._pannerAttr.distanceModel,e._panner.maxDistance=e._pannerAttr.maxDistance,e._panner.refDistance=e._pannerAttr.refDistance,e._panner.rolloffFactor=e._pannerAttr.rolloffFactor,e._panner.panningModel=e._pannerAttr.panningModel,void 0!==e._panner.positionX?(e._panner.positionX.setValueAtTime(e._pos[0],Howler.ctx.currentTime),e._panner.positionY.setValueAtTime(e._pos[1],Howler.ctx.currentTime),e._panner.positionZ.setValueAtTime(e._pos[2],Howler.ctx.currentTime)):e._panner.setPosition(e._pos[0],e._pos[1],e._pos[2]),void 0!==e._panner.orientationX?(e._panner.orientationX.setValueAtTime(e._orientation[0],Howler.ctx.currentTime),e._panner.orientationY.setValueAtTime(e._orientation[1],Howler.ctx.currentTime),e._panner.orientationZ.setValueAtTime(e._orientation[2],Howler.ctx.currentTime)):e._panner.setOrientation(e._orientation[0],e._orientation[1],e._orientation[2])):(e._panner=Howler.ctx.createStereoPanner(),e._panner.pan.setValueAtTime(e._stereo,Howler.ctx.currentTime)),e._panner.connect(e._node),e._paused||e._parent.pause(e._id,!0).play(e._id,!0)}}()},726894,e=>{"use strict";let t,n,r,o,i;var a,s,l,u=e.i(164309),d=e.i(784544),c=e.i(766417),h=e.i(798109),f=e.i(339276);let p=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"}))}),_=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.
2653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"}))}),m=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"}))}),g=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15 6-6m0 0-6-6m6 6H9a6 6 0 0 0 0 12h3"}))}),v=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.114 5.636a9 9 0 0 1 0 12.728M16.463 8.288a5.25 5.25 0 0 1 0 7.424M6.75 8.25l4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}),w=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 9.75 19.5 12m0 0 2.25 2.25M19.5 12l2.25-2.25M19.5 12l-2.25 2.25m-10.5-6 4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}),y=f.forwardRef(function(e,t){let[n,...r]=[e,t],{title:o,titleId:i}=n,a=(0,c._)(n,["title","titleId"]),[s]=r;return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":i},a),o?f.createElement("title",{id:i},o):null,f.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});function b(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=setTimeout(...n);return t.add(()=>clearTimeout(o))},microTask(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];let i={current:!0};return e=()=>{i.current&&r[0]()},"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{i.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=b();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function x(){let[e]=(0,f.useState)(b);return(0,f.useEffect)(()=>()=>
2e.dispose(),[e]),e}var A=Object.defineProperty,T=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?A(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};let S=new class{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){T(this,"current",this.detect()),T(this,"handoffState","pending"),T(this,"currentId",0)}},k=(e,t)=>{S.isServer?(0,f.useEffect)(e,t):(0,f.useLayoutEffect)(e,t)};function P(e){let t=(0,f.useRef)(e);return k(()=>{t.current=e},[e]),t}let M=function(e){let t=P(e);return f.default.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])};function E(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in f&&(0,f.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=f.useState(S.isHandoffComplete);return n&&!1===S.isHandoffComplete&&r(!1),f.useEffect(()=>{!0!==n&&r(!0)},[n]),f.useEffect(()=>S.handoff(),[]),!t&&n}let O=Symbol();function F(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,f.useRef)(t);(0,f.useEffect)(()=>{r.current=t},[t]);let o=M(e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[O]))?void 0:o}var H=e.i(145702);void 0!==H.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(s=null==H.default?void 0:H.default.env)?void 0:s.NODE_ENV)==="test"&&void 0===(null==(l=null==Element?void 0:Element.prototype)?void 0:l.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var j=((t=j||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);let C=(0,f.createContext)(null);C.displayName="OpenClosedContext";var L=((n=L||{})[n.Open=1]="Open",n[n.Closed=2]="Closed",n[n.Closing=4]="Closing",n[n.Opening=8]="Opening",n);function I(){return(0,f.useContext)(C)}function N(e){let{value:t,children:n}=e;return f.default.createElement(C.Provider,{value:t},n)}function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function B(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let i=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(i,B),i}var R=((r=R||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),W=((o=W||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function q(){let e,t,n=(e=(0,f.useRef)([]),t=(0,f.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.every(e=>null==e))return e.current=r,t});return(0,f.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:a=!0,name:s,mergeRefs:l}=e;l=null!=l?l:Y;let h=V(n,t);if(a)return G(h,r,o,s,l);let f=null!=i?i:0;if(2&f){let{static:e=!1}=h,t=(0,c._)(h,["static"]);if(e)return G(t,r,o,s,l)}if(1&f){let{unmount:e=!0}=h,t=(0,c._)(h,["unmount"]);return B(+!e,{0:()=>null,1:()=>G((0,d._)((0,u._)({},t),{hidden:!0,style:{display:"none"}}),r,o,s,l)})}return G(h,r,o,s,l)})((0,u._)({mergeRefs:n},e)),[n])}function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=z(e,["unmount","static"]),{as:a=n,children:s,refName:l="ref"}=i,u=(0,c._)(i,["as","children","refName"]),d=void 0!==e.ref?{[l]:e.ref}:{},h="function"==typeof s?s(t):s;h=function e(t){if(null!=t&&t.$$typeof===Symbol.for("react.lazy")){let n=t._payload;if(null!=n&&"fulfilled"===n.status)return e(n.value)}return t}(h),"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t)),u["aria-labelledby"]&&u["aria-labelledby"]===u.id&&
2(u["aria-labelledby"]=void 0);let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(p["data-headlessui-state"]=n.join(" "),n))p["data-".concat(e)]=""}if(U(a)&&(Object.keys(Q(u)).length>0||Object.keys(Q(p)).length>0))if(!(0,f.isValidElement)(h)||Array.isArray(h)&&h.length>1||U(h.type)){if(Object.keys(Q(u)).length>0)throw Error(['Passing props on "Fragment"!\n',"The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(Q(u)).concat(Object.keys(Q(p))).map(e=>"  - ".concat(e)).join("\n"),"\nYou can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"))}else{var _;let e=h.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return D(t(...n),u.className)}:D(t,u.className),r=V(h.props,Q(z(u,["ref"])));for(let e in p)e in r&&delete p[e];return(0,f.cloneElement)(h,Object.assign({},r,p,d,{ref:o((_=h,f.default.version.split(".")[0]>="19"?_.props.ref:_.ref),d.ref)},n?{className:n}:{}))}return(0,f.createElement)(a,Object.assign({},z(u,["ref"]),!U(a)&&d,!U(a)&&p),h)}function Y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function V(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(o[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function X(e){var t;return Object.assign((0,f.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Q(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function U(e){return e===f.Fragment||e===Symbol.for("react.fragment")}function $(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!U(null!=(t=e.as)?t:en)||1===f.default.Children.count(e.children)}let Z=(0,f.createContext)(null);Z.displayName="TransitionContext";var J=((i=J||{}).Visible="visible",i.Hidden="hidden",i);let K=(0,f.createContext)(null);function ee(e){return"children"in e?ee(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function et(e,t){let n,r=P(e),o=(0,f.useRef)([]),i=(n=(0,f.useRef)(!1),k(()=>(n.current=!0,()=>{n.current=!1}),[]),n),a=x(),s=M(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:W.Hidden,n=o.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==n&&(B(t,{[W.Unmount](){o.current.splice(n,1)},[W.Hidden](){o.current[n].state="hidden"}}),a.microTask(()=>{var e;!ee(o)&&i.current&&(null==(e=r.current)||e.call(r))}))}),l=M(e=>{let t=o.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),()=>s(e,W.Unmount)}),u=(0,f.useRef)([]),d=(0,f.useRef)(Promise.resolve()),c=(0,f.useRef)({enter:[],leave:[]}),h=M((e,n,r)=>{u.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
2)]),"enter"===n?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),p=M((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>n(t))});return(0,f.useMemo)(()=>({children:o,register:l,unregister:s,onStart:h,onStop:p,wait:d,chains:c}),[l,s,o,h,p,c,d])}K.displayName="NestingContext";let en=f.Fragment,er=R.RenderStrategy,eo=X(function(e,t){let{show:n,appear:r=!1,unmount:o=!0}=e,i=(0,c._)(e,["show","appear","unmount"]),a=(0,f.useRef)(null),s=F(...$(e)?[a,t]:null===t?[]:[t]);E();let l=I();if(void 0===n&&null!==l&&(n=(l&L.Open)===L.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,p]=(0,f.useState)(n?"visible":"hidden"),_=et(()=>{n||p("hidden")}),[m,g]=(0,f.useState)(!0),v=(0,f.useRef)([n]);k(()=>{!1!==m&&v.current[v.current.length-1]!==n&&(v.current.push(n),g(!1))},[v,n]);let w=(0,f.useMemo)(()=>({show:n,appear:r,initial:m}),[n,r,m]);k(()=>{n?p("visible"):ee(_)||null===a.current||p("hidden")},[n,_]);let y={unmount:o},b=M(()=>{var t;m&&g(!1),null==(t=e.beforeEnter)||t.call(e)}),x=M(()=>{var t;m&&g(!1),null==(t=e.beforeLeave)||t.call(e)}),A=q();return f.default.createElement(K.Provider,{value:_},f.default.createElement(Z.Provider,{value:w},A({ourProps:(0,d._)((0,u._)({},y),{as:f.Fragment,children:f.default.createElement(ei,(0,d._)((0,u._)({ref:s},y,i),{beforeEnter:b,beforeLeave:x}))}),theirProps:{},defaultTag:f.Fragment,features:er,visible:"visible"===h,name:"Transition"})))}),ei=X(function(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:a,beforeLeave:s,afterLeave:l,enter:d,enterFrom:h,enterTo:p,entered:_,leave:m,leaveFrom:g,leaveTo:v}=e,w=(0,c._)(e,["transition","beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"]),[y,A]=(0,f.useState)(null),T=(0,f.useRef)(null),S=$(e),P=F(...S?[T,t,A]:null===t?[]:[t]),O=null==(n=w.unmount)||n?W.Unmount:W.Hidden,{show:H,appear:j,initial:C}=function(){let e=(0,f.useContext)(Z);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,R]=(0,f.useState)(H?"visible":"hidden"),G=function(){let e=(0,f.useContext)(K);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Y,unregister:V}=G;k(()=>Y(T),[Y,T]),k(()=>{if(O===W.Hidden&&T.current)return H&&"visible"!==I?void R("visible"):B(I,{hidden:()=>V(T),visible:()=>Y(T)})},[I,T,Y,V,H,O]);let X=E();k(()=>{if(S&&X&&"visible"===I&&null===T.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[T,I,X,S]);let z=C&&!j,U=j&&H&&C,J=(0,f.useRef)(!1),eo=et(()=>{J.current||(R("hidden"),V(T))},G),ei=M(e=>{J.current=!0,eo.onStart(T,e?"enter":"leave",e=>{"enter"===e?null==i||i():"leave"===e&&(null==s||s())})}),ea=M(e=>{let t=e?"enter":"leave";J.current=!1,eo.onStop(T,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==l||l())}),"leave"!==t||ee(eo)||(R("hidden"),V(T))});(0,f.useEffect)(()=>{S&&o||(ei(H),ea(H))},[H,S,o]);let[,es]=function(e,t,n,r){let[o,i]=(0,f.useState)(n),{hasFlag:a,addFlag:s,removeFlag:l}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,f.useState)(e),r=(0,f.useCallback)(e=>n(e),[]),o=(0,f.useCallback)(e=>n(t=>t|e),[]),i=(0,f.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:(0,f.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,f.useCallback)(e=>n(t=>t^e),[])}}(e&&o?3:0),u=(0,f.useRef)(!1),d=(0,f.useRef)(!1);return k(()=>{var o;if(e){if(n&&i(!0),!t){n&&s(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:i}=t,a=b();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current)return r();let o=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=o}(e,{prepare:n,inFlight:i}),a.nextFrame(()=>{r(),a.requestAnimationFrame(()=>{a.add(function(e,t){var n,r;let o=b();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{i||t()}),o.dispose}(e,o))})}),a.dispose}(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,d.current||(n?(s(3),l(4)):(s(4),l(2)))},run(){d.current?n?(l(3),s(4)):(l(4),s(3)):n?l(1):s(1)},done(){var e,o,a,s;d.current&&(null!=(s=null==(a=(o=t).getAnimations)?void 0:a.call(o))?s:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(u.current=!1,l(7),n||i(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,x()]),e?[o,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!o||!S||!X||z),y,H,{start:ei,end:ea}),el=Q((0,u._)({ref:P,className:(null==(r=D(w.className,U&&d,U&&h,es.enter&&d,es.enter&&es.closed&&h,es.enter&&!es.closed&&p,es.leave&&m,es.leave&&!es.closed&&g,es.leave&&es.closed&&v,!es.transition&&H&&_))?void 0:r.trim())||void 0},function(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}(es))),eu=0;"visible"===I&&(eu|=L.Open),"hidden"===I&&(eu|=L.Closed),H&&"hidden"===I&&(eu|=L.Opening),H||"visible"!==I||(eu|=L.Closing);let ed=q();return f.default.createElement(K.Provider,{value:eo},f.default.createElement(N,{value:eu},ed({ourProps:el,theirProps:w,defaultTag:en,features:er,visible:"visible"===I,name:"Transition.Child"})))}),ea=X(function(e,t){let n=null!==(0,f.useContext)(Z),r=null!==I();return f.default.createElement(f.default.Fragment,null,!n&&r?f.default.createElement(eo,(0,u._)({ref:t},e)):f.default.createElement(ei,(0,u._)({ref:t},e)))}),es=Object.assign(eo,{Child:ea,Root:eo}),el={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function eu(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let ed={date:eu({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:eu({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:eu({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ec={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function eh(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ef(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let ep={code:"en-US",formatDistance:(e,t,n)=>{let r,o=el[e];if(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:ed,formatRelative:(e,t,n,r)=>ec[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:eh({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:eh({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:eh({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:eh({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:eh({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(a={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(a.matchPattern);if(!n)return null;let r=n[0],o=e.match(a.parsePattern);if(!o)return null;let i=a.valueCallback?a.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:ef({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ef({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:ef({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ef({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ef({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},e_={},em=Symbol.for("constructDateFrom");function eg(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&em in e?e[em](t):e instanceof Date?new e.constructor(t):new Date(t)}function ev(e,t){return eg(t||e,e)}function ew(e){let t=ev(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}function ey(e,t){let n=ev(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}function eb(e,t){var n,r,o,i,a,s,l,u;let d=null!=(n=null!=(r=null!=(o=null!=(i=null==t?void 0:t.weekStartsOn)?i:null==t||null==(s=t.locale)||null==(a=s.options)?void 0:a.weekStartsOn)?o:e_.weekStartsOn)?r:null==(u=e_.locale)||null==(l=u.options)?void 0:l.weekStartsOn)?n:0,c=ev(e,null==t?void 0:t.in),h=c.getDay();return c.setDate(c.getDate()-(7*(h<d)+h-d)),c.setHours(0,0,0,0),c}function ex(e,t){return eb(e,(0,d._)((0,u._)({},t),{weekStartsOn:1}))}function eA(e,t){let n=ev(e,null==t?void 0:t.in),r=n.getFullYear(),o=eg(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);let i=ex(o),a=eg(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let s=ex(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function eT(e,t){var n,r,o,i,a,s,l,u;let d=ev(e,null==t?void 0:t.in),c=d.getFullYear(),h=null!=(n=null!=(r=null!=(o=null!=(i=null==t?void 0:t.firstWeekContainsDate)?i:null==t||null==(s=t.locale)||null==(a=s.options)?void 0:a.firstWeekContainsDate)?o:e_.firstWeekContainsDate)?r:null==(u=e_.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?n:1,f=eg((null==t?void 0:t.in)||e,0);
2f.setFullYear(c+1,0,h),f.setHours(0,0,0,0);let p=eb(f,t),_=eg((null==t?void 0:t.in)||e,0);_.setFullYear(c,0,h),_.setHours(0,0,0,0);let m=eb(_,t);return+d>=+p?c+1:+d>=+m?c:c-1}function eS(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let ek={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return eS("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):eS(n+1,2)},d:(e,t)=>eS(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>eS(e.getHours()%12||12,t.length),H:(e,t)=>eS(e.getHours(),t.length),m:(e,t)=>eS(e.getMinutes(),t.length),s:(e,t)=>eS(e.getSeconds(),t.length),S(e,t){let n=t.length;return eS(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},eP={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return ek.y(e,t)},Y:function(e,t,n,r){let o=eT(e,r),i=o>0?o:1-o;return"YY"===t?eS(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):eS(i,t.length)},R:function(e,t){return eS(eA(e),t.length)},u:function(e,t){return eS(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return eS(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return eS(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return ek.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return eS(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o,i,a,s,l,u,d,c;let h,f,p,_,m=Math.round((eb(h=ev(e,null==r?void 0:r.in),r)-(f=null!=(o=null!=(i=null!=(a=null!=(s=null==r?void 0:r.firstWeekContainsDate)?s:null==r||null==(u=r.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?a:e_.firstWeekContainsDate)?i:null==(c=e_.locale)||null==(d=c.options)?void 0:d.firstWeekContainsDate)?o:1,p=eT(h,r),(_=eg((null==r?void 0:r.in)||h,0)).setFullYear(p,0,f),_.setHours(0,0,0,0),eb(_,r)))/6048e5)+1;return"wo"===t?n.ordinalNumber(m,{unit:"week"}):eS(m,t.length)},I:function(e,t,n){let r,o,i,a=Math.round((ex(r=ev(e,void 0))-(o=eA(r,void 0),(i=eg(r,0)).setFullYear(o,0,4),i.setHours(0,0,0,0),ex(i)))/6048e5)+1;return"Io"===t?n.ordinalNumber(a,{unit:"week"}):eS(a,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):ek.d(e,t)},D:function(e,t,n){let r,o,i=function(e,t){let[n,r]=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let o=eg.bind(null,e||n.find(e=>"object"==typeof e));return n.map(o)}(void 0,e,t),o=ey(n),i=ey(r);return Math.round((o-ew(o)-(i-ew(i)))/864e5)}(o=ev(e,void 0),((r=ev(o,void 0)).setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r))+1;return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):eS(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return eS(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return eS(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return eS(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,o=e.getHours();
2switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,o=e.getHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return ek.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):ek.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):eS(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):eS(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ek.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ek.s(e,t)},S:function(e,t){return ek.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return eE(r);case"XXXX":case"XX":return eO(r);default:return eO(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return eE(r);case"xxxx":case"xx":return eO(r);default:return eO(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+eM(r,":");default:return"GMT"+eO(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+eM(r,":");default:return"GMT"+eO(r,":")}},t:function(e,t,n){return eS(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return eS(+e,t.length)}};function eM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+eS(i,2)}function eE(e,t){return e%60==0?(e>0?"-":"+")+eS(Math.abs(e)/60,2):eO(e,t)}function eO(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+eS(Math.trunc(n/60),2)+t+eS(n%60,2)}let eF=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},eH=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},ej={p:eH,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return eF(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",eF(o,t)).replace("{{time}}",eH(i,t))}},eC=/^D+$/,eL=/^Y+$/,eI=["D","DD","YY","YYYY"],eN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eB=/^'([^]*?)'?$/,eR=/''/g,eW=/[a-zA-Z]/;var eq=e.i(264458);e.i(936185);let eG=e=>{let{onChange:t,progress:n,classes:r}=e,o=(0,f.useRef)(null),i=(0,f.useRef)(null),a=(0,f.useRef)(null);return(0,f.useLayoutEffect)(()=>{var e,t,r,s;let l=null!=(e=null==(r=i.current)?void 0:r.getBoundingClientRect().width)?e:0,u=null!=(t=null==(s=o.current)?void 0:s.getBoundingClientRect().width)?t:0,d=-(l/100*n*1),c=l+u/100*n-l/100*n;i.current&&(i.current.style.left="".concat(n,"%"),i.current.style.marginLeft="".concat(d,"px")),a.current&&(a.current.style.width="".concat(c,"px")),o.current&&(o.current.value=String(n))},[n]),(0,h.jsxs)("div",{className:(0,eq.default)("block w-full rounded-md relative h-[1px] sm:h-1 bg-gray-200",r),children:[(0,h.jsx)("span",{ref:a,className:"h-full relative block rounded-md z-20 bg-black"}),(0,h.jsx)("span",{className:"w-2 h-2 bg-black rounded-full absolute top-1/2 my-auto pointer-events-none select-none z-20 -translate-y-1/2",ref:i}),(0,h.jsx)("input",{type:"range",className:"headless-player-range appearance-none h-2 w-full cursor-pointer absolute ml-0 mr-0 my-auto inset-y-0 opacity-0 z-30 ]",step:"0.01",ref:o,defaultValue:0,onChange:t})]})};function eY(e){return function(e,t){var n,r,o,i,a,s,l,u,d;let c=null!=(n=e_.locale)?n:ep,h=null!=(r=null!=(o=e_.firstWeekContainsDate)?o:null==(l=e_.locale)||null==(s=l.options)?void 0:s.firstWeekContainsDate)?r:1,f=null!=(i=null!=(a=e_.weekStartsOn)?a:null==(d=e_.locale)||null==(u=d.options)?void 0:u.weekStartsOn)?i:0,p=ev(e,void 0);if(!(p instanceof Date||"object"==typeof p&&"[object Date]"===Object.prototype.toString.call(p))&&"number"!=typeof p||isNaN(+ev(p)))throw RangeError("Invalid time value");let _=t.match(eD).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,ej[t])(e,c.formatLong):e}).join("").match(eN).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(eB))?t[1].replace(eR,"'"):n}}if(eP[t])return{isToken:!0,value:e};
2if(t.match(eW))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});c.localize.preprocessor&&(_=c.localize.preprocessor(p,_));let m={firstWeekContainsDate:h,weekStartsOn:f,locale:c};return _.map(n=>{if(!n.isToken)return n.value;let r=n.value;return(eL.test(r)||eC.test(r))&&function(e,t,n){var r,o,i;let a,s=(r=e,o=t,i=n,a="Y"===r[0]?"years":"days of the month","Use `".concat(r.toLowerCase(),"` instead of `").concat(r,"` (in `").concat(o,"`) for formatting ").concat(a," to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(console.warn(s),eI.includes(e))throw RangeError(s)}(r,t,String(e)),(0,eP[r[0]])(p,r,c.localize,m)}).join("")}(new Date(1e3*e),"m:ss")}function eV(e){var t;let{player:n,handleClose:r,title:o="First We Take Columbia",author:i="Anonymous",show:a}=e,s=function(e){let t=(0,f.useRef)(0),[n,r]=(0,f.useState)(0);return(0,f.useEffect)(()=>{let n=()=>{r(e()),t.current=requestAnimationFrame(n)};return t.current=window.requestAnimationFrame(n),()=>{t.current&&cancelAnimationFrame(t.current)}},[e]),n}(()=>n.getPosition()),l=0===(t=n.duration)?0:s/t*100;return(0,h.jsx)(es,{show:a,children:(0,h.jsxs)("div",{className:"fixed bottom-0 inset-x-0 z-50 transition duration-300 ease-in translate-y-0 data-[closed]:translate-y-20 w-full ",children:[(0,h.jsx)(eG,{onChange:e=>n.seek(Number(e.target.value)/100*n.duration),progress:l,classes:"sm:hidden"}),(0,h.jsx)("div",{className:"flex items-center flex-col bg-white sm:border-t border-gray-400 justify-center px-4 pt-3 pb-3 sm:pt-3 sm:pb-4 ",children:(0,h.jsxs)("div",{className:"flex w-full font-sans flex-row items-center justify-between",children:[(0,h.jsxs)("div",{className:"flex flex-row items-center",children:[(0,h.jsxs)("div",{className:"flex flex-row items-center",children:[(0,h.jsx)("button",{onClick:()=>n.seek(n.getPosition()-10),className:"hidden sm:block",children:(0,h.jsx)(m,{className:"h-3 w-3 text-gray-400 hover:text-black"})}),(0,h.jsx)("button",{onClick:n.togglePlayPause,className:"px-2",children:n.isPlaying?(0,h.jsx)(p,{className:"h-6 w-6"}):(0,h.jsx)(_,{className:"h-6 w-6"})}),(0,h.jsx)("button",{onClick:()=>n.seek(n.getPosition()+10),className:"hidden sm:block",children:(0,h.jsx)(g,{className:"h-3 w-3 text-gray-400 hover:text-black"})})]}),(0,h.jsxs)("div",{className:"text-sm px-4 leading-[0.6]",children:[(0,h.jsx)("span",{className:"text-xs font-serif font-semibold",children:o}),(0,h.jsx)("br",{}),(0,h.jsx)("span",{className:"text-[0.65rem] font-sans",children:i})]})]}),(0,h.jsxs)("div",{className:"flex flex-row items-center grow",children:[(0,h.jsxs)("div",{className:"grow px-4 text-xs flex-row items-center hidden sm:flex",children:[(0,h.jsx)("p",{className:"px-2 text-gray-400",children:eY(s)}),(0,h.jsx)(eG,{onChange:e=>n.seek(Number(e.target.value)/100*n.duration),progress:l}),(0,h.jsx)("p",{className:"px-2 text-gray-400",children:eY(n.duration)})]}),(0,h.jsx)("button",{onClick:()=>n.toggleMute(),className:"text-gray-400 hover:text-black hidden sm:block",children:n.isMuted?(0,h.jsx)(w,{className:"w-5 h-5"}):(0,h.jsx)(v,{className:"w-5 h-5"})})]}),(0,h.jsx)("button",{className:"hover:text-black text-gray-400 ml-2",onClick:r,children:(0,h.jsx)(y,{className:"sm:w-4 sm:h-4 h-5 w-5"})})]})})]})})}var eX=e.i(807643),eQ=Object.defineProperty,ez=Object.defineProperties,eU=Object.getOwnPropertyDescriptors,e$=Object.getOwnPropertySymbols,eZ=Object.prototype.hasOwnProperty,eJ=Object.prototype.propertyIsEnumerable,eK=(e,t,n)=>t in e?eQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e0=(e,t)=>{for(var n in t||(t={}))eZ.call(t,n)&&eK(e,n,t[n]);if(e$)for(var n of e$(t))eJ.call(t,n)&&eK(e,n,t[n]);return e},e1=new class{create(e){let t=e.src;if(this._cache.has(t))return this._cache.get(t);let n=new eX.Howl(e);return this._cache.set(t,n),n}set(e,t){this._cache.set(e,t)}get(e){return this._cache.get(e)}clear(e){this._cache.delete(e)}destroy(e){let t=this.get(e);t&&(t.unload(),this.clear(e))}
2reset(){this._cache.values().forEach(e=>e.unload()),this._cache.clear()}constructor(){this._cache=new Map}},e2={isUnloaded:!0,isLoading:!1,isReady:!1,isLooping:!1,isPlaying:!1,isStopped:!1,isPaused:!1,duration:0,rate:1,volume:1,isMuted:!1,error:void 0},e5=class{updateSnapshot(e){this.snapshot=e0(e0({},this.snapshot),e),this.subscriptions.forEach(e=>e())}updateSnapshotFromHowlState(e){this.updateSnapshot(e0({},this.getSnapshotFromHowl(e)))}initHowl(e){var t,n;let r=e1.create(e);this.src=e.src,this.howl=r,this.updateSnapshot(ez(e0({},this.getSnapshotFromHowl(r)),eU({error:void 0}))),r._html5&&null!=(t=r._sounds[0])&&t._node&&(null==(n=r._sounds[0])?void 0:n._node).addEventListener("canplaythrough",()=>{this.updateSnapshotFromHowlState(r)}),r.on("load",()=>this.updateSnapshotFromHowlState(r)),r.on("play",()=>this.updateSnapshotFromHowlState(r)),r.on("end",()=>this.updateSnapshotFromHowlState(r)),r.on("pause",()=>this.updateSnapshotFromHowlState(r)),r.on("stop",()=>this.updateSnapshotFromHowlState(r)),r.on("mute",()=>this.updateSnapshotFromHowlState(r)),r.on("volume",()=>this.updateSnapshotFromHowlState(r)),r.on("rate",()=>this.updateSnapshotFromHowlState(r)),r.on("seek",()=>this.updateSnapshotFromHowlState(r)),r.on("fade",()=>this.updateSnapshotFromHowlState(r)),r.on("loaderror",(e,t)=>{console.error("Howl load error: ".concat(t)),this.updateSnapshotFromHowlState(r),this.updateSnapshot({error:"Failed to load audio source"})}),r.on("playerror",(e,t)=>{console.error("Howl playback error: ".concat(t)),this.updateSnapshotFromHowlState(r),this.updateSnapshot({error:"Failed to play audio source"})})}getSnapshotFromHowl(e){if("unloaded"===e.state())return e2;let t=e.state(),n=e.playing(),r=e.mute();return{isUnloaded:"unloaded"===t,isLoading:"loading"===t,isReady:"loaded"===t,isLooping:e.loop(),isPlaying:n,isStopped:!n&&0===e.seek(),isPaused:!n&&e.seek()>0,duration:e.duration(),rate:e.rate(),volume:e.volume(),isMuted:"object"!=typeof r&&r}}load(e){null!==this.howl&&this.destroy(),this.initHowl(e)}destroy(){this.src&&this.howl&&(this.howl.off("load"),this.howl.off("play"),this.howl.off("end"),this.howl.off("pause"),this.howl.off("stop"),this.howl.off("mute"),this.howl.off("volume"),this.howl.off("rate"),this.howl.off("seek"),this.howl.off("fade"),this.howl.off("loaderror"),this.howl.off("playerror"),e1.destroy(this.src),this.src=null,this.howl=null)}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}getSnapshot(){return this.snapshot}play(){this.howl&&(this.howl.playing()||this.howl.play())}pause(){this.howl&&this.howl.pause()}togglePlayPause(){this.snapshot.isPlaying?this.pause():this.play()}stop(){this.howl&&this.howl.stop()}setVolume(e){this.howl&&this.howl.volume(e)}setRate(e){this.howl&&this.howl.rate(e)}loopOn(){this.howl&&(this.howl.loop(!0),this.updateSnapshotFromHowlState(this.howl))}loopOff(){this.howl&&(this.howl.loop(!1),this.updateSnapshotFromHowlState(this.howl))}toggleLoop(){this.snapshot.isLooping?this.loopOff():this.loopOn()}mute(){this.howl&&this.howl.mute(!0)}unmute(){this.howl&&this.howl.mute(!1)}toggleMute(){this.snapshot.isMuted?this.unmute():this.mute()}seek(e){this.howl&&this.snapshot.duration!==1/0&&this.howl.seek(e)}getPosition(){return this.howl?this.howl.seek():0}fade(e,t,n){this.howl&&this.howl.fade(e,t,n)}constructor(e){this.howl=null,this.src=null,this.subscriptions=new Set,this.snapshot=e2,void 0!==e&&this.initHowl(e)}};(0,f.createContext)(null);var e4=e.i(676874);e.s(["default",0,function(e){let t,n,r,o=(0,e4.usePlausible)(),{src:i}=e,a=(0,c._)(e,["src"]),[s,l]=(0,f.useState)(!1),m=(t=(0,f.useRef)(new e5),n=(0,f.useSyncExternalStore)(t.current.subscribe.bind(t.current),t.current.getSnapshot.bind(t.current),()=>e2),(0,f.useEffect)(()=>()=>{t.current&&t.current.destroy()},[]),r=(0,f.useCallback)((e,n)=>{t.current.load(e0({src:e,format:null==n?void 0:n.format,html5:null==n?void 0:n.html5,autoplay:null==n?void 0:n.autoplay,loop:null==n?void 0:n.loop,volume:null==n?void 0:n.initialVolume,mute:null==n?void 0:n.initialMute,rate:null==n?void 0:n.initialRate},n))},[]),ez(e0({},n),eU({player:t.current.howl,src:t.current.src,load:r,play:t.current.play.bind(t.current),pause:t.current.pause.bind(t.current),togglePlayPause:t.current.togglePlayPause.bind(t.current),stop:t.current.stop.bind(t.current),setVolume:t.current.setVolume.bind(t.current),fade:t.current.fade.bind(t.current),mute:t.current.mute.bind(t.current),unmute:t.current.unmute.bind(t.current),toggleMute:t.current.toggleMute.bind(t.current),setRate:t.current.setRate.bind(t.current),seek:t.current.seek.bind(t.current),loopOn:t.current.loopOn.bind(t.current),loopOff:t.current.loopOff.b
2ind(t.current),toggleLoop:t.current.toggleLoop.bind(t.current),getPosition:t.current.getPosition.bind(t.current),cleanup:t.current.destroy.bind(t.current)})));return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"flex justify-center pt-16",children:(0,h.jsx)("button",{title:"Play audio recording",className:"mx-auto print:hidden",onClick:()=>{s?m.togglePlayPause():(l(!0),m.isReady?m.play():(o("audio:play",{props:{title:e.title}}),m.load(i,{autoplay:!0,html5:!0})))},children:(0,h.jsxs)("div",{className:"text-center text-sm font-sans",children:[(0,h.jsx)("span",{className:"sr-only",children:"Play"}),(0,h.jsx)("div",{className:" hover:border-black mb-2 mx-auto w-10 h-10 border flex border-gray-400 rounded-full p-2 justify-center items-center bg-white",children:m.isPlaying?(0,h.jsx)(p,{className:"h-7 w-7"}):(0,h.jsx)(_,{className:"h-7 w-7 translate-x-[0.1rem]"})}),(0,h.jsx)("div",{children:"Listen to this article"})]})})}),(0,h.jsx)(eV,(0,d._)((0,u._)({title:e.title,author:e.author,show:s},a),{player:m,handleClose:()=>{l(!1),m.pause()}}))]})}],726894)}]);
3
4//# debugId=bcafd1b6-ea3e-4173-4610-da4a5c835330

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.