@eluvio/elv-player-js 1.0.64 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- !function(e){function webpackJsonpCallback(t){for(var o,n,s=t[0],l=t[1],u=t[2],c=0,p=[];c<s.length;c++)n=s[c],Object.prototype.hasOwnProperty.call(i,n)&&i[n]&&p.push(i[n][0]),i[n]=0;for(o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o]);for(a&&a(t);p.length;)p.shift()();return r.push.apply(r,u||[]),checkDeferredModules()}function checkDeferredModules(){for(var e,t=0;t<r.length;t++){for(var o=r[t],n=!0,s=1;s<o.length;s++){var a=o[s];0!==i[a]&&(n=!1)}n&&(r.splice(t--,1),e=__webpack_require__(__webpack_require__.s=o[0]))}return e}var t={},i={1:0},r=[];function __webpack_require__(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}__webpack_require__.e=function requireEnsure(e){var t=[],r=i[e];if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((function(t,o){r=i[e]=[t,o]}));t.push(r[2]=o);var n,s=document.createElement("script");s.charset="utf-8",s.timeout=120,__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.src=function jsonpScriptSrc(e){return __webpack_require__.p+""+({}[e]||e)+".bundle.js"}(e);var a=new Error;n=function(t){s.onerror=s.onload=null,clearTimeout(l);var r=i[e];if(0!==r){if(r){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+n+")",a.name="ChunkLoadError",a.type=o,a.request=n,r[1](a)}i[e]=void 0}};var l=setTimeout((function(){n({type:"timeout",target:s})}),12e4);s.onerror=s.onload=n,document.head.appendChild(s)}return Promise.all(t)},__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,i){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(__webpack_require__.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)__webpack_require__.d(i,r,function(t){return e[t]}.bind(null,r));return i},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],n=o.push.bind(o);o.push=webpackJsonpCallback,o=o.slice();for(var s=0;s<o.length;s++)webpackJsonpCallback(o[s]);var a=n;r.push([162,2]),checkDeferredModules()}({162:function(e,t,i){"use strict";i.r(t);var r=i(18),o=i.n(r),n=i(66),s=i.n(n),a=i(19),l=i.n(a),u=i(20),c=i.n(u),p=i(0),d=i.n(p),v=i(1),_=i.n(v),h=(i(79),i(84),i(35)),y=i.n(h),g=i(67),m=i.n(g),f=i(68),b=i.n(f),w=i(69),x=i(70),k=i.n(x),O=function UInt8ArrayToBase64(e){for(var t,i,r,o,n,s,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",c=0;c<e.length;)o=(t=e[c++])>>2,n=(3&t)<<4|(i=c<e.length?e[c++]:Number.NaN)>>4,s=(15&i)<<2|(r=c<e.length?e[c++]:Number.NaN)>>6,a=63&r,isNaN(i)?s=a=64:isNaN(r)&&(a=64),u+=l.charAt(o)+l.charAt(n)+l.charAt(s)+l.charAt(a);return u},L=function Base64ToUInt8Array(e){for(var t=window.atob(e),i=t.length,r=new Uint8Array(new ArrayBuffer(i)),o=0;o<i;o++)r[o]=t.charCodeAt(o);return r},E=function ContentId(e){var t=function ArrayToString(e){var t=new Uint16Array(e.buffer);return String.fromCharCode.apply(null,t)}(e).slice(2),i=document.createElement("a");return i.href=t,i.hostname},T=function ConcatInitDataIdAndCertificate(e,t,i){"string"==typeof t&&(t=function StringToArray(e){for(var t=new ArrayBuffer(2*e.length),i=new Uint16Array(t),r=0,o=e.length;r<o;r++)i[r]=e.charCodeAt(r);return i}(t));var r=0,o=new ArrayBuffer(e.byteLength+4+t.byteLength+4+i.byteLength),n=new DataView(o);new Uint8Array(o,r,e.byteLength).set(e),r+=e.byteLength,n.setUint32(r,t.byteLength,!0),r+=4;var s=new Uint16Array(o,r,t.length);return s.set(t),r+=s.byteLength,n.setUint32(r,i.byteLength,!0),r+=4,new Uint8Array(o,r,i.byteLength).set(i),new Uint8Array(o,0,o.byteLength)},S=function KeySystem(){if(WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4"))return"com.apple.fps.1_0";throw"Key System not supported"},P=function(){var e=_()(d.a.mark((function _callee2(e,t,i){var r,o,n,s,a,l,u;return d.a.wrap((function _callee2$(c){for(;;)switch(c.prev=c.next){case 0:r=!0,o=!1,n=void 0,c.prev=3,s=d.a.mark((function _callee(){var t,r,o,n,s,a;return d.a.wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return t=l.value,u.prev=1,u.next=4,new Promise((function(r,o){var n=e.target,s=e.message,a=new XMLHttpRequest;a.responseType="text",a.session=n,a.addEventListener("load",r,!1),a.addEventListener("error",o,!1);var l={spc:O(s),assetId:encodeURIComponent(n.contentId)};a.open("POST",t,!0),a.setRequestHeader("Content-type","application/json"),a.setRequestHeader("Authorization","Bearer "+i),a.send(JSON.stringify(l))}));case 4:return r=u.sent,o=r.target,n=o.session,"<ckc>"===(s=o.responseText.trim()).substr(0,5)&&"</ckc>"===s.substr(-6)&&(s=s.slice(5,-6)),a=L(s),u.next=12,n.update(a);case 12:return u.abrupt("return",{v:void 0});case 15:u.prev=15,u.t0=u.catch(1),console.error("License request to",t,"failed"),console.error(u.t0);case 19:case"end":return u.stop()}}),_callee,null,[[1,15]])})),a=t[Symbol.iterator]();case 6:if(r=(l=a.next()).done){c.next=14;break}return c.delegateYield(s(),"t0",8);case 8:if(u=c.t0,"object"!==k()(u)){c.next=11;break}return c.abrupt("return",u.v);case 11:r=!0,c.next=6;break;case 14:c.next=20;break;case 16:c.prev=16,c.t1=c.catch(3),o=!0,n=c.t1;case 20:c.prev=20,c.prev=21,r||null==a.return||a.return();case 23:if(c.prev=23,!o){c.next=26;break}throw n;case 26:return c.finish(23);case 27:return c.finish(20);case 28:throw Error("All license server requests failed");case 29:case"end":return c.stop()}}),_callee2,null,[[3,16,20,28],[21,,23,27]])})));return function licenseRequestReady(t,i,r){return e.apply(this,arguments)}}(),I=function(){var e=_()(d.a.mark((function _callee3(e,t,i,r){var o,n,s,a,l;return d.a.wrap((function _callee3$(u){for(;;)switch(u.prev=u.next){case 0:if(t=L(t),o=e.target,n=e.initData,s=E(n),n=T(n,s,t),o.webkitKeys||o.webkitSetMediaKeys(new WebKitMediaKeys(S())),o.webkitKeys){u.next=8;break}throw"Could not create MediaKeys";case 8:if(a=o.webkitKeys.createSession("video/mp4",n)){u.next=11;break}throw"Could not create key session";case 11:return a.contentId=s,u.next=14,Promise.race([new Promise((function(e){return setTimeout(e,1e4)})),new Promise((function(e){return a.addEventListener("webkitkeymessage",e,!1)}))]);case 14:if(l=u.sent){u.next=17;break}throw Error("No key message event");case 17:return u.next=19,P(l,i,r);case 19:case"end":return u.stop()}}),_callee3)})));return function onNeedKey(t,i,r,o){return e.apply(this,arguments)}}();function InitializeFairPlayStream(e){var t=e.playoutOptions,i=e.video,r=(t=t.hls.playoutMethods.fairplay).drms.fairplay.cert,o=t.drms.fairplay.licenseServers,n=decodeURIComponent((t.playoutUrl.split("?")[1]||"").split("&").find((function(e){return e.startsWith("authorization=")})).replace("authorization=",""));new Promise((function(e,t){i.addEventListener("webkitneedkey",function(){var i=_()(d.a.mark((function _callee4(i){return d.a.wrap((function _callee4$(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,I(i,r,o,n);case 3:e(),s.next=9;break;case 6:s.prev=6,s.t0=s.catch(0),t(s.t0);case 9:case"end":return s.stop()}}),_callee4,null,[[0,6]])})));return function(e){return i.apply(this,arguments)}}(),!1)})).catch((function(e){console.log("Error initializing FairPlay video:"),console.log(e),console.log("Certificate:",r),console.log("License URLs:",o),i.src=""})),i.src=t.playoutUrl}var M=i(71),C=i.n(M),z=i(36),F=i.n(z),H=i(37),A=i.n(H),j=i(38),R=i.n(j),N=i(72),U=i.n(N),B=i(73),q=i.n(B),D=i(39),V=i.n(D),K=i(6),$=i.n(K),W=i(40),Y=i.n(W),G=i(74),J=i.n(G);function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach((function(t){o()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var Q=function getItem(e){try{return localStorage.getItem("".concat("@eluvio/elv-player","-").concat(e))}catch(e){}},X=function setItem(e,t){try{localStorage.setItem("".concat("@eluvio/elv-player","-").concat(e),t)}catch(e){}},Z=function CreateElement(e){var t=e.parent,i=e.type,r=void 0===i?"div":i,o=e.label,n=e.options,s=void 0===n?{}:n,a=e.classes,l=void 0===a?[]:a,u=e.prepend,c=void 0!==u&&u,p=document.createElement(r);return l.filter((function(e){return e})).forEach((function(e){return p.classList.add(e)})),c?t.prepend(p):t.appendChild(p),o&&p.setAttribute("aria-label",o),Object.keys(s).forEach((function(e){return p[e]=s[e]})),p},ee=function CreateImageButton(e){var t=e.parent,i=e.svg,r=e.label,o=e.options,n=void 0===o?{}:o,s=e.classes,a=void 0===s?[]:s,l=e.prepend,u=void 0!==l&&l;a.unshift("eluvio-player__controls__button");var c=Z({parent:t,type:"button",label:r,options:n,classes:a,prepend:u});return c.innerHTML=i,c.querySelector("svg").setAttribute("alt",r),c},te=function ToggleFullscreen(e){!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen({navigationUI:"hide"}):e.mozRequestFullScreen?e.mozRequestFullScreen({navigationUI:"hide"}):e.webkitRequestFullscreen?e.webkitRequestFullscreen({navigationUI:"hide"}):e.msRequestFullscreen?e.msRequestFullscreen({navigationUI:"hide"}):e.querySelector("video").webkitEnterFullScreen()},ie=function Time(e,t){if(isNaN(t)||!isFinite(t)||0===t)return"00:00";var i=t>3600,r=Math.floor(e/60/60),o=Math.floor(e/60%60),n=Math.floor(e%60),s="".concat(o.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"));return i&&(s="".concat(r.toString(),":").concat(s)),s},re=function(){function PlayerControls(e,t,i,r){l()(this,PlayerControls),this.target=e,this.video=t,this.playerOptions=i,this.posterUrl=r,this.settingsMenuContent="none",this.timeouts={},this.played=!1,this.controlsHover=!1,this.progressHidden=!1,this.InitializeControls()}var e;return c()(PlayerControls,[{key:"FadeOut",value:function FadeOut(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,r=arguments.length>3?arguments[3]:void 0;clearTimeout(this.timeouts[e]),this.timeouts[e]=setTimeout((function(){t.forEach((function(e){e&&(e.style.pointerEvents="none",e.style.opacity="0")})),r&&r()}),i)}},{key:"FadeIn",value:function FadeIn(e,t){clearTimeout(this.timeouts[e]),t.forEach((function(e){e&&(e.style.opacity="1",e.style.pointerEvents="unset")}))}},{key:"InitializeControls",value:function InitializeControls(){var e=this;(this.target.setAttribute("tabindex","0"),this.playerOptions.watermark)&&(Z({parent:this.target,type:"img",classes:["eluvio-player__watermark"]}).src=J.a);if(this.playerOptions.controls!==ne.controls.DEFAULT&&this.playerOptions.controls!==ne.controls.OFF&&(this.video.addEventListener("click",(function(){window.matchMedia("(hover: none)").matches||(clearTimeout(e.timeouts.playPause),e.timeouts.playPause=setTimeout((function(){return e.video.paused?e.video.play():e.video.pause()}),200))})),this.bigPlayButton=ee({parent:this.target,svg:C.a,classes:["eluvio-player__big-play-button"],label:"Play"}),this.video.addEventListener("play",(function(){e.FadeOut("big-play-button",[e.bigPlayButton]),setTimeout((function(){return e.target.classList.remove("eluvio-player-restarted")}),1e3)})),this.video.addEventListener("pause",(function(){return e.FadeIn("big-play-button",[e.bigPlayButton])})),this.bigPlayButton.style.display=this.video.paused?null:"none",this.bigPlayButton.addEventListener("click",(function(){return e.video.play()})),this.playerOptions.controls!==ne.controls.OFF)){this.posterUrl&&(this.poster=Z({parent:this.target,type:"img",classes:["eluvio-player__poster-image"],label:"Poster Image",options:{src:this.posterUrl}}),this.poster.addEventListener("click",(function(){return e.video.play()})),this.poster.addEventListener("error",(function(){e.poster.parentNode&&e.poster.parentNode.removeChild(e.poster),e.poster=void 0})));var t=Z({parent:this.target,type:"div",classes:["eluvio-player__controls"]});this.controls=t;var i=ee({parent:t,svg:this.video.paused?F.a:A.a,classes:["eluvio-player__controls__button-play",this.video.paused?"":"eluvio-player__controls__button-pause"],label:this.video.paused?"Play":"Pause"});i.addEventListener("click",(function(){e.video.paused?e.video.play():e.video.pause()}));var r=ee({parent:t,svg:this.video.muted||0===this.video.volume?V.a:(this.video.volume,$.a),classes:["eluvio-player__controls__button-volume"],label:this.video.muted?"Unmute":"Mute"}),o=Z({parent:t,type:"div",classes:["eluvio-player__controls__volume-container","eluvio-player__controls__slider-container"]}),n=Z({parent:o,type:"input",options:{type:"range",min:0,step:.05,max:1,value:this.video.muted?0:this.video.volume},classes:["eluvio-player__controls__volume-slider","eluvio-player__controls__slider-container__input"]}),s=Z({parent:o,type:"progress",options:{min:0,max:1,value:this.video.muted?0:this.video.volume},classes:["eluvio-player__controls__volume","eluvio-player__controls__slider-container__progress"]});r.addEventListener("click",(function(){e.video.muted=!e.video.muted,s.value=e.video.muted?0:e.video.volume})),n.addEventListener("change",(function(){e.video.muted=0===parseFloat(n.value),e.video.volume=parseFloat(n.value),s.value=n.value})),n.addEventListener("input",(function(){e.video.muted=0===parseFloat(n.value),e.video.volume=parseFloat(n.value),s.value=n.value}));var a=Z({parent:t,type:"div",classes:["eluvio-player__controls__time","eluvio-player__controls__progress-time"]});a.innerHTML="00:00";var l=Z({parent:t,type:"div",classes:["eluvio-player__controls__slider-container","eluvio-player__controls__progress-container"]}),u=Z({parent:l,type:"input",options:{type:"range",min:0,step:.01,max:1,value:0},classes:["eluvio-player__controls__slider-container__input","eluvio-player__controls__progress-slider"]});u.addEventListener("input",(function(){return e.video.currentTime=e.video.duration*parseFloat(u.value)}));var c=Z({parent:l,type:"progress",options:{min:0,max:1,value:0},classes:["eluvio-player__controls__slider-container__progress","eluvio-player__controls__progress"]}),p=Z({parent:l,type:"progress",options:{min:0,step:1e-4,max:1,value:0},classes:["eluvio-player__controls__slider-container__progress","eluvio-player__controls__progress-buffer"]});this.video.addEventListener("progress",(function(){if(!isNaN(e.video.duration)){for(var t=e.video.buffered,i=0,r=0;r<t.length;r++)t.start(r)>e.video.currentTime||t.end(r)>i&&(i=t.end(r));p.value=1-(e.video.duration-i)/e.video.duration}}));var d=Z({parent:t,type:"div",classes:["eluvio-player__controls__time","eluvio-player__controls__total-time"]});d.innerHTML="00:00",this.rightButtonsContainer=Z({parent:t,type:"div",classes:["eluvio-player__controls__right-buttons"]});var v=ee({parent:this.rightButtonsContainer,svg:R.a,classes:["eluvio-player__controls__button-fullscreen"],label:"Full Screen"});v.addEventListener("click",(function(){return te(e.target)})),this.settingsMenu=Z({parent:this.target,type:"div",classes:["eluvio-player__controls__settings-menu","eluvio-player__controls__settings-menu-hidden"]}),this.target.addEventListener("keydown",(function(t){return t&&"escape"===(t.key||"").toLowerCase()&&e.HideSettingsMenu()})),this.toolTip=Z({parent:this.target,type:"div",classes:["eluvio-player__controls__tooltip"]});var _=function ProgressSlider(){u.value=isNaN(e.video.duration)?0:e.video.currentTime/e.video.duration,c.value=isNaN(e.video.duration)?0:e.video.currentTime/e.video.duration},h=function ProgressTime(){a.innerHTML=ie(e.video.currentTime,e.video.duration)};if(this.video.addEventListener("seeking",(function(){_(),h()})),this.video.addEventListener("durationchange",(function(){isNaN(e.video.duration)||!isFinite(e.video.duration)?(e.progressHidden||t.classList.add("eluvio-player__controls-no-progress"),e.progressHidden=!0):e.progressHidden&&(e.progressHidden=!1,t.classList.remove("eluvio-player__controls-no-progress")),d.innerHTML=ie(e.video.duration,e.video.duration),h(),_()})),this.target.addEventListener("dblclick",(function(){clearTimeout(e.timeouts.playPause),te(e.target)})),t.addEventListener("dblclick",(function(e){return e.stopPropagation()})),this.video.addEventListener("play",(function(){e.played=!0,e.poster&&(e.poster.parentNode&&e.poster.parentNode.removeChild(e.poster),e.poster=void 0),i.innerHTML=A.a,i.classList.add("eluvio-player__controls__button-pause"),i.setAttribute("aria-label","Pause"),clearTimeout(e.timeouts.progressTime),clearTimeout(e.timeouts.progressSlider),e.timeouts.progressTime=setInterval(h,100),e.timeouts.progressSlider=setInterval(_,16.6),e.playerOptions.controls===ne.controls.AUTO_HIDE&&e.target.dispatchEvent(new Event("mousemove"))})),this.video.addEventListener("pause",(function(){i.innerHTML=F.a,i.classList.remove("eluvio-player__controls__button-pause"),i.setAttribute("aria-label","Play"),clearTimeout(e.timeouts.progressTime),clearTimeout(e.timeouts.progressSlider)})),this.video.addEventListener("volumechange",(function(){r.innerHTML=e.video.muted||0===e.video.volume?V.a:(e.video.volume,$.a),n.value=e.video.muted?0:Math.min(1,Math.max(0,e.video.volume)),s.value=e.video.muted?0:Math.min(1,Math.max(0,e.video.volume))})),this.video.addEventListener("seeked",(function(){return u.value=e.video.currentTime/e.video.duration})),this.target.addEventListener("fullscreenchange",(function(){document.fullscreenElement?e.target===document.fullscreenElement&&(v.innerHTML=U.a):v.innerHTML=R.a})),this.playerOptions.controls===ne.controls.AUTO_HIDE){var y=function PlayerOut(){e.played&&e.FadeOut("controls",[t,e.settingsMenu,e.toolTip],2e3)},g=function PlayerMove(){e.controlsHover||(e.FadeIn("controls",[t,e.settingsMenu,e.toolTip]),e.FadeOut("controls",[t,e.settingsMenu,e.toolTip],3e3,(function(){return e.target.style.cursor="none"})),e.target.style.cursor="unset")},m=function ControlsIn(){clearTimeout(e.timeouts.controls),e.controlsHover=!0},f=function ControlsOut(){return e.controlsHover=!1};this.video.addEventListener("play",(function(){return g})),this.video.addEventListener("pause",(function(){return g})),this.target.addEventListener("mousemove",g),this.target.addEventListener("mouseleave",y),t.addEventListener("mouseenter",m),t.addEventListener("mouseleave",f),this.settingsMenu.addEventListener("mouseenter",m),this.settingsMenu.addEventListener("mouseleave",f),this.toolTip.addEventListener("mouseenter",m),this.toolTip.addEventListener("mouseleave",f),this.target.addEventListener("touchmove",g),this.target.addEventListener("touchleave",y),t.addEventListener("touchmove",m),t.addEventListener("touchleave",f),t.addEventListener("touchend",(function(){f(),y()})),this.settingsMenu.addEventListener("touchmove",m),this.settingsMenu.addEventListener("touchleave",f),this.settingsMenu.addEventListener("touchend",(function(){f(),y()})),this.toolTip.addEventListener("touchmove",m),this.toolTip.addEventListener("touchleave",f),this.toolTip.addEventListener("touchend",(function(){f(),y()})),this.target.addEventListener("blur",(function(){return setTimeout((function(){e.target.contains(document.activeElement)||(y(),f())}))}),2e3),window.addEventListener("blur",(function(){y(),f()})),Array.from(this.target.querySelectorAll("button, input")).forEach((function(e){e.addEventListener("focus",(function(){g(),m()}))}))}}}},{key:"HideSettingsMenu",value:function HideSettingsMenu(){"settings"===this.settingsMenuContent?this.settingsButton.focus():"multiview"===this.settingsMenuContent&&this.multiviewButton.focus(),this.settingsMenu.innerHTML="",this.settingsMenu.classList.add("eluvio-player__controls__settings-menu-hidden"),this.settingsMenuContent="none"}},{key:"ToggleSettings",value:function ToggleSettings(){var e=this;if(this.settingsMenu.innerHTML="","settings"!==this.settingsMenuContent){if(this.settingsMenuContent="settings",this.settingsMenu.classList.remove("eluvio-player__controls__settings-menu-hidden"),this.GetLevels){var t=this.GetLevels(),i=t.find((function(e){return e.active}));if(i){var r=Z({parent:this.settingsMenu,type:this.SetLevel?"button":"div",classes:["eluvio-player__controls__settings-menu__option"]});r.innerHTML="Resolution: ".concat(i.resolution),this.SetLevel&&r.addEventListener("click",(function(){e.settingsMenu.innerHTML="";var i=Z({parent:e.settingsMenu,type:"button",classes:["eluvio-player__controls__settings-menu__option"]});i.innerHTML="Auto",i.addEventListener("click",(function(){e.SetLevel(-1),e.HideSettingsMenu()})),t.sort((function(e,t){return e.bitrate<t.bitrate?1:-1})).forEach((function(t){var i=Z({parent:e.settingsMenu,type:"button",classes:["eluvio-player__controls__settings-menu__option",t.active?"eluvio-player__controls__settings-menu__option-selected":""]});i.innerHTML="".concat(t.resolution," (").concat((t.bitrate/1e3/1e3).toFixed(1),"Mbps)"),i.addEventListener("click",(function(){e.SetLevel(t.index),e.HideSettingsMenu()}))}));var r=e.settingsMenu.querySelector("button");r&&r.focus()}))}}var o=this.settingsMenu.querySelector("button");o&&o.focus()}else this.HideSettingsMenu()}},{key:"InitializeSettingsButton",value:function InitializeSettingsButton(){var e=this;this.settingsButton||(this.settingsButton=ee({parent:this.rightButtonsContainer,svg:q.a,classes:["eluvio-player__controls__button-settings"],prepend:!0,label:"Settings"}),this.settingsButton.addEventListener("click",(function(){return e.ToggleSettings()})))}},{key:"SetQualityControls",value:function SetQualityControls(e){var t=e.GetLevels,i=e.SetLevel;this.playerOptions.controls!==ne.controls.DEFAULT&&this.playerOptions.controls!==ne.controls.OFF&&(this.InitializeSettingsButton(),this.GetLevels=t,this.SetLevel=i)}},{key:"InitializeMultiViewControls",value:function InitializeMultiViewControls(e){var t=this,i=e.AvailableViews,r=e.SwitchView;this.multiviewButton=ee({parent:this.rightButtonsContainer,svg:Y.a,classes:["eluvio-player__controls__button-multiview"],prepend:!0,label:"Select View"}),this.multiviewButton.addEventListener("click",(function(){return t.ToggleMultiviewControls({AvailableViews:i,SwitchView:r})})),i().then((function(e){var i=e.find((function(e){return e.currently_selected}));if(i.hot_spots){var o=i.hot_spots.map((function(t){return _objectSpread({},t,{target:e.find((function(e){return e.view===t.next_view}))})}));t.InitializeMultiviewHotspots(o,r)}})),Q("multiview-tooltip")||setTimeout((function(){t.toolTip.innerHTML="".concat(Y.a,"<div>This stream has multiple views! Click this button to switch between them.</div>");var e=function ClearTooltip(){t.toolTip.innerHTML="",X("multiview-tooltip","1")};t.toolTip.addEventListener("click",e),t.controls.addEventListener("click",e)}),2e3)}},{key:"ToggleMultiviewControls",value:(e=_()(d.a.mark((function _callee(){var e,t,i,r,o,n=this,s=arguments;return d.a.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(e=s.length>0&&void 0!==s[0]?s[0]:{},t=e.AvailableViews,i=e.SwitchView,this.settingsMenu.innerHTML="","multiview"!==this.settingsMenuContent){a.next=5;break}return this.HideSettingsMenu(),a.abrupt("return");case 5:return this.settingsMenuContent="multiview",this.settingsMenu.classList.remove("eluvio-player__controls__settings-menu-hidden"),a.next=9,t();case 9:(r=a.sent).map((function(e,t){var o=e.view,s=e.view_display_label,a=e.currently_selected,l=e.hot_spots,u=Z({parent:n.settingsMenu,type:"button",classes:["eluvio-player__controls__settings-menu__option",a?"eluvio-player__controls__settings-menu__option-selected":""]});u.innerHTML=s,l&&(l=l.map((function(e){return _objectSpread({},e,{target:r.find((function(t){return t.view===e.next_view}))})}))),u.addEventListener("click",(function(){n.HideSettingsMenu(),n.hotspotOverlay&&(n.hotspotOverlay.parentNode.removeChild(n.hotspotOverlay),n.hotspotOverlay=void 0),i(o),l&&setTimeout((function(){return n.InitializeMultiviewHotspots(l,i)}),3e3),clearTimeout(n.timeouts.spin),n.multiviewButton.classList.add("eluvio-player__controls__button-multiview-spinning"),n.timeouts.spin=setTimeout((function(){n.multiviewButton.classList.remove("eluvio-player__controls__button-multiview-spinning")}),3e3)})),0===t&&u.focus()})),(o=this.settingsMenu.querySelector("button"))&&o.focus();case 13:case"end":return a.stop()}}),_callee,this)}))),function ToggleMultiviewControls(){return e.apply(this,arguments)})},{key:"InitializeMultiviewHotspots",value:function InitializeMultiviewHotspots(e,t){var i=this;this.hotspotOverlay=Z({parent:this.target,type:"div",classes:["eluvio-player__hotspot-overlay"]}),this.HandleResize(this.target.getBoundingClientRect()),e.forEach((function(e){var r=e.top,o=e.right,n=e.bottom,s=e.left,a=e.target,l=e.next_view,u=Z({parent:i.hotspotOverlay,type:"div",classes:["eluvio-player__hotspot-overlay__target"]});Z({parent:u,type:"h2",classes:["eluvio-player__hotspot-overlay__target__title"]}).innerHTML=a.view_display_label,u.style.top="".concat(100*r,"%"),u.style.right="".concat(100*(1-o),"%"),u.style.bottom="".concat(100*(1-n),"%"),u.style.left="".concat(100*s,"%"),u.addEventListener("click",_()(d.a.mark((function _callee2(){return d.a.wrap((function _callee2$(e){for(;;)switch(e.prev=e.next){case 0:if(!("ontouchstart"in window)||i.hotspotOverlay.classList.contains("eluvio-player__hotspot-overlay-visible")){e.next=4;break}return i.hotspotOverlay.classList.add("eluvio-player__hotspot-overlay-visible"),setTimeout((function(){return i.hotspotOverlay.classList.remove("eluvio-player__hotspot-overlay-visible")}),3e3),e.abrupt("return");case 4:return i.hotspotOverlay.classList.remove("eluvio-player__hotspot-overlay-visible"),u.classList.add("eluvio-player__hotspot-overlay__target-switching"),setTimeout((function(){i.hotspotOverlay.parentNode.removeChild(i.hotspotOverlay),i.hotspotOverlay=void 0}),1e3),e.next=9,t(l);case 9:case"end":return e.stop()}}),_callee2)}))))}))}},{key:"InitializeTicketPrompt",value:function InitializeTicketPrompt(e){this.bigPlayButton&&this.bigPlayButton.parentNode.removeChild(this.bigPlayButton);var t=Z({parent:this.target,type:"div",classes:["eluvio-player__ticket-modal"]});t.addEventListener("dblclick",(function(e){return e.stopPropagation()}));var i=Z({parent:t,type:"form",classes:["eluvio-player__ticket-modal__form"]}),r=Z({parent:i,type:"div",classes:["eluvio-player__ticket-modal__form__error-text","eluvio-player__ticket-modal__form__text"]});Z({parent:i,type:"div",classes:["eluvio-player__ticket-modal__form__text"]}).innerHTML="Enter your code";var o=Z({parent:i,type:"input",classes:["eluvio-player__ticket-modal__form__input"]}),n=Z({parent:i,type:"button",classes:["eluvio-player__ticket-modal__form__submit"]});o.focus(),n.innerHTML="Submit",n.addEventListener("click",function(){var t=_()(d.a.mark((function _callee3(t){return d.a.wrap((function _callee3$(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,n.setAttribute("disabled",!0),t.preventDefault(),r.innerHTML="",i.next=6,e(o.value);case 6:i.next=14;break;case 8:i.prev=8,i.t0=i.catch(0),console.error("ELUVIO PLAYER: Invalid Code"),console.error(i.t0),r.innerHTML="Invalid Code",n.removeAttribute("disabled");case 14:case"end":return i.stop()}}),_callee3,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}())}},{key:"HandleResize",value:function HandleResize(e){var t=e.width,i=e.height,r=t/i;if(this.hotspotOverlay){var o=0,n=0,s=0,a=0;if(Math.abs(r-16/9)>.05)if(r<16/9){var l=Math.floor((i-9*t/16)/2);o=l,s=l}else if(r>16/9){var u=Math.floor((t-16*i/9)/2);a=u,n=u}this.hotspotOverlay.style.top="".concat(o,"px"),this.hotspotOverlay.style.right="".concat(n,"px"),this.hotspotOverlay.style.bottom="".concat(s,"px"),this.hotspotOverlay.style.left="".concat(a,"px")}}}]),PlayerControls}();function src_ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function src_objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?src_ownKeys(Object(i),!0).forEach((function(t){o()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):src_ownKeys(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}i.d(t,"EluvioPlayerParameters",(function(){return ne})),i.d(t,"EluvioPlayer",(function(){return ae}));var oe,ne={networks:{MAIN:"https://main.net955305.contentfabric.io/config",DEMO:"https://demov3.net955210.contentfabric.io/config",TEST:"https://test.net955203.contentfabric.io/config"},drms:{FAIRPLAY:"fairplay",SAMPLE_AES:"sample-aes",AES128:"aes-128",WIDEVINE:"widevine",CLEAR:"clear"},protocols:{HLS:"hls",DASH:"dash"},autoplay:{OFF:!1,WHEN_VISIBLE:"when visible",ON:!0},controls:{OFF:!1,AUTO_HIDE:"autohide",ON:!0,DEFAULT:"default"},loop:{OFF:!1,ON:!0},muted:{OFF:!1,WHEN_NOT_VISIBLE:"when_not_visible",ON:!0},watermark:{OFF:!1,ON:!0},settings:{OFF:!1,ON:!0},capLevelToPlayerSize:{OFF:!1,ON:!0}},se={clientOptions:{network:ne.networks.MAIN,client:void 0,staticToken:void 0,tenantId:void 0,ntpId:void 0,promptTicket:!1,ticketCode:void 0,ticketSubject:void 0},sourceOptions:{protocols:[ne.protocols.HLS,ne.protocols.DASH],drms:[ne.drms.FAIRPLAY,ne.drms.SAMPLE_AES,ne.drms.AES128,ne.drms.WIDEVINE,ne.drms.CLEAR],playoutOptions:void 0,playoutParameters:{objectId:void 0,versionHash:void 0,writeToken:void 0,linkPath:void 0,signedLink:!1,handler:"playout",offering:"default",playoutType:void 0,context:void 0,hlsjsProfile:!0,authorizationToken:void 0}},playerOptions:{controls:ne.controls.AUTO_HIDE,autoplay:ne.autoplay.OFF,muted:ne.muted.OFF,loop:ne.loop.OFF,watermark:ne.watermark.ON,settings:ne.settings.ON,className:void 0,hlsjsOptions:void 0,dashjsOptions:void 0,playerCallback:function playerCallback(e){e.videoElement,e.hlsPlayer,e.dashPlayer,e.posterUrl},errorCallback:function errorCallback(e){console.error("ELUVIO PLAYER: Error"),console.error(e)},restartCallback:(oe=_()(d.a.mark((function _callee(e){return d.a.wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),_callee)}))),function restartCallback(e){return oe.apply(this,arguments)})}},ae=function(){function EluvioPlayer(e,t){l()(this,EluvioPlayer),this.warnings=!1,this.reloads=[],this.DetectRemoval=this.DetectRemoval.bind(this),this.Initialize(e,t)}var e,t,r,o,n;return c()(EluvioPlayer,[{key:"Log",value:function Log(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?console.error("ELUVIO PLAYER:",e):this.warnings}},{key:"Destroy",value:function Destroy(){this.__destroyed=!0,this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.unobserve(this.target),this.__DestroyPlayer(),this.target.innerHTML=""}},{key:"RegisterVisibilityCallback",value:function RegisterVisibilityCallback(){var e=this;if(this.playerOptions.autoplay===ne.autoplay.WHEN_VISIBLE||this.playerOptions.muted===ne.muted.WHEN_NOT_VISIBLE){var t,i;new window.IntersectionObserver((function Callback(r){var o=s()(r,1)[0];e.playerOptions.autoplay===ne.autoplay.WHEN_VISIBLE&&("play"!==t&&o.isIntersecting&&e.video.paused?(e.video.play(),t="play"):"pause"===t||o.isIntersecting||e.video.paused||(e.video.pause(),t="pause")),e.playerOptions.muted===ne.muted.WHEN_NOT_VISIBLE&&("unmute"!==i&&o.isIntersecting&&e.video.muted?(e.video.muted=!1,i="unmute"):"mute"===i||o.isIntersecting||e.video.muted||(e.video.muted=!0,i="mute"))}),{threshold:.1}).observe(this.video)}}},{key:"Client",value:(n=_()(d.a.mark((function _callee3(){var e,t,r=this;return d.a.wrap((function _callee3$(o){for(;;)switch(o.prev=o.next){case 0:if(!this.clientPromise){o.next=3;break}return o.next=3,this.clientPromise;case 3:if(this.clientOptions.client){o.next=7;break}return this.clientPromise=new Promise(function(){var e=_()(d.a.mark((function _callee2(e){var t,o;return d.a.wrap((function _callee2$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([i.e(0),i.e(4),i.e(5)]).then(i.t.bind(null,633,7));case 2:return t=n.sent,o=t.ElvClient,n.next=6,o.FromConfigurationUrl({configUrl:r.clientOptions.network});case 6:if(r.clientOptions.client=n.sent,n.t0=r.clientOptions.client,n.t1=r.clientOptions.staticToken,n.t1){n.next=18;break}return n.t2=r.clientOptions.client.utils,n.t3=JSON,n.next=14,r.clientOptions.client.ContentSpaceId();case 14:n.t4=n.sent,n.t5={qspace_id:n.t4},n.t6=n.t3.stringify.call(n.t3,n.t5),n.t1=n.t2.B64.call(n.t2,n.t6);case 18:n.t7=n.t1,n.t8={token:n.t7},n.t0.SetStaticToken.call(n.t0,n.t8),e();case 22:case"end":return n.stop()}}),_callee2)})));return function(t){return e.apply(this,arguments)}}()),o.next=7,this.clientPromise;case 7:if(this.clientOptions.ticketInitialized||!this.clientOptions.ticketCode){o.next=16;break}if(this.clientOptions.tenantId){o.next=10;break}throw Error("ELUVIO PLAYER: Tenant ID must be provided if ticket code is specified.");case 10:return e=this.clientOptions.ticketCode,t=this.clientOptions.ticketSubject,e.includes(":")&&(t=e.split(":")[0],e=e.split(":")[1]),o.next=15,this.clientOptions.client.RedeemCode({tenantId:this.clientOptions.tenantId,ntpId:this.clientOptions.ntpId,code:e,email:t});case 15:this.ticketInitialized=!0;case 16:return o.abrupt("return",this.clientOptions.client);case 17:case"end":return o.stop()}}),_callee3,this)}))),function Client(){return n.apply(this,arguments)})},{key:"PosterUrl",value:(o=_()(d.a.mark((function _callee4(){var e,t,i;return d.a.wrap((function _callee4$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.Client();case 2:if(e=r.sent,r.prev=3,!this.sourceOptions.playoutParameters.linkPath){r.next=10;break}return r.next=7,e.LinkTarget(src_objectSpread({},this.sourceOptions.playoutParameters));case 7:r.t0=r.sent,r.next=16;break;case 10:if(r.t1=this.sourceOptions.playoutParameters.versionHash,r.t1){r.next=15;break}return r.next=14,e.LatestVersionHash({objectId:this.sourceOptions.playoutParameters.objectId});case 14:r.t1=r.sent;case 15:r.t0=r.t1;case 16:if(!(t=r.t0)){r.next=29;break}return r.next=20,e.ContentObjectMetadata({versionHash:t,metadataSubtree:"public",select:["display_image","asset_metadata/nft/image"]});case 20:if(!((i=r.sent)&&i.asset_metadata&&i.asset_metadata.nft&&i.asset_metadata.nft.image)){r.next=25;break}return r.abrupt("return",i.asset_metadata.nft.image);case 25:if(!i||!i.display_image){r.next=29;break}return r.next=28,e.ContentObjectImageUrl({versionHash:t});case 28:return r.abrupt("return",r.sent);case 29:r.next=33;break;case 31:r.prev=31,r.t2=r.catch(3);case 33:case"end":return r.stop()}}),_callee4,this,[[3,31]])}))),function PosterUrl(){return o.apply(this,arguments)})},{key:"PlayoutOptions",value:(r=_()(d.a.mark((function _callee5(){var e,t,i,r,o,n,s,a,l,u,c=this;return d.a.wrap((function _callee5$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this.Client();case 2:if(e=p.sent,!this.sourceOptions.playoutParameters.directLink){p.next=18;break}return p.next=6,e.AvailableOfferings({objectId:this.sourceOptions.playoutParameters.objectId,versionHash:this.sourceOptions.playoutParameters.versionHash,writeToken:this.sourceOptions.playoutParameters.writeToken,linkPath:this.sourceOptions.playoutParameters.linkPath,directLink:!0,resolveIncludeSource:!0,authorizationToken:this.sourceOptions.playoutParameters.authorizationToken});case 6:if(i=p.sent,r=Object.keys(i||{})[0]){p.next=10;break}return p.abrupt("return");case 10:if(t=i[r].uri,this.sourceOptions.playoutOptions){p.next=16;break}return p.next=14,e.PlayoutOptions({offeringURI:t});case 14:this.sourceOptions.playoutOptions=p.sent,window.playoutOptions=this.sourceOptions.playoutOptions;case 16:p.next=23;break;case 18:if(this.sourceOptions.playoutOptions){p.next=23;break}return p.next=21,e.PlayoutOptions(src_objectSpread({},this.sourceOptions.playoutParameters));case 21:this.sourceOptions.playoutOptions=p.sent,window.playoutOptions=this.sourceOptions.playoutOptions;case 23:return p.next=25,e.AvailableDRMs();case 25:return p.t0=function(e){return(c.sourceOptions.drms||[]).includes(e)},o=p.sent.filter(p.t0),n=this.sourceOptions.protocols.find((function(e){return c.sourceOptions.playoutOptions[e]})),s=this.sourceOptions.drms.find((function(e){return o.includes(e)&&c.sourceOptions.playoutOptions[n].playoutMethods[e]})),a=this.sourceOptions.playoutOptions[n].playoutMethods[s],l=a.playoutUrl,u=a.drms,p.abrupt("return",{protocol:n,drm:s,playoutUrl:l,drms:u,availableDRMs:o,offeringURI:t,sessionId:this.sourceOptions.playoutOptions.sessionId,multiviewOptions:{enabled:this.sourceOptions.playoutOptions.multiview,AvailableViews:this.sourceOptions.playoutOptions.AvailableViews,SwitchView:this.sourceOptions.playoutOptions.SwitchView}});case 31:case"end":return p.stop()}}),_callee5,this)}))),function PlayoutOptions(){return r.apply(this,arguments)})},{key:"__DestroyPlayer",value:function __DestroyPlayer(){this.player&&(this.Log("Destroying player"),this.player.destroy?this.player.destroy():this.player.reset&&this.player.reset(),this.player=void 0)}},{key:"DetectRemoval",value:function DetectRemoval(){var e=this;this.mutationTimeout=void 0,Array.from(document.querySelectorAll(".eluvio-player__video")).find((function(t){return t===e.video}))||this.Destroy()}},{key:"HardReload",value:(t=_()(d.a.mark((function _callee6(e){var t,i,r,o=arguments;return d.a.wrap((function _callee6$(n){for(;;)switch(n.prev=n.next){case 0:if(t=o.length>1&&void 0!==o[1]?o[1]:6e3,!this.reloading){n.next=3;break}return n.abrupt("return");case 3:if(this.reloading=!0,n.prev=4,!this.playerOptions.restartCallback){n.next=19;break}return n.prev=6,n.next=9,this.playerOptions.restartCallback(e);case 9:if(!(i=n.sent)||"boolean"!=typeof i){n.next=13;break}return this.Destroy(),n.abrupt("return");case 13:n.next=19;break;case 15:n.prev=15,n.t0=n.catch(6),this.Log("Restart callback failed:"),this.Log(n.t0);case 19:return n.next=21,new Promise((function(e){return setTimeout(e,t)}));case 21:if(!this.__destroyed){n.next=23;break}return n.abrupt("return");case 23:return this.Log("Retrying stream"),n.next=26,this.Client();case 26:if(!(r=n.sent)){n.next=30;break}return n.next=30,r.ResetRegion();case 30:this.restarted=!0,this.Initialize(this.target,this.originalParameters,this.video?{muted:this.video.muted,volume:this.video.volume,currentTime:this.video.currentTime,playing:!this.video.paused}:null);case 32:return n.prev=32,this.reloading=!1,n.finish(32);case 35:case"end":return n.stop()}}),_callee6,this,[[4,,32,35],[6,15]])}))),function HardReload(e){return t.apply(this,arguments)})},{key:"Initialize",value:(e=_()(d.a.mark((function _callee10(e,t,r){var o,n,s,a,l,u,c,p,v,h,g,f,x,k,O,L=this;return d.a.wrap((function _callee10$(E){for(;;)switch(E.prev=E.next){case 0:if(!this.__destroyed){E.next=2;break}return E.abrupt("return");case 2:if(this.__DestroyPlayer(),this.target=e,this.target.innerHTML="",t&&(this.originalParameters=y()({},t),t=y()(m()(se),t),this.clientOptions=t.clientOptions,this.sourceOptions=t.sourceOptions,this.playerOptions=t.playerOptions),this.errors=0,E.prev=7,o=this.PlayoutOptions(),this.target.classList.add("eluvio-player"),this.restarted&&this.target.classList.add("eluvio-player-restarted"),this.playerOptions.controls===ne.controls.AUTO_HIDE&&this.target.classList.add("eluvio-player-autohide"),this.playerOptions.className&&this.target.classList.add(this.playerOptions.className),this.video=Z({parent:this.target,type:"video",options:{muted:this.playerOptions.muted!==ne.muted.OFF,controls:this.playerOptions.controls===ne.controls.DEFAULT,loop:this.playerOptions.loop===ne.loop.ON},classes:["eluvio-player__video"]}),this.video.setAttribute("playsinline","playsinline"),r&&this.video.addEventListener("loadedmetadata",(function(){L.video.volume=r.volume,L.video.muted=r.muted,L.video.currentTime=r.currentTime,r.playing&&L.video.play()})),this.mutationObserver=new MutationObserver((function(){L.mutationTimeout||(L.mutationTimeout=setTimeout(L.DetectRemoval,2e3))})),this.mutationObserver.observe(document.body,{childList:!0,subtree:!0}),this.resizeObserver=new w.a((function(e){if(!L.__destroyed){var t=e[0].contentRect;L.controls&&L.controls.HandleResize(t),["xl","l","m","s"].forEach((function(e){return L.target.classList.remove("eluvio-player-".concat(e))})),t.width>1400?L.target.classList.add("eluvio-player-xl"):t.width>750?L.target.classList.add("eluvio-player-l"):t.width>500?L.target.classList.add("eluvio-player-m"):L.target.classList.add("eluvio-player-s")}})),this.resizeObserver.observe(this.target),n=this.PosterUrl().then((function(e){L.posterUrl=e,L.controls=new re(L.target,L.video,L.playerOptions,e)})),!this.clientOptions.promptTicket||this.clientOptions.ticketCode){E.next=26;break}if(this.clientOptions.tenantId){E.next=24;break}throw Error("ELUVIO PLAYER: Tenant ID must be provided if ticket code is needed.");case 24:return n.then((function(){return L.controls.InitializeTicketPrompt(function(){var e=_()(d.a.mark((function _callee7(e){var t;return d.a.wrap((function _callee7$(i){for(;;)switch(i.prev=i.next){case 0:return e=(e||"").trim(),t=L.clientOptions.ticketSubject,e.includes(":")&&(t=e.split(":")[0],e=e.split(":")[1]),i.next=5,L.clientOptions.client.RedeemCode({tenantId:L.clientOptions.tenantId,ntpId:L.clientOptions.ntpId,code:e,email:t});case 5:L.ticketInitialized=!0,L.clientOptions.ticketCode=e,L.originalParameters.clientOptions.client=L.clientOptions.client,L.originalParameters.clientOptions.ticketCode=e,L.Initialize(L.target);case 10:case"end":return i.stop()}}),_callee7)})));return function(t){return e.apply(this,arguments)}}())})),E.abrupt("return");case 26:return E.next=28,o;case 28:return s=E.sent,a=s.protocol,l=s.drm,u=s.playoutUrl,c=s.drms,(p=s.multiviewOptions).target=this.target,u=b()(u),v=this.sourceOptions.playoutParameters.authorizationToken||u.query(!0).authorization,E.next=39,i.e(7).then(i.t.bind(null,634,7));case 39:if(h=E.sent.default,"fairplay"!==l){E.next=45;break}InitializeFairPlayStream({playoutOptions:this.sourceOptions.playoutOptions,video:this.video}),p.enabled&&n.then((function(){return L.controls.InitializeMultiViewControls(p)})),E.next=73;break;case 45:if(h.isSupported()&&"sample-aes"!==l){E.next=50;break}this.video.src=u.toString(),p.enabled&&n.then((function(){return L.controls.InitializeMultiViewControls(p)})),E.next=73;break;case 50:if("hls"!==a){E.next=62;break}u.removeQuery("authorization"),(g=new h(src_objectSpread({maxBufferLength:30,maxBufferSize:300,enableWorker:!0,capLevelToPlayerSize:this.playerOptions.capLevelToPlayerSize,xhrSetup:function xhrSetup(e){return e.setRequestHeader("Authorization","Bearer ".concat(v)),(L.playerOptions.hlsjsOptions||{}).xhrSetup&&L.playerOptions.hlsjsOptions.xhrSetup(e),e}},this.playerOptions.hlsjsOptions||{}))).loadSource(u.toString()),g.attachMedia(this.video),p.enabled&&(x=p.SwitchView,p.SwitchView=function(){var e=_()(d.a.mark((function _callee8(e){return d.a.wrap((function _callee8$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x(e);case 2:g.nextLevel=g.currentLevel;case 3:case"end":return t.stop()}}),_callee8)})));return function(t){return e.apply(this,arguments)}}(),n.then((function(){return L.controls.InitializeMultiViewControls(p)}))),this.controls.SetQualityControls({GetLevels:function GetLevels(){return g.levels.map((function(e,t){return{index:t,active:t===g.currentLevel,resolution:e.attrs.RESOLUTION,bitrate:e.bitrate}}))},SetLevel:function SetLevel(e){return g.nextLevel=e}}),g.on(h.Events.FRAG_LOADED,(function(){L.errors=0,clearTimeout(L.bufferFullRestartTimeout)})),g.on(h.Events.ERROR,function(){var e=_()(d.a.mark((function _callee9(e,t){var i;return d.a.wrap((function _callee9$(e){for(;;)switch(e.prev=e.next){case 0:L.errors+=1,L.Log("Encountered ".concat(t.details)),L.Log(t),"bufferFullError"===t.details&&(L.bufferFullRestartTimeout=setTimeout((function(){L.Log("Buffer full error - Restarting player",!0),L.HardReload(t,5e3)}),3e3)),"bufferStalledError"===t.details&&(i=L.video.currentTime,setTimeout((function(){L.video.paused||L.video.currentTime!==i||L.Log("Buffer stalled error, no progress in 5 seconds - Restarting player",!0)}),5e3)),(t.fatal||3===L.errors)&&L.HardReload(t);case 6:case"end":return e.stop()}}),_callee9)})));return function(t,i){return e.apply(this,arguments)}}()),this.player=g,E.next=73;break;case 62:return E.next=64,Promise.all([i.e(0),i.e(3),i.e(6)]).then(i.t.bind(null,635,7));case 64:k=E.sent.default,f=k.MediaPlayer().create(),this.playerOptions.capLevelToPlayerSize&&f.updateSettings({streaming:{abr:{limitBitrateByPortal:!0}}}),u.removeQuery("authorization"),f.extend("RequestModifier",(function(){return{modifyRequestHeader:function modifyRequestHeader(e){return e.setRequestHeader("Authorization","Bearer ".concat(v)),e},modifyRequestURL:function modifyRequestURL(e){return e}}})),l===ne.drms.WIDEVINE&&(O=c.widevine.licenseServers[0],f.setProtectionData({"com.widevine.alpha":{serverURL:O}})),f.initialize(this.video,u.toString(),this.playerOptions.autoplay===ne.autoplay.ON),p.enabled&&n.then((function(){return L.controls.InitializeMultiViewControls(p)})),this.player=f;case 73:this.playerOptions.playerCallback&&this.playerOptions.playerCallback({videoElement:this.video,hlsPlayer:g,dashPlayer:f,posterUrl:this.posterUrl}),this.playerOptions.autoplay===ne.autoplay.ON&&this.video.play(),this.RegisterVisibilityCallback(),E.next=82;break;case 78:E.prev=78,E.t0=E.catch(7),this.playerOptions.errorCallback(E.t0),500===E.t0.status&&this.HardReload(E.t0,1e4);case 82:case"end":return E.stop()}}),_callee10,this,[[7,78]])}))),function Initialize(t,i,r){return e.apply(this,arguments)})}]),EluvioPlayer}();t.default=ae},36:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.49 54.25"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:2px;}</style></defs><polygon class="cls-1" points="1 1.87 1 52.37 38.69 27.12 1 1.87"></polygon></svg>'},37:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.59 54.02"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:2px;}</style></defs><rect class="cls-1" x="22.1" y="1" width="10.49" height="52.02"></rect><rect class="cls-1" x="1" y="1" width="10.49" height="52.02"></rect></svg>'},38:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51.94 50.82"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px;}</style></defs><polyline class="cls-1" points="1 35.59 1 49.82 12.1 49.82"></polyline><polyline class="cls-1" points="50.94 15.22 50.94 1 39.84 1"></polyline><polyline class="cls-1" points="1 15.22 1 1 12.1 1"></polyline><polyline class="cls-1" points="50.94 35.59 50.94 49.82 39.84 49.82"></polyline></svg>'},39:function(e,t){e.exports='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 52.9 54.2" style="enable-background:new 0 0 52.9 54.2;" xml:space="preserve"><style type="text/css"> .st0{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10;} </style><polyline class="st0" points="41.7,13.7 41.7,1.9 15.9,19.2 1,19.2 1,35.1 15.9,35.1 41.7,52.4 41.7,41.8 "></polyline><line class="st0" x1="31.4" y1="17" x2="52.1" y2="36.4"></line><line class="st0" x1="52.2" y1="17.1" x2="31.2" y2="36.2"></line></svg>'},40:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55.42 55.59"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:2px;}</style></defs><rect class="cls-1" x="1" y="1" width="22.81" height="22.81" rx="3.58"></rect><rect class="cls-1" x="31.61" y="1" width="22.81" height="22.81" rx="3.58"></rect><rect class="cls-1" x="1" y="31.34" width="22.81" height="22.81" rx="3.58"></rect><rect class="cls-1" x="31.61" y="31.78" width="22.81" height="22.81" rx="3.58"></rect></svg>'},6:function(e,t){e.exports='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 59 54.2" style="enable-background:new 0 0 59 54.2;" xml:space="preserve"><style type="text/css"> .st0{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-miterlimit:10;} </style><polygon class="st0" points="41.7,1.9 15.9,19.2 1,19.2 1,35.1 15.9,35.1 41.7,52.4 "></polygon><path class="st0" d="M41.8,43.3c9-0.2,16-7.7,15.8-16.6c-0.2-8.6-7.2-15.6-15.8-15.8V43.3z"></path></svg>'},71:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 185.12 185.12"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:2px;}</style></defs><polygon class="cls-1" points="76.56 56.23 76.56 128.89 130.79 92.56 76.56 56.23"></polygon><circle class="cls-1" cx="92.56" cy="92.56" r="91.56"></circle></svg>'},72:function(e,t){e.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51.94 50.82"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px;}</style></defs><polyline class="cls-1" points="12.1 49.82 12.1 35.59 1 35.59"></polyline><polyline class="cls-1" points="39.84 1 39.84 15.22 50.94 15.22"></polyline><polyline class="cls-1" points="12.1 1 12.1 15.22 1 15.22"></polyline><polyline class="cls-1" points="39.84 49.82 39.84 35.59 50.94 35.59"></polyline></svg>'},73:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>'},74:function(e,t,i){e.exports=i.p+"82039b3023d7b2c52c275b57ce7bbc42.png"},79:function(e,t,i){var r=i(80);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i(82)(r,o);r.locals&&(e.exports=r.locals)},80:function(e,t,i){(e.exports=i(81)(!1)).push([e.i,'.eluvio-player{align-items:center;display:flex;height:100%;justify-content:center;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;position:relative;width:100%}.eluvio-player.eluvio-player-restarted .eluvio-player__big-play-button{display:none}.eluvio-player *{box-sizing:border-box;font-family:"Helvetica Neue", Helvetica, sans-serif;line-height:1}.eluvio-player input[type="range"],.eluvio-player button{background:transparent;border:0;cursor:pointer;justify-content:center;transition:opacity 0.1s linear}.eluvio-player input[type="range"]:hover,.eluvio-player button:hover{opacity:1}.eluvio-player input[type="range"]:focus,.eluvio-player button:focus{outline:0}.eluvio-player input[type="range"].focus-visible,.eluvio-player button.focus-visible{box-shadow:0 0 2px rgba(225,225,255,0.7);outline:0}.eluvio-player input[type="range"]{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border-radius:3px;height:3px;margin:0;padding:15px 0;z-index:100}.eluvio-player input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:15px;opacity:0;width:15px}.eluvio-player input[type="range"]::-moz-range-thumb{-moz-appearance:none;appearance:none;height:15px;opacity:0;width:15px}.eluvio-player input[type="range"]::-webkit-slider-runnable-track{-webkit-tap-highlight-color:transparent;background:transparent;height:3px}.eluvio-player input[type="range"]::-moz-range-track{-webkit-tap-highlight-color:transparent;background:transparent;height:3px}.eluvio-player progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;height:3px}.eluvio-player ::-webkit-progress-value{background-color:#0885fb}.eluvio-player ::-webkit-progress-bar{background-color:transparent}.eluvio-player ::-moz-progress-bar{background-color:#0885fb}.eluvio-player__poster-image{background:#000;cursor:pointer;height:100%;left:0;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;position:absolute;top:0;width:100%}.eluvio-player__video{background:#000;height:100%;margin:auto;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:100%}.eluvio-player__watermark{height:15px;left:15px;pointer-events:none;position:absolute;top:15px;width:auto;z-index:10}.eluvio-player__controls{align-items:center;background:rgba(0,0,0,0.4);bottom:0;display:flex;height:40px;padding:0 10px;position:absolute;transition:opacity 0.25s linear;width:100%;z-index:10}.eluvio-player__controls__button{-webkit-tap-highlight-color:transparent;height:35px;max-height:35px;max-width:35px;min-height:35px;min-width:35px;overflow:visible;padding:6px;transition:opacity 0.25s linear;width:35px}.eluvio-player__controls__button:not(:last-child){margin-right:2px}.eluvio-player__controls__button svg{height:100%;max-height:100%;max-width:100%;overflow:visible;width:100%}.eluvio-player__controls__button svg *{stroke:rgba(255,255,255,0.8);stroke-width:3px}.eluvio-player__controls__button-multiview-spinning svg{animation:spin 1s ease-in-out infinite}.eluvio-player__controls__volume-container{flex:1 1 auto;max-width:75px;min-width:0}.eluvio-player__controls__volume{background-color:rgba(113,113,113,0.5) !important}.eluvio-player__controls__volume::-webkit-progress-value{background-color:rgba(255,255,255,0.8)}.eluvio-player__controls__volume::-moz-progress-bar{background-color:rgba(255,255,255,0.8)}.eluvio-player__controls__slider-container{align-items:center;display:flex;flex:1 1 auto;height:100%;justify-content:center;min-width:0;position:relative}.eluvio-player__controls__slider-container__input,.eluvio-player__controls__slider-container__progress{flex:1 1 auto;left:0;margin:0 5px;min-width:0;position:absolute;width:calc(100% - 10px)}.eluvio-player__controls__slider-container__input{z-index:0}.eluvio-player__controls__slider-container__progress{pointer-events:none;z-index:2}.eluvio-player__controls__progress-buffer{background-color:rgba(113,113,113,0.5) !important;z-index:1}.eluvio-player__controls__progress-buffer::-webkit-progress-value{background-color:rgba(113,113,113,0.5)}.eluvio-player__controls__progress-buffer::-moz-progress-bar{background-color:rgba(113,113,113,0.5)}.eluvio-player__controls__time{color:rgba(255,255,255,0.8);font-size:11px;text-align:center;width:55px}.eluvio-player__controls__right-buttons{align-items:center;display:flex;flex-wrap:nowrap;height:100%}.eluvio-player__controls__button-settings svg *{stroke-width:2px}.eluvio-player__controls.eluvio-player__controls-no-progress .eluvio-player__controls__time,.eluvio-player__controls.eluvio-player__controls-no-progress .eluvio-player__controls__progress-slider{visibility:hidden}.eluvio-player__controls__tooltip{background:rgba(0,0,0,0.4);border-radius:3px;bottom:45px;color:rgba(255,255,255,0.8);font-size:14px;font-weight:300;max-height:calc(100% - 54px);max-width:225px;min-height:20px;opacity:1;padding:10px 5px;pointer-events:none;position:absolute;right:10px;text-align:center;transition:opacity 0.1s linear;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:100}.eluvio-player__controls__tooltip *{line-height:1.2em}.eluvio-player__controls__tooltip:empty{display:none;opacity:0}.eluvio-player__controls__tooltip svg{height:20px;margin-bottom:5px;width:auto}.eluvio-player__controls__settings-menu{background:rgba(0,0,0,0.4);border-radius:3px;bottom:45px;color:rgba(255,255,255,0.8);max-height:calc(100% - 54px);min-height:20px;overflow-y:auto;position:absolute;right:10px;width:200px;z-index:100}.eluvio-player__controls__settings-menu-hidden{display:none}.eluvio-player__controls__settings-menu button{border:1px solid transparent}.eluvio-player__controls__settings-menu__option{border:1px solid transparent;color:rgba(255,255,255,0.8);cursor:pointer;display:block;font-size:14px;height:100%;padding:9px 20px;width:100%}.eluvio-player__controls__settings-menu__option-selected{color:rgba(255,255,255,0.8)}.eluvio-player__controls__settings-menu__option:hover{background:rgba(0,0,0,0.4);color:rgba(255,255,255,0.8)}.eluvio-player__controls__settings-menu__option.focus-visible{border:1px solid rgba(225,225,255,0.7)}.eluvio-player__big-play-button{max-height:100px;max-width:100px;min-height:100px;min-width:100px;position:absolute;z-index:10}.eluvio-player__big-play-button svg{height:100%;opacity:0.7;overflow:visible;padding:2px;transition:opacity 0.1s linear;width:100%;z-index:11}.eluvio-player__big-play-button svg *{stroke:rgba(255,255,255,0.8);stroke-width:4px}.eluvio-player__big-play-button svg polygon{fill:rgba(255,255,255,0.8);stroke:rgba(255,255,255,0.8)}.eluvio-player__big-play-button:hover svg{opacity:1}.eluvio-player.eluvio-player-autohide .eluvio-player__controls{opacity:0}.eluvio-player:-webkit-full-screen{margin:0;max-height:unset;max-width:unset;min-height:100vh;min-width:100vw;padding:0}.eluvio-player:-ms-fullscreen{margin:0;max-height:unset;max-width:unset;min-height:100vh;min-width:100vw;padding:0}.eluvio-player:fullscreen{margin:0;max-height:unset;max-width:unset;min-height:100vh;min-width:100vw;padding:0}.eluvio-player:-webkit-full-screen video{max-height:unset;max-width:unset;min-height:100%;min-width:100%}.eluvio-player:-ms-fullscreen video{max-height:unset;max-width:unset;min-height:100%;min-width:100%}.eluvio-player:fullscreen video{max-height:unset;max-width:unset;min-height:100%;min-width:100%}.eluvio-player__ticket-modal{align-items:center;background:rgba(0,0,0,0.4);display:flex;height:100%;justify-content:center;position:absolute;width:100%}.eluvio-player__ticket-modal__form{align-items:center;background:#121212;border:2px solid #252525;border-radius:3px;display:flex;flex-direction:column;justify-content:center;padding:20px 30px;width:300px}.eluvio-player__ticket-modal__form__text,.eluvio-player__ticket-modal__form__error-text,.eluvio-player__ticket-modal__form__input{margin-bottom:10px}.eluvio-player__ticket-modal__form__text{color:rgba(255,255,255,0.8);font-size:20px;font-weight:300;letter-spacing:0.05em}.eluvio-player__ticket-modal__form__error-text{color:#a32;font-size:16px}.eluvio-player__ticket-modal__form__error-text:empty{display:none}.eluvio-player__ticket-modal__form__input{background:rgba(255,255,255,0.8);border:0;border-radius:3px;font-size:18px;font-weight:bold;letter-spacing:0.16em;margin:5px 0 15px;min-height:40px;padding:0 10px;text-align:center;width:100%}.eluvio-player__ticket-modal__form__submit{border-radius:3px;color:rgba(255,255,255,0.8);font-size:16px;font-weight:500;height:40px;letter-spacing:0.1em;text-transform:uppercase;width:100%}.eluvio-player__ticket-modal__form__submit:disabled{color:rgba(113,113,113,0.5)}.eluvio-player__ticket-modal__form button.eluvio-player__ticket-modal__form__submit{background:#252525;margin:0}.eluvio-player__hotspot-overlay{bottom:0;left:0;position:absolute;right:0;top:0;z-index:5}.eluvio-player__hotspot-overlay__target{align-items:center;cursor:pointer;display:flex;justify-content:center;position:absolute;transition:background-color 0.3s}.eluvio-player__hotspot-overlay__target__title{color:rgba(255,255,255,0.8);display:none;font-size:24px;font-weight:300;letter-spacing:0.08em;transition:letter-spacing 5s}.eluvio-player__hotspot-overlay__target:hover{background-color:rgba(113,113,113,0.3)}.eluvio-player__hotspot-overlay__target:hover .eluvio-player__hotspot-overlay__target__title{display:block;text-shadow:1px 1px #717171}.eluvio-player__hotspot-overlay__target-switching{animation:hotspot-select 1s ease-out}.eluvio-player__hotspot-overlay-visible .eluvio-player__hotspot-overlay__target{background-color:rgba(113,113,113,0.3)}.eluvio-player__hotspot-overlay-visible .eluvio-player__hotspot-overlay__target__title{display:block;text-shadow:1px 1px #717171}.eluvio-player.eluvio-player-xl .eluvio-player__controls{height:CALC(40px * 1.5);padding:0 CALC(10px * 1.5)}.eluvio-player.eluvio-player-xl .eluvio-player__controls__tooltip,.eluvio-player.eluvio-player-xl .eluvio-player__controls__settings-menu{bottom:65px}.eluvio-player.eluvio-player-m .eluvio-player__watermark,.eluvio-player.eluvio-player-s .eluvio-player__watermark{height:10px;top:10px}.eluvio-player.eluvio-player-m .eluvio-player__controls,.eluvio-player.eluvio-player-s .eluvio-player__controls{padding:0 CALC(10px * 0.5)}.eluvio-player.eluvio-player-m .eluvio-player__controls__button,.eluvio-player.eluvio-player-s .eluvio-player__controls__button{height:CALC(35px * 0.9);max-height:CALC(35px * 0.9);max-width:CALC(35px * 0.9);min-height:CALC(35px * 0.9);min-width:CALC(35px * 0.9)}.eluvio-player.eluvio-player-m .eluvio-player__controls__volume-container,.eluvio-player.eluvio-player-s .eluvio-player__controls__volume-container{display:none}.eluvio-player.eluvio-player-m .eluvio-player__big-play-button,.eluvio-player.eluvio-player-s .eluvio-player__big-play-button{max-height:75px;max-width:75px;min-height:75px;min-width:75px}.eluvio-player.eluvio-player-m .eluvio-player__ticket-modal__form,.eluvio-player.eluvio-player-s .eluvio-player__ticket-modal__form{max-height:70%;max-width:70%}.eluvio-player.eluvio-player-m .eluvio-player__hotspot-overlay .eluvio-player__hotspot-overlay__target .eluvio-player__hotspot-overlay__target__title,.eluvio-player.eluvio-player-s .eluvio-player__hotspot-overlay .eluvio-player__hotspot-overlay__target .eluvio-player__hotspot-overlay__target__title{font-size:16px}.eluvio-player.eluvio-player-s .eluvio-player__controls{padding:5px}.eluvio-player.eluvio-player-s .eluvio-player__controls__time{display:none}.eluvio-player.eluvio-player-s .eluvio-player__controls__tooltip{font-size:10px;max-width:180px}.eluvio-player.eluvio-player-s .eluvio-player__controls__tooltip svg{height:15px;width:15px}.eluvio-player.eluvio-player-s .eluvio-player__hotspot-overlay .eluvio-player__hotspot-overlay__target .eluvio-player__hotspot-overlay__target__title{font-size:14px}@keyframes hotspot-select{0%{background-color:rgba(255,255,255,0.2);opacity:1}50%{background-color:rgba(255,255,255,0.7);opacity:0.7}100%{background-color:rgba(255,255,255,0);opacity:0}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n',""])}});
@@ -1,39 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(t,e,r){t.exports=r(78)},function(t,e){function asyncGeneratorStep(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function _next(t){asyncGeneratorStep(i,n,o,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(i,n,o,_next,_throw,"throw",t)}_next(void 0)}))}}},function(t,e,r){var n=r(42),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e){t.exports=function isObject(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(96),o=r(101);t.exports=function getNative(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e){t.exports=function isObjectLike(t){return null!=t&&"object"==typeof t}},,function(t,e,r){var n=r(24),o=r(97),i=r(98),a=n?n.toStringTag:void 0;t.exports=function baseGetTag(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(55),o=r(25);t.exports=function copyObject(t,e,r,i){var a=!r;r||(r={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=i?i(r[u],t[u],u,r,t):void 0;void 0===l&&(l=t[u]),a?o(r,u,l):n(r,u,l)}return r}},function(t,e,r){var n=r(56),o=r(127),i=r(17);t.exports=function keysIn(t){return i(t)?n(t,!0):o(t)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){var n=r(86),o=r(87),i=r(88),a=r(89),s=r(90);function ListCache(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ListCache.prototype.clear=n,ListCache.prototype.delete=o,ListCache.prototype.get=i,ListCache.prototype.has=a,ListCache.prototype.set=s,t.exports=ListCache},function(t,e,r){var n=r(13);t.exports=function assocIndexOf(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e){t.exports=function eq(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(4)(Object,"create");t.exports=n},function(t,e,r){var n=r(111);t.exports=function getMapData(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(23),o=r(52);t.exports=function isArrayLike(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function _defineProperty(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e){t.exports=function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function _defineProperties(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),t}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(4)(r(2),"Map");t.exports=n},function(t,e,r){var n=r(7),o=r(3);t.exports=function isFunction(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){var n=r(2).Symbol;t.exports=n},function(t,e,r){var n=r(45);t.exports=function baseAssignValue(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(118);t.exports=function cloneArrayBuffer(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},function(t,e,r){var n=r(50)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){var r=Object.prototype;t.exports=function isPrototype(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){(function(t){var n=r(2),o=r(122),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;t.exports=c}).call(this,r(10)(t))},function(t,e){t.exports=function baseUnary(t){return function(e){return t(e)}}},function(t,e,r){(function(t){var n=r(42),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,r(10)(t))},function(t,e,r){var n=r(56),o=r(141),i=r(17);t.exports=function keys(t){return i(t)?n(t):o(t)}},function(t,e,r){var n=r(145),o=r(59),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=s},function(t,e,r){var n=r(149),o=r(22),i=r(150),a=r(151),s=r(152),c=r(7),u=r(43),l=u(n),p=u(o),f=u(i),h=u(a),d=u(s),v=c;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=v},function(t,e,r){var n=r(85),o=r(129)((function(t,e,r,o){n(t,e,r,o)}));t.exports=o},,,,,,function(t,e,r){var n=r(11),o=r(91),i=r(92),a=r(93),s=r(94),c=r(95);function Stack(t){var e=this.__data__=new n(t);this.size=e.size}Stack.prototype.clear=o,Stack.prototype.delete=i,Stack.prototype.get=a,Stack.prototype.has=s,Stack.prototype.set=c,t.exports=Stack},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(21))},function(t,e){var r=Function.prototype.toString;t.exports=function toSource(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(25),o=r(13);t.exports=function assignMergeValue(t,e,r){(void 0===r||o(t[e],r))&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(4),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,r){(function(t){var n=r(2),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function cloneBuffer(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}}).call(this,r(10)(t))},function(t,e,r){var n=r(26);t.exports=function cloneTypedArray(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},function(t,e){t.exports=function copyArray(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},function(t,e,r){var n=r(119),o=r(27),i=r(28);t.exports=function initCloneObject(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},function(t,e){t.exports=function overArg(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(120),o=r(5),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){t.exports=function isLength(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){var n=r(124),o=r(30),i=r(31),a=i&&i.isTypedArray,s=a?o(a):n;t.exports=s},function(t,e){t.exports=function safeGet(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},function(t,e,r){var n=r(25),o=r(13),i=Object.prototype.hasOwnProperty;t.exports=function assignValue(t,e,r){var a=t[e];i.call(t,e)&&o(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(126),o=r(51),i=r(16),a=r(29),s=r(57),c=r(53),u=Object.prototype.hasOwnProperty;t.exports=function arrayLikeKeys(t,e){var r=i(t),l=!r&&o(t),p=!r&&!l&&a(t),f=!r&&!l&&!p&&c(t),h=r||l||p||f,d=h?n(t.length,String):[],v=d.length;for(var m in t)!e&&!u.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,v))||d.push(m);return d}},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function isIndex(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function identity(t){return t}},function(t,e){t.exports=function stubArray(){return[]}},function(t,e,r){var n=r(61),o=r(27),i=r(33),a=r(59),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:a;t.exports=s},function(t,e){t.exports=function arrayPush(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(61),o=r(16);t.exports=function baseGetAllKeys(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},function(t,e,r){(function(t,n){var o;/*! https://mths.be/punycode v1.4.0 by @mathias */!function(i){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=/^xn--/,l=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,d=String.fromCharCode;function error(t){throw new RangeError(f[t])}function map(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function mapDomain(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+map((t=t.replace(p,".")).split("."),e).join(".")}function ucs2decode(t){for(var e,r,n=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(r=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--):n.push(e);return n}function ucs2encode(t){return map(t,(function(t){var e="";return t>65535&&(e+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=d(t)})).join("")}function digitToBasic(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function adapt(t,e,r){var n=0;for(t=r?h(t/700):t>>1,t+=h(t/e);t>455;n+=36)t=h(t/35);return h(n+36*t/(t+38))}function decode(t){var e,r,n,o,i,a,s,u,l,p,f,d=[],v=t.length,m=0,g=128,y=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&error("not-basic"),d.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<v;){for(i=m,a=1,s=36;o>=v&&error("invalid-input"),((u=(f=t.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||u>h((c-m)/a))&&error("overflow"),m+=u*a,!(u<(l=s<=y?1:s>=y+26?26:s-y));s+=36)a>h(c/(p=36-l))&&error("overflow"),a*=p;y=adapt(m-i,e=d.length+1,0==i),h(m/e)>c-g&&error("overflow"),g+=h(m/e),m%=e,d.splice(m++,0,g)}return ucs2encode(d)}function encode(t){var e,r,n,o,i,a,s,u,l,p,f,v,m,g,y,b=[];for(v=(t=ucs2decode(t)).length,e=128,r=0,i=72,a=0;a<v;++a)(f=t[a])<128&&b.push(d(f));for(n=o=b.length,o&&b.push("-");n<v;){for(s=c,a=0;a<v;++a)(f=t[a])>=e&&f<s&&(s=f);for(s-e>h((c-r)/(m=n+1))&&error("overflow"),r+=(s-e)*m,e=s,a=0;a<v;++a)if((f=t[a])<e&&++r>c&&error("overflow"),f==e){for(u=r,l=36;!(u<(p=l<=i?1:l>=i+26?26:l-i));l+=36)y=u-p,g=36-p,b.push(d(digitToBasic(p+y%g,0))),u=h(y/g);b.push(d(digitToBasic(u,0))),i=adapt(r,m,n==o),r=0,++n}++r,++e}return b.join("")}s={version:"1.3.2",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:function toASCII(t){return mapDomain(t,(function(t){return l.test(t)?"xn--"+encode(t):t}))},toUnicode:function toUnicode(t){return mapDomain(t,(function(t){return u.test(t)?decode(t.slice(4).toLowerCase()):t}))}},void 0===(o=function(){return s}.call(e,r,e,t))||(t.exports=o)}()}).call(this,r(10)(t),r(21))},function(t,e,r){var n,o;
2
- /*!
3
- * URI.js - Mutating URLs
4
- * IPv6 Support
5
- *
6
- * Version: 1.19.7
7
- *
8
- * Author: Rodney Rehm
9
- * Web: http://medialize.github.io/URI.js/
10
- *
11
- * Licensed under
12
- * MIT License http://www.opensource.org/licenses/mit-license
13
- *
14
- */!function(i,a){"use strict";t.exports?t.exports=a():void 0===(o="function"==typeof(n=a)?n.call(e,r,e,t):n)||(t.exports=o)}(0,(function(t){"use strict";var e=t&&t.IPv6;return{best:function bestPresentation(t){var e,r,n=t.toLowerCase().split(":"),o=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[o-1]&&""===n[o-2]&&n.pop(),-1!==n[(o=n.length)-1].indexOf(".")&&(i=7),e=0;e<o&&""!==n[e];e++);if(e<i)for(n.splice(e,1,"0000");n.length<i;)n.splice(e,0,"0000");for(var a=0;a<i;a++){r=n[a].split("");for(var s=0;s<3&&("0"===r[0]&&r.length>1);s++)r.splice(0,1);n[a]=r.join("")}var c=-1,u=0,l=0,p=-1,f=!1;for(a=0;a<i;a++)f?"0"===n[a]?l+=1:(f=!1,l>u&&(c=p,u=l)):"0"===n[a]&&(f=!0,p=a,l=1);l>u&&(c=p,u=l),u>1&&n.splice(c,u,""),o=n.length;var h="";for(""===n[0]&&(h=":"),a=0;a<o&&(h+=n[a],a!==o-1);a++)h+=":";return""===n[o-1]&&(h+=":"),h},noConflict:function noConflict(){return t.IPv6===this&&(t.IPv6=e),this}}}))},function(t,e,r){var n,o;
15
- /*!
16
- * URI.js - Mutating URLs
17
- * Second Level Domain (SLD) Support
18
- *
19
- * Version: 1.19.7
20
- *
21
- * Author: Rodney Rehm
22
- * Web: http://medialize.github.io/URI.js/
23
- *
24
- * Licensed under
25
- * MIT License http://www.opensource.org/licenses/mit-license
26
- *
27
- */!function(i,a){"use strict";t.exports?t.exports=a():void 0===(o="function"==typeof(n=a)?n.call(e,r,e,t):n)||(t.exports=o)}(0,(function(t){"use strict";var e=t&&t.SecondLevelDomains,r={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var n=t.lastIndexOf(".",e-1);if(n<=0||n>=e-1)return!1;var o=r.list[t.slice(e+1)];return!!o&&o.indexOf(" "+t.slice(n+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(t.lastIndexOf(".",e-1)>=0)return!1;var n=r.list[t.slice(e+1)];return!!n&&n.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var n=t.lastIndexOf(".",e-1);if(n<=0||n>=e-1)return null;var o=r.list[t.slice(e+1)];return o?o.indexOf(" "+t.slice(n+1,e)+" ")<0?null:t.slice(n+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return r}))},function(t,e,r){var n=r(75),o=r(76),i=r(77);t.exports=function _slicedToArray(t,e){return n(t)||o(t,e)||i()}},function(t,e,r){var n=r(138);t.exports=function cloneDeep(t){return n(t,5)}},function(t,e,r){var n,o,i;
28
- /*!
29
- * URI.js - Mutating URLs
30
- *
31
- * Version: 1.19.7
32
- *
33
- * Author: Rodney Rehm
34
- * Web: http://medialize.github.io/URI.js/
35
- *
36
- * Licensed under
37
- * MIT License http://www.opensource.org/licenses/mit-license
38
- *
39
- */!function(a,s){"use strict";t.exports?t.exports=s(r(63),r(64),r(65)):(o=[r(63),r(64),r(65)],void 0===(i="function"==typeof(n=s)?n.apply(e,o):n)||(t.exports=i))}(0,(function(t,e,r,n){"use strict";var o=n&&n.URI;function URI(t,e){var r=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof URI))return r?n?new URI(t,e):new URI(t):new URI;if(void 0===t){if(r)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&r)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}URI.version="1.19.7";var i=URI.prototype,a=Object.prototype.hasOwnProperty;function escapeRegEx(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function getType(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function isArray(t){return"Array"===getType(t)}function filterArrayValues(t,e){var r,n,o={};if("RegExp"===getType(e))o=null;else if(isArray(e))for(r=0,n=e.length;r<n;r++)o[e[r]]=!0;else o[e]=!0;for(r=0,n=t.length;r<n;r++){(o&&void 0!==o[t[r]]||!o&&e.test(t[r]))&&(t.splice(r,1),n--,r--)}return t}function arrayContains(t,e){var r,n;if(isArray(e)){for(r=0,n=e.length;r<n;r++)if(!arrayContains(t,e[r]))return!1;return!0}var o=getType(e);for(r=0,n=t.length;r<n;r++)if("RegExp"===o){if("string"==typeof t[r]&&t[r].match(e))return!0}else if(t[r]===e)return!0;return!1}function arraysEqual(t,e){if(!isArray(t)||!isArray(e))return!1;if(t.length!==e.length)return!1;t.sort(),e.sort();for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0}function trimSlashes(t){return t.replace(/^\/+|\/+$/g,"")}function escapeForDumbFirefox36(t){return escape(t)}function strictEncodeURIComponent(t){return encodeURIComponent(t).replace(/[!'()*]/g,escapeForDumbFirefox36).replace(/\*/g,"%2A")}URI._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:URI.preventInvalidHostname,duplicateQueryParameters:URI.duplicateQueryParameters,escapeQuerySpace:URI.escapeQuerySpace}},URI.preventInvalidHostname=!1,URI.duplicateQueryParameters=!1,URI.escapeQuerySpace=!0,URI.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,URI.idn_expression=/[^a-z0-9\._-]/i,URI.punycode_expression=/(xn--)/i,URI.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,URI.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,URI.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,URI.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},URI.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},URI.hostProtocols=["http","https"],URI.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,URI.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},URI.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return URI.domAttributes[e]}},URI.encode=strictEncodeURIComponent,URI.decode=decodeURIComponent,URI.iso8859=function(){URI.encode=escape,URI.decode=unescape},URI.unicode=function(){URI.encode=strictEncodeURIComponent,URI.decode=decodeURIComponent},URI.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},URI.encodeQuery=function(t,e){var r=URI.encode(t+"");return void 0===e&&(e=URI.escapeQuerySpace),e?r.replace(/%20/g,"+"):r},URI.decodeQuery=function(t,e){t+="",void 0===e&&(e=URI.escapeQuerySpace);try{return URI.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}};var s,c={encode:"encode",decode:"decode"},generateAccessor=function(t,e){return function(r){try{return URI[e](r+"").replace(URI.characters[t][e].expression,(function(r){return URI.characters[t][e].map[r]}))}catch(t){return r}}};for(s in c)URI[s+"PathSegment"]=generateAccessor("pathname",c[s]),URI[s+"UrnPathSegment"]=generateAccessor("urnpath",c[s]);var generateSegmentedPathFunction=function(t,e,r){return function(n){var o;o=r?function(t){return URI[e](URI[r](t))}:URI[e];for(var i=(n+"").split(t),a=0,s=i.length;a<s;a++)i[a]=o(i[a]);return i.join(t)}};function generateSimpleAccessor(t){return function(e,r){return void 0===e?this._parts[t]||"":(this._parts[t]=e||null,this.build(!r),this)}}function generatePrefixAccessor(t,e){return function(r,n){return void 0===r?this._parts[t]||"":(null!==r&&(r+="").charAt(0)===e&&(r=r.substring(1)),this._parts[t]=r,this.build(!n),this)}}URI.decodePath=generateSegmentedPathFunction("/","decodePathSegment"),URI.decodeUrnPath=generateSegmentedPathFunction(":","decodeUrnPathSegment"),URI.recodePath=generateSegmentedPathFunction("/","encodePathSegment","decode"),URI.recodeUrnPath=generateSegmentedPathFunction(":","encodeUrnPathSegment","decode"),URI.encodeReserved=generateAccessor("reserved","encode"),URI.parse=function(t,e){var r;return e||(e={preventInvalidHostname:URI.preventInvalidHostname}),(r=t.indexOf("#"))>-1&&(e.fragment=t.substring(r+1)||null,t=t.substring(0,r)),(r=t.indexOf("?"))>-1&&(e.query=t.substring(r+1)||null,t=t.substring(0,r)),"//"===(t=t.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(e.protocol=null,t=t.substring(2),t=URI.parseAuthority(t,e)):(r=t.indexOf(":"))>-1&&(e.protocol=t.substring(0,r)||null,e.protocol&&!e.protocol.match(URI.protocol_expression)?e.protocol=void 0:"//"===t.substring(r+1,r+3).replace(/\\/g,"/")?(t=t.substring(r+3),t=URI.parseAuthority(t,e)):(t=t.substring(r+1),e.urn=!0)),e.path=t,e},URI.parseHost=function(t,e){t||(t="");var r,n,o=(t=t.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=t.length),"["===t.charAt(0))r=t.indexOf("]"),e.hostname=t.substring(1,r)||null,e.port=t.substring(r+2,o)||null,"/"===e.port&&(e.port=null);else{var i=t.indexOf(":"),a=t.indexOf("/"),s=t.indexOf(":",i+1);-1!==s&&(-1===a||s<a)?(e.hostname=t.substring(0,o)||null,e.port=null):(n=t.substring(0,o).split(":"),e.hostname=n[0]||null,e.port=n[1]||null)}return e.hostname&&"/"!==t.substring(o).charAt(0)&&(o++,t="/"+t),e.preventInvalidHostname&&URI.ensureValidHostname(e.hostname,e.protocol),e.port&&URI.ensureValidPort(e.port),t.substring(o)||"/"},URI.parseAuthority=function(t,e){return t=URI.parseUserinfo(t,e),URI.parseHost(t,e)},URI.parseUserinfo=function(t,e){var r=t;-1!==t.indexOf("\\")&&(t=t.replace(/\\/g,"/"));var n,o=t.indexOf("/"),i=t.lastIndexOf("@",o>-1?o:t.length-1);return i>-1&&(-1===o||i<o)?(n=t.substring(0,i).split(":"),e.username=n[0]?URI.decode(n[0]):null,n.shift(),e.password=n[0]?URI.decode(n.join(":")):null,t=r.substring(i+1)):(e.username=null,e.password=null),t},URI.parseQuery=function(t,e){if(!t)return{};if(!(t=t.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var r,n,o,i={},s=t.split("&"),c=s.length,u=0;u<c;u++)r=s[u].split("="),n=URI.decodeQuery(r.shift(),e),o=r.length?URI.decodeQuery(r.join("="),e):null,"__proto__"!==n&&(a.call(i,n)?("string"!=typeof i[n]&&null!==i[n]||(i[n]=[i[n]]),i[n].push(o)):i[n]=o);return i},URI.build=function(t){var e="",r=!1;return t.protocol&&(e+=t.protocol+":"),t.urn||!e&&!t.hostname||(e+="//",r=!0),e+=URI.buildAuthority(t)||"","string"==typeof t.path&&("/"!==t.path.charAt(0)&&r&&(e+="/"),e+=t.path),"string"==typeof t.query&&t.query&&(e+="?"+t.query),"string"==typeof t.fragment&&t.fragment&&(e+="#"+t.fragment),e},URI.buildHost=function(t){var e="";return t.hostname?(URI.ip6_expression.test(t.hostname)?e+="["+t.hostname+"]":e+=t.hostname,t.port&&(e+=":"+t.port),e):""},URI.buildAuthority=function(t){return URI.buildUserinfo(t)+URI.buildHost(t)},URI.buildUserinfo=function(t){var e="";return t.username&&(e+=URI.encode(t.username)),t.password&&(e+=":"+URI.encode(t.password)),e&&(e+="@"),e},URI.buildQuery=function(t,e,r){var n,o,i,s,c="";for(o in t)if("__proto__"!==o&&a.call(t,o))if(isArray(t[o]))for(n={},i=0,s=t[o].length;i<s;i++)void 0!==t[o][i]&&void 0===n[t[o][i]+""]&&(c+="&"+URI.buildQueryParameter(o,t[o][i],r),!0!==e&&(n[t[o][i]+""]=!0));else void 0!==t[o]&&(c+="&"+URI.buildQueryParameter(o,t[o],r));return c.substring(1)},URI.buildQueryParameter=function(t,e,r){return URI.encodeQuery(t,r)+(null!==e?"="+URI.encodeQuery(e,r):"")},URI.addQuery=function(t,e,r){if("object"==typeof e)for(var n in e)a.call(e,n)&&URI.addQuery(t,n,e[n]);else{if("string"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===t[e])return void(t[e]=r);"string"==typeof t[e]&&(t[e]=[t[e]]),isArray(r)||(r=[r]),t[e]=(t[e]||[]).concat(r)}},URI.setQuery=function(t,e,r){if("object"==typeof e)for(var n in e)a.call(e,n)&&URI.setQuery(t,n,e[n]);else{if("string"!=typeof e)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");t[e]=void 0===r?null:r}},URI.removeQuery=function(t,e,r){var n,o,i;if(isArray(e))for(n=0,o=e.length;n<o;n++)t[e[n]]=void 0;else if("RegExp"===getType(e))for(i in t)e.test(i)&&(t[i]=void 0);else if("object"==typeof e)for(i in e)a.call(e,i)&&URI.removeQuery(t,i,e[i]);else{if("string"!=typeof e)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==r?"RegExp"===getType(r)?!isArray(t[e])&&r.test(t[e])?t[e]=void 0:t[e]=filterArrayValues(t[e],r):t[e]!==String(r)||isArray(r)&&1!==r.length?isArray(t[e])&&(t[e]=filterArrayValues(t[e],r)):t[e]=void 0:t[e]=void 0}},URI.hasQuery=function(t,e,r,n){switch(getType(e)){case"String":break;case"RegExp":for(var o in t)if(a.call(t,o)&&e.test(o)&&(void 0===r||URI.hasQuery(t,o,r)))return!0;return!1;case"Object":for(var i in e)if(a.call(e,i)&&!URI.hasQuery(t,i,e[i]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(getType(r)){case"Undefined":return e in t;case"Boolean":return r===Boolean(isArray(t[e])?t[e].length:t[e]);case"Function":return!!r(t[e],e,t);case"Array":return!!isArray(t[e])&&(n?arrayContains:arraysEqual)(t[e],r);case"RegExp":return isArray(t[e])?!!n&&arrayContains(t[e],r):Boolean(t[e]&&t[e].match(r));case"Number":r=String(r);case"String":return isArray(t[e])?!!n&&arrayContains(t[e],r):t[e]===r;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},URI.joinPaths=function(){for(var t=[],e=[],r=0,n=0;n<arguments.length;n++){var o=new URI(arguments[n]);t.push(o);for(var i=o.segment(),a=0;a<i.length;a++)"string"==typeof i[a]&&e.push(i[a]),i[a]&&r++}if(!e.length||!r)return new URI("");var s=new URI("").segment(e);return""!==t[0].path()&&"/"!==t[0].path().slice(0,1)||s.path("/"+s.path()),s.normalize()},URI.commonPath=function(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r)){r--;break}return r<1?t.charAt(0)===e.charAt(0)&&"/"===t.charAt(0)?"/":"":("/"===t.charAt(r)&&"/"===e.charAt(r)||(r=t.substring(0,r).lastIndexOf("/")),t.substring(0,r+1))},URI.withinString=function(t,e,r){r||(r={});var n=r.start||URI.findUri.start,o=r.end||URI.findUri.end,i=r.trim||URI.findUri.trim,a=r.parens||URI.findUri.parens,s=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var c=n.exec(t);if(!c)break;var u=c.index;if(r.ignoreHtml){var l=t.slice(Math.max(u-3,0),u);if(l&&s.test(l))continue}for(var p=u+t.slice(u).search(o),f=t.slice(u,p),h=-1;;){var d=a.exec(f);if(!d)break;var v=d.index+d[0].length;h=Math.max(h,v)}if(!((f=h>-1?f.slice(0,h)+f.slice(h).replace(i,""):f.replace(i,"")).length<=c[0].length||r.ignore&&r.ignore.test(f))){var m=e(f,u,p=u+f.length,t);void 0!==m?(m=String(m),t=t.slice(0,u)+m+t.slice(p),n.lastIndex=u+m.length):n.lastIndex=p}}return n.lastIndex=0,t},URI.ensureValidHostname=function(e,r){var n=!!e,o=!1;if(!!r&&(o=arrayContains(URI.hostProtocols,r)),o&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+r);if(e&&e.match(URI.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(URI.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},URI.ensureValidPort=function(t){if(t){var e=Number(t);if(!(function isInteger(t){return/^[0-9]+$/.test(t)}(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},URI.noConflict=function(t){if(t){var e={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(e.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(e.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=n.SecondLevelDomains.noConflict()),e}return n.URI===this&&(n.URI=o),this},i.build=function(t){return!0===t?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=URI.build(this._parts),this._deferred_build=!1),this},i.clone=function(){return new URI(this)},i.valueOf=i.toString=function(){return this.build(!1)._string},i.protocol=generateSimpleAccessor("protocol"),i.username=generateSimpleAccessor("username"),i.password=generateSimpleAccessor("password"),i.hostname=generateSimpleAccessor("hostname"),i.port=generateSimpleAccessor("port"),i.query=generatePrefixAccessor("query","?"),i.fragment=generatePrefixAccessor("fragment","#"),i.search=function(t,e){var r=this.query(t,e);return"string"==typeof r&&r.length?"?"+r:r},i.hash=function(t,e){var r=this.fragment(t,e);return"string"==typeof r&&r.length?"#"+r:r},i.pathname=function(t,e){if(void 0===t||!0===t){var r=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?URI.decodeUrnPath:URI.decodePath)(r):r}return this._parts.urn?this._parts.path=t?URI.recodeUrnPath(t):"":this._parts.path=t?URI.recodePath(t):"/",this.build(!e),this},i.path=i.pathname,i.href=function(t,e){var r;if(void 0===t)return this.toString();this._string="",this._parts=URI._parts();var n=t instanceof URI,o="object"==typeof t&&(t.hostname||t.path||t.pathname);t.nodeName&&(t=t[URI.getDomAttribute(t)]||"",o=!1);if(!n&&o&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=URI.parse(String(t),this._parts);else{if(!n&&!o)throw new TypeError("invalid input");var i=n?t._parts:t;for(r in i)"query"!==r&&a.call(this._parts,r)&&(this._parts[r]=i[r]);i.query&&this.query(i.query,!1)}return this.build(!e),this},i.is=function(t){var e=!1,n=!1,o=!1,i=!1,a=!1,s=!1,c=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,n=URI.ip4_expression.test(this._parts.hostname),o=URI.ip6_expression.test(this._parts.hostname),a=(i=!(e=n||o))&&r&&r.has(this._parts.hostname),s=i&&URI.idn_expression.test(this._parts.hostname),c=i&&URI.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return u;case"absolute":return!u;case"domain":case"name":return i;case"sld":return a;case"ip":return e;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return o;case"idn":return s;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var u=i.protocol,l=i.port,p=i.hostname;i.protocol=function(t,e){if(t&&!(t=t.replace(/:(\/\/)?$/,"")).match(URI.protocol_expression))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return u.call(this,t,e)},i.scheme=i.protocol,i.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(":"===(t+="").charAt(0)&&(t=t.substring(1)),URI.ensureValidPort(t))),l.call(this,t,e))},i.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var r={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==URI.parseHost(t,r))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=r.hostname,this._parts.preventInvalidHostname&&URI.ensureValidHostname(t,this._parts.protocol)}return p.call(this,t,e)},i.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var r=this.protocol();return this.authority()?(r?r+"://":"")+this.authority():""}var n=URI(t);return this.protocol(n.protocol()).authority(n.authority()).build(!e),this},i.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?URI.buildHost(this._parts):"";if("/"!==URI.parseHost(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},i.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?URI.buildAuthority(this._parts):"";if("/"!==URI.parseAuthority(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},i.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var r=URI.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r}return"@"!==t[t.length-1]&&(t+="@"),URI.parseUserinfo(t,this._parts),this.build(!e),this},i.resource=function(t,e){var r;return void 0===t?this.path()+this.search()+this.hash():(r=URI.parse(t),this._parts.path=r.path,this._parts.query=r.query,this._parts.fragment=r.fragment,this.build(!e),this)},i.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||""}var n=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,n),i=new RegExp("^"+escapeRegEx(o));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");return t&&URI.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(i,t),this.build(!e),this},i.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.match(/\./g);if(r&&r.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(e).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!t)throw new TypeError("cannot set domain empty");if(-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(URI.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var o=new RegExp(escapeRegEx(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},i.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(n+1);return!0!==e&&r&&r.list[o.toLowerCase()]&&r.get(this._parts.hostname)||o}var i;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!r||!r.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');i=new RegExp(escapeRegEx(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(escapeRegEx(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},i.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var r=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,r)||(this._parts.hostname?"/":"");return t?URI.decodePath(n):n}var o=this._parts.path.length-this.filename().length,i=this._parts.path.substring(0,o),a=new RegExp("^"+escapeRegEx(i));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=URI.recodePath(t),this._parts.path=this._parts.path.replace(a,t),this.build(!e),this},i.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var r=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(r+1);return t?URI.decodePathSegment(n):n}var o=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(o=!0);var i=new RegExp(escapeRegEx(this.filename())+"$");return t=URI.recodePath(t),this._parts.path=this._parts.path.replace(i,t),o?this.normalizePath(e):this.build(!e),this},i.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path||"/"===this._parts.path)return"";var r,n,o=this.filename(),i=o.lastIndexOf(".");return-1===i?"":(r=o.substring(i+1),n=/^[a-z0-9%]+$/i.test(r)?r:"",t?URI.decodePathSegment(n):n)}"."===t.charAt(0)&&(t=t.substring(1));var a,s=this.suffix();if(s)a=t?new RegExp(escapeRegEx(s)+"$"):new RegExp(escapeRegEx("."+s)+"$");else{if(!t)return this;this._parts.path+="."+URI.recodePath(t)}return a&&(t=URI.recodePath(t),this._parts.path=this._parts.path.replace(a,t)),this.build(!e),this},i.segment=function(t,e,r){var n=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),a=o.split(n);if(void 0!==t&&"number"!=typeof t&&(r=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(i&&a.shift(),t<0&&(t=Math.max(a.length+t,0)),void 0===e)return void 0===t?a:a[t];if(null===t||void 0===a[t])if(isArray(e)){a=[];for(var s=0,c=e.length;s<c;s++)(e[s].length||a.length&&a[a.length-1].length)&&(a.length&&!a[a.length-1].length&&a.pop(),a.push(trimSlashes(e[s])))}else(e||"string"==typeof e)&&(e=trimSlashes(e),""===a[a.length-1]?a[a.length-1]=e:a.push(e));else e?a[t]=trimSlashes(e):a.splice(t,1);return i&&a.unshift(""),this.path(a.join(n),r)},i.segmentCoded=function(t,e,r){var n,o,i;if("number"!=typeof t&&(r=e,e=t,t=void 0),void 0===e){if(isArray(n=this.segment(t,e,r)))for(o=0,i=n.length;o<i;o++)n[o]=URI.decode(n[o]);else n=void 0!==n?URI.decode(n):void 0;return n}if(isArray(e))for(o=0,i=e.length;o<i;o++)e[o]=URI.encode(e[o]);else e="string"==typeof e||e instanceof String?URI.encode(e):e;return this.segment(t,e,r)};var f=i.query;return i.query=function(t,e){if(!0===t)return URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof t){var r=URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=t.call(this,r);return this._parts.query=URI.buildQuery(n||r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this}return void 0!==t&&"string"!=typeof t?(this._parts.query=URI.buildQuery(t,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this):f.call(this,t,e)},i.setQuery=function(t,e,r){var n=URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof t||t instanceof String)n[t]=void 0!==e?e:null;else{if("object"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in t)a.call(t,o)&&(n[o]=t[o])}return this._parts.query=URI.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(r=e),this.build(!r),this},i.addQuery=function(t,e,r){var n=URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return URI.addQuery(n,t,void 0===e?null:e),this._parts.query=URI.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(r=e),this.build(!r),this},i.removeQuery=function(t,e,r){var n=URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return URI.removeQuery(n,t,e),this._parts.query=URI.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(r=e),this.build(!r),this},i.hasQuery=function(t,e,r){var n=URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return URI.hasQuery(n,t,e,r)},i.setSearch=i.setQuery,i.addSearch=i.addQuery,i.removeSearch=i.removeQuery,i.hasSearch=i.hasQuery,i.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},i.normalizeProtocol=function(t){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!t)),this},i.normalizeHostname=function(r){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&e&&(this._parts.hostname=e.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!r)),this},i.normalizePort=function(t){return"string"==typeof this._parts.protocol&&this._parts.port===URI.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!t)),this},i.normalizePath=function(t){var e,r=this._parts.path;if(!r)return this;if(this._parts.urn)return this._parts.path=URI.recodeUrnPath(this._parts.path),this.build(!t),this;if("/"===this._parts.path)return this;var n,o,i="";for("/"!==(r=URI.recodePath(r)).charAt(0)&&(e=!0,r="/"+r),"/.."!==r.slice(-3)&&"/."!==r.slice(-2)||(r+="/"),r=r.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),e&&(i=r.substring(1).match(/^(\.\.\/)+/)||"")&&(i=i[0]);-1!==(n=r.search(/\/\.\.(\/|$)/));)0!==n?(-1===(o=r.substring(0,n).lastIndexOf("/"))&&(o=n),r=r.substring(0,o)+r.substring(n+3)):r=r.substring(3);return e&&this.is("relative")&&(r=i+r.substring(1)),this._parts.path=r,this.build(!t),this},i.normalizePathname=i.normalizePath,i.normalizeQuery=function(t){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(URI.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!t)),this},i.normalizeFragment=function(t){return this._parts.fragment||(this._parts.fragment=null,this.build(!t)),this},i.normalizeSearch=i.normalizeQuery,i.normalizeHash=i.normalizeFragment,i.iso8859=function(){var t=URI.encode,e=URI.decode;URI.encode=escape,URI.decode=decodeURIComponent;try{this.normalize()}finally{URI.encode=t,URI.decode=e}return this},i.unicode=function(){var t=URI.encode,e=URI.decode;URI.encode=strictEncodeURIComponent,URI.decode=unescape;try{this.normalize()}finally{URI.encode=t,URI.decode=e}return this},i.readable=function(){var e=this.clone();e.username("").password("").normalize();var r="";if(e._parts.protocol&&(r+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&t?(r+=t.toUnicode(e._parts.hostname),e._parts.port&&(r+=":"+e._parts.port)):r+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(r+="/"),r+=e.path(!0),e._parts.query){for(var n="",o=0,i=e._parts.query.split("&"),a=i.length;o<a;o++){var s=(i[o]||"").split("=");n+="&"+URI.decodeQuery(s[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==s[1]&&(n+="="+URI.decodeQuery(s[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}r+="?"+n.substring(1)}return r+=URI.decodeQuery(e.hash(),!0)},i.absoluteTo=function(t){var e,r,n,o=this.clone(),i=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t instanceof URI||(t=new URI(t)),o._parts.protocol)return o;if(o._parts.protocol=t._parts.protocol,this._parts.hostname)return o;for(r=0;n=i[r];r++)o._parts[n]=t._parts[n];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(e=(e=t.directory())||(0===t.path().indexOf("/")?"/":""),o._parts.path=(e?e+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=t._parts.path,o._parts.query||(o._parts.query=t._parts.query)),o.build(),o},i.relativeTo=function(t){var e,r,n,o,i,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t=new URI(t).normalize(),e=a._parts,r=t._parts,o=a.path(),i=t.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==i.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(e.protocol===r.protocol&&(e.protocol=null),e.username!==r.username||e.password!==r.password)return a.build();if(null!==e.protocol||null!==e.username||null!==e.password)return a.build();if(e.hostname!==r.hostname||e.port!==r.port)return a.build();if(e.hostname=null,e.port=null,o===i)return e.path="",a.build();if(!(n=URI.commonPath(o,i)))return a.build();var s=r.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return e.path=s+e.path.substring(n.length)||"./",a.build()},i.equals=function(t){var e,r,n,o,i,s=this.clone(),c=new URI(t),u={};if(s.normalize(),c.normalize(),s.toString()===c.toString())return!0;if(n=s.query(),o=c.query(),s.query(""),c.query(""),s.toString()!==c.toString())return!1;if(n.length!==o.length)return!1;for(i in e=URI.parseQuery(n,this._parts.escapeQuerySpace),r=URI.parseQuery(o,this._parts.escapeQuerySpace),e)if(a.call(e,i)){if(isArray(e[i])){if(!arraysEqual(e[i],r[i]))return!1}else if(e[i]!==r[i])return!1;u[i]=!0}for(i in r)if(a.call(r,i)&&!u[i])return!1;return!0},i.preventInvalidHostname=function(t){return this._parts.preventInvalidHostname=!!t,this},i.duplicateQueryParameters=function(t){return this._parts.duplicateQueryParameters=!!t,this},i.escapeQuerySpace=function(t){return this._parts.escapeQuerySpace=!!t,this},URI}))},function(t,e,r){"use strict";(function(t){var r=function(){if("undefined"!=typeof Map)return Map;function getIndex(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return(function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(t){var e=getIndex(this.__entries__,t),r=this.__entries__[e];return r&&r[1]},class_1.prototype.set=function(t,e){var r=getIndex(this.__entries__,t);~r?this.__entries__[r][1]=e:this.__entries__.push([t,e])},class_1.prototype.delete=function(t){var e=this.__entries__,r=getIndex(e,t);~r&&e.splice(r,1)},class_1.prototype.has=function(t){return!!~getIndex(this.__entries__,t)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];t.call(e,o[1],o[0])}},class_1}())}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function throttle(t,e){var r=!1,n=!1,o=0;function resolvePending(){r&&(r=!1,t()),n&&proxy()}function timeoutCallback(){i(resolvePending)}function proxy(){var t=Date.now();if(r){if(t-o<2)return;n=!0}else r=!0,n=!1,setTimeout(timeoutCallback,e);o=t}return proxy}(this.refresh.bind(this),20)}return ResizeObserverController.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},ResizeObserverController.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;a.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},getWindowOf=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},u=createRectInit(0,0,0,0);function toFloat(t){return parseFloat(t)||0}function getBordersSize(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+toFloat(t["border-"+r+"-width"])}),0)}function getHTMLElementContentRect(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return u;var n=getWindowOf(t).getComputedStyle(t),o=function getPaddings(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=t["padding-"+o];e[o]=toFloat(i)}return e}(n),i=o.left+o.right,a=o.top+o.bottom,s=toFloat(n.width),c=toFloat(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==e&&(s-=getBordersSize(n,"left","right")+i),Math.round(c+a)!==r&&(c-=getBordersSize(n,"top","bottom")+a)),!function isDocumentElement(t){return t===getWindowOf(t).document.documentElement}(t)){var l=Math.round(s+i)-e,p=Math.round(c+a)-r;1!==Math.abs(l)&&(s-=l),1!==Math.abs(p)&&(c-=p)}return createRectInit(o.left,o.top,s,c)}var l="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof getWindowOf(t).SVGGraphicsElement}:function(t){return t instanceof getWindowOf(t).SVGElement&&"function"==typeof t.getBBox};function getContentRect(t){return n?l(t)?function getSVGContentRect(t){var e=t.getBBox();return createRectInit(0,0,e.width,e.height)}(t):getHTMLElementContentRect(t):u}function createRectInit(t,e,r,n){return{x:t,y:e,width:r,height:n}}var p=function(){function ResizeObservation(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=t}return ResizeObservation.prototype.isActive=function(){var t=getContentRect(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},ResizeObservation}(),f=function f(t,e){var r=function createReadOnlyRect(t){var e=t.x,r=t.y,n=t.width,o=t.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return defineConfigurable(a,{x:e,y:r,width:n,height:o,top:r,right:e+n,bottom:o+r,left:e}),a}(e);defineConfigurable(this,{target:t,contentRect:r})},h=function(){function ResizeObserverSPI(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return ResizeObserverSPI.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof getWindowOf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new p(t)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof getWindowOf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new f(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),d="undefined"!=typeof WeakMap?new WeakMap:new r,v=function ResizeObserver(t){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=c.getInstance(),r=new h(t,e,this);d.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){v.prototype[t]=function(){var e;return(e=d.get(this))[t].apply(e,arguments)}}));var m=void 0!==o.ResizeObserver?o.ResizeObserver:v;e.a=m}).call(this,r(21))},function(t,e){function _typeof(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=_typeof=function _typeof(t){return typeof t}:t.exports=_typeof=function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}t.exports=_typeof},,,,,function(t,e){t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function _iterableToArrayLimit(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}},function(t,e){t.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function wrap(t,e,r,n){var o=e&&e.prototype instanceof Generator?e:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function makeInvokeMethod(t,e,r){var n="suspendedStart";return function invoke(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return doneResult()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=maybeInvokeDelegate(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=tryCatch(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=wrap;var s={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var c={};c[o]=function(){return this};var u=Object.getPrototypeOf,l=u&&u(u(values([])));l&&l!==e&&r.call(l,o)&&(c=l);var p=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function AsyncIterator(t){var e;this._invoke=function enqueue(n,o){function callInvokeWithMethodAndArg(){return new Promise((function(e,i){!function invoke(e,n,o,i){var a=tryCatch(t[e],t,n);if("throw"!==a.type){var s=a.arg,c=s.value;return c&&"object"==typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(t){invoke("next",t,o,i)}),(function(t){invoke("throw",t,o,i)})):Promise.resolve(c).then((function(t){s.value=t,o(s)}),(function(t){return invoke("throw",t,o,i)}))}i(a.arg)}(n,o,e,i)}))}return e=e?e.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,maybeInvokeDelegate(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=tryCatch(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function next(){for(;++n<t.length;)if(r.call(t,n))return next.value=t[n],next.done=!1,next;return next.value=void 0,next.done=!0,next};return i.next=i}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=p.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunctionPrototype[a]=GeneratorFunction.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(p),t},t.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[i]=function(){return this},t.AsyncIterator=AsyncIterator,t.async=function(e,r,n,o){var i=new AsyncIterator(wrap(e,r,n,o));return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},defineIteratorMethods(p),p[a]="Generator",p[o]=function(){return this},p.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function next(){for(;e.length;){var r=e.pop();if(r in t)return next.value=r,next.done=!1,next}return next.done=!0,next}},t.values=values,Context.prototype={constructor:Context,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function handle(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var a=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:values(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},,,function(t,e){t.exports=function(t){var e=[];return e.toString=function toString(){return this.map((function(e){var r=function cssWithMappingToString(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var o=function toComment(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(n),i=n.sources.map((function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"}));return[r].concat(i).concat([o]).join("\n")}return[r].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(t,e,r){var n,o,i={},a=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),getTarget=function(t,e){return e?e.querySelector(t):document.querySelector(t)},s=function(t){var e={};return function(t,r){if("function"==typeof t)return t();if(void 0===e[t]){var n=getTarget.call(this,t,r);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),c=null,u=0,l=[],p=r(83);function addStylesToDom(t,e){for(var r=0;r<t.length;r++){var n=t[r],o=i[n.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](n.parts[a]);for(;a<n.parts.length;a++)o.parts.push(addStyle(n.parts[a],e))}else{var s=[];for(a=0;a<n.parts.length;a++)s.push(addStyle(n.parts[a],e));i[n.id]={id:n.id,refs:1,parts:s}}}}function listToStyles(t,e){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};n[a]?n[a].parts.push(s):r.push(n[a]={id:a,parts:[s]})}return r}function insertStyleElement(t,e){var r=s(t.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=l[l.length-1];if("top"===t.insertAt)n?n.nextSibling?r.insertBefore(e,n.nextSibling):r.appendChild(e):r.insertBefore(e,r.firstChild),l.push(e);else if("bottom"===t.insertAt)r.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(t.insertAt.before,r);r.insertBefore(e,o)}}function removeStyleElement(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function createStyleElement(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function getNonce(){0;return r.nc}();n&&(t.attrs.nonce=n)}return addAttrs(e,t.attrs),insertStyleElement(t,e),e}function addAttrs(t,e){Object.keys(e).forEach((function(r){t.setAttribute(r,e[r])}))}function addStyle(t,e){var r,n,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var a=u++;r=c||(c=createStyleElement(e)),n=applyToSingletonTag.bind(null,r,a,!1),o=applyToSingletonTag.bind(null,r,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function createLinkElement(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",addAttrs(e,t.attrs),insertStyleElement(t,e),e}(e),n=updateLink.bind(null,r,e),o=function(){removeStyleElement(r),r.href&&URL.revokeObjectURL(r.href)}):(r=createStyleElement(e),n=applyToTag.bind(null,r),o=function(){removeStyleElement(r)});return n(t),function updateStyle(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var r=listToStyles(t,e);return addStylesToDom(r,e),function update(t){for(var n=[],o=0;o<r.length;o++){var a=r[o];(s=i[a.id]).refs--,n.push(s)}t&&addStylesToDom(listToStyles(t,e),e);for(o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var f,h=(f=[],function(t,e){return f[t]=e,f.filter(Boolean).join("\n")});function applyToSingletonTag(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=h(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function applyToTag(t,e){var r=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}function updateLink(t,e,r){var n=r.css,o=r.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(n=p(n)),o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var r=e.protocol+"//"+e.host,n=r+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?r+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(t,e,r){!function(){"use strict";function applyFocusVisiblePolyfill(t){var e=!0,r=!1,n=null,o={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function isValidFocusTarget(t){return!!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function addFocusVisibleClass(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""))}function onPointerDown(t){e=!1}function addInitialPointerMoveListeners(){document.addEventListener("mousemove",onInitialPointerMove),document.addEventListener("mousedown",onInitialPointerMove),document.addEventListener("mouseup",onInitialPointerMove),document.addEventListener("pointermove",onInitialPointerMove),document.addEventListener("pointerdown",onInitialPointerMove),document.addEventListener("pointerup",onInitialPointerMove),document.addEventListener("touchmove",onInitialPointerMove),document.addEventListener("touchstart",onInitialPointerMove),document.addEventListener("touchend",onInitialPointerMove)}function onInitialPointerMove(t){t.target.nodeName&&"html"===t.target.nodeName.toLowerCase()||(e=!1,function removeInitialPointerMoveListeners(){document.removeEventListener("mousemove",onInitialPointerMove),document.removeEventListener("mousedown",onInitialPointerMove),document.removeEventListener("mouseup",onInitialPointerMove),document.removeEventListener("pointermove",onInitialPointerMove),document.removeEventListener("pointerdown",onInitialPointerMove),document.removeEventListener("pointerup",onInitialPointerMove),document.removeEventListener("touchmove",onInitialPointerMove),document.removeEventListener("touchstart",onInitialPointerMove),document.removeEventListener("touchend",onInitialPointerMove)}())}document.addEventListener("keydown",(function onKeyDown(r){r.metaKey||r.altKey||r.ctrlKey||(isValidFocusTarget(t.activeElement)&&addFocusVisibleClass(t.activeElement),e=!0)}),!0),document.addEventListener("mousedown",onPointerDown,!0),document.addEventListener("pointerdown",onPointerDown,!0),document.addEventListener("touchstart",onPointerDown,!0),document.addEventListener("visibilitychange",(function onVisibilityChange(t){"hidden"===document.visibilityState&&(r&&(e=!0),addInitialPointerMoveListeners())}),!0),addInitialPointerMoveListeners(),t.addEventListener("focus",(function onFocus(t){isValidFocusTarget(t.target)&&(e||function focusTriggersKeyboardModality(t){var e=t.type,r=t.tagName;return!("INPUT"!==r||!o[e]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable}(t.target))&&addFocusVisibleClass(t.target)}),!0),t.addEventListener("blur",(function onBlur(t){isValidFocusTarget(t.target)&&(t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(n),n=window.setTimeout((function(){r=!1}),100),function removeFocusVisibleClass(t){t.hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added"))}(t.target))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute("data-js-focus-visible",""):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=applyFocusVisiblePolyfill;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&applyFocusVisiblePolyfill(document)}()},function(t,e,r){var n=r(41),o=r(44),i=r(115),a=r(117),s=r(3),c=r(9),u=r(54);t.exports=function baseMerge(t,e,r,l,p){t!==e&&i(e,(function(i,c){if(p||(p=new n),s(i))a(t,e,c,r,baseMerge,l,p);else{var f=l?l(u(t,c),i,c+"",t,e,p):void 0;void 0===f&&(f=i),o(t,c,f)}}),c)}},function(t,e){t.exports=function listCacheClear(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function listCacheDelete(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function listCacheGet(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function listCacheHas(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function listCacheSet(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function stackClear(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function stackDelete(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function stackGet(t){return this.__data__.get(t)}},function(t,e){t.exports=function stackHas(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(22),i=r(102);t.exports=function stackSet(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(23),o=r(99),i=r(3),a=r(43),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function baseIsNative(t){return!(!i(t)||o(t))&&(n(t)?f:s).test(a(t))}},function(t,e,r){var n=r(24),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;t.exports=function getRawTag(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[s]=r:delete t[s]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function objectToString(t){return r.call(t)}},function(t,e,r){var n,o=r(100),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function isMasked(t){return!!i&&i in t}},function(t,e,r){var n=r(2)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function getValue(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(103),o=r(110),i=r(112),a=r(113),s=r(114);function MapCache(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}MapCache.prototype.clear=n,MapCache.prototype.delete=o,MapCache.prototype.get=i,MapCache.prototype.has=a,MapCache.prototype.set=s,t.exports=MapCache},function(t,e,r){var n=r(104),o=r(11),i=r(22);t.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(105),o=r(106),i=r(107),a=r(108),s=r(109);function Hash(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Hash.prototype.clear=n,Hash.prototype.delete=o,Hash.prototype.get=i,Hash.prototype.has=a,Hash.prototype.set=s,t.exports=Hash},function(t,e,r){var n=r(14);t.exports=function hashClear(){this.__data__=n?n(null):{},this.size=0}},function(t,e){t.exports=function hashDelete(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function hashGet(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function hashHas(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(14);t.exports=function hashSet(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,r){var n=r(15);t.exports=function mapCacheDelete(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function isKeyable(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(15);t.exports=function mapCacheGet(t){return n(this,t).get(t)}},function(t,e,r){var n=r(15);t.exports=function mapCacheHas(t){return n(this,t).has(t)}},function(t,e,r){var n=r(15);t.exports=function mapCacheSet(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e,r){var n=r(116)();t.exports=n},function(t,e){t.exports=function createBaseFor(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===r(i[c],c,i))break}return e}}},function(t,e,r){var n=r(44),o=r(46),i=r(47),a=r(48),s=r(49),c=r(51),u=r(16),l=r(121),p=r(29),f=r(23),h=r(3),d=r(123),v=r(53),m=r(54),g=r(125);t.exports=function baseMergeDeep(t,e,r,y,b,_,w){var I=m(t,r),x=m(e,r),R=w.get(x);if(R)n(t,r,R);else{var U=_?_(I,x,r+"",t,e,w):void 0,j=void 0===U;if(j){var A=u(x),E=!A&&p(x),k=!A&&!E&&v(x);U=x,A||E||k?u(I)?U=I:l(I)?U=a(I):E?(j=!1,U=o(x,!0)):k?(j=!1,U=i(x,!0)):U=[]:d(x)||c(x)?(U=I,c(I)?U=g(I):h(I)&&!f(I)||(U=s(x))):j=!1}j&&(w.set(x,U),b(U,x,y,_,w),w.delete(x)),n(t,r,U)}}},function(t,e,r){var n=r(2).Uint8Array;t.exports=n},function(t,e,r){var n=r(3),o=Object.create,i=function(){function object(){}return function(t){if(!n(t))return{};if(o)return o(t);object.prototype=t;var e=new object;return object.prototype=void 0,e}}();t.exports=i},function(t,e,r){var n=r(7),o=r(5);t.exports=function baseIsArguments(t){return o(t)&&"[object Arguments]"==n(t)}},function(t,e,r){var n=r(17),o=r(5);t.exports=function isArrayLikeObject(t){return o(t)&&n(t)}},function(t,e){t.exports=function stubFalse(){return!1}},function(t,e,r){var n=r(7),o=r(27),i=r(5),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function isPlainObject(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=u.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},function(t,e,r){var n=r(7),o=r(52),i=r(5),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function baseIsTypedArray(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,e,r){var n=r(8),o=r(9);t.exports=function toPlainObject(t){return n(t,o(t))}},function(t,e){t.exports=function baseTimes(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){var n=r(3),o=r(28),i=r(128),a=Object.prototype.hasOwnProperty;t.exports=function baseKeysIn(t){if(!n(t))return i(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&r.push(s);return r}},function(t,e){t.exports=function nativeKeysIn(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},function(t,e,r){var n=r(130),o=r(137);t.exports=function createAssigner(t){return n((function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var c=r[n];c&&t(e,c,n,a)}return e}))}},function(t,e,r){var n=r(58),o=r(131),i=r(133);t.exports=function baseRest(t,e){return i(o(t,e,n),t+"")}},function(t,e,r){var n=r(132),o=Math.max;t.exports=function overRest(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=r(c),n(t,this,u)}}},function(t,e){t.exports=function apply(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(134),o=r(136)(n);t.exports=o},function(t,e,r){var n=r(135),o=r(45),i=r(58),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function constant(t){return function(){return t}}},function(t,e){var r=Date.now;t.exports=function shortOut(t){var e=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(13),o=r(17),i=r(57),a=r(3);t.exports=function isIterateeCall(t,e,r){if(!a(r))return!1;var s=typeof e;return!!("number"==s?o(r)&&i(e,r.length):"string"==s&&e in r)&&n(r[e],t)}},function(t,e,r){var n=r(41),o=r(139),i=r(55),a=r(140),s=r(143),c=r(46),u=r(48),l=r(144),p=r(146),f=r(147),h=r(148),d=r(34),v=r(153),m=r(154),g=r(49),y=r(16),b=r(29),_=r(158),w=r(3),I=r(160),x=r(32),R=r(9),U={};U["[object Arguments]"]=U["[object Array]"]=U["[object ArrayBuffer]"]=U["[object DataView]"]=U["[object Boolean]"]=U["[object Date]"]=U["[object Float32Array]"]=U["[object Float64Array]"]=U["[object Int8Array]"]=U["[object Int16Array]"]=U["[object Int32Array]"]=U["[object Map]"]=U["[object Number]"]=U["[object Object]"]=U["[object RegExp]"]=U["[object Set]"]=U["[object String]"]=U["[object Symbol]"]=U["[object Uint8Array]"]=U["[object Uint8ClampedArray]"]=U["[object Uint16Array]"]=U["[object Uint32Array]"]=!0,U["[object Error]"]=U["[object Function]"]=U["[object WeakMap]"]=!1,t.exports=function baseClone(t,e,r,j,A,E){var k,O=1&e,S=2&e,P=4&e;if(r&&(k=A?r(t,j,A,E):r(t)),void 0!==k)return k;if(!w(t))return t;var z=y(t);if(z){if(k=v(t),!O)return u(t,k)}else{var C=d(t),T="[object Function]"==C||"[object GeneratorFunction]"==C;if(b(t))return c(t,O);if("[object Object]"==C||"[object Arguments]"==C||T&&!A){if(k=S||T?{}:g(t),!O)return S?p(t,s(k,t)):l(t,a(k,t))}else{if(!U[C])return A?t:{};k=m(t,C,O)}}E||(E=new n);var L=E.get(t);if(L)return L;E.set(t,k),I(t)?t.forEach((function(n){k.add(baseClone(n,e,r,n,t,E))})):_(t)&&t.forEach((function(n,o){k.set(o,baseClone(n,e,r,o,t,E))}));var F=z?void 0:(P?S?h:f:S?R:x)(t);return o(F||t,(function(n,o){F&&(n=t[o=n]),i(k,o,baseClone(n,e,r,o,t,E))})),k}},function(t,e){t.exports=function arrayEach(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},function(t,e,r){var n=r(8),o=r(32);t.exports=function baseAssign(t,e){return t&&n(e,o(e),t)}},function(t,e,r){var n=r(28),o=r(142),i=Object.prototype.hasOwnProperty;t.exports=function baseKeys(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e,r){var n=r(50)(Object.keys,Object);t.exports=n},function(t,e,r){var n=r(8),o=r(9);t.exports=function baseAssignIn(t,e){return t&&n(e,o(e),t)}},function(t,e,r){var n=r(8),o=r(33);t.exports=function copySymbols(t,e){return n(t,o(t),e)}},function(t,e){t.exports=function arrayFilter(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},function(t,e,r){var n=r(8),o=r(60);t.exports=function copySymbolsIn(t,e){return n(t,o(t),e)}},function(t,e,r){var n=r(62),o=r(33),i=r(32);t.exports=function getAllKeys(t){return n(t,i,o)}},function(t,e,r){var n=r(62),o=r(60),i=r(9);t.exports=function getAllKeysIn(t){return n(t,i,o)}},function(t,e,r){var n=r(4)(r(2),"DataView");t.exports=n},function(t,e,r){var n=r(4)(r(2),"Promise");t.exports=n},function(t,e,r){var n=r(4)(r(2),"Set");t.exports=n},function(t,e,r){var n=r(4)(r(2),"WeakMap");t.exports=n},function(t,e){var r=Object.prototype.hasOwnProperty;t.exports=function initCloneArray(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&r.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},function(t,e,r){var n=r(26),o=r(155),i=r(156),a=r(157),s=r(47);t.exports=function initCloneByTag(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return i(t);case"[object Set]":return new c;case"[object Symbol]":return a(t)}}},function(t,e,r){var n=r(26);t.exports=function cloneDataView(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},function(t,e){var r=/\w*$/;t.exports=function cloneRegExp(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}},function(t,e,r){var n=r(24),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function cloneSymbol(t){return i?Object(i.call(t)):{}}},function(t,e,r){var n=r(159),o=r(30),i=r(31),a=i&&i.isMap,s=a?o(a):n;t.exports=s},function(t,e,r){var n=r(34),o=r(5);t.exports=function baseIsMap(t){return o(t)&&"[object Map]"==n(t)}},function(t,e,r){var n=r(161),o=r(30),i=r(31),a=i&&i.isSet,s=a?o(a):n;t.exports=s},function(t,e,r){var n=r(34),o=r(5);t.exports=function baseIsSet(t){return o(t)&&"[object Set]"==n(t)}}]]);