PageSourceSearch

https://app.talkshoe.com/packs/js/840-559d2170e3e035e8.chunk.js

js talkshoe.com collected 2026-10-01 09:17:24 UTC 126,883 bytes, 41 lines download raw bytes

1(self.webpackChunkfacetalk=self.webpackChunkfacetalk||[]).push([["840"],{14300(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r="active",i="idle",o=["click","mousemove","keydown","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","focus"],s=["blur","visibilitychange"],a=["mousemove"],l=void 0,c=void 0;if(void 0!==document.hidden)l="hidden",c="visibilitychange";else for(var u=["webkit","moz","ms"],d=0;d<u.length;d++){var p=u[d];if(void 0!==document[p+"Hidden"]){l=p+"Hidden",c=p+"visibilitychange";break}}t.default=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=t.activityEvents,d=void 0===u?o:u,p=t.inactivityEvents,h=void 0===p?s:p,m=t.ignoredEventsWhenIdle,f=void 0===m?a:m,y=t.timeToIdle,g=void 0===y?3e4:y,v=t.initialState,b=void 0===v?r:v,_=t.autoInit,x=(n(e={},r,[]),n(e,i,[]),e),S=void 0,A=void 0,j=function e(t){clearTimeout(A),t===r&&(A=setTimeout(function(){return e(i)},g)),S!==t&&x[S=t].forEach(function(e){return e()})},E=function(e){(S===r||0>f.indexOf(e.type))&&j(r)},P=function(){j(i)},O=function(){j(document[l]?i:r)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;j(e===r?r:i),d.forEach(function(e){return window.addEventListener(e,E)}),h.filter(function(e){return"visibilitychange"!==e}).forEach(function(e){return window.addEventListener(e,P)}),h.indexOf("visibilitychange")>=0&&c&&document.addEventListener(c,O)};return(void 0===_||_)&&k(b),{on:function(e,t){return x[e].push(t),function(){var n=x[e].indexOf(t);n>=0&&x[e].splice(n,1)}},stop:function(){x[r]=[],x[i]=[],clearTimeout(A),d.forEach(function(e){return window.removeEventListener(e,E)}),h.forEach(function(e){return window.removeEventListener(e,P)}),c&&document.removeEventListener(c,O)},init:k}}},914744(e){"use strict";var t=function(e){var t,r,i;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(i=Object.prototype.toString.call(r))&&"[object Date]"!==i&&r.$$typeof!==n)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c,u,d=Array.isArray(n);return d!==Array.isArray(e)?r(n,l):d?l.arrayMerge(e,n,l):(u={},(c=l).isMergeableObject(e)&&o(e).forEach(function(t){u[t]=r(e[t],c)}),o(n).forEach(function(t){s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(s(e,t)&&c.isMergeableObject(n[t])?u[t]=(function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a})(t,c)(e[t],n[t],c):u[t]=r(n[t],c))}),u)}a.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})},e.exports=a},588021(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(296540)),i=n(507604),o=n(675635);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),e&&d(i,e);var t,n=function(){var e,t,n,r=u(i);return n=!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?r.apply(this,arguments):Reflect.construct(r,arguments,u(this).constructor),e=this,(t=n)&&("object"===a(t)||"function"==typeof t)?t:c(e)};function i(){var e;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return p(c(e=n.call.apply(n,[this].concat(r))),"mounted",!1),p(c(e),"isReady",!1),p(c(e),"isPlaying",!1),p(c(e),"isLoading",!0),p(c(e),"loadOnReady",null),p(c(e),"startOnPlay",!0),p(c(e),"seekOnPlay",null),p(c(e),"onDurationCalled",!1),p(c(e),"getInternalPlayer",function(t){return e.player?e.player[t]:null}),p(c(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};null!==n&&(i.loadedSeconds=n,i.loaded=n/r),(i.playedSeconds!==e.prevPlayed||i.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),p(c(e),"handleReady",function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,o=t.muted;n(),o||null===i||e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),p(c(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==i&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),p(c(e),"handlePause",function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),p(c(e),"handleEnded",function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())}),p(c(e),"handleError",function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),p(c(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),p(c(e),"handleLoaded",function(){e.isLoading=!1}),p(c(e),"ref",function(t){t&&(e.player=t)}),e}return t=[{key:"componentDidMount",value:function(){this.mounted=!0,this.player.load(this.props.url),this.progress()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.player.stop(),this.player.disablePIP&&this.player.disablePIP(),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.url,i=n.playing,s=n.volume,a=n.muted,l=n.playbackRate,c=n.pip,u=n.loop,d=n.activePlayer;if(!(0,o.isEqual)(e.url,r)){if(this.isLoading&&!d.forceLoad){console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!i||this.isPlaying||this.player.play(),e.playing&&!i&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==s&&null!==s&&this.player.setVolume(s),e.muted!==a&&(a?this.player.mute():(this.player.unmute(),null!==s&&setTimeout(function(){return t.player.setVolume(s)}))),e.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),e.loop!==u&&this.player.setLoop&&this.player.setLoop(u)}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(!this.isReady&&0!==e){this.seekOnPlay=e,setTimeout(function(){n.seekOnPlay=null},5e3);return}if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?r.default.createElement(e,l({},this.props,{ref:this.ref,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(i.prototype,t),i}(r.Component);t.default=h,p(h,"displayName","Player"),p(h,"propTypes",i.propTypes),p(h,"defaultProps",i.defaultProps)},320688(e,t,n){"use strict";t.default=void 0;
1var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(296540)),o=n(675635),s=(r=n(361581))&&r.__esModule?r:{default:r};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var f="u">typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,y=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,g=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i,v=/\.(m3u8)($|\?)/i,b=/\.(mpd)($|\?)/i,_=/www\.dropbox\.com\/.+/;function x(e){if(e instanceof Array){var t,n=function(e){if("u"<typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e){if(e){if("string"==typeof e)return m(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,void 0)}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,i,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;if("string"==typeof r&&x(r)||x(r.src))return!0}}catch(e){n.e(e)}finally{n.f()}return!1}return!!(0,o.isMediaStream)(e)||y.test(e)||g.test(e)||v.test(e)||b.test(e)}function S(e){return e||(e=document.createElement("video")),e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&!/iPhone|iPod/.test(navigator.userAgent)}var A=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&p(r,e);var t,n=function(){var e,t,n,i=d(r);return n=!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?i.apply(this,arguments):Reflect.construct(i,arguments,d(this).constructor),e=this,(t=n)&&("object"===l(t)||"function"==typeof t)?t:u(e)};function r(){var e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];return h(u(e=n.call.apply(n,[this].concat(o))),"onReady",function(){var t;return(t=e.props).onReady.apply(t,arguments)}),h(u(e),"onPlay",function(){var t;return(t=e.props).onPlay.apply(t,arguments)}),h(u(e),"onBuffer",function(){var t;return(t=e.props).onBuffer.apply(t,arguments)}),h(u(e),"onBufferEnd",function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)}),h(u(e),"onPause",function(){var t;return(t=e.props).onPause.apply(t,arguments)}),h(u(e),"onEnded",function(){var t;return(t=e.props).onEnded.apply(t,arguments)}),h(u(e),"onError",function(){var t;return(t=e.props).onError.apply(t,arguments)}),h(u(e),"onEnablePIP",function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)}),h(u(e),"onDisablePIP",function(t){var n=e.props,r=n.onDisablePIP,i=n.playing;r(t),i&&e.play()}),h(u(e),"onPresentationModeChange",function(t){if(e.player&&S(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}}),h(u(e),"onSeek",function(t){e.props.onSeek(t.target.currentTime)}),h(u(e),"mute",function(){e.player.muted=!0}
2),h(u(e),"unmute",function(){e.player.muted=!1}),h(u(e),"renderSourceElement",function(e,t){return"string"==typeof e?i.default.createElement("source",{key:t,src:e}):i.default.createElement("source",c({key:t},e))}),h(u(e),"renderTrack",function(e,t){return i.default.createElement("track",c({key:t},e))}),h(u(e),"ref",function(t){e.player&&(e.prevPlayer=e.player),e.player=t}),e}return t=[{key:"componentDidMount",value:function(){this.addListeners(this.player),f&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer),this.addListeners(this.player))}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props.playsinline;e.addEventListener("canplay",this.onReady),e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),t&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange)}},{key:"shouldUseAudio",value:function(e){return!e.config.file.forceVideo&&!e.config.file.attributes.poster&&(y.test(e.url)||e.config.file.forceAudio)}},{key:"shouldUseHLS",value:function(e){return v.test(e)&&!f||this.props.config.file.forceHLS}},{key:"shouldUseDASH",value:function(e){return b.test(e)||this.props.config.file.forceDASH}},{key:"load",value:function(e){var t=this,n=this.props.config.file,r=n.hlsVersion,i=n.dashVersion;if(this.shouldUseHLS(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then(function(n){t.hls=new n(t.props.config.file.hlsOptions),t.hls.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.hls,n)}),t.hls.loadSource(e),t.hls.attachMedia(t.player)}),this.shouldUseDASH(e)&&(0,o.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",i),"dashjs").then(function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),t.dash.getDebug().setLogToBrowserConsole(!1)}),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():S(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():S(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){this.player.playbackRate=e}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e);if(!(e instanceof Array||(0,o.isMediaStream)(e))&&!t&&!n)return _.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,s=e.muted,a=e.config,l=e.width,u=e.height,d=this.shouldUseAudio(this.props);return i.default.createElement(d?"audio":"video",c({ref:this.ref,src:this.getSource(t),style:{width:"auto"===l?l:"100%",height:"auto"===u?u:"100%"},preload:"auto",autoPlay:n||void 0,controls:o,muted:s,loop:r},a.file.attributes),t instanceof Array&&t.map(this.renderSourceElement),a.file.tracks.map(this.renderTrack))}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(r.prototype,t),r}(i.Component);h(A,"displayName","FilePlayer"),h(A,"canPlay",x),h(A,"canEnablePIP",function(e){return x(e)&&(!!document.pictureInPictureEnabled||S())&&!y.test(e)}),t.default=(0,s.default)(A)},507604(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var r,i=(r=n(605556))&&r.__esModule?r:{default:r},o=i.default.string,s=i.default.bool,a=i.default.number,l=i.default.array,c=i.default.oneOfType,u=i.default.shape,d=i.default.object,p=i.default.func,h=i.default.node;t.propTypes={url:c([o,l,d]),playing:s,loop:s,controls:s,volume:a,muted:s,playbackRate:a,width:c([o,a]),height:c([o,a]),style:d,progressInterval:a,playsinline:s,pip:s,light:c([s,o]),playIcon:h,wrapper:c([o,p,u({render:p.isRequired})]),config:u({soundcloud:u({options:d,preload:s}),youtube:u({playerVars:d,embedOptions:d,preload:s}),facebook:u({appId:o,version:o,playerId:o}),dailymotion:u({params:d,preload:s}),vimeo:u({playerOptions:d,preload:s}),file:u({attributes:d,tracks:l,forceVideo:s,forceAudio:s,forceHLS:s,forceDASH:s,hlsOptions:d,hlsVersion:o,dashVersion:o}),wistia:u({options:d}),mixcloud:u({options:d}),twitch:u({options:d,playerId:o})}),onReady:p,onStart:p,onPlay:p,onPause:p,onBuffer:p,onBufferEnd:p,onEnded:p,onError:p,onDuration:p,onSeek:p,onProgress:p,onEnablePIP:p,onDisablePIP:p},t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,light:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},preload:!1},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{},hlsVersion:"0.13.1",dashVersion:"2.9.2"},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onBufferEnd:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onEnablePIP:function(){},onDisablePIP:function(){}},t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},361581(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;return n=t=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");l.prototype=Object.create(t&&t.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),t&&m(l,t);var n,r=function(){var e,t,n,r=h(l);return n=!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?r.apply(this,arguments):Reflect.construct(r,arguments,h(this).constructor),e=this,(t=n)&&("object"===c(t)||"function"==typeof t)?t:p(e)};function l(){var e;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return f(p(e=r.call.apply(r,[this].concat(n))),"config",(0,s.getConfig)(e.props,o.defaultProps,!0)),f(p(e),"getDuration",function(){return e.player?e.player.getDuration():null}),f(p(e),"getCurrentTime",function(){return e.player?e.player.getCurrentTime():null}),f(p(e),"getSecondsLoaded",function(){return e.player?e.player.getSecondsLoaded():null}),f(p(e),"getInternalPlayer",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null}),f(p(e),"seekTo",function(t,n){if(!e.player)return null;e.player.seekTo(t,n)}),f(p(e),"ref",function(t){e.player=t}),e}return n=[{key:"shouldComponentUpdate",value:function(e){return!(0,s.isEqual)(this.props,e)}},{key:"componentDidUpdate",value:function(){this.config=(0,s.getConfig)(this.props,o.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,r=t.forceAudio,l=t.forceHLS,c=t.forceDASH;if(!e.canPlay(this.props.url)&&!(n||r||l||c))return null;var p=this.props,h=p.style,m=p.width,g=p.height,v=p.wrapper,b=(0,s.omit)(this.props,y,o.DEPRECATED_CONFIG_PROPS);return i.default.createElement(v,u({style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},h,{width:m,height:g})},b),i.default.createElement(a.default,u({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(l.prototype,n),l}(i.Component),f(t,"displayName","".concat(e.displayName,"Player")),f(t,"propTypes",o.propTypes),f(t,"defaultProps",o.defaultProps),f(t,"canPlay",e.canPlay),n};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(296540)),o=n(507604),s=n(675635),a=(r=n(588021))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=Object.keys(o.propTypes)},675635(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return f(e,d)},t.parseEndTime=function(e){return f(e,p)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.default;return window[t]&&r(window[t])?Promise.resolve(window[t]):new Promise(function(r,i){if(y[e])return void y[e].push({resolve:r,reject:i});y[e]=[{resolve:r,reject:i}];var s=function(t){y[e].forEach(function(e){return e.resolve(t)})};if(n){var a=window[n];window[n]=function(){a&&a(),s(window[t])}}o(e,function(r){r?(y[e].forEach(function(e){return e.reject(r)}),y[e]=null):n||s(window[t])})})},t.getConfig=function(e,t,n){var r,i=(0,o.default)(t.config,e.config),a=function(e){if("u"<typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=c(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,i,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(s.DEPRECATED_CONFIG_PROPS);try{for(a.s();!(r=a.n()).done;){var l=r.value;if(e[l]){var u,d,p=l.replace(/Config$/,"");if(i=(0,o.default)(i,(u={},d=e[l],p in u?Object.defineProperty(u,p,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[p]=d,u)),n){var h="ReactPlayer: %c".concat(l," %cis deprecated, please use the config prop instead \u2013 ").concat("https://github.com/CookPete/react-player#config-prop");console.warn(h,"font-weight: bold","")}}}}catch(e){a.e(e)}finally{a.f()}return i},t.omit=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),s={},a=Object.keys(e),l=0;l<a.length;l++){var c=a[l];-1===o.indexOf(c)&&(s[c]=e[c])}return s},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c \u2013 ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)},t.isObject=g,t.isEqual=function e(t,n){if("function"==typeof t&&"function"==typeof n||(0,r.isValidElement)(t)&&(0,r.isValidElement)(n))return!0;
3if(t instanceof Array&&n instanceof Array){if(t.length!==n.length)return!1;for(var i=0;i!==t.length;i++)if(!e(t[i],n[i]))return!1;return!0}if(g(t)&&g(n)){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var o=0,s=Object.keys(t);o<s.length;o++){var a=s[o];if(!e(t[a],n[a]))return!1}return!0}return t===n},t.isMediaStream=function(e){return"u">typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream};var r=n(296540),i=a(n(86766)),o=a(n(914744)),s=n(507604);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d=/[?&#](?:start|t)=([0-9hms]+)/,p=/[?&#]end=([0-9hms]+)/,h=/(\d+)(h|m|s)/g,m=/^\d+$/;function f(e,t){var n=e.match(t);if(n){var r=n[1];if(r.match(h))return function(e){for(var t=0,n=h.exec(e);null!==n;){var r,i=function(e){if(Array.isArray(e))return e}(r=n)||function(e){if("u">typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(t.push(o.value),3!==t.length);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return t}}(r)||c(r,3)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),o=i[1],s=i[2];"h"===s&&(t+=60*parseInt(o,10)*60),"m"===s&&(t+=60*parseInt(o,10)),"s"===s&&(t+=parseInt(o,10)),n=h.exec(e)}return t}(r);if(m.test(r))return parseInt(r)}}var y={};function g(e){return null!==e&&"object"===l(e)}},86766(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,n,r){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof n&&(r=n,n={}),r=r||function(){},o.type=(n=n||{}).type||"text/javascript",o.charset=n.charset||"utf8",o.async=!("async"in n)||!!n.async,o.src=e,n.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(o,n.attrs),n.text&&(o.text=""+n.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,r),o.onload||t(o,r),i.appendChild(o)}},445062(e,t,n){"use strict";n.d(t,{te:()=>U,l6:()=>H});var r,i=n(296540);let o=function(e,t){return e.replace(/\s\s+/g,t?"":" ").trim()};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c="INITIALISE",u="SET_IS_DRAGGING",d="SET_OPTIONS_PANEL_OPEN",p="SET_OPTIONS_PANEL_CLOSED",h="SET_SINGLESELECT_OPTIONS",m="SET_MULTISELECT_OPTIONS",f="SET_OPTIONS_PANEL_CLOSED_NO_SELECTION",y="SET_OPTIONS_PANEL_CLOSED_ONBLUR",g="SET_NEXT_SELECTED_INDEX",v="SET_NEXT_SELECTED_INDEX_ALPHA_NUMERIC",b="",_=function(){var e=[];return function(t,n){if("object"==typeof n&&null!==n){if(-1!==e.indexOf(n))return;e.push(n)}return n}};function x(e,t){return JSON.stringify(e,_())===JSON.stringify(t,_())}function S(e,t,n,r){n&&(r&&x(r.values,e.values)||n({options:e.map(function(e){return{name:e.name||"",text:e.text||"",value:e.value||""}}),altered:t}))}function A(e,t,n,r){n&&(x(null==r?void 0:r.value,null==e?void 0:e.value)||n({name:e.name,text:e.text,value:e.value,altered:t}))}function j(e,t){return String(e.className).split(" ").indexOf(t)>-1}function E(e){var t=e.event,n=e.state,r=e.RRSClassRef,i=e.props,o=n.multiselect,s=n.multiSelectSelectedOptions,a=n.isOptionsPanelOpen,l=n.isDragging,c=n.disabled,u=n.options;if(!c&&!1===l){if(t.preventDefault(),t&&j(t.target,"rrs__options"))return;var y=parseFloat(t.target.getAttribute("data-key"));if(u[y]&&(!0===u[y].disabled||!0===u[y].optHeader))return;if(j(t.target,"rrs__option")){if(o){var g=s.options.some(function(e){return u[y]&&u[y].hasOwnProperty("value")&&e.value===u[y].value});!g&&i.onSelect?i.onSelect(u[y]):g&&i.onDeselect&&i.onDeselect(u[y])}else!o&&i.onSelect&&i.onSelect(u[y]);r.updateState({type:o?m:h,value:y});return}if(a&&(j(t.target,"rrs__label")||j(t.target,"rrs")))return void r.updateState({type:f}
4,function(){return r.focusButton()});r.updateState({type:a?p:d},function(e){!1===e.isOptionsPanelOpen&&r.focusButton()})}}function P(e,t,n){void 0===n&&(n="INCREMENT");var r=e.options,i=r.reduce(function(e,t,n){return t.optHeader||e.push(n),e},[]),o=-1===i.indexOf(t);return o&&"INCREMENT"===n?r[t+1]&&!r[t+1].optHeader?t+1:i[0]:o&&"DECREMENT"===n?r[t-1]&&!r[t-1].optHeader?t-1:i[i.length-1]:t}function O(e){var t=e.state,n=e.RRSClassRef,r=e.type,i=t.isOptionsPanelOpen;t.disabled||(n.updateState({type:g,value:function(e,t){var n=t.isOptionsPanelOpen,r=t.nextPotentialSelectionIndex,i=t.options;switch(e){case"INCREMENT":if(!1===n)return P(t,r,"INCREMENT");if(r===i.length-1)return P(t,0,"INCREMENT");return P(t,r+1,"INCREMENT");case"DECREMENT":if(!1===n)return P(t,r,"DECREMENT");if(0===r)return P(t,i.length-1,"DECREMENT");return P(t,r-1,"DECREMENT");default:return P(t,0,"DECREMENT")}}(r,t)}),!1===i&&n.updateState({type:d}))}var k={multiselect:!1,name:"",options:[],isDragging:!1,isOptionsPanelOpen:!1,altered:!1,singleSelectInitialIndex:0,singleSelectSelectedIndex:0,singleSelectSelectedOption:{},nextPotentialSelectionIndex:0,multiSelectInitialSelectedIndexes:[0],multiSelectSelectedOptions:{altered:!1,options:[]},multiSelectSelectedIndexes:[]};function C(e){var t,n,r=(t=e.options,n=e.name,t.reduce(function(e,t,r){return t.optHeader||e.push({option:{value:t.value,text:t.text,name:n},index:r}),e},[])[0]),i=r.option,o=r.index;return s({},e,{multiSelectSelectedIndexes:[o],multiSelectSelectedOptions:{options:[s({},i)]},nextPotentialSelectionIndex:o})}function N(e,t){var n,r=e.noSelectionLabel,i=e.options,o=e.name;if(!r){if(t&&t.length>0)n=i.filter(function(e){return t.some(function(t){return t===e.value})}).map(function(e){return s({name:o},e)});else{var a=i[0]&&i[0].optHeader?function(e){var t=e.multiSelectSelectedOptions,n=e.options,r=e.name;if(t&&t.options.length)return t.options[0];var i=n.reduce(function(e,t){return t.optHeader||e.push(t),e},[]);return{name:r,text:i[0].text,value:i[0].value}}(e):i[0];n=[{name:o,text:a.text,value:a.value}]}return n}return t&&t.length>0?i.reduce(function(e,n){return t.some(function(e){return e===n.value})&&e.push(s({},n)),e},[]):[{name:e.name,text:r,value:"null"}]}function w(e,t){void 0===t&&(t=0);var n=-1!==t||e.noSelectionLabel?t:0;if(e.options[n]&&e.options[n].optHeader){if(e.singleSelectSelectedOption)return e.singleSelectSelectedOption;var r=e.options.reduce(function(e,t){return t.optHeader||e.push(t),e},[]);return s({},r[0],{name:e.name})}return e.noSelectionLabel?t>-1?s({name:e.name},e.options[t]):{name:e.name,text:e.noSelectionLabel,value:"null"}:s({name:e.name},e.options[n])}function I(e){return s({},e,{altered:e.multiselect?JSON.stringify(e.multiSelectInitialSelectedIndexes)!==JSON.stringify(e.multiSelectSelectedIndexes):e.singleSelectSelectedIndex!==e.singleSelectInitialIndex})}function T(e,t){switch(t.type){case c:var n,r,i,o,a,l,b,_,x,S,A,j=(r=(n=t.value).options,i=n.selectedValue,o=n.noSelectionLabel,(a=i?r.map(function(e){return e.value}).indexOf(i):-1)>-1||o?a:0),E=(l=t.value,b=t.value.selectedValues,_=t.value.noSelectionLabel,void 0===b&&(b=[]),x=l.options,S=_?[]:[P(l,0)],(A=x.reduce(function(e,t,n){return b.some(function(e){return t.value===e})&&e.push(n),e},[])).length>0?A:S);return s({},e,{hasOptHeaders:t.value.options.some(function(e){return!0===e.optHeader}),multiselect:t.value.multiselect||!1,noSelectionLabel:t.value.noSelectionLabel,name:t.value.name,options:t.value.options,altered:t.value.altered||!1,disabled:0===t.value.options.length||t.value.disabled||!1,singleSelectInitialIndex:j,singleSelectSelectedIndex:j,singleSelectSelectedOption:w(t.value,j),nextPotentialSelectionIndex:e.nextPotentialSelectionIndex?e.nextPotentialSelectionIndex:j,multiSelectInitialSelectedIndexes:E,multiSelectSelectedIndexes:E,multiSelectSelectedOptions:{options:t.value.options.length>0?N(t.value,t.value.selectedValues):[]}});case u:return s({},e,{isDragging:t.value});case d:return I(s({},e,{isOptionsPanelOpen:!0,nextPotentialSelectionIndex:e.multiselect?e.multiSelectSelectedIndexes.length?P(e,e.multiSelectSelectedIndexes[0]):P(e,0):P(e,e.nextPotentialSelectionIndex),singleSelectSelectedOption:w(e,e.nextPotentialSelectionIndex)}));case p:return I(s({},e,{isOptionsPanelOpen:!1,singleSelectSelectedIndex:e.nextPotentialSelectionIndex,singleSelectSelectedOption:w(e,e.nextPotentialSelectionIndex)}));case f:case y:return s({},e,{isOptionsPanelOpen:!1});case g:return s({},e,{nextPotentialSelectionIndex:t.value});case v:return s({},e,{isOptionsPanelOpen:!0,nextPotentialSelectionIndex:t.value});case h:return I(s({},e,{nextPotentialSelectionIndex:t.value,singleSelectSelectedIndex:t.value,isOptionsPanelOpen:!1,singleSelectSelectedOption:w(e,t.value)}));case m:if(!e.noSelectionLabel){var O,T,M,R=0===e.multiSelectSelectedIndexes[0]&&1===e.multiSelectSelectedIndexes.length,D=e.multiSelectSelectedIndexes.length>0&&!R&&0===t.value&&!e.noSelectionLabel,L=R&&0!==t.value;if(D)return I(C(e));L&&(e=s({},e,{multiSelectSelectedIndexes:[].concat(k.multiSelectSelectedIndexes),multiSelectSelectedOptions:s({},k.multiSelectSelectedOptions)}))}e.noSelectionLabel&&e.multiSelectSelectedOptions.options[0].text===e.n
4oSelectionLabel&&(e.multiSelectSelectedOptions.options=[]);var U=P(e,t.value),H=e.multiSelectSelectedIndexes.indexOf(U),B=s({},e,{nextPotentialSelectionIndex:U,multiSelectSelectedIndexes:-1===H?[].concat(e.multiSelectSelectedIndexes,[U]):[].concat((O=e).multiSelectSelectedIndexes.slice(0,H),O.multiSelectSelectedIndexes.slice(H+1)),multiSelectSelectedOptions:-1===H?{options:[].concat((T=e).multiSelectSelectedOptions.options,[{name:T.name,text:T.options[U].text,value:T.options[U].value}])}:{options:[].concat((M=e).multiSelectSelectedOptions.options.slice(0,H),M.multiSelectSelectedOptions.options.slice(H+1))}});return 0===B.multiSelectSelectedOptions.options.length&&(e.noSelectionLabel?B=s({},B,{nextPotentialSelectionIndex:e.hasOptHeaders?P(e,-1):-1,multiSelectSelectedOptions:{options:N(e)}}):e.noSelectionLabel||(B=C(e))),I(B);default:return e}}var M=function(e){function t(t){var n;return(n=e.call(this,t)||this).optionRef=(0,i.createRef)(),n.scrollOffset=0,n}a(t,e);var n=t.prototype;return n.getScrollOffset=function(){var e=document.querySelector(".rrs__option--header");return Math.ceil(e&&e.getBoundingClientRect().height||0)},n.componentDidUpdate=function(){var e=this.props,t=e.index,n=e.isOptionsPanelOpen,r=e.nextPotentialSelectionIndex,i=e.optionsContainerRef,o=e.optHeaderLabel;if(t===r&&n&&this.optionRef.current&&i.current&&(this.optionRef.current.focus(),""!==o)){var s=Math.ceil(this.optionRef.current.getBoundingClientRect().top-i.current.getBoundingClientRect().top);
4this.scrollOffset=this.scrollOffset||this.getScrollOffset(),s<this.scrollOffset&&i.current.scroll(0,Math.floor(i.current.scrollTop-this.scrollOffset))}},n.isDisabled=function(e){return!!(e.disabled||e.optHeader)},n.render=function(){var e=this.props,t=e.index,n=e.name,r=e.multiSelectSelectedIndexes,s=e.nextPotentialSelectionIndex,a=e.option,l=e.optHeaderLabel,c=r.some(function(e){return e===t});return(0,i.createElement)("li",{role:"checkbox","data-testid":"rrs-option_"+n+"_"+t,tabIndex:-1,"aria-checked":c,"aria-label":`
5        `+(a.text||a.markup&&a.markup.textContent)+" "+(""!==l?" of "+l:"")+`
6      `,"aria-live":"assertive","aria-disabled":this.isDisabled(a)?"true":"false","data-key":t,ref:this.optionRef,className:o(`
7          rrs__option
8          `+(c?"rrs__option--selected":"")+`
9          `+(s===t?"rrs__option--next-selection":"")+`
10          `+(!0===a.disabled?"rrs__option--disabled":"")+`
11          `+(!0===a.optHeader?"rrs__option--header":"")+`
12        `)},a.markup||a.text)},t}(i.Component),R=function(e){function t(t){var n;return(n=e.call(this,t)||this).optionsButton=(0,i.createRef)(),n.optionsContainer=(0,i.createRef)(),n}a(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props,n=t.isOptionsPanelOpen,r=t.selectBoxRef;!n&&e.isOptionsPanelOpen&&r&&r.contains(document.activeElement)&&this.optionsButton.current&&this.optionsButton.current.focus()},n.getAriaLabel=function(){var e=this.props,t=e.multiSelectSelectedOptions,n=e.prefix,r=t.options.length;return o(`
13      Checkbox group `+(n?n+" ":"")+` has
14      `+r+" item"+(1===r?"":"s")+` selected.
15      Selected option`+(1===r?"":"s")+" "+(1===r?"is":"are")+`
16      `+t.options.map(function(e){return e.text||""}).join(" and ")+`
17    `)},n.render=function(){var e=this,t=this.props,n=t.caretIcon,r=t.customLabelText,s=t.disabled,a=t.isOptionsPanelOpen,l=t.multiSelectSelectedIndexes,c=t.multiSelectSelectedOptions,u=t.name,d=t.options,p=t.nextPotentialSelectionIndex,h=t.prefix,m="";return(0,i.createElement)("div",null,(0,i.createElement)("div",{role:"button",tabIndex:0,"aria-disabled":s,"aria-haspopup":"true","aria-expanded":a,"aria-controls":"rrs-"+u+"-menu",ref:this.optionsButton,className:o(`
18            rrs__button
19            `+(!0===s?"rrs__button--disabled":"")+`
20          `)},r&&(0,i.createElement)("div",{className:"rrs__label"},(0,i.createElement)("span",{"aria-label":this.getAriaLabel(),className:"rrs__label__text",id:"rrs-"+u+"-label","data-testid":"rrs-label_"+u},r),n&&n),!r&&(0,i.createElement)("div",{className:"rrs__label"},(0,i.createElement)("span",{"aria-label":this.getAriaLabel(),className:"rrs__label__text",id:"rrs-"+u+"-label","data-testid":"rrs-label_"+u},(0,i.createElement)("span",{className:"rrs__multiselect-label"},(0,i.createElement)("span",{className:"rrs__multiselect-label__text"},(h?h+" ":"")+`
21                  `+(c.options.length>0?c.options[0].text:"")),c.options.length>1&&(0,i.createElement)("span",{className:"rrs__multiselect-label__badge"},"+ "+(c.options.length-1)))),n&&n),u&&(0,i.createElement)("input",{type:"hidden",name:u,"data-testid":"rrs-input_"+u,value:[c.options.map(function(e){return e.value})].join(",")})),(0,i.createElement)("ul",{id:"rrs-"+u+"-menu","aria-labelledby":"rrs-"+u+"-label",role:"menu",className:"rrs__options",ref:this.optionsContainer},d.length>0&&d.map(function(t,n){return t.optHeader&&(m=t.text||t.markup&&t.markup.textContent||""),(0,i.createElement)(M,{key:n,name:u,optHeaderLabel:m,optionsContainerRef:e.optionsContainer,index:n,option:t,isOptionsPanelOpen:a,multiSelectSelectedIndexes:l,nextPotentialSelectionIndex:p})})))},t}(i.Component),D=function(e){function t(t){var n;return(n=e.call(this,t)||this).optionRef=(0,i.createRef)(),n.scrollOffset=0,n}a(t,e);var n=t.prototype;return n.getScrollOffset=function(){var e=document.querySelector(".rrs__option--header");return Math.ceil(e&&e.getBoundingClientRect().height||0)},n.componentDidUpdate=function(){var e=this.props,t=e.index,n=e.isOptionsPanelOpen,r=e.nextPotentialSelectionIndex,i=e.optionsContainerRef,o=e.optHeaderLabel;if(t===r&&n&&this.optionRef.current&&i.current&&(this.optionRef.current.focus(),""!==o)){var s=Math.ceil(this.optionRef.current.getBoundingClientRect().top-i.
21current.getBoundingClientRect().top);this.scrollOffset=this.scrollOffset||this.getScrollOffset(),s<this.scrollOffset&&i.current.scroll(0,Math.floor(i.current.scrollTop-this.scrollOffset))}},n.isDisabled=function(e){return!!(e.disabled||e.optHeader)},n.render=function(){var e=this.props,t=e.index,n=e.name,r=e.nextPotentialSelectionIndex,s=e.option,a=e.singleSelectSelectedIndex,l=e.optHeaderLabel;return(0,i.createElement)("li",{role:"menuitem","data-testid":"rrs-option_"+n+"_"+t,tabIndex:-1,"aria-disabled":this.isDisabled(s)?"true":"false","aria-label":`
22          `+(s.text||s.markup&&s.markup.textContent)+" "+(""!==l?" of "+l:"")+`
23        `,"data-key":t,ref:this.optionRef,className:o(`
24          rrs__option
25          `+(a===t?"rrs__option--selected":"")+`
26          `+(r===t?"rrs__option--next-selection":"")+`
27          `+(!0===s.disabled?"rrs__option--disabled":"")+`
28          `+(!0===s.optHeader?"rrs__option--header":"")+`
29        `)},s.markup||s.text)},t}(i.Component),L=function(e){function t(t){var n;return(n=e.call(this,t)||this).optionsButton=(0,i.createRef)(),n.optionsContainer=(0,i.createRef)(),n}a(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props,n=t.isOptionsPanelOpen,r=t.nextPotentialSelectionIndex,i=t.selectBoxRef,o=!n&&e.isOptionsPanelOpen;this.optionsButton.current&&(o&&i&&i.contains(document.activeElement)&&this.optionsButton.current.focus(),n&&-1===r&&this.optionsButton.current.focus())},n.getCustomLabel=function(){var e=this.props,t=e.prefix,n=e.name,r=e.singleSelectSelectedOption,o=e.caretIcon,s=e.customLabelText;return(0,i.createElement)("div",{className:"rrs__label"},(0,i.createElement)("span",{"aria-label":(t?t+" ":"")+r.text+" selected",className:"rrs__label__text",id:"rrs-"+n+"-label","data-testid":"rrs-label_"+n},s),o&&o)},n.getDefaultLabel=function(){var e=this.props,t=e.prefix,n=e.singleSelectSelectedOption,r=e.name,o=e.caretIcon,s=e.singleSelectSelectedIndex,a=e.noSelectionLabel;return -1===s?(0,i.createElement)("div",{className:"rrs__label"},(0,i.createElement)("span",{"aria-label":a,className:"rrs__label__text",id:"rrs-"+r+"-label","data-testid":"rrs-label_"+r},t&&(0,i.createElement)("span",null,t),a),o&&o):(0,i.createElement)("div",{className:"rrs__label"},(0,i.createElement)("span",{"aria-label":(t?t+" ":"")+n.text+" selected",className:"rrs__label__text",id:"rrs-"+r+"-label","data-testid":"rrs-label_"+r},t&&(0,i.createElement)("span",null,t),n.text?n.text:(0,i.createElement)("span",null,"\xa0")),o&&o)},n.render=function(){var e=this,t=this.props,n=t.customLabelText,r=t.disabled,s=t.isOptionsPanelOpen,a=t.name,l=t.nextPotentialSelectionIndex,c=t.options,u=t.singleSelectSelectedIndex,d=t.singleSelectSelectedOption,p="";return(0,i.createElement)("div",null,(0,i.createElement)("div",{role:"button",tabIndex:0,"aria-disabled":r,"aria-haspopup":"true","aria-expanded":s,"aria-controls":"rrs-"+a+"-menu",ref:this.optionsButton,className:o(`
30            rrs__button
31            `+(!0===r?"rrs__button--disabled":"")+`
32          `)},n?this.getCustomLabel():this.getDefaultLabel(),a&&(0,i.createElement)("input",{type:"hidden",name:a,"data-testid":"rrs-input_"+a,value:d.value})),(0,i.createElement)("ul",{id:"rrs-"+a+"-menu","aria-labelledby":"rrs-"+a+"-label",role:"menu",className:"rrs__options",ref:this.optionsContainer},c.length>0&&c.map(function(t,n){return t.optHeader&&(p=t.text||t.markup&&t.markup.textContent||""),(0,i.createElement)(D,{key:n,name:a,optHeaderLabel:p,optionsContainerRef:e.optionsContainer,index:n,isOptionsPanelOpen:s,option:t,singleSelectSelectedIndex:u,nextPotentialSelectionIndex:l})})))},t}(i.Component),U=function(e){return i.createElement("svg",Object.assign({className:"caret-icon",x:"0px",y:"0px",width:"11.848px",height:"6.338px",viewBox:"351.584 2118.292 11.848 6.338",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("g",null,i.createElement("path",{d:"M363.311,2118.414c-0.164-0.163-0.429-0.163-0.592,0l-5.205,5.216l-5.215-5.216c-0.163-0.163-0.429-0.163-0.592,0s-0.163,0.429,0,0.592l5.501,5.501c0.082,0.082,0.184,0.123,0.296,0.123c0.103,0,0.215-0.041,0.296-0.123l5.501-5.501C363.474,2118.843,363.474,2118.577,363.3
3211,2118.414L363.311,2118.414z"})))},H=function(e){function t(t){var n;return(n=e.call(this,t)||this).onHandleKeyEvent=function(e){!function(e){var t,n,i,o,s,a=e.event,l=e.state,c=e.props,u=e.RRSClassRef,y=l.multiselect,g=l.isOptionsPanelOpen;if(!l.disabled)switch([13,32,27,38,40].forEach(function(e){e===a.keyCode&&a.preventDefault()}),/^[a-z0-9]+$/.test(a.key)&&(n=(t={event:a,RRSClassRef:u,state:l}).event,i=t.state,o=t.RRSClassRef,s=i.options,!i.disabled&&(b+=n.key,!r&&(r=!0,setTimeout(function(){var e=s.reduce(function(e,t,n){return t.optHeader||t.disabled||!t.text||-1===t.text.toLowerCase().indexOf(b)||e.push(n),e},[]);e.length>0&&o.updateState({value:e[0],type:v}),r=!1,b=""},250)))),a.keyCode){case 9:g&&(a.preventDefault(),y&&u.updateState({type:p},function(){return u.focusButton()}));break;case 13:!function(e){var t=e.event,n=e.state,r=e.props,i=e.RRSClassRef,o=n.disabled,s=n.isOptionsPanelOpen,a=n.multiselect,l=n.nextPotentialSelectionIndex,c=n.options;if(!o){var u=parseFloat(t.target.getAttribute("data-key"));if(!c[u]||!0!==c[u].disabled&&!0!==c[u].optHeader){if(a){var d=n.multiSelectSelectedOptions.options.some(function(e){return c[u]&&c[u].hasOwnProperty("value")&&e.value===c[u].value});!d&&r.onSelect?r.onSelect(c[u]):d&&r.onDeselect&&r.onDeselect(c[u]),i.updateState({type:m,value:l})}else r.onSelect&&r.onSelect(c[u]),i.updateState({type:h,value:l});s?t.stopPropagation():r.onSubmit&&r.onSubmit(t)}}}({RRSClassRef:u,event:a,props:c,state:l});break;case 32:g?E({event:a,state:l,RRSClassRef:u,props:c}):u.updateState({type:d});break;case 27:u.updateState({type:f},function(){return u.focusButton()});break;case 38:O({RRSClassRef:u,state:l,type:"DECREMENT"});break;case 40:O({RRSClassRef:u,state:l,type:"INCREMENT"})}}({event:e,RRSClassRef:l(n),state:n.state,props:n.props})},n.onHandleTouchStart=function(e){var t,r,i;r=(t={RRSClassRef:l(n),state:n.state}).state,i=t.RRSClassRef,r.disabled||i.updateState({type:u,value:!1})},n.onHandleTouchMove=function(e){var t,r,i,o;r=(t={RRSClassRef:l(n),state:n.state}).state,i=t.RRSClassRef,o=r.isDragging,!r.disabled&&(o||i.updateState({type:u,value:!0}))},n.onHandleClick=function(e){E({event:e,RRSClassRef:l(n),state:n.state,props:n.props})},n.onHandleBlur=function(e){!function(e){var t=e.state,n=e.RRSClassRef,r=e.props,i=r.onBlur,o=r.multiselect,s=t.isOptionsPanelOpen,a=t.disabled,l=t.altered,c=t.singleSelectSelectedOption,u=t.multiSelectSelectedOptions;if(!a){var d=n.selectBox&&!n.selectBox.contains(document.activeElement);s&&d&&n.updateState({type:y}),d&&i&&(o?S(u.options,!!l,i):A(c,!!l,i))}}({RRSClassRef:l(n),state:n.state,props:n.props})},n.state=k,n.reducer=T,n.firstLoad=!0,n.selectBox=null,n}a(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.options,n=e.noSelectionLabel,r=e.selectedValue,i=e.selectedValues,o=e.name,s=e.multiselect,a=e.disabled;this.updateState({type:c,value:{options:t,noSelectionLabel:n,selectedValue:r,selectedValues:i,name:o,multiselect:s,disabled:a}})},n.componentDidUpdate=function(e,t){var n=this.state,r=n.singleSelectSelectedOption,i=n.multiSelectSelectedOptions,o=n.multiselect,s=n.altered,a=this.props.onChange;return this.firstLoad?(this.firstLoad=!1,!1):(o?S(i.options,!!s,a,t.multiSelectSelectedOptions.options):A(r,!!s,a,t.singleSelectSelectedOption),!0)},n.updateState=function(e,t){var n=this.props,r=n.onListen,i=n.name,o=this.reducer(this.state,e);this.setState(o,function(){t&&t(o)}),r&&r([d,g,v,u].some(function(t){return e.type===t}),i,e.type)},n.focusButton=function(){var e=this.selectBox&&this.selectBox.querySelector(".rrs__button");e&&e.focus()},n.render=function(){var e,t,n,r,s,a,l,c=this,u=this.props,d=u.prefix,p=u.caretIcon,h=u.modalCloseButton,m=this.state,f=m.altered,y=m.disabled,g=m.hasOptHeaders,v=m.isOptionsPanelOpen,b=m.isDragging,_=m.noSelectionLabel,x=m.multiSelectSelectedIndexes,S=m.multiSelectSelectedOptions,A=m.name,j=m.nextPotentialSelectionIndex,E=m.options,P=m.singleSelectSelectedIndex,O=m.singleSelectSelectedOption,k=m.multiselect,C=(t=(e={props:this.props,state:this.state}).state,r=(n=e.props).multiselect,s=n.customLabelRenderer,a=t.multiSelectSelectedOptions,l=t.singleSelectSelectedOption,!!s&&s(r?a:l));return(0,i.createElement)("div",{"data-testid":A,"data-name":A,className:o(`
33          rrs
34          `+(!0===v?"rrs--options-visible":"")+`
35          `+(f?"rrs--has-changed":"")+`
36          `+(g?"rrs--has-opt-headers":"")+`
37        `),ref:function(e){c.selectBox=e},tabIndex:-1,onKeyDown:this.onHandleKeyEvent,onTouchStart:this.onHandleTouchStart,onTouchMove:this.onHandleTouchMove,onTouchEnd:this.onHandleClick,onMouseDown:this.onHandleClick,onBlur:this.onHandleBlur},!!h&&!0===v&&(0,i.createElement)("div",{"aria-hidden":"true",className:"mobile-close"},h),k?(0,i.createElement)(R,{disabled:!!y,isDragging:b,caretIcon:p,customLabelText:C,prefix:d||"",name:A,multiSelectSelectedOptions:S,multiSelectSelectedIndexes:x,nextPotentialSelectionIndex:j,isOptionsPanelOpen:v,options:E,selectBoxRef:this.selectBox}):(0,i.createElement)(L,{noSelectionLabel:_||"",disabled:!!y,caretIcon:p,prefix:d||"",name:A,customLabelText:C,singleSelectSelectedOption:O,singleSelectSelectedIndex:P,nextPotentialSelectionIndex:j,isOptionsPanelOpen:v,options:E,selectBoxRef:this.selectBox}
37))},t}(i.Component)},368846(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(198587),i=n(58168),o=n(109417),s=n(777387),a=n(296540),l=n(17241);function c(e,t){var n=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}var d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.handleExited.bind((0,o.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,s.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?c(e.children,function(t){return(0,a.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:u(t,"appear",e),enter:u(t,"enter",e),exit:u(t,"exit",e)})}):(Object.keys(r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];a[i[l][r]]=n(c)}a[l]=n(l)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(i,n=c(e.children))).forEach(function(t){var s=r[t];if((0,a.isValidElement)(s)){var l=t in i,c=t in n,d=i[t],p=(0,a.isValidElement)(d)&&!d.props.in;c&&(!l||p)?r[t]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:!0,exit:u(s,"exit",e),enter:u(s,"enter",e)}):c||!l||p?c&&l&&(0,a.isValidElement)(d)&&(r[t]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:d.props.in,exit:u(s,"exit",e),enter:u(s,"enter",e)})):r[t]=(0,a.cloneElement)(s,{in:!1})}}),r),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,i.A)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.A)(e,["component","childFactory"]),o=this.state.contextValue,s=d(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===t)?a.createElement(l.A.Provider,{value:o},s):a.createElement(l.A.Provider,{value:o},a.createElement(t,i,s))},t}(a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};let h=p},651916(e){!function(){"use strict";var t="u">typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(e,n){return new Promise((function(i,o){var s=(function(){this.off("change",s),i()}).bind(this);this.on("change",s);var a=(e=e||t.documentElement)[r.requestFullscreen](n);a instanceof Promise&&a.then(s).catch(o)}).bind(this))},exit:function(){return new Promise((function(e,n){if(!this.isFullscreen)return void e();var i=(function(){this.off("change",i),e()}).bind(this);this.on("change",i);var o=t[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}).bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=i[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=i[e];r&&t.removeEventListener(r,n,!1)},raw:r};if(!r)return n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1};Object.defineProperties(o,{isFullscreen:{get:function(){return!!t[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!t[r.fullscreenEnabled]}}}),n?e.exports=o:window.screenfull=o}()},159147(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(374284),i=n(965936),o=n(877241);let s={buildCompanyUrl:(e,t={},n)=>{let s=i.A.getQueryStringValue("company");return r.A.isResellerAdmin()&&!t.company&&s&&(t.company=s),{pathname:e=r.A.isOrganizationAdmin()||t.company?"/admin/company"+e:"/admin"+e,search:o.A.stringify(t),hash:n}}}},182658(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(474848),i=n(296540),o=n(958065),s=n(38798),a=n(860128),l=n(66514),c=n(503944),u=n(942709),d=n(562602);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends i.Component{render(){return(0,r.jsxs)(a.aF,{className:"text-center height-auto",children:[(0,r.jsx)(a.rQ,{children:(0,r.jsx)(a.wt,{children:(0,r.jsx)(o.A,{id:"consent_modal.header.title"})})}),(0,r.jsx)(a.cw,{children:this._renderContent()})]})}constructor(e){super(e),p(this,"_renderContent",()=>(0,r.jsxs)(r.Fragment,{children:[this.state.errorMessage&&(0,r.jsx)(u.A,{type:"error",message:this.state.errorMessage,open:!0,onClosed:this._onAlertClosed,closable:!0}),(0,r.jsx)("div",{className:"row center-lap space-bottom",children:(0,r.jsx)("div",{className:"center-lap text-large",children:(0,r.jsx)(o.A,{id:"consent_modal.body.message",values:{terms:(0,r.jsx)(d.A,{href:this.state.terms_url,target:"_blank",rel:"noopener noreferrer",children:this.state.terms_title}),privacy:(0,r.jsx)(d.A,{href:this.state.privacy_url,target:"_blank",rel:"noopener noreferrer",children:this.state.privacy_title}),support:(0,r.jsx)(d.A,{href:this.state.customer_support_url,target:"_blank",rel:"noopener noreferrer",children:this.state.customer_support_title})}})})}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{className:"row space-top",children:(0,r.jsxs)("div",{className:"text-left column-12-hand column-12-lap",children:[(0,r.jsx)("div",{className:"form__checkbox",children:(0,r.jsxs)("label",{htmlFor:"consent",children:[(0,r.jsxs)("div",{className:"checkbox",children:[(0,r.jsx)("input",{type:"checkbox",id:"consent",checked:this.state.consent,onChange:this._onConsentChange}),(0,r.jsx)("div",{className:"control"})]}),(0,r.jsx)(o.A,{id:"sign_up_form.read_and_agree",values:{terms:(0,r.jsx)(d.A,{href:this.state.terms_url,target:"_blank",rel:"noopener noreferrer",children:this.state.terms_title}),privacy:(0,r.jsx)(d.A,{href:this.state.privacy_url,target:"_blank",rel:"noopener noreferrer",children:this.state.privacy_title})}})]})}),(0,r.jsx)("button",{className:"button button--primary button-large button--block",onClick:this._submitConsent,children:(0,r.jsx)(o.A,{id:"consent_modal.body.continue_button"})})]})})]})),p(this,"_onAlertClosed",()=>{this.setState({errorMessage:""})}),p(this,"_submitConsent",()=>{this.state.consent?(this.props.submitConsent(this.state.consentDate),l.A.hide()):this.setState({errorMessage:this.props.intl.formatMessage({id:"sign_up_form.must_accept"},{privacy_title:this.state.privacy_title,terms_title:this.state.terms_title})})}),p(this,"_onConsentChange",e=>{this.setState({consent:e.target.checked,consentDate:e.target.checked?new Date:null})}),this.state={consent:!1,consentDate:null,errorMessage:"",privacy_url:c.A.getInfo("privacy_url")||e.intl.formatMessage({id:"sign_up_form.default_privacy_url"}),privacy_title:c.A.getInfo("privacy_link_title")||e.intl.formatMessage({id:"sign_up_form.default_privacy_title"}),terms_url:c.A.getInfo("terms_url")||e.intl.formatMessage({id:"sign_up_form.default_terms_url"}),terms_title:c.A.getInfo("terms_link_title")||e.intl.formatMessage({id:"sign_up_form.default_terms_title"}),customer_support_url:c.A.getInfo("customer_support_url")||e.intl.formatMessage({id:"consent_modal.body.default_customer_support_url"}),customer_support_title:c.A.getInfo("customer_support_title")||e.intl.formatMessage({id:"consent_modal.body.default_customer_support_title"})}}}let m=(0,s.Ay)(h)},755704(e,t,n){"use strict";n.d(t,{default:()=>g});var r=n(474848),i=n(296540),o=n(958065),s=n(996599),a=n(587492),l=n(218031),c=n(900448),u=n(95947),d=n(27644),p=n(230983),h=n(587467),m=n(176833);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y extends i.PureComponent{getState(){return{show:a.default.enabled(s.rzu)}}
37componentDidMount(){a.default.on("CHANGE",this._onFeatureStoreChange),window.addEventListener("keydown",this._onKeyDown)}componentWillUnmount(){a.default.off("CHANGE",this._onFeatureStoreChange),window.removeEventListener("keydown",this._onKeyDown)}render(){return(0,r.jsx)(m.A,{from:"left",in:this.state.show,mountOnEnter:!0,unmountOnExit:!0,children:(0,r.jsxs)("div",{className:"developer-options drawer drawer--left active",children:[(0,r.jsxs)("div",{className:"drawer__header",children:[(0,r.jsx)(u.A,{className:"text-small pull-right",onChange:c.A.setLocale}),(0,r.jsx)("h3",{className:"drawer__title",children:(0,r.jsx)(o.A,{id:"developer_options.heading"})}),(0,r.jsx)("button",{className:"drawer__close",onClick:this._onCloseClick,children:(0,r.jsx)(d.A,{name:"remove"})})]}),(0,r.jsxs)("div",{className:"scroll",children:[(0,r.jsx)(p.A,{}),(0,r.jsx)(h.A,{})]})]})})}constructor(...e){super(...e),f(this,"state",this.getState()),f(this,"_filter",""),f(this,"_onFeatureStoreChange",()=>{this.setState(this.getState())}),f(this,"_onKeyDown",e=>{if(!e.repeat){if(e.shiftKey&&e.ctrlKey&&("~"===e.key||"`"===e.key)){e.preventDefault(),this._filter="",l.A.toggle(s.rzu);return}if(this.state.show&&!e.ctrlKey&&!e.altKey&&!e.metaKey){if("Esc"===e.key||"Escape"===e.key){e.preventDefault(),this._onCloseClick();return}if("Backspace"===e.key||/^[a-z]$/i.test(e.key)){if(e.preventDefault(),1===e.key.length)this._filter=this._filter+e.key.toLowerCase();else{if(""===this._filter)return;this._filter=""}document.querySelectorAll("ul.options-list > li.item:not(.item--divider)").forEach(e=>{e.classList.toggle("hide",!!(this._filter&&!e.textContent.toLowerCase().includes(this._filter)))})}}}}),f(this,"_onCloseClick",()=>{l.A.disable(s.rzu)})}}let g=y},230983(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(474848);n(296540);var i=n(402785),o=n(587492),s=n(218031),a=n(845792);let l=()=>{let e=(0,i.A)(o.default,o.default.getAll);return(0,r.jsx)("div",{className:"feature-flags",children:(0,r.jsx)(a.A,{options:e,heading:"feature_flags.heading",labelPrefix:"feature_flags",onOptionClick:e=>s.A.toggle(e.get("name"))})})}},845792(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(474848);n(296540);var i=n(706442),o=n(27644),s=n(861123),a=n(126202);let l=({options:e,heading:t,labelPrefix:n,onOptionClick:l})=>{let c=(0,i.A)(),u=e.valueSeq().map(e=>({option:e,text:c.formatMessage({id:`${n}.${e.get("name")}`},{param:e.get("param")})})).sort((e,t)=>e.text.localeCompare(t.text));return(0,r.jsxs)(s.A,{className:"options-list",children:[t&&(0,r.jsx)(a.A,{className:"item--divider",children:c.formatMessage({id:t})}),u.map(({option:e,text:t})=>(0,r.jsxs)(a.A,{color:e.get("active")?"success":void 0,selectable:!e.get("final"),disabled:e.get("final"),title:t,onClick:()=>!e.get("final")&&l(e),className:"hide-arrow list--item",children:[(0,r.jsx)(o.A,{name:e.get("active")?"check":"remove",space:"after",className:"icon-fw"}),t]},e.get("name")))]})}},587467(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(474848),i=n(296540),o=n(996599),s=n(186158),a=n(610480),l=n(845792);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends i.PureComponent{getState(){let e=s.A.getAll();return{options:e?e.sortBy((e,t)=>t):[]}}
37componentDidMount(){s.A.on("CHANGE",this._onStoreChange)}componentWillUnmount(){s.A.off("CHANGE",this._onStoreChange)}render(){return(0,r.jsx)("div",{className:"theme-options",children:(0,r.jsx)(l.A,{options:this.state.options,heading:"theme_options.heading",labelPrefix:"theme_options",onOptionClick:this._onOptionClick})})}constructor(...e){super(...e),c(this,"state",this.getState()),c(this,"_onStoreChange",()=>{this.setState(this.getState())}),c(this,"_onOptionClick",e=>{let t=e.get("name");t===o.fSx||t===o.IPH?a.A.enable(o.F_n,{userOverride:!0,[t===o.fSx?"dashboardDarkTheme":"darkTheme"]:!e.get("active")}):e.get("active")?a.A.disable(t):a.A.enable(t)})}}let d=u},419511(e,t,n){"use strict";n.d(t,{A:()=>c});var r,i=n(296540),o=n(529633),s=n(965936);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l extends(r=i.Component){render(){let{elementType:e,children:t,...n}=this.props;return i.createElement(e,{onClick:this._onClick,download:this.state.canDownload,rel:"noreferrer",target:"_blank",...n},t)}constructor(...e){super(...e),a(this,"state",{canDownload:o.A.supportsDownloadAttribute()}),a(this,"_onClick",e=>{this.state.canDownload||(this.props.onClick&&this.props.onClick(),e.preventDefault(),s.A.openWindow(this.props.href,"_blank"))})}}a(l,"defaultProps",{elementType:"a"});let c=l},95947(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(474848),i=n(296540),o=n(634164),s=n(402785),a=n(472184),l=n(795601);let c=({onChange:e,type:t="ui",className:n,forcedValue:c})=>{let{locale:u,supported:d}=(0,s.A)(a.A,(0,i.useCallback)(()=>({locale:a.A.getLocale(),supported:"ui"===t?a.A.getSupportedLocales():a.A.getTranscriptionLanguages()}),[t])),p=c||u,[h,m]=(0,i.useState)(p);return(0,i.useEffect)(()=>m(p),[p]),(0,i.useEffect)(()=>{e(h)},[h,e]),(0,r.jsx)("div",{className:(0,o.A)("language-selection",n),children:(0,r.jsx)(l.A,{name:"language-selection",value:h,disabled:!!c,onChange:c?void 0:({altered:e,value:t})=>e&&m(t),options:d.map(({locale:e,displayName:t,disabled:n,beta:i})=>({value:e,label:t,markup:(0,r.jsxs)("div",{className:"row",children:[e.includes("-")&&(0,r.jsx)("div",{className:"column-1-hand",children:"\u2014"}),(0,r.jsx)("div",{className:"column-auto-hand",children:t}),i&&!n&&(0,r.jsx)("div",{className:"column-none-hand end-hand color-primary-light",children:"beta"})]}),disabled:n}))})})}},590593(e,t,n){"use strict";n.d(t,{A:()=>L});var r,i=n(474848),o=n(296540),s=n(605556),a=n.n(s),l=n(958065),c=n(320688),u=n(634164),d=n(651916),p=n.n(d),h=n(529633),m=n(365545),f=n(289213),y=n(27644);class g extends o.PureComponent{render(){let{className:e,style:t,onClick:n}=this.props;return(0,i.jsx)("button",{type:"button",className:e,style:t,onClick:n,children:(0,i.jsx)(y.A,{name:"step-forward"})})}}class v extends o.PureComponent{render(){let{className:e,style:t,onClick:n}=this.props;return(0,i.jsx)("button",{type:"button",className:e,style:t,onClick:n,children:(0,i.jsx)(y.A,{name:"step-backward"})})}}var b=n(996599);class _ extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.isPlaying!==e.isPlaying||this.props.media.currentTime!==e.currentTime}componentDidMount(){let{store:e,media:t}=this.props;e.on(b.QUW,t.seekTo),e.on(b.oUp,t.queueSeekTo),e.on(b.a4U,t.queuePlay),e.on(b.k$6,t.play),e.on(b.CWZ,t.pause),e.on(b.bNz,t.playPause)}componentWillUnmount(){let{store:e,media:t}=this.props;e.off(b.QUW,t.seekTo),e.off(b.oUp,t.queueSeekTo),e.off(b.a4U,t.queuePlay),e.off(b.k$6,t.play),e.off(b.CWZ,t.pause),e.off(b.bNz,t.playPause)}componentDidUpdate({media:e}){this.props.media.isPlaying!==e.isPlaying&&this.props.actions.setPlaying(this.props.media.isPlaying),this.props.media.currentTime!==e.currentTime&&this.props.actions.setCurrentTime(this.props.media.currentTime,this.props.media.duration)}render(){return null}}class x extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.isPlaying!==e.isPlaying}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("button",{type:"button",className:e,style:t,onClick:n.playPause,children:(0,i.jsx)(y.A,{name:n.isPlaying?"pause":"play"})})}}class S extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.isMuted!==e.isMuted}
37render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("button",{type:"button",className:e,style:t,onClick:this._handleMuteUnmute,children:(0,i.jsx)(y.A,{name:n.isMuted?"volume-off":"volume-up"})})}constructor(...e){super(...e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_handleMuteUnmute",()=>{this.props.media.muteUnmute()})}}class A extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.isFullscreen!==e.isFullscreen}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("button",{type:"button",className:e,style:t,onClick:this._handleFullscreen,children:(0,i.jsx)(y.A,{name:n.isFullscreen?"frame-inset":"frame"})})}constructor(...e){super(...e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_handleFullscreen",()=>{this.props.media.fullscreen()})}}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class E extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.volume!==e.volume}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("input",{type:"range",step:"any",min:0,max:1,value:n.volume,onMouseUp:this._handleMouseUp,onChange:this._handleChange,className:e,style:{backgroundSize:100*n.volume/1+"% 100%",...t}})}constructor(...e){super(...e),j(this,"_onChangeUsed",!1),j(this,"_handleMouseUp",({target:{value:e}})=>{this._onChangeUsed||this.props.media.setVolume(parseFloat(e))}),j(this,"_handleChange",({target:{value:e}})=>{this.props.media.setVolume(parseFloat(e)),this._onChangeUsed=!0})}}var P=n(571606);class O extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.currentTime!==e.currentTime}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("time",{className:e,style:t,children:P.Ay.secondsToTime(n.currentTime)})}}class k extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.duration!==e.duration}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("time",{className:e,style:t,children:P.Ay.secondsToTime(n.duration)})}}class C extends o.Component{render(){let{media:e,isStreaming:t,showFullscreen:n,onVolumeMouseMove:r,onVolumeMouseIdle:o}=this.props,s=!h.A.isMobileOrTablet()&&!e.isMuted&&e.showVolume;return(0,i.jsxs)("div",{className:"media-player__row media-player__row--controls",children:[(0,i.jsx)("div",{className:"media-player__group",children:(0,i.jsx)(x,{className:"media-player__control media-player__control--play-pause",media:e})}),(0,i.jsxs)(f.A,{active:!h.A.isMobileOrTablet(),className:"media-player__group media-player__group--volume",onMouseMove:r,onMouseIdle:o,children:[(0,i.jsx)(S,{className:"media-player__control media-player__control--mute-unmute",media:e}),s&&(0,i.jsx)(E,{className:"media-player__control media-player__control--volume",media:e})]}),(0,i.jsx)("div",{className:"media-player__group grow-hand",children:e.isReady()&&t?(0,i.jsxs)("span",{className:"media-player__control media-player__control--live media-player__control--text",children:[(0,i.jsx)(y.A,{name:"circle"}),(0,i.jsx)(l.A,{id:"media_player.live"})]}):e.isReady()?(0,i.jsxs)("span",{children:[(0,i.jsx)(O,{className:"media-player__control media-player__control--current-time media-player__control--text",media:e},"time"),(0,i.jsx)("span",{className:"media-player__control media-player__control--time-separator media-player__control--text",children:"/"}),(0,i.jsx)(k,{className:"media-player__control media-player__control--duration media-player__control--text",media:e})]}):null}),(0,i.jsx)("div",{className:"media-player__group",children:n&&(0,i.jsx)(A,{className:"media-player__control media-player__control--fullscreen",media:e})})]})}}class N extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.progress!==e.progress}render(){let{className:e,style:t,media:n}=this.props;return(0,i.jsx)("progress",{className:e,style:t,max:100,value:100*n.progress})}}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class I extends o.Component{shouldComponentUpdate({media:e}){return this.props.media.currentTime!==e.currentTime||this.props.media.duration!==e.duration}render(){let{className:e,style:t,media:n}=this.props,{duration:r,currentTime:o}=n;return(0,i.jsx)("input",{type:"range",step:"any",max:r.toFixed(4),value:o,onMouseDown:this._handleMouseDown,onMouseUp:this._handleMouseUp,onChange:this._handleChange,className:e,style:{backgroundSize:100*o/r+"% 100%",...t}})}constructor(...e){super(...e),w(this,"_isPlayingOnMouseDown",!1),w(this,"_onChangeUsed",!1),w(this,"_handleMouseDown",()=>{this._isPlayingOnMouseDown=this.props.media.isPlaying,this.props.media.pause()}),w(this,"_handleMouseUp",({target:{value:e}})=>{this._onChangeUsed||this.props.media.seekTo(+e),this._isPlayingOnMouseDown&&this.props.media.play()}),w(this,"_handleChange",({target:{value:e}})=>{this.props.media.seekTo(+e),this._onChangeUsed=!0})}}var T=n(42385);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let R=(e,t)=>{let n=e&&new URL(e,location.origin);return n&&"hls"!==t&&n.searchParams.append("_timestamp",String(144e5*Math.floor(Date.now()/144e5))),{originalUrl:e,url:null==n?void 0:n.href}};class D extends(r=o.PureComponent){componentDidMount(){p().isEnabled&&p().on("change",this._onFullScreenChange),this._timer=setInterval(()=>this.setState(R(this.props.url,this.props.type)),3600)}componentWillUnmount(){p().isEnabled&&p().off("change",this._onFullScreenChange),clearInterval(this._timer)}static getDerivedStateFromProps(e,t){return e.originalUrl!==t.url?R(e.url,e.type):null}render(){let{loop:e,type:t,autoPlay:n,processing:r,onNextTrack:o,onPreviousTrack:s,storeToWatch:a,storeActions:d,className:m,alwaysShowControls:y,disablePlayButtonOverlay:b,crossOrigin:S,style:A}=this.props,{url:j,loadUrl:E,isPlaying:P,isMuted:O,volume:k,showControls:w,isFullscreen:T,minimized:M}=this.state;return(0,i.jsxs)("div",{ref:e=>this._wrapper=e,className:(0,u.A)("media-player",{"media-player--fullscreen":T,"media-player--ready":this.isReady(),[`media-player--${t}`]:t,"media-player--playing":P,"media-player--controls":w&&!r,"media-player--streaming":this.isStreaming(),"media-player--video":this.isVideo(),className:m}),style:A,children:[(0,i.jsxs)(f.A,{className:"media-player__inner",active:!h.A.isMobileOrTablet(),onMouseMove:this._onMouseMove,onMouseIdle:this._onMouseIdle,children:[r?(0,i.jsx)("div",{className:"media-player__processing",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("h4",{children:(0,i.jsx)(l.A,{id:"media_player.processing"})}),(0,i.jsx)(l.A,{id:"media_player.processing.description"})]})}):(0,i.jsx)("div",{className:(0,u.A)("media-player__element",{"media-player__minimized":M}),children:(0,i.jsx)(c.default,{id:"player",ref:e=>this._player=e,url:E||n?j:null,loop:e,playing:P,muted:O,volume:k,autoPlay:n,config:S?{file:{attributes:{crossOrigin:S}}}:void 0,onClick:this.playPause,onPlay:this._onPlay,onPause:this._onPause,onProgress:this._onProgress,onDuration:this._onDuration,onEnded:this._onEnded,onError:this._onError,onSeek:this._onSeek,onReady:this._onReady})}),!b&&!P&&!r&&(0,i.jsx)("div",{className:"media-player__play",onClick:this.playPause,children:(0,i.jsx)(x,{className:"media-player__control media-player__control--play-pause",media:this._getMediaProps()})}),w&&!P?(0,i.jsxs)("div",{className:"media-player__pager",children:[s&&(0,i.jsx)(v,{className:"media-player__control media-player__control--previous-track",onClick:this._onPreviousTrack}),o&&(0,i.jsx)(g,{className:"media-player__control media-player__control--next-track",onClick:this._onNextTrack})]}):null,(w||y)&&!r&&(0,i.jsxs)("div",{className:"media-player__controls",children:[!this.isStreaming()&&(0,i.jsxs)("div",{className:"media-player__row media-player__row--seek",children:[(0,i.jsx)(N,{className:"media-player__control media-player__control--progress",media:this._getMediaProps()}),this.isReady()&&(0,i.jsx)(I,{className:"media-player__control media-player__control--seekbar",media:this._getMediaProps()})]}),(0,i.jsx)(C,{media:this._getMediaProps(),isStreaming:this.isStreaming(),showFullscreen:p().isEnabled,onVolumeMouseMove:this._onVolumeMouseMove,onVolumeMouseIdle:this._onVolumeMouseIdle})]})]}),a&&d?(0,i.jsx)(_,{store:a,actions:d,media:this._getMediaProps()}):null]})}constructor(e){super(e),M(this,"_getMediaProps",()=>({...this.state,url:this.state.url,type:this.props.type,isReady:this.isReady,play:this.play,pause:this.pause,playPause:this.playPause,stop:this.stop,seekTo:this.seekTo,queueSeekTo:this.queueSeekTo,queuePlay:this.queuePlay,mute:this.mute,unmute:this.unmute,muteUnmute:this.muteUnmute,setVolume:this.setVolume,fullscreen:this.fullscreen})),M(this,"isReady",()=>this.state.loadUrl||this.props.autoPlay),M(this,"play",()=>{this.setState({loadUrl:!0,minimized:!1,isPlaying:!0})}),M(this,"pause",()=>{this.setState({isPlaying:!1,showControls:!0})}),M(this,"playPause",()=>{this.setState({loadUrl:!0,minimized:!1,isPlaying:!this.state.isPlaying})}),M(this,"stop",()=>
37{this.setState({loadUrl:!1,isPlaying:!1,currentTime:0,progress:0,duration:0,showControls:!0})}),M(this,"seekTo",e=>{this._player&&this._player.seekTo(e),this.setState({loadUrl:!0,currentTime:e})}),M(this,"queueSeekTo",e=>{this.setState({loadUrl:!0,seekToQueue:e})}),M(this,"queuePlay",()=>{this.setState({queuePlay:!0,loadUrl:!0})}),M(this,"mute",e=>{if(e)this._lastVolume=this.state.volume,this.setState({volume:0});else{let e=this._lastVolume>0?this._lastVolume:.1;this.setState({volume:e})}this.setState({isMuted:e})}),M(this,"unmute",()=>{this.mute(!1)}),M(this,"muteUnmute",()=>{this.mute(!this.state.isMuted)}),M(this,"setVolume",e=>{let t=e<=0;t!==this.state.isMuted?this.mute(t):this._lastVolume=e,this.setState({volume:e})}),M(this,"fullscreen",()=>{p().isEnabled&&this._wrapper&&(this.setState({minimized:!1}),p().isFullscreen?p().exit():p().request(this._wrapper))}),M(this,"isAudio",()=>"audio"===this.props.type),M(this,"isVideo",()=>"video"===this.props.type||"hls"===this.props.type||"youtube"===this.props.type),M(this,"isStreaming",()=>"hls"===this.props.type||"youtube"===this.props.type),M(this,"_onPlay",()=>{this.state.seekToQueue&&this.seekTo(this.state.seekToQueue),this.setState({isPlaying:!0,queuePlay:!1})}),M(this,"_onPause",()=>{this.pause()}),M(this,"_onProgress",({playedSeconds:e,loadedSeconds:t})=>{this.setState({currentTime:e,progress:t})}),M(this,"_onDuration",e=>{this.setState({duration:e})}),M(this,"_onSeek",()=>{this.setState({seekToQueue:null})}),M(this,"_onReady",()=>{this.props.getInternalPlayer&&this.props.getInternalPlayer(this._player.getInternalPlayer()),this.state.queuePlay&&(this.play(),this.setState({queuePlay:!1}))}),M(this,"_onError",(e,t)=>{t&&"networkError"===t.type?m.Ay.error((0,i.jsx)(l.A,{id:"media_player.error.network_issue"})):(!t||t.fatal)&&"AbortError"!=e&&(this.stop(),T.A.error("MediaPlayer onError",e,t),m.Ay.error((0,i.jsx)(l.A,{id:"media_player.error"})))}),M(this,"_onEnded",()=>{this.setState({isPlaying:this.props.loop})}),M(this,"_onMouseMove",()=>{this.setState({showControls:!0})}),M(this,"_onMouseIdle",()=>{this.state.isPlaying&&"audio"!==this.props.type&&this.setState({showControls:!1})}),M(this,"_onVolumeMouseMove",()=>{this.setState({showVolume:!0})}),M(this,"_onVolumeMouseIdle",()=>{this.setState({showVolume:!1})}),M(this,"_onPreviousTrack",()=>{this.stop(),this.props.onPreviousTrack()}),M(this,"_onNextTrack",()=>{this.stop(),this.props.onNextTrack()}),M(this,"_onFullScreenChange",()=>{this.setState({isFullscreen:p().isFullscreen})}),this.state={...R(this.props.url,this.props.type),loadUrl:!1,currentTime:0,progress:0,duration:.1,volume:1,isPlaying:!1,isMuted:!1,isFullscreen:!!p().isEnabled&&p().isFullscreen,showVolume:!1,showControls:!0,seekToQueue:null,queuePlay:!1,minimized:this.props.startMinimized},this._lastVolume=1}}M(D,"propTypes",{url:a().string.isRequired,type:a().string.isRequired}),M(D,"defaultProps",{autoPlay:!0,loop:!1,startMinimized:!1,disablePlayButtonOverlay:!1});let L=D},795601(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(474848);n(296540);var i=n(445062);let o=({name:e,value:t,options:n,onChange:o,disabled:s})=>{let a=(n||[]).map(e=>({value:e.value,text:e.label,markup:e.markup,disabled:e.disabled})),l=JSON.stringify({disabled:s,value:t,options:a.map(({value:e,text:t})=>({value:e,text:t}))});return(0,r.jsx)(i.l6,{name:e,multiselect:!1,disabled:s,selectedValue:t,onChange:o,options:a,caretIcon:(0,r.jsx)(i.te,{})},l)}},601789(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(474848),i=n(296540),o=n(402785),s=n(245282);let a=({isInPiP:e=!1})=>{let t=(0,o.A)(s.A,(0,i.useCallback)(()=>s.A.get(),[]));return t?(0,r.jsx)("div",{className:"modals",children:t}):null}},289213(e,t,n){"use strict";n.d(t,{A:()=>u});var r,i=n(474848),o=n(296540),s=n(302543),a=n(374045);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends(r=o.PureComponent){componentWillUnmount(){clearTimeout(this._mouseIdleTimeout),this._onMouseMove.cancel()}render(){let{active:e,className:t,children:n}=this.props;return e?(0,i.jsx)(a.A.Provider,{value:this.controlsContext,children:(0,o.createElement)(this.props.elementType,{className:t,onClick:this._onClick,onMouseMove:this._onMouseMove,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd},n)}):(0,i.jsx)("div",{className:t,children:n})}constructor(...e){super(...e),l(this,"_lastSeenAt",{x:null,y:null}),l(this,"_isTouching",!1),l(this,"_idleEventPaused",!1),l(this,"controlsContext",{onMouseEnter:()=>this.props.canHoverLock&&this._onMouseEnter(),onMouseLeave:()=>this.props.canHoverLock&&this._onMouseLeave()}),l(this,"_onMouseEnter",()=>{this._idleEventPaused=!0}),l(this,"_onMouseLeave",()=>{this._idleEventPaused=!1,this._setIdleTimeout()}),l(this,"_onMouseMove",(0,s.throttle)(e=>{this._isTouching||this.props.onMouseMove&&(null!==this._lastSeenAt.x&&null!==this._lastSeenAt.y&&(this._lastSeenAt.y-e.clientY)**2+(this._lastSeenAt.x-e.clientX)**2>=this.props.minMoveDistance**2&&(this.props.onMouseMove(),this._setIdleTimeout()),this._lastSeenAt.x=e.clientX,this._lastSeenAt.y=e.clientY)},this.props.throttle,{leading:!0,trailing:!1})),l(this,"_onTouchStart",e=>{this._isTouching=!0}),l(this,"_onTouchEnd",e=>{setTimeout(()=>{this._isTouching=!1},this.props.throttle)}),l(this,"_onMouseDown",()=>{var e,t;null==(e=(t=this.props).onMouseDown)||e.call(t)}),l(this,"_onClick",e=>{var t,n;this._setIdleTimeout(),null==(t=(n=this.props).onClick)||t.call(n,e)}),l(this,"_setIdleTimeout",()=>{clearTimeout(this._mouseIdleTimeout),this._mouseIdleTimeout=setTimeout(()=>{this._idleEventPaused||this.props.onMouseIdle()},this.props.timeout)})}}l(c,"defaultProps",{elementType:"div",active:!0,timeout:2500,canHoverLock:!1,className:"",throttle:200,minMoveDistance:10});let u=c},140567(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(474848);n(296540);var i=n(271448),o=n(27644);let s=({id:e,color:t="warning",size:n="medium",icon:s="warning",className:a="bar--bordered-bottom text-large",message:l,messageClassName:c,button:u,onButtonClick:d,closable:p=!1,onClosed:h,children:m,onBarClick:f})=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i.A,{id:e,color:t,size:n,className:a,onClick:f,children:(0,r.jsxs)("div",{className:"row middle-hand",children:[(0,r.jsx)("div",{className:"column-none-hand",children:(0,r.jsx)(o.A,{name:s})}),(0,r.jsx)("div",{className:"column-auto-hand",children:(0,r.jsx)("span",{className:c,children:l})}),u&&(0,r.jsx)("div",{className:"column-auto-hand none-hand",children:(0,r.jsx)("button",{id:"bar-button",type:"button",className:"button button--dark button--small inset-vertical-half",onClick:d,children:u})}),m&&(0,r.jsx)("div",{className:"column-auto-hand none-hand",children:m}),p&&h?(0,r.jsx)("button",{id:"close-button",onClick:()=>h(),className:"button button--icon button--clear button--small",children:(0,r.jsx)(o.A,{name:"remove"})}):null]})})})},426785(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(474848),i=n(296540),o=n(923883);let s=({children:e})=>
37(0,r.jsx)("main",{className:"content",tabIndex:-1,children:(0,r.jsx)(i.Suspense,{fallback:(0,r.jsx)(o.A,{}),children:e})})},374045(e,t,n){"use strict";n.d(t,{A:()=>s,F:()=>i});var r=n(296540);let i=()=>(0,r.useContext)(o),o=(0,r.createContext)({onMouseEnter:()=>{},onMouseLeave:()=>{}});o.displayName="ControlsContext";let s=o},245282(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(688991),i=n(430228),o=n(996599);let s=null,a=null,l=()=>{s=null,a=null},c=Object.assign(new i.EventEmitter,{get:function(){return s},exists:function(){return null!==s},dispatchToken:null});c.dispatchToken=r.A.register(e=>{switch(e.type){case o.i36:s=e.modal,a=e.modalKey,c.emit("CHANGE");break;case o.rKM:e.modalKey&&e.modalKey!==a||l(),c.emit("CHANGE");break;case o.DIV:l()}});let u=c},299287(e,t,n){"use strict";n.d(t,{Ay:()=>g,F:()=>f,Mz:()=>m,im:()=>y});var r=n(460023),i=n(599418),o=n(719878),s=n(529633),a=n(51624),l=n(996599);function c(e,t={},...n){let r=document.createElement(e);for(let[e,n]of Object.entries(t))e in r?r[e]=n:r.setAttribute(e,n);for(let e of n)r.appendChild(e);return r}let u=new r.xI.Renderer;u.link=({href:e,title:t,text:n})=>{let r=e;r&&/^www\./i.test(r)&&(r="https://"+r);let i=(()=>{try{return new URL(r,window.location.href).pathname.startsWith(l.GXj)}catch(e){return!1}})()||!s.A.isNativeApp()?"_blank":"_system",o=t||(s.A.isStandalone()?r:"");return c("a",{href:r,target:i,rel:"noopener noreferrer",title:o,innerHTML:n}).outerHTML},u.code=({text:e,lang:t})=>{let n,r=((n=document.createElement("textarea")).innerHTML=e,n.value),i=t&&o.A.getLanguage(t)?t:"";return c("div",{className:"code-snippet"},c("div",{className:"code-snippet__header"},c("span",{className:"code-snippet__language",textContent:i||"Plain text"}),c("button",{type:"button",className:"code-snippet__copy","aria-label":"Copy code",textContent:"Copy"})),c("pre",{},c("code",i?{className:`hljs language-${i}`,innerHTML:o.A.highlight(r,{language:i}).value}:{className:"hljs",textContent:r}))).outerHTML};let d={renderer:u,breaks:!0,gfm:!0},p=Object.assign(new r.xI.Renderer,u);p.table=()=>"",p.image=()=>"";let h={renderer:p,breaks:!0,gfm:!0},m=e=>e?i.A.sanitize(r.xI.parse(e,h),{ADD_ATTR:["target"]}):"",f=e=>{var t;return e?(t=e=>e.replace(a.s5,(e,t,n)=>{let r="here"===n||"channel"===n,i="string"==typeof n&&n.startsWith("bot:"),o=(r?n:t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");return`<span class="${r?"mention pseudo-mention":i?"mention bot-mention":"mention"}">@${o}</span>`}),e.split(/(```+[^\n]*\n[\s\S]*?```+|~~~+[^\n]*\n[\s\S]*?~~~+|`+[^`\n]*`+)/).map((e,n)=>n%2==1?e:t(e)).join("")):""},y=e=>{if(!e)return"";let t=[],n=e.replace(a.s5,(e,n,r)=>{let i="here"===r||"channel"===r,o=t.length;return t.push(i?r:n),`\x02${o}\x02`}),o=r.xI.parse(n,{breaks:!0,gfm:!0}),s=t.reduce((e,t,n)=>{let r=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return e.replaceAll(`\x02${n}\x02`,`@${r}`)},o).replace(/<br\s*\/?>/gi," ").replace(/<\/(?:p|div|li|h[1-6]|blockquote|td|th)>/gi," "),l=document.createElement("div");return l.innerHTML=i.A.sanitize(s),l.textContent.trim().replace(/\s+/g," ")},g=e=>e?i.A.sanitize(r.xI.parse(e,d),{ADD_ATTR:["target"]}):""},51624(e,t,n){"use strict";n.d(t,{U_:()=>i,s5:()=>r,vM:()=>u});let r=/@\[([^\]]+)\]\((\d+|here|channel|bot:\d+)\)/g,i=/^(\d+|here|channel|bot:\d+)$/,o=new Set(["UL","OL","BLOCKQUOTE","PRE","H1","H2","H3","H4","H5","H6","P","DIV"]);function s(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function a(e){return e.replace(/\u200B/g,"").replace(/\u00A0/g," ")}let l={STRONG:"**",B:"**",EM:"*",I:"*",S:"~~",DEL:"~~",STRIKE:"~~"};function c(e,t=1){return Math.max(t,(e.match(/`+/g)||[]).reduce((e,t)=>Math.max(e,t.length),0)+1)}function u(e){if(!e)return"";let t=[],n="";function r(e=""){t.push(e+n),n=""}function u(e,t){for(let r of t){let t=n.slice(e),i=t.trim();if(!i)return;let o=t.slice(0,t.length-t.trimStart().length),s=t.slice(t.trimEnd().length);n=n.slice(0,e)+o+r+i+r+s}}function d(e,t){let i=n.length;for(let s of t.childNodes)s.nodeType===Node.ELEMENT_NODE&&o.has(s.nodeName)?(u(i,e),r(),h(s),i=n.length):p(s);u(i,e)}function p(e){if(e.nodeType===Node.TEXT_NODE){n+=s(a(e.textContent));return}if(e.nodeType===Node.ELEMENT_NODE&&"true"===e.getAttribute("data-serializer-ignore"))return;if("BR"===e.nodeName)return void r();let t=e.nodeName,o=l[t],u=function(e,t){let n=[],{style:r}=e;if(!r)return n;let i=r.fontWeight;return("bold"===i||Number(i)>=700)&&"**"!==t&&n.push("**"),"italic"===r.fontStyle&&"*"!==t&&n.push("*"),(r.textDecorationLine||r.textDecoration||"").includes("line-through")&&"~~"!==t&&n.push("~~"),n}(e,o);if(o)return void d(u.length?[o,...u]:[o],e);switch(t){case"CODE":{let t=a(e.textContent),r=c(t),i="`".repeat(r);n+=r>1?`${i} ${t} ${i}`:`${i}${t}${i}`;break}case"SPAN":{let t=e.getAttribute("data-mention-id");if("string"==typeof t&&""!==t&&i.test(t)){let r=(e.textContent||"").trim().replace(/^@/,"").replace(/[\]\n\r]/g,"");if(r){n+=`@[${r}](${t})`;break}}if(u.length)d(u,e);else for(let t of e.childNodes)p(t);break}case"A":{let t=n.length;for(let t of(n+="[",e.childNodes))p(t);let r=n.slice(t+1).replace(/[[\]]/g,"\\$&");n=n.slice(0,t)+"["+r;let i=(e.getAttribute("href")||"").replace(/\)/g,"\\)");n+=`](${i})`;break}case"IMG":{let t=(e.getAttribute("alt")||"").replace(/[[\]]/g,"\\$&"),r=(e.getAttribute("src")||"").replace(/\)/g,"\\)");n+=`![${t}](${r})`;break}case"BUTTON":break;default:if(u.length)d(u,e);else for(let t of e.childNodes)p(t)}}function h(i,l=0,u=""){let d="> ".repeat(l);if(i.nodeType===Node.TEXT_NODE){n+=s(a(i.textContent));return}if("BR"===i.nodeName)return void r(d);let m=i.nodeName;if("PRE"===m){var f,y;n&&r(d);let e=i.querySelector("code")||i,o=(null==(f=e.dataset)?void 0:f.language)||(null==(y=(e.className||"").match(/(?:^|\s)language-(\w+)/))?void 0:y[1])||"",s="";for(let t of e.childNodes)"BR"===t.nodeName?s+=`
38`:s+=a(t.textContent);let l=s.replace(/\n$/,""),u="`".repeat(c(l,3));for(let e of(t.push(d+u+o),l.split(`
39`)))t.push(d+e);t.push(d+u);return}if("BLOCKQUOTE"===m){for(let e of(n&&r(d+u),i.childNodes))h(e,l+1,u);n&&r("> ".repeat(l+1)+u),0===l&&t.push("");return}if("UL"===m||"OL"===m){n&&r(d+u),!u&&t.length>
390&&""!==t[t.length-1]&&t.push("");let o=1,s=u+("UL"===m?"  ":"   ");for(let e of i.children){if("UL"===e.nodeName||"OL"===e.nodeName){h(e,l,s);continue}if("LI"!==e.nodeName)continue;for(let t of(n="",e.childNodes))"UL"!==t.nodeName&&"OL"!==t.nodeName&&p(t);let r="UL"===m?"- ":`${o}. `;for(let i of(s=u+" ".repeat(r.length),t.push(d+u+r+n.trimEnd()),n="",o++,e.childNodes))("UL"===i.nodeName||"OL"===i.nodeName)&&h(i,l,s)}if(!u){let n=!1;for(let t=i;t&&t!==e&&"LI"!==t.nodeName&&"BLOCKQUOTE"!==t.nodeName;t=t.parentNode){let e=t.nextSibling;for(;e&&e.nodeType===Node.TEXT_NODE&&!a(e.textContent).trim();)e=e.nextSibling;if(e){n=!0;break}}n&&t.push(l>0?d.trimEnd():"")}return}if(/^H[1-6]$/.test(m)){n&&r(d);let e=parseInt(m[1],10);for(let e of i.childNodes)p(e);t.push(d+"#".repeat(e)+" "+n.trimEnd()),n="";return}if("P"===m||"DIV"===m){if(n&&r(d),0===i.childNodes.length||1===i.childNodes.length&&"BR"===i.firstChild.nodeName)t.push(d);else{for(let e of i.childNodes)e.nodeType===Node.ELEMENT_NODE&&o.has(e.nodeName)?(n&&r(d),h(e,l)):p(e);n&&(t.push(d+n.trimEnd()),n="")}return}p(i)}for(let t of e.childNodes)h(t);return n&&t.push(n),t.join(`
40`)}},81827(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(751455),i=n(965936),o=n(688991),s=n(996599);let a=function(e){o.A.dispatch({type:s.lRx,products:e})},l=function(e){o.A.dispatch({type:s.Gd1,error:e})},c={getAll:function(e){var t;t=e,i.A.getJSON("/product/",t).then(e=>a(e),e=>{l(""),r.A.sendError("api/Product#getAll",e)})}}},580978(e,t,n){"use strict";n.d(t,{A:()=>w});var r=n(302543),i=n(965936),o=n(688991),s=n(996599);let a=function(e){o.A.dispatch({type:s.nuy,requestType:e})},l=function(e){o.A.dispatch({type:s.$yA,requestType:e})},c=function(e,t){o.A.dispatch({type:s.FAo,upcomingConferences:e,monthIndex:t})},u=function(){o.A.dispatch({type:s.gbK})},d=function({month:e,conference_call_ids:t}){o.A.dispatch({type:s.p33,month:e,conferenceCallIds:t})},p=function(e){o.A.dispatch({type:s.wJN,conferenceCallId:e})},h=function(){o.A.dispatch({type:s.LvU})},m=function(e){o.A.dispatch({type:s.$lb,conferenceCallId:e})},f=function(){o.A.dispatch({type:s.SME})},y=function(e){o.A.dispatch({type:s.T8L,conferenceCallId:e})},g=function(){o.A.dispatch({type:s.kiD})};var v=n(751455),b=n(529633),_=n(545134),x=n(769762);class S extends x.A{constructor(){super("UpcomingConferencesChannel"),this._requireToken=!0}}let A=new S,j=function(e){return i.A.putJSON("/conf/cancel_call/",{id:e}).then(()=>{m(e)},e=>{v.A.sendError("UpcomingConferences#cancelConference",e),f()})},E=Object.freeze({month:NaN,webinar:!1,today:!0}),P={...E},O=async()=>{if(Number.isNaN(P.month))return;let{today:e,month:t}=P;return new _.A(_.c.UPCOMING_CONFERENCES,!!e).fetch(e=>i.A.getJSON("/conf/list_upcoming",e),{onStart:()=>a(s.uXS),validate:e=>{let t=new Date,n=e.filter(e=>e.is_active||new Date(e.start_time)>=t);return n.length?n:null},onSuccess:e=>{c(e,t)},onFailure:e=>{if(e&&401===e.status){let e="/login/login?sessionExpired=true";b.A.isCordova()?i.A.navigate(e):window.location.href=e}else v.A.sendError("UpcomingConferences#get",e);u()},args:{...P}}).then(()=>l(s.uXS))},k=function(e){A.on("UPDATE",d),A.on(s.vcf,O),A.subscribe({account_token:e})},C=function(){A.off(s.vcf,O),A.off("UPDATE",d),A.unsubscribe(),Object.assign(P,E)};function N(e,t=!1){var n,r;n=e,r=t,Object.assign(P,{month:n,webinar:i.A.pathMatch(s.uiV),today:r||void 0}),O()}let w={get:N,getWithDebounce:(0,r.debounce)(N,200),subscribe:function(e){k(e)},unsubscribe:function(){C()},endConference:function(e){var t;t=e,a(s.wJN),i.A.putJSON("/conferences/end_call",{id:t}).then(()=>{p(t)},e=>{v.A.sendError("UpcomingConferences#endConference",e),h()}).then(()=>{l(s.wJN)})},cancelConference:function(e){var t;t=e,a(s.$lb),j(t).then(()=>l(s.$lb))},cancelSeries:function(e){var t;t=e,a(s.Sv5),j(t).then(()=>l(s.Sv5))},declineConference:function(e){var t;t=e,a(s.T8L),i.A.putJSON("/conf/remove/",{id:t}).then(()=>{y(t)},e=>{v.A.sendError("UpcomingConferences#declineConference",e),g()}).then(()=>{l(s.T8L)})}}},659367(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(474848),i=n(296540),o=n(14300),s=n(958065),a=n(879600),l=n(66514),c=n(860128);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends i.Component{render(){return(0,r.jsxs)(c.aF,{size:"small",onClose:l.A.hide,className:"start-options-modal",children:[(0,r.jsx)(c.rQ,{children:(0,r.jsx)(c.wt,{children:(0,r.jsx)(s.A,{id:"activity_detector.modal.header"})})}),(0,r.jsx)(c.cw,{children:(0,r.jsx)(s.A,{id:"activity_detector.modal.body"})})]})}}class p extends i.Component{componentDidMount(){this.state.activityDetector.on("idle",this._onIdle),this.state.activityDetector.on("active",this._onActive),this.state.activityDetector.init()}componentWillUnmount(){this.state.timeout&&(l.A.hide(),clearTimeout(this.state.timeout)),this.state.activityDetector.stop()}render(){return null}constructor(...e){super(...e),u(this,"state",{activityDetector:(0,o.default)({timeToIdle:15e5,inactivityEvents:[],ignoredEventsWhenIdle:[],autoInit:!1}),timeout:null}),u(this,"_onIdle",()=>{l.A.show((0,r.jsx)(d,{}));let e=setTimeout(this._onTimeout,18e4);this.setState({timeout:e})}),u(this,"_onActive",()=>{this.state.timeout&&(l.A.hide(),clearTimeout(this.state.timeout),this.setState({timeout:null}))}),u(this,"_onTimeout",()=>{a.A.signOut()})}}let h=p},535567(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(474848);n(296540);var i=n(634164),o=n(27644),s=n(706442);let a=({className:e="button--xsmall visible-lap-below",...t})=>{let{formatMessage:n}=(0,s.A)();return(0,r.jsx)("button",{type:"button","aria-label":n({id:"buttons.go_back"}),className:(0,i.A)("sidebar-toggle button button--text",e),...t,children:(0,r.jsx)(o.A,{name:"arrow-left"})})}},639427(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(474848),i=n(296540),o=n(958065);let s={meeting:"call_summary.no_action_items",voicemail:"call_summary.no_action_items_voicemail",recorded_call:"call_summary.no_action_items_recorded_call"};class a extends i.PureComponent{render(){let{actionItems:e,context:t="meeting"}=this.props,n=s[t]||s.meeting;return(0,r.jsx)("div",{className:"summary-action-items",children:e&&e.size>0?(0,r.jsx)("ul",{role:"list",children:e.map(e=>(0,r.jsx)("li",{children:e.get("bullet")},e.get("id")))}):(0,r.jsx)("p",{children:(0,r.jsx)(o.A,{id:n})})})}}let l=a},794271(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(474848),i=n(296540),o=n(299287);class s extends i.PureComponent{render(){let{summary:e}=this.props;return(0,r.jsx)("div",{className:"summary-ai-summary markdown-content",dangerouslySetInnerHTML:{__html:(0,o.Ay)(e)}})}}let a=s},437382(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(474848),i=n(296540),o=n(958065),s=n(965936),a=n(42385),l=n(183320);let c=({recordings:e=[]})=>{let[t,n]=(0,i.useState)([]),[c,u]=(0,i.useState)(!1),[d,p]=(0,i.useState)(!1),h=e.filter(e=>e.has_transcriptions).map(e=>e.id),m=h.join(",");return((0,i.useEffect)(()=>{let e=!1;if(0===h.length){n([]),p(!1),u(!0);return}return u(!1),p(!1),Promise.all(h.map(e=>s.A.getJSON(`/transcription_segment?recording_id=${e}`))).then(t=>
40{e||n(t.flat().filter(Boolean))}).catch(t=>{e||(a.A.error("CdrTranscript: failed to load transcript",t),p(!0))}).finally(()=>{e||u(!0)}),()=>{e=!0}},[m]),c)?d?(0,r.jsx)("div",{className:"summary-transcript alert alert--warning",children:(0,r.jsx)(o.A,{id:"phone_call_summary.transcript.failed"})}):0===t.length?(0,r.jsx)("div",{className:"summary-transcript summary-transcript--empty",children:(0,r.jsx)(o.A,{id:"phone_call_summary.transcript.none"})}):(0,r.jsx)("div",{className:"summary-transcript",children:t.map(e=>(0,r.jsxs)("p",{className:"transcription-segment space-bottom-half",children:[e.participant_name&&(0,r.jsxs)("span",{className:"transcription-segment__speaker font-bold",children:[e.participant_name,":"," "]}),(0,r.jsx)("span",{className:"transcription-segment__text",children:e.hypothesis})]},`${e.recording_id}-${e.index}`))}):(0,r.jsx)(l.A,{centered:!0})}},373288(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(474848);n(296540);var i=n(958065);let o=({sentiment:e})=>{let t="call_summary.sentiment.neutral_tone",n=e.get("mean",0);return n>=.1?t="call_summary.sentiment.positive_tone":n<=-.1&&(t="call_summary.sentiment.negative_tone"),(0,r.jsx)("div",{className:"sentiment-summary",children:(0,r.jsxs)("p",{children:[(0,r.jsx)(i.A,{id:"call_summary.sentiment.overall_tone"}),"\xa0",(0,r.jsx)("span",{id:"sentiment-overall-tone",className:"overall-tone",children:(0,r.jsx)(i.A,{id:t})})]})})}},500832(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(474848),i=n(296540),o=n(956347),s=n(996599),a=n(529633),l=n(535567);let c=()=>{let e=(0,o.W6)(),t=(0,i.useCallback)(()=>{e.length>1?e.goBack():e.push(s.$hu)},[e]);return a.A.isSdkEnabled()||!a.A.isMobile()?null:(0,r.jsx)("div",{className:"summary-back",children:(0,r.jsx)(l.A,{className:"button--large",onClick:t})})}},748308(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(474848);n(296540);var i=n(601789),o=n(755704);let s=({children:e})=>(0,r.jsxs)("footer",{className:"dashboard-footer",children:[e,(0,r.jsx)(o.default,{}),(0,r.jsx)(i.A,{})]})},468029(e,t,n){"use strict";n.d(t,{A:()=>U});var r,i=n(474848),o=n(448455),s=n(200430),a=n(301468),l=n(296540),c=n(374284),u=n(996599),d=n(368846),p=n(285170),h=n(176833),m=n(758109),f=n(209404),y=n.n(f),g=n(965936);function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class b extends l.PureComponent{componentDidMount(){c.A.on("CHANGE",this._onAccountStoreChange)}componentWillUnmount(){c.A.off("CHANGE",this._onAccountStoreChange)}render(){let e=this.state.isAdminLogin?"child_domain_admin.link.back_to_admin":"child_domain_admin.link.back_to_parent",t=this.state.isAdminLogin?u.nMr:u.Xmj,n=y().Map({type:"info",isInfo:!1,isError:!0,isWarning:!1,isSuccess:!1,iconName:"info",canBeDismissed:!1,key:u.WhU,content:"child_domain_admin.content",link:e,linkFunction:()=>g.A.goToUrl(t)});return(0,i.jsx)(p.A,{in:this.state.isChildDomainAdmin,className:"notification-bar-container",mountOnEnter:!0,unmountOnExit:!0,children:(0,i.jsx)(d.A,{children:this.state.isChildDomainAdmin?(0,i.jsx)(h.A,{children:(0,i.jsx)(m.A,{message:n})},n.get("key")):null})})}constructor(...e){super(...e),v(this,"state",{isChildDomainAdmin:c.A.get("child_domain_admin"),isAdminLogin:c.A.isAdminLogin()}),v(this,"_onAccountStoreChange",()=>{this.setState({isChildDomainAdmin:c.A.get("child_domain_admin"),isAdminLogin:c.A.isAdminLogin()})})}}var _=n(958065),x=n(159147),S=n(860253),A=n(132073),j=n(879600),E=n(81827),P=n(140567),O=n(503944),k=n(529633),C=n(937728);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w extends(r=l.Component){getState(){let e=S.A.getValidPlan(),t=e?e.get("product_id"):null,n=A.A.findById(t);return{hasSuspended:S.A.isAnySubscriptionSuspended(),hasGracePeriod:S.A.isAnySubscriptionGracePeriod(),plan:e,promoCode:n?n.get("promo_code"):null,activeAndExpiring:S.A.isActiveSubscriptionExpiring(e),daysLeft:S.A.daysLeftUntilExpiration(e),pricingUrl:O.A.getInfo("pricing_url"),hasOrganizations:O.A.get("has_organizations"),customerBilling:O.A.get("customer_billing")}}
40componentDidMount(){A.A.on("CHANGE",this._onChange),S.A.on("CHANGE",this._onChange),O.A.on("CHANGE",this._onChange),A.A.loaded()||E.A.getAll()}componentWillUnmount(){A.A.off("CHANGE",this._onChange),S.A.off("CHANGE",this._onChange),O.A.off("CHANGE",this._onChange)}render(){let{hasSuspended:e,hasGracePeriod:t,activeAndExpiring:n,plan:r,daysLeft:o,promoCode:s,customerBilling:a}=this.state,{isOrganizationAdmin:l}=this.props,c=a&&!k.A.isOnIos();return(0,i.jsxs)("div",{className:"subscription-notices",children:[e&&(0,i.jsx)(P.A,{id:"suspended",message:(0,i.jsx)(_.A,{id:"subscription_notices.suspended.text"}),button:(l||!this.state.hasOrganizations)&&(0,i.jsx)(_.A,{id:"subscription_notices.suspended.button"}),onButtonClick:this._onClick}),t&&(0,i.jsx)(P.A,{id:"grace-period",message:(0,i.jsx)(_.A,{id:"subscription_notices.grace_period.text"}),button:l?(0,i.jsx)(_.A,{id:"subscription_notices.grace_period.button"}):null,onButtonClick:this._onClick}),l&&n&&o<61&&(0,i.jsx)(P.A,{id:"expiring",message:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.A,{id:`subscription_notices.${o>0?"expiring":"expired"}.text`,values:{plan:(0,i.jsx)(_.A,{id:`product.slugs.${r.get("product_slug")}`}),days:o}})," ",s&&(0,i.jsx)(_.A,{id:"sign_up.promo_code.message.logged_in",values:{percentage:s.get("percentage_discount")}})]}),button:c?(0,i.jsx)(_.A,{id:`subscription_notices.expiring.${r.get("free")?"free":"paid"}.button`}):void 0,onButtonClick:c?this._onClick:void 0}),this.context.get("storage_near_included_limit")&&this.context.get("show_storage_overage_warning")&&(0,i.jsx)(P.A,{id:"storage_overage",message:(0,i.jsx)(_.A,{id:`subscription_notices.storage_overage.${this.context.get("storage_near_included_limit")}`}),button:(0,i.jsx)(_.A,{id:"subscription_notices.storage_overage.button"}),onButtonClick:()=>g.A.openWindow(O.A.getInfo("storage_pricing_url")),closable:!0,onClosed:this._onStorageOverageClosed})]})}constructor(e){super(e),N(this,"_onChange",()=>{this.setState(this.getState())}),N(this,"_onClick",()=>{if(this.state.hasOrganizations)if(this.state.plan.get("free")){let e=x.A.buildCompanyUrl("/billing/plans",{switch_plan:this.state.plan.get("id")});g.A.navigate(e)}else g.A.navigate(u.$UY);else g.A.navigate(`${u.oYy}/update_card`)}),N(this,"_onStorageOverageClosed",()=>{j.A.closeStorageOverageWarning()}),this.state=this.getState()}}N(w,"contextType",C.A);var I=n(860866),T=n(865624),M=n(44495);let R=()=>((0,T.A)((0,l.useCallback)(()=>M.A.getConferencesForToday(),[]),!0),null);var D=n(402785);let L=()=>{let[e,t]=(0,l.useState)(!1),n=k.A.isMobileOrTablet(),r=k.A.isElectron(),o=k.A.isSdkEnabled(),s=k.A.isChrome(),{appLink:a}=(0,D.A)(O.A,(0,l.useCallback)(()=>({appLink:O.A.getAppUrlForOs()}),[]));if(e||n||r||o||!a||s)return null;let c=y().Map({type:"info",isInfo:!1,isError:!1,isWarning:!0,isSuccess:!1,iconName:"info",canBeDismissed:!0,remainHiddenAfterTimesDismissed:3,key:u.Xt0,content:"desktop_app_recommendation_bar.content",link:"desktop_app_recommendation_bar.link",linkFunction:()=>g.A.goToUrl(a)});return(0,i.jsx)(p.A,{in:!0,className:"notification-bar-container",mountOnEnter:!0,unmountOnExit:!0,children:(0,i.jsx)(d.A,{children:(0,i.jsx)(h.A,{children:(0,i.jsx)(m.A,{message:c,onClose:()=>t(!0)})})})})},U=({isBottomNav:e=!1,isGuest:t,isAdmin:n,isOrganizationAdmin:r,isNewDashboard:l,children:c,isQuickSummary:u=!1})=>((0,o.A)(e),(0,i.jsxs)("header",{className:"dashboard-header sticky sticky--top",children:[(0,i.jsx)(b,{}),(0,i.jsx)(s.A,{}),(0,i.jsx)(a.A,{}),(0,i.jsx)(L,{}),c,(0,i.jsx)(w,{isOrganizationAdmin:r}),(0,i.jsx)(I.A,{isAdmin:n,isGuest:t,isNewDashboard:l,isBottomNav:e}),!t&&!u&&(0,i.jsx)(R,{})]}))},309659(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(474848),i=n(296540),o=n(402785),s=n(529633),a=n(468029),l=n(748308),c=n(788792),u=n(182658),d=n(6593
4067),p=n(426785),h=n(66514),m=n(879600),f=n(374284),y=n(956347),g=n(706442),v=n(958065),b=n(582765),_=n.n(b),x=n(209404),S=n(996599),A=n(965936),j=n(571606),E=n(365545),P=n(419511),O=n(27644),k=n(946621),C=n(861123),N=n(126202),w=n(849480),I=n(443020),T=n(183320),M=n(484163),R=n(573655),D=n(590593),L=n(164736),U=n(794271),H=n(639427),B=n(373288),F=n(437382),V=n(42385);let $=(0,y.y)(({match:e})=>{let{formatMessage:t}=(0,g.A)(),[n,o]=(0,i.useState)(null),[s,a]=(0,i.useState)(!1),[l,c]=(0,i.useState)(void 0),[u,d]=(0,i.useState)(0),[p,h]=(0,i.useState)(S.opg);(0,i.useEffect)(()=>{let t=!1;return a(!1),c(void 0),A.A.getJSON(`/cdr_summary/${e.params.id}`).then(e=>{t||(o(e),d(0),c(void 0))}).catch(e=>{t||c((null==e?void 0:e.status)===404?"phone_call_summary.error.not_found":"callSummary.get.failed")}).finally(()=>{t||a(!0)}),()=>{t=!0}},[e.params.id]),(0,i.useEffect)(()=>{n&&(n.ai_summary?h(S.opg):n.ai_summary_detailed?h(S.g7e):(n.action_items||[]).length>0&&h(S.e3N))},[n]);let m=(null==n?void 0:n.recordings)||[],f=m[u],y=null==f?void 0:f.download_link,b=f&&[S.Krv,S.EZF].includes(f.publishing_state),$=(0,i.useMemo)(()=>(null==n?void 0:n.start_time)?j.Ay.getTime(n.start_time,S.N0X):null,[n]),q=(0,i.useMemo)(()=>(null==n?void 0:n.start_time)?j.Ay.getTime(n.start_time,S.XXw):null,[n]),z=null==n?void 0:n.ai_summary,G=null==n?void 0:n.ai_summary_detailed,W=(null==n?void 0:n.action_items)||[],K=null==n?void 0:n.sentiment,J=(null==n?void 0:n.tags)||[],X=!!(null==n?void 0:n.ai_summary_too_brief),Q=!!(z||G||W.length),Y=m.some(e=>e.transcribe);return(0,r.jsx)("div",{className:"call-summary-page view view--shrink",children:s?l?(0,r.jsx)("div",{className:"island",children:(0,r.jsx)("div",{className:"alert alert--error",children:(0,r.jsx)(v.A,{id:l})})}):(0,r.jsx)("div",{className:"call-summary view view--shrink",children:(0,r.jsx)("div",{className:"container container--fluid view view--shrink",children:(0,r.jsxs)("div",{className:"row row--gutterless",children:[(0,r.jsx)("div",{className:"column-12-hand column-8-desk",children:(0,r.jsx)("div",{className:"summary-main view view--shrink",children:(0,r.jsxs)("div",{className:"summary-main__inner view view--shrink",children:[f&&(y||b)?(0,r.jsxs)("div",{className:"summary-recordings",children:[(0,r.jsx)("div",{className:"summary-recordings__count",children:(0,r.jsxs)("div",{className:"row middle-lap",children:[(0,r.jsx)("div",{className:"column-auto-hand",children:(0,r.jsx)(v.A,{id:"call_summary.recordings.counter",values:{selected:u+1,total:m.length}})}),y&&!b&&(0,r.jsx)("div",{className:"column-none-hand",children:(0,r.jsxs)(I.A,{children:[(0,r.jsx)("button",{type:"button",className:"button button--clear inset-top-half inset-bottom-half",children:(0,r.jsx)(O.A,{name:"ellipsis-h"})}),(0,r.jsx)(w.Ay,{closeOnClick:!0,size:"auto",children:(0,r.jsxs)(C.A,{children:[(0,r.jsxs)(N.A,{elementType:P.A,href:y,selectable:!0,id:"download",children:[(0,r.jsx)(O.A,{name:"download",className:"icon-fw",space:"after"}),(0,r.jsx)(v.A,{id:"recording_options_popover.download"})]}),(0,r.jsx)(N.A,{elementType:_(),component:"button",type:"button",role:"button",onSuccess:()=>E.Ay.success(t({id:"buttons.copied"})),"data-clipboard-text":y,selectable:!0,id:"copy",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(O.A,{name:"link",space:"after"}),(0,r.jsx)(v.A,{id:"recording_options_popover.copy_link"})]})})]})})]})})]})}),(0,r.jsx)("div",{className:"summary-recordings__player",children:(0,r.jsx)(D.A,{url:y||"",processing:b,type:"audio",onError:e=>V.A.error("MediaPlayer: playback error for recording",f.id,f.download_link,e),onNextTrack:u<m.length-1?()=>d(u+1):void 0,onPreviousTrack:u>0?()=>d(u-1):void 0,startMinimized:!0},f.id)})]}):null,(0,r.jsx)("div",{className:"summary-title-bar",children:(0,r.jsx)("div",{className:"row middle-hand",children:(0,r.jsxs)("div",{className:"column-12-hand column-auto-lap",children:[(0,r.jsx)("h4",{className:"summary-title-bar__subject fs-exclude",children:n.subject}),(0,r.jsxs)("div",{className:"summary-title-bar__meta",children:[(0,r.jsx)("div",{className:"summary-title-bar__meta-item",children:(0,r.jsx)(L.A,{duration:n.duration})}),$&&(0,r.jsx)("div",{className:"summary-title-bar__meta-item",children:$}),q&&(0,r.jsx)("div",{className:"summary-title-bar__meta-item",children:q})]})]})})}),Q?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(M.A,{initialTab:p,onChange:h,className:"tabs--bordered",children:[z&&(0,r.jsx)(R.A,{name:S.opg,children:t({id:"call_summary.tabs.overview"})}),G&&(0,r.jsx)(R.A,{name:S.g7e,children:t({id:"call_summary.tabs.detailed_summary"})}),W.length>0&&(0,r.jsx)(R.A,{name:S.e3N,children:t({id:"call_summary.tabs.action_items"})})]}),(0,r.jsx)("div",{className:"summary-content",children:(()=>{switch(p){case S.opg:return z?(0,r.jsx)(U.A,{summary:z}):null;case S.g7e:return G?(0,r.jsx)(U.A,{summary:G}):null;case S.e3N:return(0,r.jsx)(H.A,{actionItems:(0,x.fromJS)(W),context:"recorded_call"});default:return null}})()}),(null==K?void 0:K.available)&&(0,r.jsxs)("div",{className:"summary-section space-bottom",children:[(0,r.jsx)("h4",{children:(0,r.jsx)(v.A,{id:"call_summary.sentiment"})}),(0,r.jsx)(B.A,{sentiment:(0,x.fromJS)(K)})]}),J.length>0&&(0,r.jsxs)("div",{className:"summary-section space-bottom",children:[(0,r.jsx)("h4",{children:(0,r.jsx)(v.A,{id:"call_summary.topics"})}),(0,r.jsx)("div",{className:"row gap-half",children:J.map(e=>(0,r.jsx)(k.A,{rounded:!0,children:e.label},e.label))})]})]}):(0,r.jsx)("div",{className:"summary-ai-status alert alert--info space-bottom",children:(0,r.jsx)(v.A,{id:X?"phone_call_summary.summary.too_brief":Y?"phone_call_summary.summary.in_progress":"phone_call_summary.summary.unavailable"})})]})})}),(0,r.jsx)("div",{className:"column-12-hand column-4-desk",children:(0,r.jsx)("div",{className:"summary-sidebar view view--shrink",children:(0,r.jsx)("div",{className:"summary-sidebar__content view view--shrink",children:(0,r.jsx)(F.A,{recordings:m})})})})]})})}):(0,r.jsx)("div",{className:"island",children:(0,r.jsx)(T.A,{centered:!0})})})});var q=n(500832);let z=()=>{let e=(0,i.useMemo)(()=>s.A.isSdkEnabled(),[]),t=s.A.isMobile(),{isGuest:n,isConsented:y,logoutOnInactive:g,isAdmin:v,isOrganizationAdmin:b,isDashboardVideo:_,isDashboardAudio:x}=(0,o.A)(f.A,(0,i.useCallback)(()=>({isGuest:f.A.isGuest(),isConsented:f.A.isConsented(),logoutOnInactive:f.A.logoutOnInactive(),isAdmin:f.A.isAdmin(),isOrganizationAdmin:f.A.isOrganizationAdmin(),isDashboardVideo:"video"===f.A.getDashboardType(),isDashboardAudio:f.A.isDashboardAudio()}),[]));return(0,i.useEffect)(()=>{n||y||h.A.show((0,r.jsx)(u.A,{submitConsent:e=>m.A.update({gdpr_consent_date:e})}))},[y,n]),(0,r.jsxs)(r.Fragment,{children:[!e&&g&&(0,r.jsx)(d.A,{}
40),(0,r.jsxs)("div",{className:"dashboard wrapper",tabIndex:-1,children:[!e&&(0,r.jsx)(a.A,{isBottomNav:t,isGuest:n,isAdmin:v,isOrganizationAdmin:b,isNewDashboard:!0,isQuickSummary:!0,children:!t&&(0,r.jsx)(c.A,{isGuest:n,isDashboardVideo:_,isDashboardAudio:x,isQuickSummary:!0})}),(0,r.jsx)(q.A,{}),(0,r.jsx)(p.A,{children:(0,r.jsx)($,{})}),(0,r.jsx)(l.A,{children:!e&&t&&(0,r.jsx)(c.A,{atBottom:!0,isGuest:n,isDashboardVideo:_,isDashboardAudio:x,isQuickSummary:!0})})]})]})}},164736(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(474848),i=n(296540),o=n(958065);class s extends i.PureComponent{render(){let e=this.props.duration;return e<60?(0,r.jsx)(o.A,{id:"conference_duration.minutes",values:{minutes:Math.floor(e)}}):e%60==0?(0,r.jsx)(o.A,{id:"conference_duration.hours",values:{hours:Math.floor(e/60)}}):(0,r.jsx)(o.A,{id:"conference_duration.hours_and_minutes",values:{hours:Math.floor(e/60),minutes:e%60}})}}let a=s},200430(e,t,n){"use strict";n.d(t,{A:()=>S});var r=n(474848),i=n(296540),o=n(503944),s=n(958065),a=n(27644),l=n(996599),c=n(965936),u=n(237327),d=n(688991),p=n(430228),h=n(209404),m=n.n(h);class f extends p.EventEmitter{all(){return this._notifications.toList()}getNonRemoved(){return this.all().filter(e=>!e.get("removed"))}constructor(){super(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_notifications",m().Map()),d.A.register(e=>{switch(e.type){case l.vIE:{let t=e.customer_notification.id,n=this._notifications.get(t);if(!(n&&n.get("removed"))){let n=m().fromJS(e.customer_notification);this._notifications=this._notifications.set(t,n),this.emit("CHANGE")}break}case l.ys7:this._notifications.has(e.id)&&(this._notifications=this._notifications.setIn([e.id,"removed"],!0),this.emit("CHANGE"))}})}}let y=new f;var g=n(368846),v=n(285170),b=n(176833);function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class x extends i.PureComponent{componentDidMount(){o.A.on("CHANGE",this._onSiteStoreChange),y.on("CHANGE",this._onCustomerNotificationStoreChange)}componentWillUnmount(){o.A.off("CHANGE",this._onSiteStoreChange),y.off("CHANGE",this._onCustomerNotificationStoreChange)}render(){return(0,r.jsx)(v.A,{in:!this.state.notifications.isEmpty(),className:"notification-bar-container",mountOnEnter:!0,unmountOnExit:!0,children:(0,r.jsx)(g.A,{children:this.state.notifications.map(e=>(0,r.jsx)(b.A,{children:(0,r.jsx)("div",{className:"bar bar--medium bar--error bar--bordered-bottom notification-bar",children:(0,r.jsxs)("div",{className:"row middle-hand",children:[(0,r.jsx)("div",{className:"column-none-hand",children:(0,r.jsx)(a.A,{name:"warning"})}),(0,r.jsx)("div",{className:"column-auto-hand",children:(0,r.jsx)("div",{className:"notification-bar__content line-clamp line-clamp-1 break-word",children:e.get("message")})}),(0,r.jsx)("div",{className:"column-auto-hand none-hand",children:(0,r.jsx)("div",{className:"inset-vertical-half",children:(0,r.jsxs)("div",{className:"button-toolbar",children:[this.state.statusPageUrl&&(0,r.jsx)("button",{type:"button",className:"notification-bar__button button button--xsmall button--dark",onClick:this._onStatusClick,children:(0,r.jsx)(s.A,{id:"customer_notification.view_status"})}),(0,r.jsx)("button",{type:"button",className:"notification-bar__close button button--xsmall button--text-inverse button--icon",onClick:()=>this._onCloseClick(e.get("id")),children:(0,r.jsx)(a.A,{name:"remove"})})]})})})]})})},e.get("id")))})})}constructor(...e){super(...e),_(this,"state",{notifications:y.getNonRemoved(),statusPageUrl:o.A.getInfo("status_page_url")}),_(this,"_onCustomerNotificationStoreChange",()=>{this.setState({notifications:y.getNonRemoved()})}),_(this,"_onSiteStoreChange",()=>{this.setState({statusPageUrl:o.A.getInfo("status_page_url")})}),_(this,"_onCloseClick",e=>{u.A.remove(e)}),_(this,"_onStatusClick",()=>{c.A.openWindow(this.state.statusPageUrl)})}}let S=x},301468(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(474848),i=n(296540),o=n(374284),s=n(996599),a=n(368846),l=n(285170),c=n(176833),u=n(758109),d=n(209404),p=n.n(d),h=n(965936);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
40class f extends i.PureComponent{componentDidMount(){o.A.on("CHANGE",this._onAccountStoreChange)}componentWillUnmount(){o.A.off("CHANGE",this._onAccountStoreChange)}render(){let e=p().Map({type:"info",isInfo:!1,isError:!1,isWarning:!0,isSuccess:!1,iconName:"info",canBeDismissed:!1,contentValues:{name:this.state.personName},key:s.OVd,content:"logged_in_as_user.content",link:"logged_in_as_user.link",linkFunction:()=>h.A.goToUrl(s.nMr)});return(0,r.jsx)(l.A,{in:this.state.isAdminLogin,className:"notification-bar-container",mountOnEnter:!0,unmountOnExit:!0,children:(0,r.jsx)(a.A,{children:this.state.isAdminLogin?(0,r.jsx)(c.A,{children:(0,r.jsx)(u.A,{message:e})},e.get("key")):null})})}constructor(...e){super(...e),m(this,"state",{personName:o.A.getPersonName(),isAdminLogin:o.A.isAdminLogin()}),m(this,"_onAccountStoreChange",()=>{this.setState({personName:o.A.getPersonName(),isAdminLogin:o.A.isAdminLogin()})})}}let y=f},758109(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(474848),i=n(296540),o=n(27644),s=n(183320),a=n(243977),l=n(634164),c=n(706442),u=n(965936),d=n(529633);let p=({message:e,hideButton:t=!1,onClose:n=()=>{},...p})=>{let{formatMessage:h}=(0,c.A)(),m=(0,l.A)("notification-bar bar bar--medium bar--bordered-bottom",{"bar--info":e.get("isInfo"),"bar--error":e.get("isError"),"bar--warning":e.get("isWarning"),"bar--success":e.get("isSuccess")}),f=`${e.get("key")}_TIMES_DISMISSED`,y=()=>{let e=d.A.getLocalValue(f,"0");return e?parseInt(e):0},g=()=>{let t=y(),n=e.get("remainHiddenAfterTimesDismissed");return void 0!==n&&t>=n},[v,b]=i.useState(g());return v?null:(0,r.jsx)("div",{className:m,...p,children:(0,r.jsxs)("div",{className:"row middle-hand",children:[(0,r.jsx)("div",{className:"column-none-hand",children:e.get("showSpinner")?(0,r.jsx)(s.A,{style:"simple",size:"small",wrapper:!1,invert:!0,block:!0}):(0,r.jsx)(o.A,{name:e.get("iconName"),block:!0})}
40),(0,r.jsx)(a.A,{messageId:e.get("content"),service:h({id:"service.unified"}),...e.get("contentValues")}),(0,r.jsx)("div",{className:"column-auto-hand none-hand",children:(0,r.jsx)("div",{className:"inset-vertical-half",children:(0,r.jsxs)("div",{className:"button-toolbar",children:[!t&&(0,r.jsxs)(r.Fragment,{children:[e.get("helpUrl")&&(0,r.jsx)("button",{type:"button",id:"helpLink",onClick:()=>u.A.openWindow(e.get("helpUrl")),className:"notification-bar__button button button--xsmall button--dark",children:h({id:"status_bar.get_help"})}),e.get("link")&&(0,r.jsx)("button",{type:"button",id:"link",onClick:()=>{e.get("linkUrl")?u.A.openWindow(e.get("linkUrl")):e.get("linkFunction")&&e.get("linkFunction")()},className:"notification-bar__button button button--xsmall button--dark",children:h({id:e.get("link")})})]}),e.get("canBeDismissed")&&(0,r.jsx)("button",{className:"notification-bar__close button button--xsmall button--text-inverse button--icon",onClick:()=>{if(e.get("remainHiddenAfterTimesDismissed")){let e=y();e+=1,d.A.setLocalValue(f,String(e)),g()&&b(!0)}n&&n()},id:"close","aria-label":h({id:"aria-label.close_alert"}),children:(0,r.jsx)(o.A,{name:"remove"})})]})})})]})})}},243977(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(474848);n(296540);var i=n(706442),o=n(27644);let s=({messageId:e,icon:t,...n})=>{let{formatMessage:s}=(0,i.A)();return(0,r.jsx)("div",{className:"column-auto-hand",children:(0,r.jsxs)("div",{className:"line-clamp line-clamp-1 break-word",children:[t&&(0,r.jsx)(o.A,{name:t,space:"after"}),s({id:e},{strong:e=>(0,r.jsx)("strong",{children:e}),camera_icon:(0,r.jsx)(o.A,{name:"video-camera",space:["before","after"]}),mic_icon:(0,r.jsx)(o.A,{name:"microphone",space:["before","after"]}),...n})]})})}},132073(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(688991),i=n(430228),o=n(996599),s=n(209404);let a=n.n(s)().List(),l=!1,c=Object.assign(new i.EventEmitter,{getAll:function(){return a.filter(e=>e.get("priority")).sortBy(e=>e.get("priority"))},findById:function(e){return a.find(t=>t.get("id")==e)},findBySlug:function(e){return a.find(t=>t.get("slug")==e)},containsPromoCode:function(e){let t=this.findById(e);return!!t&&t.has("promo_code")},loaded:function(){return l},getAllAddOns:function(){return a.filter(e=>!e.get("plan")&&e.get("priority")).sortBy(e=>e.get("priority"))}});r.A.register(function(e){switch(e.type){case o.lRx:a=a.merge(e.products.map(e=>e)),l=!0,c.emit("CHANGE");break;case o.Gd1:c.emit("ERROR")}});let u=c},448455(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(296540);let i=(e=!0)=>{(0,r.useEffect)(()=>{if(e){let e=document.getElementById("app");return e.classList.add("bottom-nav"),()=>{e.classList.remove("bottom-nav")}}},[e])}},865624(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(296540),i=n(402785),o=n(44495),s=n(580978),a=n(996599);function l(e,t,n=-1){let[,c]=(0,r.useState)(!0),u=(0,r.useRef)(n),d=(0,r.useRef)(new Set),p=(0,r.useRef)(new Set),h=(0,r.useCallback)(({monthIdx:e,conferenceCallIds:n=[]})=>{(e===u.current||(null==n?void 0:n.some(e=>p.current.has(e)||d.current.has(e))))&&s.A.getWithDebounce(u.current,t)},[t]);(0,i.A)(o.A,null,{event:a.p33,onEvent:h}),(0,i.A)(o.A,null,{onEvent:(0,r.useCallback)(()=>c(e=>!e),[])}),(0,r.useEffect)(()=>(h({monthIdx:u.current}),()=>s.A.getWithDebounce.cancel()),[h]);let m=e(u.current);return d.current=new Set(m.map(e=>e.get("id")).toSeq()),p.current=new Set(m.map(e=>e.get("master_id")).filter(Boolean).toSeq()),{conferences:m,monthIndex:u.current,setMonthIndex:(0,r.useCallback)(e=>{u.current!==e&&(u.current=e,h({monthIdx:e}),c(e=>!e))},[h])}}}}]);
41//# sourceMappingURL=840-559d2170e3e035e8.chunk.js.map

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.