text: (function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s="1586")})({0:function(t,e){},"0124":function(t,e,n){var r=n("0d63"),i=n("ab8c");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},"012b":function(t,e,n){n("bdd5"),t.exports=n("a06f").Object.entries},"01d0":function(t,e){var n=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return i[this.type]||i.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(t){var e=r[t];Object.defineProperty(n,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},"01d3":function(t,e,n){var r=n("c9eb"),i=n("d941");t.exports=function(t){var e=t.xdomain,n=t.xscheme,o=t.enablesXDR;try{if("undefined"!==typeof XMLHttpRequest&&(!e||r))return new XMLHttpRequest}catch(s){}try{if("undefined"!==typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(s){}if(!e)try{return new(i[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(s){}}},"0299":function(t,e,n){"use strict";var r,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),o=64,s={},a=0,c=0;function l(t){var e="";do{e=i[t%o]+e,t=Math.floor(t/o)}while(t>0);return e}function u(t){var e=0;for(c=0;c<t.length;c++)e=e*o+s[t.charAt(c)];return e}function h(){var t=l(+new Date);return t!==r?(a=0,r=t):t+"."+l(a++)}for(;c<o;c++)s[i[c]]=c;h.encode=l,h.decode=u,t.exports=h},"02cc":function(t,e,n){e=t.exports=n("53a3"),e.version=n("205b").version},"02d3":function(t,e,n){"use strict";var r=n("0d63"),i=n("42ee"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("60fa")(o,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},"0365":function(t,e,n){var r=n("0d63"),i=n("70be");r(r.G+r.F*(parseInt!=i),{parseInt:i})},"0370":function(t,e,n){var r=n("0d63");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"03cd":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,n){"use strict";function r(){var t=document.documentElement;return"requestFullscreen"in t||"mozRequestFullScreen"in t&&document.mozFullScreenEnabled||"msRequestFullscreen"in t&&document.msFullscreenEnabled||"webkitRequestFullScreen"in t}function i(){return!!(document.fullscreen||document.mozFullScreen||document.fullscreenElement||document.msFullscreenElement||document.webkitIsFullScreen)}function o(t){t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():console.log("Fullscreen API is not supported.")}function s(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():console.log("Fullscreen API is not supported.")}function a(t){document.addEventListener("fullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t),document.addEventListener("webkitfullscreenchange",t)}function c(t){document.removeEventListener("fullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t),document.removeEventListener("webkitfullscreenchange",t)}function l(){var t={},e=!1,n=0,r=arguments.length;for("[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],n++);n<r;n++){var i=arguments[n];!function(n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e&&"[object Object]"===Object.prototype.toString.call(n[r])?t[r]=l(!0,t[r],n[r]):t[r]=n[r])}(i)}return t}e.b=r,e.c=i,e.g=o,e.d=s,e.f=a,e.e=c,e.a=l},function(t,e,n){"use strict";function r(){return n.i(a.c)()}function i(t,e,n){l&&(void 0===n?r()?s():o(t,e):n?o(t,e):s())}function o(){function t(){var e=r();e||(n.i(a.e)(t),o.classList.remove(i.fullscreenClass),i.wrap&&(s.parentNode.insertBefore(o,s),s.parentNode.removeChild(s))),i.callback&&i.callback(e)}var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,i=arguments[1];if(l&&!r()){i=n.i(a.a)(!0,{},c,i),e===document.body&&(i.wrap=!1);var o=e,s=void 0;i.wrap&&(s=document.createElement("div"),s.style["overflow-y"]="auto",s.style.background=i.background,s.style.width="100%",s.style.height="100%",o.parentNode.insertBefore(s,o),s.appendChild(o),i.exitOnClickWrapper&&s.addEventListener("click",(function(t){t.target===this&&n.i(a.d)()}))),o.classList.add(i.fullscreenClass),n.i(a.f)(t),n.i(a.g)(i.wrap?s:o)}}function s(){l&&r()&&n.i(a.d)()}var a=n(0),c={wrap:!0,exitOnClickWrapper:!0,background:"#333",callback:function(){},fullscreenClass:"fullscreen"},l=n.i(a.b)();e.a={getState:r,support:l,toggle:i,enter:o,exit:s}},function(t,e,n){var r=n(5)(n(4),n(6),null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n.n(r),o=n(1),s=n(0);e.default={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.name||"fullscreen";t.component(r,n.i(s.a)(i.a,{name:r})),t.prototype["$"+r]=o.a}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0);e.default={props:{exitOnClickWrapper:{type:Boolean,default:!0},background:{type:String,default:"#333"},fullscreenClass:{type:String,default:"fullscreen"},fullscreen:{type:Boolean,default:!1},pageOnly:{type:Boolean,default:!1}},data:function(){return{support:!1,isFullscreen:!1}},computed:{isPageOnly:function(){return this.pageOnly||!this.support},wrapperClass:function(){var t=[];return this.isFullscreen&&t.push(this.fullscreenClass),t},wrapperStyle:function(){var t={};return this.isFullscreen&&(t={background:this.background,"overflow-y":"auto",width:"100%",height:"100%"},this.isPageOnly&&(t.position="fixed !important",t["z-index"]="100000 !important",t.left="0",t.top="0",t.width="100% !important",t.height="100% !important")),t}},methods:{toggle:function(t){void 0===t?this.getState()?this.exit():this.enter():t?this.enter():this.exit()},enter:function(){this.isPageOnly?(this.isFullscreen=!0,this.onChangeFullScreen()):(n.i(r.f)(this.fullScreenCallback),n.i(r.g)(this.$el))},exit:function(){this.getState()&&(this.isPageOnly?(this.isFullscreen=!1,this.onChangeFullScreen()):n.i(r.d)())},getState:function(){return this.isPageOnly?this.isFullscreen:n.i(r.c)()},shadeClick:function(t){t.target===this.$el&&this.exitOnClickWrapper&&this.exit()},fullScreenCallback:function(){this.isFullscreen=n.i(r.c)(),this.isFullscreen||n.i(r.e)(this.fullScreenCallback),this.onChangeFullScreen()},onChangeFullScreen:function(){this.$emit("change",this.isFullscreen),this.$emit("update:fullscreen",this.isFullscreen)}},watch:{fullscreen:function(t){t!==n.i(r.c)()&&(t?this.enter():this.exit())}},created:function(){this.support=n.i(r.b)()}}},function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,o=t.default);var a="function"==typeof o?o.options:o;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),r){var c=Object.create(a.computed||null);Object.keys(r).forEach((function(t){var e=r[t];c[t]=function(){return e}})),a.computed=c}return{esModule:i,exports:o,options:a}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.wrapperClass,style:t.wrapperStyle,on:{click:function(e){return t.shadeClick(e)}}},[t._t("default")],2)},staticRenderFns:[]}}])}))},"03e6":function(t,e,n){},"0451":function(t,e,n){n("933e")("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"051a":function(t,e,n){var r=a(n("64b2")),i=c(r);e.XML=p(r,i);var o=a(n("f0f2")),s=c(o);function a(t){return Object.keys(t).sort().reduce((function(e,n){return e[t[n]]="&"+n+";",e}),{})}function c(t){var e=[],n=[];return Object.keys(t).forEach((function(t){1===t.length?e.push("\\"+t):n.push(t)})),n.unshift("["+e.join("")+"]"),new RegExp(n.join("|"),"g")}e.HTML=p(o,s);var l=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function h(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}function f(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=1024*(e-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}function p(t,e){function n(e){return t[e]}return function(t){return t.replace(e,n).replace(u,f).replace(l,h)}}var d=c(r);function g(t){return t.replace(d,h).replace(u,f).replace(l,h)}e.escape=g},"05af":function(t,e,n){var r=n("0d63"),i=n("51ac"),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){var e,n=[],r=arguments.length,s=0;while(r>s){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},"0882":function(t,e,n){(function(e){var r,i,o=n("19b7"),s=n("5a6e"),a=n("4f2a"),c=n("62fa"),l=n("0299"),u=n("34eb")("engine.io-client:websocket");if("undefined"!==typeof WebSocket?r=WebSocket:"undefined"!==typeof self&&(r=self.WebSocket||self.MozWebSocket),"undefined"===typeof window)try{i=n(1)}catch(p){}var h=r||i;function f(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=r&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(h=i),o.call(this,t)}t.exports=f,c(f,o),f.prototype.name="websocket",f.prototype.supportsBinary=!0,f.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new h(t,e):new h(t):new h(t,e,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},f.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},f.prototype.write=function(t){var n=this;this.writable=!1;for(var r=t.length,i=0,o=r;i<o;i++)(function(t){s.encodePacket(t,n.supportsBinary,(function(i){if(!n.usingBrowserWebSocket){var o={};if(t.options&&(o.compress=t.options.compress),n.perMessageDeflate){var s="string"===typeof i?e.byteLength(i):i.length;s<n.perMessageDeflate.threshold&&(o.compress=!1)}}try{n.usingBrowserWebSocket?n.ws.send(i):n.ws.send(i,o)}catch(p){u("websocket closed before onclose event")}--r||a()}))})(t[i]);function a(){n.emit("flush"),setTimeout((function(){n.writable=!0,n.emit("drain")}),0)}},f.prototype.onClose=function(){o.prototype.onClose.call(this)},f.prototype.doClose=function(){"undefined"!==typeof this.ws&&this.ws.close()},f.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";this.port&&("wss"===e&&443!==Number(this.port)||"ws"===e&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=l()),this.supportsBinary||(t.b64=1),t=a.encode(t),t.length&&(t="?"+t);var r=-1!==this.hostname.indexOf(":");return e+"://"+(r?"["+this.hostname+"]":this.hostname)+n+this.path+t},f.prototype.check=function(){return!!h&&!("__initialize"in h&&this.name===f.prototype.name)}}).call(this,n("b639").Buffer)},"0949":function(t,e,n){var r=n("19b7"),i=n("4f2a"),o=n("5a6e"),s=n("62fa"),a=n("0299"),c=n("34eb")("engine.io-client:polling");t.exports=u;var l=function(){var t=n("01d3"),e=new t({xdomain:!1});return null!=e.responseType}();function u(t){var e=t&&t.forceBase64;l&&!e||(this.supportsBinary=!1),r.call(this,t)}s(u,r),u.prototype.name="polling",u.prototype.doOpen=function(){this.poll()},u.prototype.pause=function(t){var e=this;function n(){c("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(c("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){c("pre-pause polling complete"),--r||n()}))),this.writable||(c("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){c("pre-pause writing complete"),--r||n()})))}else n()},u.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},u.prototype.onData=function(t){var e=this;c("polling got data %s",t);var n=function(t,n,r){if("opening"===e.readyState&&"open"===t.type&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)};o.decodePayload(t,this.socket.binaryType,n),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},u.prototype.doClose=function(){var t=this;function e(){c("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(c("transport open - closing"),e()):(c("transport not open - deferring close"),this.once("open",e))},u.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};o.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},u.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t);var r=-1!==this.hostname.indexOf(":");return e+"://"+(r?"["+this.hostname+"]":this.hostname)+n+this.path+t}},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),s=n("5270"),a=n("4a7b");function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[s,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=c},"0a5e":function(t,e,n){var r=n("0949"),i=n("62fa"),o=n("d941");t.exports=u;var s,a=/\n/g,c=/\\n/g;function l(){}function u(t){r.call(this,t),this.query=this.query||{},s||(s=o.___eio=o.___eio||[]),this.index=s.length;var e=this;s.push((function(t){e.onData(t)})),this.query.j=this.index,"function"===typeof addEventListener&&addEventListener("beforeunload",(function(){e.script&&(e.script.onerror=l)}),!1)}i(u,r),u.prototype.supportsBinary=!1,u.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),r.prototype.doClose.call(this)},u.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e;var r="undefined"!==typeof navigator&&/gecko/i.test(navigator.userAgent);r&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},u.prototype.doWrite=function(t,e){var n=this;if(!this.form){var r,i=document.createElement("form"),o=document.createElement("textarea"),s=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=s,i.method="POST",i.setAttribute("accept-charset","utf-8"),o.name="d",i.appendChild(o),document.body.appendChild(i),this.form=i,this.area=o}function l(){u(),e()}function u(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{var t='<iframe src="javascript:0" name="'+n.iframeId+'">';r=document.createElement(t)}catch(e){r=document.createElement("iframe"),r.name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),u(),t=t.replace(c,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&l()}:this.iframe.onload=l}},"0a7d":function(t,e,n){var r=n("42ee"),i=n("7480"),o=n("9336")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},"0b64":function(t,e){function n(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},"0c52":function(t,e,n){n("933e")("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"0d63":function(t,e,n){var r=n("255a"),i=n("a06f"),o=n("c3fa"),s=n("bd47"),a=n("d401"),c="prototype",l=function(t,e,n){var u,h,f,p,d=t&l.F,g=t&l.G,v=t&l.S,m=t&l.P,y=t&l.B,b=g?r:v?r[e]||(r[e]={}):(r[e]||{})[c],w=g?i:i[e]||(i[e]={}),_=w[c]||(w[c]={});for(u in g&&(n=e),n)h=!d&&b&&void 0!==b[u],f=(h?b:n)[u],p=y&&h?a(f,r):m&&"function"==typeof f?a(Function.call,f):f,b&&s(b,u,f,t&l.U),w[u]!=f&&o(w,u,p),m&&_[u]!=f&&(_[u]=f)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"0db4":function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,l=9007199254740991,u="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",m="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/^\./,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,V={};V[A]=V[O]=V[P]=V[R]=V[L]=V[I]=V[M]=V[j]=V[B]=!0,V[u]=V[h]=V[C]=V[f]=V[k]=V[p]=V[d]=V[g]=V[m]=V[y]=V[b]=V[_]=V[x]=V[S]=V[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,Z=W||G||Function("return this")(),X=e&&!e.nodeType&&e,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,K=Y&&Y.exports===X,J=K&&W.process,Q=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function st(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lt(t,e){return function(n){return t(e(n))}}function ut(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ht=Array.prototype,ft=Function.prototype,pt=Object.prototype,dt=Z["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=ft.toString,mt=pt.hasOwnProperty,yt=pt.toString,bt=RegExp("^"+vt.call(mt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wt=Z.Symbol,_t=Z.Uint8Array,xt=pt.propertyIsEnumerable,St=ht.splice,Tt=lt(Object.keys,Object),Et=He(Z,"DataView"),Ct=He(Z,"Map"),kt=He(Z,"Promise"),At=He(Z,"Set"),Ot=He(Z,"WeakMap"),Pt=He(Object,"create"),Rt=Je(Et),Lt=Je(Ct),It=Je(kt),Mt=Je(At),jt=Je(Ot),Bt=wt?wt.prototype:void 0,Dt=Bt?Bt.valueOf:void 0,Nt=Bt?Bt.toString:void 0;function Ft(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ht(){this.__data__=Pt?Pt(null):{}}function zt(t){return this.has(t)&&delete this.__data__[t]}function $t(t){var e=this.__data__;if(Pt){var n=e[t];return n===o?void 0:n}return mt.call(e,t)?e[t]:void 0}function Ut(t){var e=this.__data__;return Pt?void 0!==e[t]:mt.call(e,t)}function qt(t,e){var n=this.__data__;return n[t]=Pt&&void 0===e?o:e,this}function Vt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Gt(t){var e=this.__data__,n=pe(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():St.call(e,n,1),!0}function Zt(t){var e=this.__data__,n=pe(e,t);return n<0?void 0:e[n][1]}function Xt(t){return pe(this.__data__,t)>-1}function Yt(t,e){var n=this.__data__,r=pe(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Kt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Jt(){this.__data__={hash:new Ft,map:new(Ct||Vt),string:new Ft}}function Qt(t){return Ne(this,t)["delete"](t)}function te(t){return Ne(this,t).get(t)}function ee(t){return Ne(this,t).has(t)}function ne(t,e){return Ne(this,t).set(t,e),this}function re(t){var e=-1,n=t?t.length:0;this.__data__=new Kt;while(++e<n)this.add(t[e])}function ie(t){return this.__data__.set(t,o),this}function oe(t){return this.__data__.has(t)}function se(t){this.__data__=new Vt(t)}function ae(){this.__data__=new Vt}function ce(t){return this.__data__["delete"](t)}function le(t){return this.__data__.get(t)}function ue(t){return this.__data__.has(t)}function he(t,e){var n=this.__data__;if(n instanceof Vt){var i=n.__data__;if(!Ct||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Kt(i)}return n.set(t,e),this}function fe(t,e){var n=on(t)||rn(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function pe(t,e){var n=t.length;while(n--)if(nn(t[n][0],e))return n;return-1}Ft.prototype.clear=Ht,Ft.prototype["delete"]=zt,Ft.prototype.get=$t,Ft.prototype.has=Ut,Ft.prototype.set=qt,Vt.prototype.clear=Wt,Vt.prototype["delete"]=Gt,Vt.prototype.get=Zt,Vt.prototype.has=Xt,Vt.prototype.set=Yt,Kt.prototype.clear=Jt,Kt.prototype["delete"]=Qt,Kt.prototype.get=te,Kt.prototype.has=ee,Kt.prototype.set=ne,re.prototype.add=re.prototype.push=ie,re.prototype.has=oe,se.prototype.clear=ae,se.prototype["delete"]=ce,se.prototype.get=le,se.prototype.has=ue,se.prototype.set=he;var de=Ie(me);function ge(t,e){var n=[];return de(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}var ve=Me();function me(t,e){return t&&ve(t,e,mn)}function ye(t,e){e=qe(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ke(e[n++])];return n&&n==r?t:void 0}function be(t){return yt.call(t)}function we(t,e){return null!=t&&e in Object(t)}function _e(t,e,n,r,i){return t===e||(null==t||null==e||!un(t)&&!hn(e)?t!==t&&e!==e:xe(t,e,_e,n,r,i))}function xe(t,e,n,r,i,o){var s=on(t),c=on(e),l=h,f=h;s||(l=ze(t),l=l==u?b:l),c||(f=ze(e),f=f==u?b:f);var p=l==b&&!at(t),d=f==b&&!at(e),g=l==f;if(g&&!p)return o||(o=new se),s||pn(t)?je(t,e,n,r,i,o):Be(t,e,l,n,r,i,o);if(!(i&a)){var v=p&&mt.call(t,"__wrapped__"),m=d&&mt.call(e,"__wrapped__");if(v||m){var y=v?t.value():t,w=m?e.value():e;return o||(o=new se),n(y,w,r,i,o)}}return!!g&&(o||(o=new se),De(t,e,n,r,i,o))}function Se(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var l=n[i];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++i<o){l=n[i];var u=l[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new se;if(r)var d=r(h,f,u,t,e,p);if(!(void 0===d?_e(f,h,r,s|a,p):d))return!1}}return!0}function Te(t){if(!un(t)||We(t))return!1;var e=cn(t)||at(t)?bt:U;return e.test(Je(t))}function Ee(t){return hn(t)&&ln(t.length)&&!!V[yt.call(t)]}function Ce(t){return"function"==typeof t?t:null==t?yn:"object"==typeof t?on(t)?Oe(t[0],t[1]):Ae(t):bn(t)}function ke(t){if(!Ge(t))return Tt(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ae(t){var e=Fe(t);return 1==e.length&&e[0][2]?Xe(e[0][0],e[0][1]):function(n){return n===t||Se(n,t,e)}}function Oe(t,e){return qe(t)&&Ze(e)?Xe(Ke(t),e):function(n){var r=gn(n,t);return void 0===r&&r===e?vn(n,t):_e(e,r,void 0,s|a)}}function Pe(t){return function(e){return ye(e,t)}}function Re(t){if("string"==typeof t)return t;if(fn(t))return Nt?Nt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return on(t)?t:Ye(t)}function Ie(t,e){return function(n,r){if(null==n)return n;if(!sn(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Me(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,l=t.length,u=e.length;if(l!=u&&!(c&&u>l))return!1;var h=o.get(t);if(h&&o.get(e))return h==e;var f=-1,p=!0,d=i&s?new re:void 0;o.set(t,e),o.set(e,t);while(++f<l){var g=t[f],v=e[f];if(r)var m=c?r(v,g,f,e,t,o):r(g,v,f,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!nt(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function Be(t,e,n,r,i,o,c){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new _t(t),new _t(e)));case f:case p:case y:return nn(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case S:return t==e+"";case m:var l=ct;case x:var u=o&a;if(l||(l=ut),t.size!=e.size&&!u)return!1;var h=c.get(t);if(h)return h==e;o|=s,c.set(t,e);var g=je(l(t),l(e),r,i,o,c);return c["delete"](t),g;case T:if(Dt)return Dt.call(t)==Dt.call(e)}return!1}function De(t,e,n,r,i,o){var s=i&a,c=mn(t),l=c.length,u=mn(e),h=u.length;if(l!=h&&!s)return!1;var f=l;while(f--){var p=c[f];if(!(s?p in e:mt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++f<l){p=c[f];var m=t[p],y=e[p];if(r)var b=s?r(y,m,p,e,t,o):r(m,y,p,t,e,o);if(!(void 0===b?m===y||n(m,y,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,_=e.constructor;w!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return o["delete"](t),o["delete"](e),g}function Ne(t,e){var n=t.__data__;return Ve(e)?n["string"==typeof e?"string":"hash"]:n.map}function Fe(t){var e=mn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function He(t,e){var n=st(t,e);return Te(n)?n:void 0}var ze=be;function $e(t,e,n){e=qe(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=Ke(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&ln(o)&&Ue(s,o)&&(on(t)||rn(t))}function Ue(t,e){return e=null==e?l:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function qe(t,e){if(on(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!fn(t))||(N.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function We(t){return!!gt&&gt in t}function Ge(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||pt;return t===n}function Ze(t){return t===t&&!un(t)}function Xe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Et&&ze(new Et(new ArrayBuffer(1)))!=k||Ct&&ze(new Ct)!=m||kt&&ze(kt.resolve())!=w||At&&ze(new At)!=x||Ot&&ze(new Ot)!=E)&&(ze=function(t){var e=yt.call(t),n=e==b?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Rt:return k;case Lt:return m;case It:return w;case Mt:return x;case jt:return E}return e});var Ye=tn((function(t){t=dn(t);var e=[];return F.test(t)&&e.push(""),t.replace(H,(function(t,n,r,i){e.push(r?i.replace($,"$1"):n||t)})),e}));function Ke(t){if("string"==typeof t||fn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Qe(t,e){var n=on(t)?et:ge;return n(t,en(Ce(e,3)))}function tn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(tn.Cache||Kt),n}function en(t){if("function"!=typeof t)throw new TypeError(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function nn(t,e){return t===e||t!==t&&e!==e}function rn(t){return an(t)&&mt.call(t,"callee")&&(!xt.call(t,"callee")||yt.call(t)==u)}tn.Cache=Kt;var on=Array.isArray;function sn(t){return null!=t&&ln(t.length)&&!cn(t)}function an(t){return hn(t)&&sn(t)}function cn(t){var e=un(t)?yt.call(t):"";return e==g||e==v}function ln(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=l}function un(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function hn(t){return!!t&&"object"==typeof t}function fn(t){return"symbol"==typeof t||hn(t)&&yt.call(t)==T}var pn=tt?ot(tt):Ee;function dn(t){return null==t?"":Re(t)}function gn(t,e,n){var r=null==t?void 0:ye(t,e);return void 0===r?n:r}function vn(t,e){return null!=t&&$e(t,e,we)}function mn(t){return sn(t)?fe(t):ke(t)}function yn(t){return t}function bn(t){return qe(t)?rt(Ke(t)):Pe(t)}n.exports=Qe}).call(this,n("c8ba"),n("62e4")(t))},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0f13":function(t,e,n){var r=n("cdf9"),i=n("bded").onFreeze;n("6397")("seal",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"0f26":function(t,e,n){var r=n("42ee"),i=n("ea28"),o=n("1bfb"),s=Object.defineProperty;e.f=n("6739")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"0f94":function(t,e,n){var r=t.exports;[n("68b4"),n("26f9"),n("7a39"),n("733c"),n("9f20"),n("f67e")].forEach((function(t){Object.keys(t).forEach((function(e){r[e]=t[e].bind(r)}))}))},1:function(t,e){},"10cf":function(t,e,n){var r=n("36ad");t.exports=function(t,e){return new(r(t))(e)}},"112b":function(t,e,n){},"12c1":function(t,e,n){"use strict";var r=n("c669"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),l=void 0!==/()??/.exec("")[1],u=c||l;u&&(s=function(t){var e,n,s,u,h=this;return l&&(n=new RegExp("^"+h.source+"$(?!\\s)",r.call(h))),c&&(e=h[a]),s=i.call(h,t),c&&s&&(h[a]=h.global?s.index+s[0].length:e),l&&s&&s.length>1&&o.call(s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s}),t.exports=s},"13ca":function(t,e){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",s=/^(?:0|[1-9]\d*)$/;function a(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function c(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}var l=Object.prototype,u=l.hasOwnProperty,h=l.toString,f=l.propertyIsEnumerable,p=Math.max;function d(t,e){var n=k(t)||C(t)?c(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!u.call(t,o)||i&&("length"==o||_(o,r))||n.push(o);return n}function g(t,e,n,r){return void 0===t||E(t,l[n])&&!u.call(r,n)?e:t}function v(t,e,n){var r=t[e];u.call(t,e)&&E(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function m(t){if(!L(t))return T(t);var e=S(t),n=[];for(var r in t)("constructor"!=r||!e&&u.call(t,r))&&n.push(r);return n}function y(t,e){return e=p(void 0===e?t.length-1:e,0),function(){var n=arguments,r=-1,i=p(n.length-e,0),o=Array(i);while(++r<i)o[r]=n[e+r];r=-1;var s=Array(e+1);while(++r<e)s[r]=n[r];return s[e]=o,a(t,this,s)}}function b(t,e,n,r){n||(n={});var i=-1,o=e.length;while(++i<o){var s=e[i],a=r?r(n[s],t[s],s,n,t):void 0;v(n,s,void 0===a?t[s]:a)}return n}function w(t){return y((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&x(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);while(++r<i){var a=n[r];a&&t(e,a,r,o)}return e}))}function _(t,e){return e=null==e?n:e,!!e&&("number"==typeof t||s.test(t))&&t>-1&&t%1==0&&t<e}function x(t,e,n){if(!L(n))return!1;var r=typeof e;return!!("number"==r?A(n)&&_(e,n.length):"string"==r&&e in n)&&E(n[e],t)}function S(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||l;return t===n}function T(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function E(t,e){return t===e||t!==t&&e!==e}function C(t){return O(t)&&u.call(t,"callee")&&(!f.call(t,"callee")||h.call(t)==r)}var k=Array.isArray;function A(t){return null!=t&&R(t.length)&&!P(t)}function O(t){return I(t)&&A(t)}function P(t){var e=L(t)?h.call(t):"";return e==i||e==o}function R(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function L(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function I(t){return!!t&&"object"==typeof t}var M=w((function(t,e,n,r){b(e,B(e),t,r)})),j=y((function(t){return t.push(void 0,g),a(M,void 0,t)}));function B(t){return A(t)?d(t,!0):m(t)}t.exports=j},1455:function(t,e,n){n("2b7a"),t.exports=n("a06f").String.trimLeft},1468:function(t,e){var n=1e3,r=60*n,i=60*r,o=24*i,s=365.25*o;function a(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]),c=(e[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function c(t){return t>=o?Math.round(t/o)+"d":t>=i?Math.round(t/i)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}function l(t){return u(t,o,"day")||u(t,i,"hour")||u(t,r,"minute")||u(t,n,"second")||t+" ms"}function u(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return a(t);if("number"===n&&!1===isNaN(t))return e.long?l(t):c(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"14fb":function(t,e,n){var r=n("1c23");r(r.G,{global:n("d38c")})},"154b":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1586:function(t,e,n){"use strict";n.r(e);n("e792"),n("289e");var r=n("2b0e");function i(t,e){return t.__proto__=e,t}
  /**
    * vue-custom-element v3.3.0
    * (c) 2021 Karol Fabjańczuk
    * @license MIT
    */
  Object.setPrototypeOf=Object.setPrototypeOf||i;i.bind(Object);function o(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var s=o(),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function h(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(s){var n=function(t){function n(t){var e;c(this,n);var r=l(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),o=t?HTMLElement.call(t):r;return i.call(o),e=o,l(r,e)}return u(n,t),a(n,null,[{key:"observedAttributes",get:function(){return e.observedAttributes||[]}}]),n}(h);return n.prototype.connectedCallback=o,n.prototype.disconnectedCallback=f,n.prototype.attributeChangedCallback=p,d(t,n),n}var r=function(t){var e=t?HTMLElement.call(t):this;return i.call(e),e};return r.observedAttributes=e.observedAttributes||[],r.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:r}}),r.prototype.connectedCallback=o,r.prototype.disconnectedCallback=f,r.prototype.attributeChangedCallback=p,d(t,r),r}function i(){!0===e.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof e.constructorCallback&&e.constructorCallback.call(this)}function o(){"function"===typeof e.connectedCallback&&e.connectedCallback.call(this)}function f(){"function"===typeof e.disconnectedCallback&&e.disconnectedCallback.call(this)}function p(t,n,r){"function"===typeof e.attributeChangedCallback&&e.attributeChangedCallback.call(this,t,n,r)}function d(t,e){var n=customElements.get(t);return"undefined"!==typeof n?n:customElements.define(t,e)}}Object.setPrototypeOf(h.prototype,HTMLElement.prototype),Object.setPrototypeOf(h,HTMLElement);var p=/-(\w)/g,d=function(t){return t.replace(p,(function(t,e){return e?e.toUpperCase():""}))},g=/([^-])([A-Z])/g,v=function(t){return t.replace(g,"$1-$2").replace(g,"$1-$2").toLowerCase()};function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}var y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function b(t,e){if(null===t||void 0===t)return e!==Boolean&&void 0;var n=t,r=["true","false"].indexOf(t)>-1,i=parseFloat(n,10),o=!isNaN(i)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return e&&e!==Boolean&&("undefined"===typeof n?"undefined":y(n))!==e?n=e(t):r||e===Boolean?n=""===n||("true"===n||!0===n):o&&(n=i),n}function w(t,e){if(t&&t.length)t.forEach((function(t){var n=d(t);-1===e.camelCase.indexOf(n)&&e.camelCase.push(n)}));else if(t&&"object"===("undefined"===typeof t?"undefined":y(t)))for(var n in t){var r=d(n);-1===e.camelCase.indexOf(r)&&e.camelCase.push(r),t[r]&&t[r].type&&(e.types[n]=[].concat(t[r].type)[0])}}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={camelCase:[],hyphenate:[],types:{}};if(t.mixins&&t.mixins.forEach((function(t){w(t.props,e)})),t.extends&&t.extends.props){var n=t.extends.props;w(n,e)}return w(t.props,e),e.camelCase.forEach((function(t){e.hyphenate.push(v(t))})),e}function x(t,e){e.camelCase.forEach((function(n,r){Object.defineProperty(t,n,{get:function(){return this.__vue_custom_element__[n]},set:function(t){if("object"!==("undefined"===typeof t?"undefined":y(t))&&"function"!==typeof t||!this.__vue_custom_element__){var n=e.types[e.camelCase[r]];this.setAttribute(e.hyphenate[r],b(t,n))}else{var i=e.camelCase[r];this.__vue_custom_element__[i]=t}}})}))}function S(t,e,n){var r=e.propsData||{};return n.hyphenate.forEach((function(e,i){var o=n.camelCase[i],s=t.attributes[e]||t[o],a=null;n.types[o]&&(a=n.types[o]),s instanceof Attr?r[o]=b(s.value,a):"undefined"!==typeof s&&(r[o]=s)})),r}function T(t){var e={};return m(t.attributes).forEach((function(t){e["vue-slot"===t.nodeName?"slot":t.nodeName]=t.nodeValue})),e}function E(t){if(t.childNodes.length)return t.childNodes;if(t.content&&t.content.childNodes&&t.content.childNodes.length)return t.content.childNodes;var e=document.createElement("div");return e.innerHTML=t.innerHTML,e.childNodes}function C(t,e,n){var r=E(e),i=m(r).map((function(e){return"#text"===e.nodeName?e.nodeValue:t(e.tagName,{attrs:T(e),domProps:{innerHTML:e.innerHTML}})}));return n.slot=e.id,t("template",n,i)}function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1],n=[];return m(t).forEach((function(t){if("#text"===t.nodeName)t.nodeValue.trim()&&n.push(e("span",t.nodeValue));else if("#comment"!==t.nodeName){var r=T(t),i={attrs:r,domProps:{innerHTML:""===t.innerHTML?t.innerText:t.innerHTML}};r.slot&&(i.slot=r.slot,r.slot=void 0);var o="TEMPLATE"===t.tagName?C(e,t,i):e(t.tagName,i);n.push(o)}})),n}function A(t,e){var n={bubbles:!1,cancelable:!1,detail:e},r=void 0;return"function"===typeof window.CustomEvent?r=new CustomEvent(t,n):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail)),r}function O(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=A(e,[].concat(r));t.dispatchEvent(o)}function P(t,e,n,r,i){if(t.__vue_custom_element__)return Promise.resolve(t);var o=e.util.extend({},n),s=S(t,o,r),a=e.version&&parseInt(e.version.split(".")[0],10)||0;function c(){this.$emit=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];O.apply(void 0,[t].concat(r)),this.__proto__&&(e=this.__proto__.$emit).call.apply(e,[this].concat(r))}}if(o.beforeCreate=[].concat(o.beforeCreate||[],c),o._compiled){var l={},u=o._Ctor;u&&(l=Object.keys(u).map((function(t){return u[t]}))[0].options),l.beforeCreate=o.beforeCreate}var h=void 0;if(a>=2){var f=t.cloneNode(!0).childNodes;h={propsData:s,props:r.camelCase,computed:{reactiveProps:function(){var t=this,e={};return r.camelCase.forEach((function(n){"undefined"!==typeof t[n]&&(e[n]=t[n])})),e}},render:function(t){var e={props:this.reactiveProps};return t(o,e,k(f,t))}}}else if(1===a)h=o,h.propsData=s;else{h=o;var p={};Object.keys(s).forEach((function(t){p[t]={default:s[t]}})),h.props=p}var d=a>=2?"<div></div>":("<div>"+t.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(i.shadow&&t.shadowRoot?(t.shadowRoot.innerHTML=d,h.el=t.shadowRoot.children[0]):(t.innerHTML=d,h.el=t.children[0]),i.shadow&&i.shadowCss&&t.shadowRoot){var g=document.createElement("style");g.type="text/css",g.appendChild(document.createTextNode(i.shadowCss)),t.shadowRoot.appendChild(g)}return x(t,r),"function"===typeof i.beforeCreateVueInstance&&(h=i.beforeCreateVueInstance(h)||h),Promise.resolve(h).then((function(n){return t.__vue_custom_element__=new e(n),t.__vue_custom_element_props__=r,t.getVueInstance=function(){var e=t.__vue_custom_element__;return e.$children.length?e.$children[0]:e},t.removeAttribute("vce-cloak"),t.setAttribute("vce-ready",""),O(t,"vce-ready"),t}))}function R(t){t.customElement=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="function"===typeof n,o=i&&{props:r.props||[]},s=_(i?o:n),a=f(e,{constructorCallback:function(){"function"===typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var o=this,a=i&&n(),c=a&&a.then&&"function"===typeof a.then;if("function"===typeof r.connectedCallback&&r.connectedCallback.call(this),i&&!c)throw new Error("Async component "+e+" do not returns Promise");this.__detached__||(c?a.then((function(e){var n=_(e);P(o,t,e,n,r).then((function(){"function"===typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(o)}))})):P(this,t,n,s,r).then((function(){"function"===typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(o)}))),this.__detached__=!1},disconnectedCallback:function(){var t=this;this.__detached__=!0,"function"===typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),null!==r.destroyTimeout&&setTimeout((function(){t.__detached__&&t.__vue_custom_element__&&(t.__detached__=!1,t.__vue_custom_element__.$destroy(!0),delete t.__vue_custom_element__,delete t.__vue_custom_element_props__)}),r.destroyTimeout||3e3)},attributeChangedCallback:function(t,e,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var i=d(t);"function"===typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,t,e,n);var o=this.__vue_custom_element_props__.types[i];this.__vue_custom_element__[i]=b(n,o)}},observedAttributes:s.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow});return a}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(R),R.installed&&(R.installed=!1));var I=R,M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"rangestoryboard annonaview",class:[t.settings.fullpage||t.isfullscreen?"rangefullpage":"rangestoryboardview"],attrs:{id:t.rangeid}},["storyboardlist"==t.listtype?n("span",{key:t.position,staticStyle:{width:"100vw"}},["iiif-storyboard"==t.rangelist[t.position]["tag"]?n("span",[n("storyboard",{attrs:{annotationurl:t.annotationurl.annotationurl,jsonannotation:t.annotationurl.jsonanno,manifesturl:t.annotationurl.manifesturl,styling:t.stylingstring,ws:t.annotationurl.ws,layers:t.annotationurl.layers}})],1):"iiif-multistoryboard"==t.rangelist[t.position]["tag"]?n("span",[n("multistoryboard",{attrs:{annotationurls:t.annotationurl.annotationurls,jsonannotation:t.annotationurl.jsonanno,manifesturl:t.annotationurl.manifesturl,styling:t.stylingstring,ws:t.annotationurl.ws,layers:t.annotationurl.layers,images:t.annotationurl.images}})],1):"iiif-annotation"==t.rangelist[t.position]["tag"]?n("span",[n("iiifannotation",{attrs:{annotationurl:t.annotationurl.annotationurl,jsonannotation:t.annotationurl.jsonanno,manifesturl:t.annotationurl.manifesturl,styling:t.stylingstring}})],1):t._e()]):n("span",{staticStyle:{width:"100vw"}},[t.ready?n("storyboard",{key:t.position,attrs:{jsonannotation:t.annotationurl.jsonanno,annotationurl:t.annotationurl.anno,manifesturl:t.annotationurl.manifest,styling:t.stylingstring,ws:t.isws,layers:t.customlayers}}):t._e()],1),n("button",{staticClass:"pageButton toolbarButton",class:[{pageinactive:t.prevPageInactive},{imageview:t.rangelist[t.position]&&"iiif-annotation"==t.rangelist[t.position]["tag"]},"rtl"==t.viewingDirection?"floatleft":"floatright"],attrs:{id:"previousPageInactiveButton"},on:{click:function(e){return t.nextItemRange("prev")}}},[n("span",{domProps:{innerHTML:t._s(t.buttons.prev)}}),n("span",{staticClass:"toolbartext"},[t._v("Previous page")])]),n("button",{staticClass:"pageButton toolbarButton",class:[{pageinactive:t.nextPageInactive},{imageview:t.rangelist[t.position]&&"iiif-annotation"==t.rangelist[t.position]["tag"]},"ltr"==t.viewingDirection?"floatleft":"floatright"],attrs:{id:"nextPageInactiveButton"},on:{click:function(e){return t.nextItemRange("next")}}},[n("span",{domProps:{innerHTML:t._s(t.buttons.next)}}),n("span",{staticClass:"toolbartext"},[t._v("Next Page")])])])},j=[],B=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"annonaview",class:[t.settings.fullpage||t.fullscreen?"fullpage":"storyboard_viewer"],attrs:{id:"storyboard_viewer"}},[n("div",{class:[t.settings.annoview&&0!=t.shown?"sidebyside"==t.settings.annoview||"scrollview"==t.settings.annoview?"sidebyside":"collapse":"defaultview"],staticStyle:{position:"relative"}},[n("div",{class:[t.settings.fullpage||t.fullscreen?"seadragonboxfull":"seadragonbox",t.settings.toolbarposition&&!t.$parent.multi?t.settings.toolbarposition+"_menu_container":"default_menu_container"],staticStyle:{position:"relative"},attrs:{id:t.seadragonid}},[t.$parent.multi?t._e():n("toolbar"),t.rendered?n("div",{staticStyle:{position:"relative",top:"50%","text-align":"center"},domProps:{innerHTML:t._s(t.rendered)}}):t._e(),"sidebyside"!=t.settings.annoview&&"scrollview"!=t.settings.annoview?n("annotationbox"):t._e()],1),"sidebyside"==t.settings.annoview||"scrollview"==t.settings.annoview?n("annotationbox"):t._e()],1)])},D=[],N=n("bc3a"),F=n.n(N),H=n("02cc"),z={stripTags:!1,ellipsis:"...",decodeEntities:!1,byWords:!1,excludes:"",reserveLastWord:!1,keepWhitespaces:!1},$=/\ud83c[\udffb-\udfff](?=\ud83c[\udffb-\udfff])|(?:[^\ud800-\udfff][\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0]?|[\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0]|\ud83c[\udffb-\udfff])?)*/g,U={setup:function(t,e){switch(typeof t){case"object":e=t;break;case"number":"object"===typeof e?e.length=t:e={length:t}}var n=this.extend(e,z);n.excludes&&(Array.isArray(n.excludes)||(n.excludes=[n.excludes]),n.excludes=n.excludes.join(",")),this.options=n,this.limit=n.length,this.ellipsis=n.ellipsis,this.keepWhitespaces=n.keepWhitespaces,this.reserveLastWord=n.reserveLastWord},extend:function(t,e){for(var n in null==t&&(t={}),e){var r=e[n];null==t[n]&&(t[n]=r)}return t},isBlank:function(t){return" "===t||"\f"===t||"\n"===t||"\r"===t||"\t"===t||"\v"===t||" "===t||"\u2028"===t||"\u2029"===t},truncate:function(t,e){var n=this;this.keepWhitespaces||(t=t.replace(/\s+/g," "));var r,i=this.options.byWords,o=t.match($),s=null===o?[]:o,a=null===o?0:s.length,c=0,l=0,u=i,h=!1;while(c<a)if(h=n.isBlank(s[c++]),!i||u!==h){if(l===n.limit){if(u&&h){u=h;continue}--c;break}i?h||++l:h&&u||++l,u=h}return this.limit-=l,this.limit?t:(r=i?t.substr(0,c):this.substr(s,c),r===t?e?t:t+this.ellipsis:r+this.ellipsis)},substr:function(t,e){var n=t.slice(0,e).join("");if(!this.reserveLastWord||t.length===e)return n;var r=t.slice(e-1,e+1).join("");if(/\W/.test(r))return n;if(this.reserveLastWord<0){var i=n.replace(/\w+$/,"");if(0!==i.length||n.length!==this.options.length)return i}var o=!0!==this.reserveLastWord&&this.reserveLastWord>0?this.reserveLastWord:10,s=t.slice(e).join("").match(/(\w+)/),a=s?s[1]:"";return n+a.substr(0,o)}};function q(t){return t&&t.contains&&t.html&&t.parseHTML&&!0}var V=function(t,e,n){if(U.setup(e,n),!t||isNaN(U.limit)||U.limit<=0||U.limit===1/0)return t;var r;r=q(t)?t:Object(H["load"])(""+t,{decodeEntities:U.options.decodeEntities});var i=r.root();if(U.options.excludes&&i.find(U.options.excludes).remove(),U.options.stripTags)return U.truncate(i.text());var o=function(t,e){void 0===e&&(e=!0);var n=t.contents(),i=n.length-1;return n.each((function(t){switch(this.type){case"text":if(!U.limit)return void r(this).remove();this.data=U.truncate(r(this).text(),e&&t===i);break;case"tag":if(U.limit)return o(r(this),e&&t===i);r(this).remove();break;default:return r(this).remove()}}))};return o(i),i.html()};V.setup=function(t){return void 0===t&&(t={}),Object.assign(z,t)};var W=V,G=n("aa78"),Z=n.n(G),X=n("03cd"),Y=n.n(X),K=n("ff5f"),J=n("3731"),Q=n.n(J);function tt(t){return rt(t)||nt(t)||et()}function et(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function nt(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function rt(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var it={textoverlay:{opacity:100,fontcolor:"#000000",background:"none"},buttons:{autorun:'<i class="fas fa-magic"></i>',autorunoff:'<i class="fas fa-stop-circle"></i>',overlay:'<i class="fas fa-toggle-off"></i>',overlayoff:'<i class="fas fa-toggle-on"></i>',textoverlay:'<i class="fas fa-align-justify"></i>',expand:'<i class="fas fa-expand"></i>',annooff:'<i class="fas fa-pen-nib"></i>',anno:'<i class="fas fa-file-alt"></i>',compress:'<i class="fas fa-compress"></i>',hide:'<i class="fas fa-caret-up"></i>',hideoff:'<i class="fas fa-caret-down"></i>',collapsehide:'<i class="fas fa-caret-left"></i>',collapsehideoff:'<i class="fas fa-caret-right"></i>',playpause:'<i class="fas fa-play"></i>',playpauseoff:'<i class="fas fa-pause"></i>',tags:'<i class="fas fa-tag"></i>',info:'<i class="fas fa-info-circle"></i>',layer:'<i class="fas fa-layer-group"></i>',keyboard:'<i class="fas fa-keyboard"></i>',prev:'<i class="fas fa-chevron-left"></i>',next:'<i class="fas fa-chevron-right"></i>'},booleanitems:{isexcerpt:!1,isoverlaytoggled:!1,istextoverlaytoggled:!1,annoinfoshown:!1,imageinfoshown:!1,additionalinfoshown:!1,tocshown:!1,istranscription:!1},objectToNewObject:function(t){return JSON.parse(JSON.stringify(t))},imageextensions:["jpeg","jpg","png","svg","bmp","gif","apng","avif","jfif","pjpeg","pjp","webp","ico","cur"],on_structure:function(t){return t["on"]&&"undefined"!==typeof t["on"]?"Array"===t["on"].constructor.name?t["on"]:[t["on"]]:void 0},getsettings:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.styling,i={};if(n||null===document.getElementById("config")||""==document.getElementById("config").innerHTML||(i=JSON.parse(document.getElementById("config").innerHTML)),r)for(var o=r.split(";").filter((function(t){return""!=t})),s=0;s<o.length;s++){var a=o[s].split(":"),c=o[s].substring(o[s].indexOf(":")+1).trim();c="false"!=c&&c,c="true"==c||c,c=parseInt(c)&&parseInt(c).toString().length==c.length?parseInt(c):c,c=c&&"String"==c.constructor.name?this.tryJsonParse(c):c,i[a[0].trim()]=c}if("scrollview"==i.annoview&&(i.startposition=void 0!=i.startposition?i.startposition:1,i.hide_nextbuttons=void 0==i.hide_nextbuttons||i.hide_nextbuttons),Object.keys(i).join("").indexOf("toggle")>-1&&t.booleanitems)for(var l=["overlay","textoverlay"],u=0;u<l.length;u++){var h=i["toggle"+l[u]];h&&(t.booleanitems["is"+l[u]+"toggled"]=h)}if(Object.keys(i).join("").indexOf("textoverlay")>-1&&t.textoverlay)for(var f=["opacity","fontcolor","background"],p=0;p<f.length;p++){var d=i["textoverlay"+f[p]];d&&(t.textoverlay[f[p]]=d)}return i.tagscolor&&(i.tagscolor=Object.keys(i.tagscolor).reduce((function(t,n){return t[e.tagsToClass(n)]=i.tagscolor[n],t}),{})),i},parseCharValue:function(t){try{var e=JSON.parse(t);if("Array"!=e.constructor.name||"Object"!=e.constructor.name)return t;var n=e["@context"],r="";for(var i in e)"@context"!=i&&(r+='<div class="'+(n?n[i]:i)+'">'+i+": "+e[i]+"</div>");return r}catch(o){return t}},stripHTML:function(t){var e=document.createElement("div");return e.innerHTML=t,(e.textContent||e.innerText||"").trim()},colorDict:function(t,e){var n=document.implementation.createHTMLDocument(""),r=document.createElement("style");r.textContent=t,n.body.appendChild(r);for(var i=r.sheet.cssRules,o={},s="",a=0;a<i.length;a++){var c="."+e+"[. {]",l=new RegExp(c);if(l.test(i[a].cssText)){var u=i[a].selectorText.replaceAll(".","").replace(e,"").trim();o[u]=i[a].style.color,s+=i[a].cssText}}return{colordict:o,stylesheet:s}},tagsToClass:function(t){var e="-?[_a-zA-Z]+[_a-zA-Z0-9-]*",n=t&&t.group?t.group:"";return t=t&&t.value?t.value:t,t.length>0?[].concat(tt((""+(n?n.toLowerCase():n)+t.toLowerCase()).matchAll(e))).join(""):""},groupToClass:function(t){var e="-?[_a-zA-Z]+[_a-zA-Z0-9-]*";return[].concat(tt((""+(t?t.toLowerCase():t)).matchAll(e))).join("")},chars:function(t){var e,n,r,i=this,o=t.body?t.body:t.resource?t.resource:"",s=[],a=[],c=[],l=[],u=t.stylesheet?t.stylesheet.value:"",h=t.target&&t.target.styleClass?t.target.styleClass:"";if(u&&"cssstylesheet"==t.stylesheet.type.toLowerCase()){var f=this.colorDict(u,t.target.styleClass);u=f["colordict"],r=f["stylesheet"]}var p=t.label?t.label:t.resource&&t.resource.label?t.resource.label:void 0;o=[].concat(o),t.bodyValue&&s.push(t.bodyValue);for(var d=0;d<o.length;d++){var g=o[d],v=Object.keys(g)[Object.keys(g).findIndex((function(t){return t.includes("type")}))],m=g[v],y=g["value"]?g["value"]:g["chars"],b=g["purpose"]?g["purpose"].split("#").slice(-1)[0]:t["motivation"]&&!Array.isArray(t["motivation"])?t["motivation"]:m;if(b=b?b.toLowerCase():b,g.selector&&(e=g.selector.value),y){var w=g["@id"]?g["@id"]:g["id"]?g["id"]:"";if(y=decodeURIComponent(escape(unescape(encodeURIComponent(y)))),w&&(y='<a href="'+w+'" target="_blank">'+y+"</a?>"),y=this.parseCharValue(y),g.creator||g["annotatedBy"]||g["oa:annotatedBy"]){var _=this.getAuthor(g).split(", ");y+="tagging"!=b&&"oa:Tag"!==m?'<div class="authorship">Written by: '+[].concat(tt(new Set(_))).join(", ")+"</div>":""}"TextualBody"===m?"tagging"===b?a.push({value:y,group:""}):"transcribing"==b||"supplementing"==b?c.push(y):s.push('<div class="'+b+'">'+y+"</div>"):"oa:Tag"===m?a.push({value:y,group:""}):"dctypes:Dataset"===m||"Dataset"===m?g["@id"]?s.push('<a href="'+g["@id"]+'">Download dataset ('+g["format"]+")</a>"):"tagging"==b?a.push(g["value"]):"transcribing"==b||"supplementing"==b?c.push(g["value"]):s.push('<div class="'+b+'">'+y+"</div>"):"cnt:ContentAsText"===m&&(m.toLowerCase()===b||b.indexOf("painting")>-1)?c.push(y):s.push('<div class="'+b+'">'+y+"</div>")}else if("Choice"===m){n=g["items"].map((function(t){return'<option value="'+t["language"]+'"'+(navigator.language.indexOf(t["language"])>-1?" selected":"")+">"+(K["by639_1"][t["language"]]&&K["by639_1"][t["language"]]["nativeName"]?K["by639_1"][t["language"]]["nativeName"]:t["language"])+"</option>"}));var x=[];g["items"].map((function(t){return x.push(i.createItemsDict(b,t))})),s=s.concat(x)}else"dctypes:Image"!==m&&"Image"!==m||s.push('<img src="'+g["@id"]+'">\n          <div class="attribution">'+g["attribution"]+'</div>\n          <div class="caption">'+g["description"]+"</div>")}return l=this.getAuthor(t),{ocr:c,textual_body:s,tags:a,type:e,languages:n,label:p,language:g?g["language"]:"",authors:l,styles:u,stylesheet:r,itemclass:h,geometry:g?g["geometry"]:""}},createItemsDict:function(t,e){var n=decodeURIComponent(escape(unescape(encodeURIComponent(e["value"])))),r={purpose:t,language:e["language"],value:n};return r},selectorParser:function(t){var e=t.item?t.item.value:t.default?t.default.value:t.value,n=this.getSVGoverlay(e);if(n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.id="getBounds",r.appendChild(n);var i=document.getElementsByClassName("annonaview")[0];i.appendChild(r);var o=document.getElementById("getBounds").getBBox();return i.removeChild(r),{bounds:o["x"]+","+o["y"]+","+o["width"]+","+o["height"],svg:n}}return{bounds:e.split("=").slice(-1)[0],svg:void 0}},findLimits:function(t,e){for(var n=t.getTotalLength(),r=t.getPointAtLength(0),i=t.getPointAtLength(n),o={p:0,x:r["x"],y:r["y"]},s={p:n,x:i["x"],y:i["y"]},a={p:0,x:r["x"],y:r["y"]},c={p:0,x:i["x"],y:i["y"]},l={x:e[0],y:e[1]+e[3]},u={x:e[0],y:e[1]},h={x:e[0]+e[2],y:e[1]+e[3]},f={x:e[0]+e[2],y:e[1]},p=0;p<n;p++){var d=t.getPointAtLength(p),g={p:p,x:d["x"],y:d["y"]};this.diffpt(d,l)<=this.diffpt(o,l)&&(o=g),this.diffpt2(d,h)<=this.diffpt2(s,h)&&(s=g),this.diffpt2(d,u)<=this.diffpt2(a,u)&&(a=g),this.diffpt2(d,f)<=this.diffpt2(c,f)&&(c=g)}return{start:o,end:s,topleft:a,topright:c}},diffpt:function(t,e){var n=Math.sqrt(Math.pow(e["x"]-t.x,2)+Math.pow(e["y"]-t.y,2));return n},diffpt2:function(t,e){var n=Math.abs(t["x"]-e["x"])+Math.sqrt(Math.pow(e["x"]-t.x,2)+Math.pow(e["y"]-t.y,2));return n},polyToPath:function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","path"),n="M"+t.getAttribute("points");return"polygon"==t.tagName&&(n+="z"),e.setAttribute("d",n),e},findSVGcoords:function(t,e){var n,r;try{t.points&&(t=this.polyToPath(t)),n=this.findLimits(t,e)}catch(v){return{path:"M"}}var i=Math.sqrt(Math.pow(n["start"]["x"]-n["topleft"]["x"],2)+Math.pow(n["start"]["y"]-n["topleft"]["y"],2)),o=Math.sqrt(Math.pow(n["end"]["x"]-n["topright"]["x"],2)+Math.pow(n["end"]["y"]-n["topright"]["y"],2));r=i>o?i:o;var s=n["start"]["p"]-n["end"]["p"],a=n["start"]["p"],c=n["end"]["p"],l=!1;s<0&&(a=n["end"]["p"],c=n["start"]["p"],l=!0);for(var u="",h=a;h>c;h--){var f=t.getPointAtLength(h);u+=f["x"]+","+f["y"]+" "}u=l?u.split(" ").reverse().join(" ").trim():u;var p=document.createElementNS("http://www.w3.org/2000/svg","path");p.setAttribute("d","M"+u.trim());var d=p.getTotalLength(),g=t.id?t.id:Math.random().toString(36).substring(2,7);return g+="-ocrtextoverlaypath",{path:"M"+u.trim(),fontsize:1.1*r,textLength:d,pathid:g}},createPath:function(t){var e=document.createElement("path");return e.setAttribute("d",t.getAttribute("d")),e},textOverlayHTML:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="";n&&(r=this.findSVGcoords(n,t));var i=this.stripHTML(e.join("\n").replace(/<div class="authorship">[\s\S]*?<\/div>/g,"")),o=i.split("\n"),s="";if(r&&"M"!=r["path"]&&o.length<2){var a=n.getAttribute("d")?this.createPath(n):n;a.setAttribute("style","z-index:-1;"),a.setAttribute("fill","none"),a.setAttribute("stroke","none"),a.classList="svgBackground",s="\n      "+a.outerHTML+'\n      <def>\n      <path id="'+r["pathid"]+'" d="'+r["path"]+'" fill="none"  stroke-width="30" stroke="red"/>\n      </def>\n      <text class="textOverlayText" textLength="'+r["textLength"]+'" font-size="'+r["fontsize"]+'" lengthAdjust="spacingAndGlyphs">\n        <textPath textLength="'+r["textLength"]+'" font-size="'+r["fontsize"]+'" xlink:href="#'+r["pathid"]+'" text-anchor="start" lengthAdjust="spacingAndGlyphs">\n          '+i+"\n        </textPath>\n      </text>\n      "}else{var c=t[0],l=t[1]+t[3],u=t[3]/o.length>10;if(u)for(var h=0;h<o.length;h++){var f=t[3]/o.length,p=t[1]+f*(h+1);s+='<text class="textOverlayText" textLength="'+t[2]+'" font-size="'+f+'" x="'+t[0]+'" y="'+p+'" lengthAdjust="spacingAndGlyphs">\n            '+o[h]+"\n          </text>"}else s='\n        <text class="textOverlayText" x="'+c+'" y="'+l+'" textLength="'+t[2]+'" font-size="'+1.1*t[3]+'" lengthAdjust="spacingAndGlyphs">\n            '+i+"\n        </text>\n      "}return s},canvasRegion:function(t,e){var n,r,i=!1;if(e&&e.selector){var o=this.selectorParser(e.selector);n=o["bounds"],r=o["svg"]}if(t&&"string"!==typeof t){if(t.selector){var s=t.selector;if(t.selector.constructor===Array){var a=t.selector.filter((function(t){return t.value.indexOf("svg")>-1}));a=a.length>0?a:t.selector.filter((function(t){return t.value.indexOf("xywh")>-1})),s=a[0]}var c=this.selectorParser(s);n=c["bounds"],r=c["svg"]}if(t["source"]){var l="String"==t.source.constructor.name?t.source:this.getId(t.source);t="String"==l.constructor.name?t.source:t}t=this.getId(t)}return t&&t.indexOf("#xywh")>-1&&(n=t.split("#")[1].split("=")[1],t.indexOf("pct")>-1&&(i=!0),t=t.split("#")[0]),n&&""!==n.trim()||(n="full"),"full"!=n&&(n=n.split(",").map((function(t){return t.replace(/[^0-9.]/g,"")})).join(",")),i&&(n="pct,"+n),{canvasId:t.replace("/info.json",""),canvasRegion:n,svg:r}},manifestlink:function(t,e,n){var r;if(void 0===t||""===t){var i=this.on_structure(e);i=i?i[0]:i;var o=e["target"]?e["target"]:i;if(o)var s=Object.keys(o)[Object.keys(o).findIndex((function(t){return t.toLowerCase().includes("partof")}))],a=Object.keys(n)[Object.keys(n).findIndex((function(t){return t.toLowerCase().includes("partof")}))];var c=s?o[s]:a?n[a]:i?i["within"]:void 0;c=c||(n["within"]?n["within"]["within"]:""),r=c["id"]?c["id"]:c["@id"]?c["@id"]:c}else r=t;return r},getAnnotations:function(t){var e=t.resources?t.resources:t.items?t.items:t;return e=[].concat(e),e},getValueField:function(t){if(t)return t["@value"]?t["@value"]:t["value"]?t["value"]:t},parseMetaFields:function(t){var e=this,n="";return t&&(n=Array.isArray(t)?t.map((function(t){return e.getValueField(t)})).join("/"):t,n=this.getValueField(n),n="Object"==n.constructor.name?Object.values(n).join(" "):n),n},getCanvasId:function(t){var e=this.on_structure(t),n="";return t.target?n=t.target:e&&(n=e[0]&&e[0].full?e.map((function(t){return t.full})):e[0]&&e[0].source?e.map((function(t){return t.source})):this.flatten(e)),n=[].concat(n),n},getSVGoverlay:function(t){var e;if(t){var n=document.createElement("html");n.innerHTML=t;var r=n.getElementsByTagName("path")[0],i=n.getElementsByTagName("svg")[0];i&&(r=i.children[0]),e=r}return e},getAuthor:function(t){var e=[],n=t.creator?t.creator:t["annotatedBy"]?t["annotatedBy"]:t["oa:annotatedBy"]?t["oa:annotatedBy"]:"";n=n["name"]?n["name"]:n["id"]?n["id"]:n,Array.isArray(n)||(n=[n]),n=n.filter((function(t){return null!=t&&""!=t}));for(var r=0;r<n.length;r++){var i=n[r],o=i["name"]?i["name"]:i["label"]?i["label"]:i;e.push(o)}return[].concat(tt(new Set(e))).join(", ")},getTagDict:function(t,e,n){for(var r=this,i={},o=0;o<t.length;o++){var s=t[o].value?t[o].value:t[o],a=t[o].group?this.groupToClass(t[o].group):"";if(""!=s&&s){var c=this.tagsToClass(t[o]);if(e.tagscolor){var l=e.tagscolor[c];l=l||e.tagscolor[a]}var u=l||"#"+Math.random().toString(16).substr(-6);a&&!e.tagscolor[a]&&(e.tagscolor[a]=u);var h=t.filter((function(t){return r.tagsToClass(t)===c})).length;i[c]={color:u,checked:n,group:t[o]["group"],count:h,key:c,label:s.split("_").join(" ")}}}return i},groupBy:function(t,e){var n=this;return Object.values(t).reduce((function(t,r){var i="function"===typeof e?""+e(r):r[e],o=i||"",s=t[o]=t[o]||{count:0,tags:[],checked:r.checked};return s["tags"].push(r),s["tags"]=n.sortBy(s["tags"],"key"),0==r.checked&&(s["checked"]=!1),s["color"]=r.color,s["count"]+=r["count"],t}),{})},sortBy:function(t,e){return t.sort((function(t,n){return t[e]>n[e]?1:-1}))},parseObject:function(t,e){if("Object"==t.constructor.name){var n=e||Object.keys(t)[0],r=t[n];return"Array"==r.constructor.name?r.join("\n"):r}return t},createContent:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="",i="",o="",s=t?Object.values(t).filter((function(t){return t&&t.length>0})):[];if(s.length>0){var a=e||t["language"],c=a&&Q.a.isRtlLang(a)?"rtl":"ltr",l='<span style="direction: '+c+';">',u=t["textual_body"],h=t["label"]?'<div class="title">'+this.parseObject(t["label"],e)+"</div>":"",f=t["ocr"];if(e&&u[0]&&u[0]["language"]){var p=u.filter((function(t){return t["language"]===e}));if(p.length>0)r='<div class="'+p[0]["purpose"]+'">'+p[0]["value"]+"</div>";else{var d=K["by639_1"][e]["nativeName"];r='Translation not avaliable in "'+(d||e)+'"'}}else r=""+u.join("");f=f.length>0?'<div id="ocr">'+f.join("")+"</div>":"";var g=t["authors"]?'<div class="authorship">Written by: '+t["authors"]+"</div>":"",v=t["tags"].length>0?'<div class="tags">Tags: '+t["tags"].map((function(t){return t["value"]?t["value"]:t})).join(", ")+"</div>":"",m=l+""+h+"*replacementtext*"+g+(n?"":v)+"</span>"+(t&&t.stylesheet?"<style>"+t.stylesheet+"</style>":"").replace(/\s\s+/g," ");n&&f?r+=f:!r&&f&&(r=f);var y=l+"</span>",b=m.replace("*replacementtext*",r);i=b==y?"":b;var w=f?m.replace("*replacementtext*",f):"";o=w==y?"":w}return{anno:i,transcription:o}},getExtension:function(t){return t.split("?")[0].split(".").slice(-1)[0].toLowerCase()},getTileFormat:function(t){var e=this.getExtension(t);return this.imageextensions.includes(e)&&(t={type:"image",url:""+t}),t},isURL:function(t,e){var n=this.parseInput(t),r=n.constructor===String,i=e.customid?e.customid:t;return r||(i=e.customid?e.customid:n["@id"]?n["@id"]:n["id"]?n["id"]:Math.random().toString(36).substring(7)),i=i.replace(/\/\s*$/,"").split("/").pop().replace("-list","").replace(".json",""),{isURL:r,json:n,id:i}},parseInput:function(t){try{return JSON.parse(document.getElementById(t).innerHTML)}catch(e){return t}},tryJsonParse:function(t){try{return JSON.parse(t.replace(/'/g,'"'))}catch(e){return t}},flatten:function(t,e){return e?t.reduce((function(t,n){return t.concat(n[e])}),[]).filter(Boolean):t.reduce((function(t,e){return t.concat(e)}),[]).filter(Boolean)},getCanvasTile:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.resource?t.resource:t.body,r=!!(n&&JSON.stringify(n).indexOf("http://iiif.io/api/image/")>-1),i=n.service&&"Array"==n.service.constructor.name?this.getId(n.service[0]).split("/full/")[0]:n.service?this.getId(n.service).split("/full/")[0]:this.getId(n);return i=this.iiifOrImageCheck(i,e,r),{canvas_tile:i,img_resource:n}},iiifOrImageCheck:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(this.imageextensions.indexOf(this.getExtension(t))<0||n)&&(t+="/"!==t.slice(-1)?"/":"",e&&(t+="info.json")),t},matchCanvasData:function(t,e,n){var r=t,i=e.images?e.images:this.flatten(e.items.map((function(t){return t["items"]})));return t||(r=e.label,r=this.getValueField(r),r=r&&r!==t&&1!==n.length?t+=": "+r:t),{images:i,title:r}},matchCanvas:function(t,e,n,r){var i=t.sequences?t.sequences[0].canvases:t.items,o=n;if(r)return this.matchCanvasData(n,r,i);for(var s=0;s<i.length;s++){var a=e.split("/canvas").slice(-1)[0],c=a?new RegExp(a+"$","g"):new RegExp(e+"$","g"),l=this.getId(i[s]).replace("https","http").replace("/info.json","");if(l===e.replace("https","http")||c.test(l))return this.matchCanvasData(n,i[s],i)}return{images:r,title:o}},getImages:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"default.jpg",i=new RegExp("/+$"),o=n.split(",").filter(Boolean).length>1?n.split(",")[0]+",":n;t=t.replace(i,"");var s=this.getExtension(t);e.split(",").length>1&&(e=e.split(",").map((function(t){return parseInt(t)})).join(","));var a=this.imageextensions.indexOf(s)>-1?t:t+"/"+e+"/"+o+"/0/"+r,c=this.imageextensions.indexOf(s)>-1?t:"full"!==e?t+"/full/"+n+"/0/"+r:"";return{fullImage:c,imageurl:a}},keyboardShortcuts:function(t,e){var n=e.buttons,r={autorun:{icon:n["autorun"],label:"Auto Run",shortcut:["b","1"],function:{function:"autoRun",args:e.settings.autorun_interval}},info:{icon:n["info"],label:"Info Button",shortcut:["i","2"],function:{function:"clickButton",args:"info"}},home:{icon:'<i class="fas fa-home"></i>',label:"Home",shortcut:["h","0"],function:{function:"zoom",args:"home"}},zoomin:{icon:'<i class="fas fa-search-plus"></i>',label:"Zoom In",shortcut:["z","+","shift+ArrowUp"],function:{function:"zoom",args:"in"}},zoomout:{icon:'<i class="fas fa-search-minus"></i>',label:"Zoom Out",shortcut:["m","-","shift+ArrowDown"],function:{function:"zoom",args:"out"}},prev:{icon:'<i class="fa fa-arrow-left"></i>',label:"Previous",shortcut:["p",",","shift+ArrowLeft"],function:{function:"next",args:"prev"}},next:{icon:'<i class="fa fa-arrow-right"></i>',label:"Next",shortcut:["n",".","shift+ArrowRight"],function:{function:"next",args:"next"}},overlay:{icon:n["overlay"],label:"Toggle overlays",shortcut:["o","4"],function:{function:"createOverlay",args:""}},shortcut:{icon:n["keyboard"],label:"Keyboard Shortcuts",shortcut:["s","8"],function:{function:"clickButton",args:"keyboard"}},fullscreen:{icon:n["expand"],label:"Fullscreen",shortcut:["alt+f",";"],function:{function:"toggle_fullscreen",args:""}},hide:{icon:n["hide"],label:"Collapse text",shortcut:["c","7"],function:{function:"hide",args:""}},close:{icon:'<i class="fas fa-times"></i>',label:"Close",shortcut:["x","6"],function:{function:"close",args:"",run:!0}}};("storyboard"==t&&Object.keys(e.tagslist).length>0||"multistoryboard"==t&&e.tags)&&(r["tags"]={icon:n["tags"],label:"Tags",shortcut:["t","3"],function:{function:"clickButton",args:"tags"}}),("storyboard"==t&&e.layerslist.length>1||"multistoryboard"==t&&e.layerslist)&&(r["layers"]={icon:n["layer"],label:"Layers",shortcut:["l","5"],function:{function:"clickButton",args:"layer"}}),e.settings.tts&&(r["playpause"]={icon:n["playpause"],label:"Play/Pause",shortcut:["v","9"],function:{function:"playpause",args:""}}),e.$parent.range&&e.$parent.rangelist.length>1&&(r["prevanno"]={icon:'<i class="fa fa-chevron-left"></i>',label:"Previous Annotation",shortcut:["alt+p","alt+,","alt+left"],function:{function:"nextItemRange",args:"prev"},run:!0},r["nextanno"]={icon:'<i class="fa fa-chevron-right"></i>',label:"Next Annotation",shortcut:["alt+n","alt+.","alt+right"],function:{function:"nextItemRange",args:"next"},run:!0});var i="storyboard"==t?e.annotations:e.$children.map((function(t){return t.annotations})),o=this.flatten(i.filter((function(t){return t&&t.ocr&&t.ocr.length>0}))),s=i.some((function(t){return t&&t.ocr&&t.ocr.length>0&&t.textual_body&&t.textual_body.length>0&&t.ocr!=t.textual_body}));o.length>0&&(r["textoverlay"]={icon:n["textoverlay"],label:"Show OCR text overlay settings box",shortcut:["g","alt+z"],function:{function:"clickButton",args:"textoverlay"}},s&&(r["transcription"]={icon:n.anno,label:"Toggle between transcription/annotation",shortcut:["e","`"],function:{function:"toggletranscription",args:""}})),0==i.length&&(delete r["prev"],delete r["next"],delete r["overlay"],delete r["autorun"]);for(var a=Object.keys(e.settings).filter((function(t){return t.indexOf("hide_")>-1})),c=0;c<a.length;c++)if(e.settings[a[c]]){var l=a[c],u=l.split("_").slice(-1)[0].split("button")[0];delete r[u],"next"==u&&delete r["prev"]}return r},getId:function(t){return t["id"]?t["id"]:t["@id"]?t["@id"]:t}},ot=n("8055"),st=n.n(ot),at=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.$parent.shown,expression:"$parent.shown"}],staticClass:"annotation",class:[t.$parent.booleanitems.isexcerpt?"excerpt":"fullcontent",t.$parent.textposition,t.$parent.settings.toolbarposition?t.$parent.settings.toolbarposition+"_menu_annotation":"",t.$parent.settings.hide_toolbar?"no_toolbar_annotation":""],attrs:{id:t.$parent.seadragonid+"_annotation",tabindex:"0"}},[t.$parent.settings.hide_annocontrols||!0===t.$parent.settings.hide_annocontrols?t._e():n("boxtoolbar",{attrs:{parent:t.$parent}}),"layer"==t.$parent.shown?n("div",{staticClass:"content",attrs:{id:"layers"}},t._l(t.$parent.layerslist,(function(e){return n("div",{key:e.tile},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"layer.checked"}],staticClass:"tagscheck",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.checked)?t._i(e.checked,null)>-1:e.checked},on:{click:function(n){return t.$parent.sendMessage({function:"setOpacity",args:e})},change:function(n){var r=e.checked,i=n.target,o=!!i.checked;if(Array.isArray(r)){var s=null,a=t._i(r,s);i.checked?a<0&&t.$set(e,"checked",r.concat([s])):a>-1&&t.$set(e,"checked",r.slice(0,a).concat(r.slice(a+1)))}else t.$set(e,"checked",o)}}}),n("span",{domProps:{innerHTML:t._s(e.label)}}),n("div",{staticClass:"slidecontainer"},[t._v("Opacity: "),n("input",{staticClass:"slider",attrs:{type:"range",min:"0",max:"100"},domProps:{value:100*e.opacity},on:{change:function(n){return t.$parent.sendMessage({function:"setOpacity",args:{event:n,layer:e}})}}})])])})),0):t._e(),"textoverlay"==t.$parent.shown?n("textoverlay",{attrs:{parent:t.$parent}}):t._e(),"keyboard"==t.$parent.shown?n("shortcuts",{attrs:{parent:t.$parent}}):t._e(),"tags"==t.$parent.shown?n("tags",{attrs:{parent:t.$parent}}):t._e(),"info"==t.$parent.shown?n("info",{attrs:{parent:t.$parent}}):t._e(),"transcription"==t.$parent.shown?n("div",{staticClass:"content",class:t.$parent.currentanno.itemclass,attrs:{id:"transcription"}},[t.$parent.booleanitems.isexcerpt||t.$parent.settings.transcription||t.isscrollview?!t.$parent.booleanitems.isexcerpt&&t.$parent.settings.transcription||t.isscrollview?t._l(t.transcriptions,(function(e,r){return n("button",{key:r,staticClass:"buttonastext",class:[r==t.$parent.position&&"scrollview"!=t.$parent.settings.annoview?"activeword":"","scrollview"==t.$parent.settings.annoview?"scrolltext":"ocrlink"],on:{click:function(e){return t.$parent.sendMessage({function:"next",args:r})}}},[e?n("div",{ref:r,refInFor:!0,staticClass:"ocrtranscription",attrs:{id:"line"+r},domProps:{innerHTML:t._s(e)}}):t._e()])})):t.$parent.booleanitems.isexcerpt?n("span",{domProps:{innerHTML:t._s(t.$parent.$options.filters.truncate(t.$parent.annoContent["transcription"],t.$parent.settings.truncate_length))}}):t._e():n("span",{domProps:{innerHTML:t._s(t.$parent.annoContent["transcription"])}})],2):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:"anno"==t.$parent.shown,expression:"$parent.shown == 'anno'"}],staticClass:"content",class:t.$parent.currentanno.itemclass,attrs:{id:"annotation_text"}},[t.$parent.booleanitems.isexcerpt||t.isscrollview?t.isscrollview?!t.$parent.booleanitems.isexcerpt||t.isscrollview?t._l(t.scrollitems,(function(e,r){return n("button",{key:r,staticClass:"buttonastext scrolltext",on:{click:function(e){return t.$parent.sendMessage({function:"next",args:r})}}},[e?n("div",{ref:r,refInFor:!0,staticClass:"scrollitem",attrs:{id:"line"+r},domProps:{innerHTML:t._s(e)}}):t._e()])})):t._e():n("span",{domProps:{innerHTML:t._s(t.$parent.$options.filters.truncate(t.$parent.annoContent["anno"],t.$parent.settings.truncate_length))}}):n("span",{domProps:{innerHTML:t._s(t.$parent.annoContent["anno"])}}),t.$parent.leaflet?n("div",t._l(t.$parent.annotations,(function(e,r){return n("div",{key:r},[e.geometry?n("leaflet",{directives:[{name:"show",rawName:"v-show",value:t.$parent.position==r&&!t.$parent.booleanitems.isexcerpt,expression:"$parent.position == index && !$parent.booleanitems.isexcerpt"}],key:r,attrs:{parent:t.$parent,position:r,annotation:e}}):t._e()],1)})),0):t._e()],2),t.$parent.shortcuts["textoverlay"]?n("span",{domProps:{innerHTML:t._s(t.customStyle)}}):t._e()],1)},ct=[],lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{height:"180px"},attrs:{id:this.mapid}})},ut=[],ht={name:"leaflet",data:function(){return{mapid:"",jsonLayer:"",watcher:"",leafletloaded:!1}},props:["position","annotation","parent"],watch:{"parent.basecompontent.leaflet":function(t){this.leafletloaded=t},"parent.leaflet":function(t){this.leafletloaded=t},leafletloaded:function(t){var e=this;1==t&&this.$nextTick((function(){e.addGeometry()}))}},mounted:function(){var t=this.parent.seadragonid?this.parent.seadragonid:this.parent.annotationid;this.mapid=t+"-map-"+this.position,this.leafletloaded=this.parent.basecompontent?this.parent.basecompontent.leaflet:this.parent.leaflet,1!=this.leafletloaded&&this.addLeafletLibrary()},methods:{addLeafletLibrary:function(){var t=this,e=document.getElementsByTagName("head")[0],n="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js",r=Array.from(e.children).some((function(t){return t.src&&t.src.indexOf("leaflet")}));if(!r){var i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css",e.append(i);var o=document.createElement("script");o.type="text/javascript",o.src=n,o.readyState?o.onreadystatechange=function(){"loaded"!==o.readyState&&"complete"!==o.readyState||(o.onreadystatechange=null,t.parent.basecompontent?t.parent.basecompontent.leaflet=!0:t.parent.leaflet=!0)}:o.onload=function(){t.parent.basecompontent?t.parent.basecompontent.leaflet=!0:t.parent.leaflet=!0},e.appendChild(o)}},retryAdd:function(){var t=this;setTimeout((function(){t.addGeometry()}),10)},addGeometry:function(){var t=this.parent.settings.maplayer&&this.parent.settings.mapattribution?{layer:this.parent.settings.maplayer,attribution:this.parent.settings.mapattribution}:"",e=document.getElementById(this.mapid);if(e&&0==e.classList.length){var n={type:"Feature",geometry:this.annotation["geometry"]},r=L.map(this.mapid),i=t?t["layer"]:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",o=t?t["attribution"]:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';L.tileLayer(i,{attribution:o}).addTo(r);var s=L.geoJSON(n);this.jsonLayer=s,r.addLayer(s);var a=s.getBounds();r.fitBounds(a);var c=r.getZoom();0==c&&(this.watcher=this.$watch("parent.position",(function(t){if(this.position==t){var e=this;setTimeout((function(){s.fire("click"),e.watcher()}),10)}}))),s.on("click",(function(){r.fitBounds(s.getBounds())}));var l=new ResizeObserver((function(){r.invalidateSize()}));l.observe(e)}else e||this.retryAdd()}}},ft=ht;function pt(t,e,n,r,i,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}var dt=pt(ft,lt,ut,!1,null,null,null),gt=dt.exports,vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{attrs:{id:"annotation_controls"}},[t.parent.shortcuts["close"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"close_button","aria-label":"close content box button"},on:{click:function(e){return t.parent.close()}}},[n("i",{staticClass:"fas fa-times"})]):t._e(),t.parent.shortcuts["hide"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"hide_button","aria-label":"collapse content box button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["hide"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.parent.buttons.hide)}})]):t._e(),t.parent.settings.tts&&t.parent.shortcuts["playpause"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"playpause_button","aria-label":"play/pause text to speech button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["playpause"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.parent.buttons.playpause)}})]):t._e(),t.parent.shortcuts["tags"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"tags_button","aria-label":"toggle tags button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["tags"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.parent.buttons.tags)}})]):t._e(),t.parent.shortcuts["info"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"info_button","aria-label":"toggle info button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["info"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.parent.buttons.info)}})]):t._e(),t.parent.hastranscription&&t.parent.shortcuts["transcription"]?n("button",{staticClass:"annocontrols_button",attrs:{id:"transcription_button","aria-label":"toggle transcription button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["transcription"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.parent.buttons.anno)}})]):t._e(),t.parent.shortcuts["prev"]?n("button",{staticClass:"annocontrols_button",class:{inactive:t.parent.prev_inactive},attrs:{id:"previousButton","aria-label":"previous annotation button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["prev"]["function"])}}},[n("i",{staticClass:"fa fa-arrow-left"}),n("span",{staticClass:"toolbartext"},[t._v("Previous Annotation")])]):t._e(),t.parent.shortcuts["next"]?n("button",{staticClass:"annocontrols_button",class:{inactive:t.parent.next_inactive},attrs:{id:"nextButton","aria-label":"next annotation button"},on:{click:function(e){return t.parent.sendMessage(t.parent.shortcuts["next"]["function"])}}},[n("i",{staticClass:"fa fa-arrow-right"}),n("span",{staticClass:"toolbartext"},[t._v("Next Annotation")])]):t._e(),t.parent.languages.length>0?n("span",{staticClass:"lang-icon",attrs:{id:"lang_button"}},[n("select",{staticClass:"lang_drop",attrs:{"aria-label":"change language dropdown"},domProps:{innerHTML:t._s(t.parent.languages.join(""))},on:{change:function(e){return t.parent.sendMessage({function:"changeLang",args:e})}}})]):t._e()])},mt=[],yt={props:["parent"]},bt=yt,wt=pt(bt,vt,mt,!1,null,null,null),_t=wt.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content",attrs:{id:"textoverlay"}},[n("b",[t._v("Text Overlay")]),n("input",{key:t.parent.booleanitems.istextoverlaytoggled,staticClass:"toggletextoverlay",attrs:{id:t.parent.seadragonid+"toggletextoverly",type:"checkbox"},domProps:{checked:t.parent.booleanitems.istextoverlaytoggled},on:{change:function(e){return t.parent.sendMessage({function:"createOverlay",args:"textoverlay"})}}}),n("label",{staticClass:"toggletextoverlaylabel",attrs:{for:t.parent.seadragonid+"toggletextoverly"}},[t._v("Toggle text overlay")]),n("p",[n("label",{attrs:{for:"backgroundcolor"}},[t._v("Background Color: ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.parent.textoverlay.background,expression:"parent.textoverlay.background"}],attrs:{type:"color",id:"backgroundcolor"},domProps:{value:t.parent.textoverlay.background},on:{input:function(e){e.target.composing||t.$set(t.parent.textoverlay,"background",e.target.value)}}})]),n("p",[n("label",{attrs:{for:"fontcolor"}},[t._v("Font Color: ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.parent.textoverlay.fontcolor,expression:"parent.textoverlay.fontcolor"}],attrs:{type:"color",id:"fontcolor"},domProps:{value:t.parent.textoverlay.fontcolor},on:{input:function(e){e.target.composing||t.$set(t.parent.textoverlay,"fontcolor",e.target.value)}}})]),n("p",{staticClass:"slidecontainer"},[n("label",{attrs:{for:"textoverlayopacity"}},[t._v("Opacity:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.parent.textoverlay.opacity,expression:"parent.textoverlay.opacity"}],staticClass:"slider",attrs:{id:"textoverlayopacity",type:"range",min:"0",max:"100"},domProps:{value:t.parent.textoverlay.opacity},on:{__r:function(e){return t.$set(t.parent.textoverlay,"opacity",e.target.value)}}})])])},St=[],Tt={props:["parent"]},Et=Tt,Ct=pt(Et,xt,St,!1,null,null,null),kt=Ct.exports,At=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content",attrs:{id:"shortcuts"}},[n("p",[t._v("There are multiple possible keyboard shortcuts for each button. \n    They are separated by an 'or'. \n    On Macs 'alt' is the 'option' key.\n    ")]),t.parent.booleanitems.isexcerpt?t._e():n("table",[t._m(0),t._l(t.parent.shortcuts,(function(e,r){return n("tr",{key:r,staticClass:"keyboard",attrs:{id:r+"_tags"}},[n("td",[n("span",{staticClass:"shortcuticon",domProps:{innerHTML:t._s(e.icon+" ("+e.label+")")}})]),n("td",t._l(e.shortcut,(function(r,i){return n("span",{key:r},[n("code",[t._v(t._s(r))]),i!=e.shortcut.length-1?n("span",[t._v(" or ")]):t._e()])})),0)])}))],2)])},Ot=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("th",[t._v("Icon")]),n("th",[t._v("Keyboard shortcuts")])])}],Pt={props:["parent"]},Rt=Pt,Lt=pt(Rt,At,Ot,!1,null,null,null),It=Lt.exports,Mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content",attrs:{id:"tags"}},t._l(t.parent.groupTagDict,(function(e,r){return n("div",{key:r,staticClass:"tagslist"},[r?n("div",{staticClass:"taggroup tags",attrs:{id:r+"_tags"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"groupval.checked"}],staticClass:"tagscheck",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.checked)?t._i(e.checked,null)>-1:e.checked},on:{click:function(e){return t.parent.sendMessage({function:"checksubgrouptags",args:r})},change:function(n){var r=e.checked,i=n.target,o=!!i.checked;if(Array.isArray(r)){var s=null,a=t._i(r,s);i.checked?a<0&&t.$set(e,"checked",r.concat([s])):a>-1&&t.$set(e,"checked",r.slice(0,a).concat(r.slice(a+1)))}else t.$set(e,"checked",o)}}}),n("div",{staticClass:"countkey"},[t._v("\n        "+t._s(r)+"\n        "),n("span",{staticClass:"tagscount",style:"background: "+e.color},[t.parent.settings.hide_tagcount?t._e():n("span",[t._v("\n            "+t._s(e.count)+"\n            ")])])])]):t._e(),t._l(e.tags,(function(e){return n("div",{key:e.key,staticClass:"tags",class:{subtags:r},attrs:{id:e.key+"_tags"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"tagdict.checked"}],staticClass:"tagscheck",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.checked)?t._i(e.checked,null)>-1:e.checked},on:{click:function(n){return t.parent.sendMessage({function:"hideshowalltags",args:e.key})},change:function(n){var r=e.checked,i=n.target,o=!!i.checked;if(Array.isArray(r)){var s=null,a=t._i(r,s);i.checked?a<0&&t.$set(e,"checked",r.concat([s])):a>-1&&t.$set(e,"checked",r.slice(0,a).concat(r.slice(a+1)))}else t.$set(e,"checked",o)}}}),n("div",{staticClass:"countkey"},[t._v("\n        "+t._s(e.label)+"\n        "),n("span",{staticClass:"tagscount",style:"background: "+e.color},[t.parent.settings.hide_tagcount?t._e():n("span",[t._v("\n            "+t._s(e.count)+"\n            ")])])])])}))],2)})),0)},jt=[],Bt={props:["parent"]},Dt=Bt,Nt=pt(Dt,Mt,jt,!1,null,null,null),Ft=Nt.exports,Ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"info content",staticStyle:{height:"auto"},attrs:{id:"information"}},[n("div",{staticClass:"imagetitle"},[n("h1",[t._v(t._s(t.parent.imagetitle))])]),t.parent.booleanitems.isexcerpt?t._e():n("span",[t.parent.settings.additionalinfo?n("button",{staticClass:"infolink buttonlink",on:{click:function(e){return t.parent.sendMessage({function:"switchShown",args:"additionalinfoshown"})}}},[t._v(t._s(t.parent.settings.additionalinfotitle))]):t._e(),t.parent.booleanitems.additionalinfoshown?n("div",{staticClass:"imageinfo",domProps:{innerHTML:t._s(t.parent.settings.additionalinfo)}}):t._e(),t.parent.basecompontent.range&&t.parent.basecompontent.toc.length>1?n("button",{staticClass:"infolink buttonlink",on:{click:function(e){return t.parent.sendMessage({function:"switchShown",args:"tocshown"})}}},[t._v(t._s(t.parent.basecompontent.toctitle))]):t._e(),t.parent.booleanitems.tocshown?n("div",{staticClass:"tocinfo"},t._l(t.parent.basecompontent.toc,(function(e,r){return n("div",{key:e.position,attrs:{id:"data_"+e.position}},[n("div",{staticClass:"title"},[n("button",{staticClass:"buttonlink",on:{click:function(n){return t.parent.basecompontent.nextItemRange(e.position)}}},[e.thumbnail?n("img",{staticStyle:{"max-width":"30px"},attrs:{src:e.thumbnail}}):t._e(),t._v(t._s(r+1)+". "+t._s(e.label)+"\n            ")])]),e.description?n("div",{staticClass:"additionaltext",domProps:{innerHTML:t._s(e.description)}}):t._e()])})),0):t._e(),t.parent.annoinfo.text?n("button",{staticClass:"infolink buttonlink annoinfolink",on:{click:function(e){return t.parent.sendMessage({function:"switchShown",args:"annoinfoshown"})}}},[t._v("Annotation information")]):t._e(),t.parent.booleanitems.annoinfoshown?n("div",{staticClass:"annoinfo"},[n("span",{domProps:{innerHTML:t._s(t.parent.annoinfo.text)}}),n("div",{staticClass:"annotationslist"},t._l(t.parent.annoinfo.annodata,(function(e){return n("div",{key:e.position,attrs:{id:"data_"+e.position}},[n("div",{staticClass:"title"},[n("button",{staticClass:"buttonlink",on:{click:function(n){return t.parent.sendMessage({function:"next",args:e.position})}}},[t._v(t._s(e.title))])]),n("div",{staticClass:"additionaltext",domProps:{innerHTML:t._s(e.additionaltext)}})])})),0)]):t._e(),t.parent.imageinfo.text?n("button",{staticClass:"infolink buttonlink imageinfolink",on:{click:function(e){return t.parent.sendMessage({function:"switchShown",args:"imageinfoshown"})}}},[t._v(t._s(t.parent.imageinfo.label))]):t._e(),t.parent.booleanitems.imageinfoshown?n("div",{staticClass:"imageinfo",domProps:{innerHTML:t._s(t.parent.imageinfo.text)}}):t._e()])])},zt=[],$t={props:["parent"]},Ut=$t,qt=pt(Ut,Ht,zt,!1,null,null,null),Vt=qt.exports,Wt={name:"annotationbox",data:function(){return{transcriptions:[],scrollitems:[],isscrollview:!1,updatedto:""}},components:{leaflet:gt,boxtoolbar:_t,textoverlay:kt,shortcuts:It,tags:Ft,info:Vt},watch:{"$parent.annotations":function(){this.scrollContent()},"$parent.currentlang":function(){this.scrollContent(!0)},"$parent.position":function(t){var e=this;this.updatedto.toString()!=t.toString()&&this.$refs[t]&&this.$nextTick((function(){var n=e.$refs[t][0],r=n.offsetTop-e.padding/2;e.$el.scrollTo(0,r)}))}},mounted:function(){"scrollview"==this.$parent.settings.annoview&&this.$el.addEventListener("scroll",this.handleScroll)},created:function(){this.isscrollview="scrollview"==this.$parent.settings.annoview},methods:{scrollContent:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$parent.settings.transcription||this.isscrollview||this.$parent.leaflet){t&&(this.scrollitems=[],this.transciptions=[]);for(var e=0;e<this.$parent.annotations.length;e++){var n=this.$parent.createAnnoContent(this.$parent.annotations[e]),r=n["transcription"]?n["transcription"]:n["anno"];this.transcriptions.push(r),this.scrollitems.push(n["anno"])}}},handleScroll:function(){if("transcription"==this.$parent.shown||"anno"==this.$parent.shown)for(var t in this.$refs){var e=this.$refs[t][0],n=e.offsetTop-this.padding,r=n+e.offsetHeight+this.padding,i=parseInt(t);n<=this.$el.scrollTop&&this.$el.scrollTop<=r&&this.$parent.position!=i&&(this.$parent.$parent.multi?this.$parent.$parent.sendMessage({function:"next",args:i}):this.$parent.sendMessage({function:"next",args:i}),this.updatedto=i)}}},computed:{padding:function(){return(this.$refs["1"][0].offsetTop-this.$refs["0"][0].offsetTop)/1.1},customStyle:function(){return'<style type="text/css">#'+this.$parent.seadragonid+" .textoverlay { fill: "+this.$parent.textoverlay.fontcolor+";\n      background: "+this.$parent.textoverlay.background+";\n      opacity: "+this.$parent.textoverlay.opacity/100+";\n      }\n      #"+this.$parent.seadragonid+" .textoverlaywithpath {\n        background: none;\n      }\n      #"+this.$parent.seadragonid+" .svgBackground { fill: "+this.$parent.textoverlay.background+";\n      opacity: "+this.$parent.textoverlay.opacity/100+";\n      }\n      </style>"}}},Gt=Wt,Zt=pt(Gt,at,ct,!1,null,null,null),Xt=Zt.exports,Yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$parent.settings.hide_toolbar?t._e():n("span",{class:t.menuclass,attrs:{id:"header_toolbar"}},[t.$parent.shortcuts["autorun"]?n("button",{staticClass:"toolbarButton",attrs:{id:"autoRunButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["autorun"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.autorun)}}),n("span",{staticClass:"toolbartext"},[t._v("Start/Stop Autorun")])]):t._e(),t.$parent.shortcuts["info"]?n("button",{staticClass:"toolbarButton",attrs:{id:"infoButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["info"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.info)}}),n("span",{staticClass:"toolbartext"},[t._v("View source image information")])]):t._e(),t.$parent.shortcuts["tags"]?n("button",{staticClass:"toolbarButton",attrs:{id:"tagsButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["tags"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.tags)}}),n("span",{staticClass:"toolbartext"},[t._v("Toggle Tags")])]):t._e(),t.$parent.shortcuts["overlay"]?n("button",{staticClass:"toolbarButton",attrs:{id:"overlayButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["overlay"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.overlay)}}),n("span",{staticClass:"toolbartext"},[t._v("Toggle Overlays")])]):t._e(),t.$parent.shortcuts["textoverlay"]?n("button",{staticClass:"toolbarButton",attrs:{id:"textOverlayButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["textoverlay"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.textoverlay)}}),n("span",{staticClass:"toolbartext"},[t._v("Toggle OCR Overlays")])]):t._e(),t.$parent.shortcuts["layers"]?n("button",{staticClass:"toolbarButton",attrs:{id:"layerButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["layers"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.layer)}}),n("span",{staticClass:"toolbartext"},[t._v("View layers")])]):t._e(),t.$parent.shortcuts["zoomin"]?n("button",{staticClass:"toolbarButton",attrs:{id:"zoomInButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["zoomin"]["function"])}}},[n("i",{staticClass:"fas fa-search-plus"}),n("span",{staticClass:"toolbartext"},[t._v("Zoom in")])]):t._e(),t.$parent.shortcuts["zoomout"]?n("button",{staticClass:"toolbarButton",attrs:{id:"zoomOutButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["zoomout"]["function"])}}},[n("i",{staticClass:"fas fa-search-minus"}),n("span",{staticClass:"toolbartext"},[t._v("Zoom out")])]):t._e(),t.$parent.shortcuts["home"]?n("button",{staticClass:"toolbarButton",attrs:{id:"homeZoomButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["home"]["function"])}}},[n("i",{staticClass:"fas fa-home"}),n("span",{staticClass:"toolbartext"},[t._v("View full image")])]):t._e(),t.$parent.shortcuts["prev"]?n("button",{staticClass:"toolbarButton",class:{inactive:t.$parent.prev_inactive},attrs:{id:"previousButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["prev"]["function"])}}},[n("i",{staticClass:"fa fa-arrow-left"}),n("span",{staticClass:"toolbartext"},[t._v("Previous Annotation")])]):t._e(),t.$parent.shortcuts["next"]?n("button",{staticClass:"toolbarButton",class:{inactive:t.$parent.next_inactive},attrs:{id:"nextButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["next"]["function"])}}},[n("i",{staticClass:"fa fa-arrow-right"}),n("span",{staticClass:"toolbartext"},[t._v("Next Annotation")])]):t._e(),t.$parent.shortcuts["shortcut"]?n("button",{staticClass:"toolbarButton",attrs:{id:"keyboardShortcutsButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["shortcut"]["function"])}}},[n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.keyboard)}}),n("span",{staticClass:"toolbartext"},[t._v("Toggle keyboard shortcuts")])]):t._e(),t.$parent.shortcuts["fullscreen"]?n("button",{staticClass:"toolbarButton",attrs:{id:"fullScreenButton"},on:{click:function(e){return t.$parent.sendMessage(t.$parent.shortcuts["fullscreen"]["function"])}}},[t.$parent.fullscreen?n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.compress)}}):n("span",{domProps:{innerHTML:t._s(t.$parent.buttons.expand)}}),n("span",{staticClass:"toolbartext"},[t._v("Toggle fullscreen")])]):t._e()])},Kt=[],Jt={name:"toolbar",data:function(){return{menuclass:"default_menu"}},mounted:function(){this.$parent.$el.addEventListener("keydown",this.keydownListener)},created:function(){var t="_menu";this.$parent.multi&&(t="_multi"+t,this.$parent.settings.toolbarposition||(this.menuclass="top"+t)),this.$parent.settings.toolbarposition&&(this.menuclass=this.$parent.settings.toolbarposition+t)},methods:{keydownListener:function(t){var e=t.code.replace("Key","").replace("Digit","").toLowerCase(),n=t.altKey?"alt+":t.shiftKey?"shift+":t.metaKey?"cmd+":"";e=n+e;var r=n+t.key,i=Object.values(this.$parent.shortcuts).filter((function(t){return t.shortcut.indexOf(e)>-1||t.shortcut.indexOf(r)>-1}));if(i.length>0){var o=i[0],s=o["function"];o["run"]?this.$parent.$parent&&this.$parent.$parent.range&&this.$parent.$parent[s["function"]](s["args"]):this.$parent.sendMessage(s)}}}},Qt=Jt,te=pt(Qt,Yt,Kt,!1,null,null,null),ee=te.exports;function ne(t){return oe(t)||ie(t)||re()}function re(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ie(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function oe(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}r["a"].use(Y.a);var se={name:"storyboard",components:{annotationbox:Xt,toolbar:ee},props:{manifesturl:String,annotationurl:String,annotationlist:String,jsonannotation:Object,styling:String,ws:String,layers:String},data:function(){return{seadragontile:"",position:-1,seadragonid:"",annotations:[],currentanno:"",hastranscription:!1,textposition:"corner",prev_inactive:!0,next_inactive:!1,toolbar_id:"",booleanitems:it.objectToNewObject(it.booleanitems),shown:!1,mapmarker:'<i class="fas fa-map-marker-alt map-marker"></i>',anno_elem:"",isautorunning:"",buttons:it.objectToNewObject(it.buttons),settings:{},textoverlay:it.objectToNewObject(it.textoverlay),currentlang:"",languages:[],fullscreen:!1,tagslist:{},annoinfo:{text:"",annodata:[]},imageinfo:{text:"",label:"Image information"},imagetitle:"",layerslist:[],shortcuts:{},basecompontent:"",rendered:"",leaflet:!1}},created:function(){var t=this;this.basecompontent=this.$parent.$parent&&this.$parent.$parent.range?this.$parent.$parent:this.$parent.range||this.$parent.multi?this.$parent:this,this.basecompontent&&this.basecompontent.range&&(this.$parent.multi||this.basecompontent.updateFullScreen(this.basecompontent.isfullscreen),this.textoverlay=it.objectToNewObject(this.basecompontent.textoverlay),this.booleanitems=it.objectToNewObject(this.basecompontent.booleanitems));var e=this.annotationurl?this.annotationurl:this.annotationlist?this.annotationlist:this.jsonannotation;this.settings=it.getsettings(this,this.$parent.multi);var n=!!document.documentMode;n&&(this.settings.tts=!1),this.imagetitle=this.settings.title?this.settings.title:"";var r=it.isURL(e,this.settings);this.seadragonid="storyboard_"+r["id"],this.settings.index&&(this.seadragonid+="_"+this.settings.index),"collapse"==this.settings.annoview&&(this.buttons.hide='<i class="fas fa-caret-left"></i>'),r["isURL"]&&F.a.get(e).then((function(n){t.parseAnnoData(n.data,e,r["isURL"])})).catch((function(){t.renderError(e)}))},watch:{annoContent:function(t){this.hastranscription=t["anno"]&&t["transcription"]&&t["anno"]!=t["transcription"],(""==t["anno"]&&""==t["transcription"]&&("anno"==this.shown||"transcription"==this.shown)||this.settings.hide_annotationtext)&&(this.shown=!1)},booleanitems:{deep:!0,handler:function(){this.basecompontent.range&&(this.basecompontent.booleanitems=it.objectToNewObject(this.booleanitems))}},textoverlay:{deep:!0,handler:function(){this.basecompontent.range&&(this.basecompontent.textoverlay=it.objectToNewObject(this.textoverlay))}},buttons:{deep:!0,handler:function(){this.$parent.multi&&(this.$parent.buttons=this.buttons)}}},mounted:function(){this.newSocket();var t=this.annotationurl?this.annotationurl:this.annotationlist?this.annotationlist:this.jsonannotation,e=it.isURL(t,"");e["isURL"]||this.parseAnnoData(e["json"],t,e["isURL"])},methods:{checksubgrouptags:function(t){for(var e=this.groupTagDict[t],n=e.tags,r=0;r<n.length;r++)e.checked==n[r].checked&&this.sendMessage({function:"hideshowalltags",args:n[r]["key"]})},renderError:function(t){this.basecompontent.manifestcontents?this.getManifestData():this.rendered='There was a error with <a href="'+t+'">'+t+"</a>"},parseAnnoData:function(t,e,n){this.imagetitle=this.settings.title?this.imagetitle:t.label;var r=it.getAnnotations(t);this.annoinfo.text+='<div class="listinfo">'+(n?'<b>Annotation Url: </b><a href="'+e+'" target="_blank">'+e+"</a><br>":"")+"\n      <b>Number of Annotations:</b> "+r.length+"</div>";for(var i=it.manifestlink(this.manifesturl,r[0],t),o=0;o<r.length;o++){for(var s=it.on_structure(r[o]),a=it.getCanvasId(r[o]),c=[],l=it.chars(r[o]),u=l["type"]?l["type"]:"rect",h=[],f=0;f<a.length;f++){var p=s&&s[f]?s[f]:s,d=it.canvasRegion(a[f],p),g=d["canvasRegion"];c.push(g);var v=d["canvasId"];if(d["svg"]){var m=d["svg"].getAttribute("id");u=m?m.split("_")[0]:"path"}(0==g.split(",")[0]&&0==g.split(",")[1]||0!=g.split(",")[2])&&0!=g.split(",")[3]||(u="pin"),h.push(d["svg"])}l=Object.assign({},l,{section:c,type:u,svg_path:h}),this.annotations.push(l),l["geometry"]&&(this.leaflet="true"),l["styles"]&&(l["styles"]["overlay"]&&!this.settings.overlaycolor&&(this.settings.overlaycolor=l["styles"]["overlay"]),l["styles"]["activecolor"]&&!this.settings.activecolor&&(this.settings.activecolor=l["styles"]["activecolor"]),this.settings.tagscolor=this.settings.tagscolor?Object.assign(l["styles"],this.settings.tagscolor):l["styles"]),this.getAnnoInfo(l,o)}var y=this.annotations.filter((function(t){return t.languages}));if(y.length>0){var b=it.flatten(this.annotations.map((function(t){return t.textual_body.map((function(t){return t.language}))}))),w=b.filter((function(t){return void 0!=t&&navigator.language.indexOf(t.toLowerCase())>-1}));this.currentlang=w.length>0?w[0]:b[0];var _=it.flatten(y,"languages");this.languages=Array.from(new Set(_))}i?this.getManifestData(i,v,a):this.buildseadragon(v)},tagslistShortcuts:function(){var t=it.flatten(this.annotations,"tags"),e=!!this.settings.toggleoverlay;this.tagslist=it.getTagDict(t,this.settings,e),this.booleanitems.istranscription=!(!this.settings.transcription||this.settings.textfirst),this.$parent.multi?(Object.keys(this.tagslist).length>0&&(this.$parent.tags=!0),this.$parent.shortcuts=it.keyboardShortcuts("multistoryboard",this.$parent),this.shortcuts=this.$parent.shortcuts):this.shortcuts=it.keyboardShortcuts("storyboard",this)},createViewer:function(){var t="fill"==this.settings.fit,e=it.getTileFormat(this.seadragontile),n={id:""+this.seadragonid,type:"image",nextButton:"next",previousButton:"previous",tileSources:e,toolbar:""+this.toolbar_id,showNavigator:!1,showNavigationControl:!1,homeFillsViewer:t,constrainDuringPan:!0,visibilityRatio:1};this.viewer=Z()(n);var r=this.viewer,i=this;r.addHandler("canvas-click",(function(){i.reposition()})),r.addHandler("canvas-scroll",(function(){i.reposition()})),r.addHandler("canvas-drag",(function(){i.reposition()})),r.addHandler("open",(function(){if(i.settings.imagecrop){var e=i.settings.imagecrop.split(",").map((function(t){return parseInt(t)})),n=i.viewer.world.getItemAt(0);n.setClip(new Z.a.Rect(e[0],e[1],e[2],e[3])),i.zoom("home")}i.layerslist&&i.layerslist.length>0&&i.addLayers(),"horizontal"==i.settings.fit?i.viewer.viewport.fitHorizontally():t||i.viewer.viewport.fitVertically(),i.settings.autorun_onload&&i.autoRun(i.settings.autorun_interval);for(var r=0;r<i.annotations.length;r++)if(i.annotations[r]["tags"].length>0)for(var o=0;o<i.annotations[r]["tags"].length;o++)i.createOverlayElement(r,i.annotations[r]["tags"][o]);else i.createOverlayElement(r,i.annotations[r]["tags"]);i.booleanitems.isoverlaytoggled&&i.createOverlay("",!0),i.booleanitems.istextoverlaytoggled&&i.createOverlay("textoverlay",!0),i.currentlang&&i.changeLang(i.currentlang),void 0!=i.settings.startposition&&i.next(i.settings.startposition-1)}))},reposition:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t=t||this.viewer.viewport.getConstrainedBounds();var e=this.viewer.world.getItemAt(0).viewportToImageRectangle(t);this.settings.controller?this.socket.emit("broadcast",{bounds:e}):this.$parent.multi&&this.$parent.moveArea(e)},newSocket:function(){var t=this;if(this.$props.ws){var e=st()(this.$props.ws,{origins:"http://localhost:*/* http://127.0.0.1:*/*"});this.socket=e,this.socket.on("message",(function(e){if(e["function"]&&(t.position=e["position"],t.shown=e["shown"],t.booleanitems=e["booleanitems"],t[e["function"]](e["args"])),e["bounds"]){var n=t.viewer.world.getItemAt(0).imageToViewportRectangle(e["bounds"].x,e["bounds"].y,e["bounds"].width,e["bounds"].height);t.viewer.viewport.fitBoundsWithConstraints(n).ensureVisible()}}))}},getImageInfo:function(t,e){var n=[{label:"Manifest",value:'<a href="'+e+'" target="_blank">'+e+"</a>"},{label:"title",value:t.label},{label:"description",value:t.description},{label:"attribution",value:t.attribution},{label:"license",value:t.license}];n=t.metadata?n.concat(t.metadata):n,t.sequences&&t.sequences[0].canvases.length>1&&(this.imageinfo.label="Manifest information");for(var r=0;r<n.length;r++){var i=it.parseMetaFields(n[r]["label"]),o=it.parseMetaFields(n[r]["value"]);"title"!==i||1!=r||this.settings.title||(this.imagetitle=o),o&&""!==o&&(this.imageinfo.text+='<div id="'+i+'">'+(i?"<b>"+(i.charAt(0).toUpperCase()+i.slice(1))+": ":"")+"</b>"+o+"</div>")}},getAnnoInfo:function(t,e){var n=t["label"]?e+1+". "+t["label"]:"Annotation "+(e+1),r=it.createContent(t,this.currentlang)["anno"],i="\n        "+(r?this.$options.filters.truncate(r,5)+"<br>":"")+"\n        "+(t["authors"]?"<b>Authors:</b> "+t["authors"]+"<br>":"")+"\n        "+(t["rights"]?"<b>Rights:</b> "+t["rights"]+"<br>":"")+"\n        "+(t["tags"].length>0?"<b>Tags:</b> "+t["tags"].map((function(t){return t["value"]})).join(", ")+"<br>":"");this.annoinfo.annodata.push({title:n,position:e,additionaltext:i})},changeLang:function(t){var e=t.target?t.target.value:t;this.currentlang=e,this.annoinfo.annodata=[];for(var n=0;n<this.annotations.length;n++)this.getAnnoInfo(this.annotations[n],n);this.settings.tts&&(this.settings.tts=e,this.ttscontent())},createOverlayElement:function(t,e){var n=this.annotations[t];e=e?it.tagsToClass(e):"";for(var r=0;r<n["section"].length;r++){var i=n["section"][r].split(",");if(i[0].indexOf("pct")>-1){var o=this.viewer.world.getItemAt(0).getContentSize();i=[parseFloat(i[1])/100*o["x"],parseFloat(i[2])/100*o["y"],parseFloat(i[3])/100*o["x"],parseFloat(i[4])/100*o["y"]],n["section"][r]=i.join(",")}var s=this.viewer.world.getItemAt(0).getBounds(),a=this.viewer.world.getItemAt(0).imageToViewportRectangle(parseInt(i[0]),parseInt(i[1]),parseInt(i[2]),parseInt(i[3]));a="full"==i[0]?s:a;var c=parseInt(i[0]*i[1]/(i[2]*i[3])*1e3);c="full"==i[0]?1:c;var l=document.createElement("div");l.style.display="none",l.id="position"+t;var u=n["section"].length>1?"multi":"",h=("overlay "+e+" "+u).trim();l.className=n["type"]+" "+h;var f=this.tagslist[e]?this.tagslist[e].color:this.settings.overlaycolor?this.settings.overlaycolor:"";if("pin"===n["type"]){l.innerHTML=this.mapmarker,l.style.fill=f;for(var p=0;p<l.children.length;p++)if("svg"==l.children[p].nodeName)for(var d=0;d<l.children[p].children.length;d++)l.children[p].children[d].style.stroke=f}else if(n["svg_path"][r]){var g=document.createElementNS("http://www.w3.org/2000/svg","svg");g.setAttribute("viewBox",i.join(" ")),g.setAttribute("style","position: absolute");var v=n["svg_path"][r];v.style.stroke=f;for(var m=document.createElement(v.tagName),y=0;y<v.attributes.length;y++){var b=v.attributes[y];"style"!=b.name&&m.setAttribute(b.name,b.value)}m.classList.add("svgactive"),this.settings.activecolor&&(m.style.stroke=this.settings.activecolor);var w=parseInt(i[0])+parseInt(i[2])/2+"px "+(parseInt(i[1])+parseInt(i[3])/2)+"px";m.style.transformOrigin=w,m.style.webkitTransformOrigin=w,g.innerHTML=m.outerHTML+v.outerHTML,l.appendChild(g)}if(f&&(l.style.borderColor=f,l.style.color=f,this.settings.activecolor&&(l.style.cssText+="outline-color: "+this.settings.activecolor+"!important"),this.settings.activecolor&&(l.style.webkitTextStrokeColor=this.settings.activecolor)),l.style.zIndex=c,this.viewer.addOverlay({element:l,location:a}),this.addTracking(l,a,t,this),n.ocr.length>0){var _;i=i.map((function(t){return parseFloat(t)}));var x=l.getElementsByTagName("svg").length>0?l.getElementsByTagName("svg")[0].childNodes[0]:"";_=it.textOverlayHTML(i,n.ocr,x);var S=document.createElementNS("http://www.w3.org/2000/svg","svg");S.setAttribute("viewBox",i.join(" ")),S.setAttribute("style","position: absolute;z-index: "+(this.annotations.length-t)),S.id="ocr-position"+t;var T=x?"textoverlay textoverlaywithpath":"textoverlay";S.classList=T,S.style.userSelect="text",S.style.display="none",S.innerHTML+=_,this.viewer.addOverlay({element:S,location:a}),new Z.a.MouseTracker({element:S}).setTracking(!0)}}},playpause:function(){var t=window.speechSynthesis;t.paused?(t.resume(),this.buttons.playpause=it.buttons["playpauseoff"]):t.speaking?(t.pause(),this.buttons.playpause=it.buttons["playpause"]):(this.ttscontent(),this.buttons.playpause=it.buttons["playpauseoff"])},ttscontent:function(){if("anno"==this.shown||"transcription"==this.shown){var t=this.annotations[this.position]?it.createContent(this.annotations[this.position],this.currentlang):"";t&&this.tts(t[this.shown])}},sendMessage:function(t){this.settings.controller&&(t["position"]=this.position,t["booleanitems"]=this.booleanitems,t["shown"]=this.shown,this.socket.emit("broadcast",t)),this[t["function"]](t["args"])},removeHeight:function(){var t=document.getElementById(this.seadragonid+"_annotation");t&&t.style.removeProperty("height")},close:function(){this.shown=!1,this.setDefaultButtons()},hide:function(){this.removeHeight();var t="collapse"==this.settings.annoview?"collapsehide":"hide";this.booleanitems.isexcerpt?(this.booleanitems.isexcerpt=!1,this.buttons.hide=it.buttons[t]):(this.booleanitems.isexcerpt=!0,this.buttons.hide=it.buttons[t+"off"])},clickButton:function(t){this.removeHeight(),this.booleanitems.isexcerpt&&"collapse"==this.settings.annoview&&this.hide();var e=this.shown;this.shown===t?this.switchButtons():(this.setShownData(t),this.switchButtons(t)),this.settings.tts&&("anno"==this.shown&&"transcription"==e||"anno"==e&&"transcription"==this.shown)&&this.ttscontent()},switchShown:function(t){this.booleanitems[t]=!this.booleanitems[t]},setShownData:function(t){this.shown=t,this.booleanitems.istranscription="anno"!=t&&("transcription"==t||this.booleanitems.istranscription),this.setDefaultButtons()},setDefaultButtons:function(){for(var t=["info","layer","tags","keyboard","textoverlay"],e=0;e<t.length;e++)this.buttons[t[e]]=it.buttons[t[e]];this.buttons.anno=this.booleanitems.istranscription?'<i class="fas fa-file-alt"></i>':'<i class="fas fa-pen-nib"></i>'},switchButtons:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.setDefaultButtons(),t?-1==this.position||this.position>=this.annotations.length?this.buttons[t]='<i class="fas fa-window-close"></i>':this.buttons[t]=this.booleanitems.istranscription?'<i class="fas fa-pen-nib"></i>':'<i class="fas fa-file-alt"></i>':-1==this.position||this.position===this.annotations.length?(this.shown=!!this.settings.startenddisplay&&this.settings.startenddisplay,this.settings.startenddisplay&&this.buttons[this.settings.startenddisplay]&&(this.buttons[this.settings.startenddisplay]='<i class="fas fa-window-close"></i>')):""==this.currentanno||this.settings.hide_annotationtext||this.booleanitems.istranscription?!this.settings.hide_annotationtext&&this.booleanitems.istranscription?this.setShownData("transcription"):this.setShownData(!1):this.setShownData("anno")},hideshowalltags:function(t){for(var e=this.anno_elem.getElementsByClassName(t),n=this.tagslist[t].checked,r=0;r<e.length;r++){for(var i=document.querySelectorAll("#"+e[r].id),o=0;o<i.length;o++)i[o].style.zIndex=0;!0===n?(e[r].style.display="none",this.tagslist[t].checked=!1):(e[r].style.display="block",e[r].style.zIndex=1,this.tagslist[t].checked=!0)}var s=Object.values(this.tagslist).map((function(t){return t["checked"]}));-1===s.indexOf(!0)?(this.booleanitems.isoverlaytoggled=!1,this.buttons.overlay=it.buttons["overlay"]):(this.booleanitems.isoverlaytoggled=!0,this.buttons.overlay=it.buttons["overlayoff"]),this.shown=!1,this.shown="tags"},getManifestData:function(t,e,n){var r=this;this.basecompontent.annotationurl&&this.basecompontent.annotationurl.images?this.manifestDataFunctions(t,this.basecompontent.manifestcontents,e,n,this.basecompontent.annotationurl.images):this.basecompontent.manifestcontents?this.manifestDataFunctions(t,this.basecompontent.manifestcontents,e,n):F.a.get(t).then((function(i){r.manifestDataFunctions(t,i.data,e,n)})).catch((function(){r.renderError(t)}))},manifestDataFunctions:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";this.getImageInfo(e,t);var o=it.matchCanvas(e,n,this.imagetitle,i);this.imagetitle=o["title"];var s=o["images"];this.getLayerData(s),this.buildseadragon(r)},buildseadragon:function(t){this.settings.startenddisplay&&this.switchButtons(this.settings.startenddisplay),this.settings.startenddisplay&&(this.shown=this.settings.startenddisplay);var e=this.settings.additionalinfo?document.getElementById(this.settings.additionalinfo):"";if(e&&(this.settings.additionalinfotitle=e.title?e.title:""),e&&(this.settings.additionalinfo=e.innerHTML),e&&e.parentNode.removeChild(e),this.settings.truncate_length=this.settings.truncate_length?this.settings.truncate_length:2,""===this.seadragontile){var n=Array.isArray(t)?t[0]:t;n=n.split("#")[0],this.seadragontile=it.iiifOrImageCheck(n,!0),this.layerslist.push({tile:this.seadragontile,label:"Layer 1",checked:!0,opacity:1}),this.getLayerData([])}this.createViewer(),this.anno_elem=document.getElementById(""+this.seadragonid),this.settings.autorun_interval=this.settings.autorun_interval?this.settings.autorun_interval:3,this.mapmarker=this.settings.mapmarker?this.settings.mapmarker:this.mapmarker,this.tagslistShortcuts(),this.imageinfo.text+='<div id="imageurl"><b>Image URL: </b><a href="'+this.seadragontile+'" target="_blank">'+this.seadragontile+"</a></div>"},getLayerData:function(t){t=t||[];for(var e=0;e<t.length;e++){var n=it.getCanvasTile(t[e],!0),r=n["canvas_tile"],i=n["img_resource"],o=t[e].resource?it.getId(t[e].resource):"",s=o&&"String"===o.constructor.name&&o.indexOf("xywh")>-1?o:it.on_structure(t[e])&&"String"===it.on_structure(t[e])[0].constructor.name?it.on_structure(t[e])[0]:"";s=s?s.split("xywh=").slice(-1)[0].split(","):s,s=s.length>1?s:"";var a=i.label?i.label:"Layer "+(e+1),c=!(!this.settings.togglelayers&&0!=e),l=this.settings.togglelayers||0==e?1:0;this.layerslist.push({tile:r,xywh:s,label:a,checked:c,opacity:l})}if(this.layerslist.length>0&&(this.seadragontile=this.layerslist[0].tile),this.$props.layers){var u=this.$props.layers.replace(/'/gm,'"');u=JSON.parse(u);for(var h=0;h<u.length;h++){var f=u[h],p=f["xywh"]?f["xywh"].split(","):[0,0,0,0],d=f["section"]?f["section"].split(",").map((function(t){return parseInt(t)})):"",g=!!this.settings.togglelayers,v=this.settings.togglelayers?1:0,m=f["rotation"]?f["rotation"]:0;this.layerslist.push({tile:f["image"],xywh:p,label:f["label"],checked:g,opacity:v,section:d,rotation:m})}}this.$parent.multi&&this.layerslist.length>1&&(this.$parent.layerslist=!0)},addLayers:function(){this.layerslist[0]["object"]=this.viewer.world.getItemAt(0);for(var t=1;t<this.layerslist.length;t++)this.setLayers(this.layerslist[t],t)},setLayers:function(t,e){var n=t.xywh,r=this,i=it.getTileFormat(t.tile),o=this.viewer.world.getItemAt(0).imageToViewportRectangle(parseInt(n[0]),parseInt(n[1]),parseInt(n[2]),parseInt(n[3])),s=t.section?new Z.a.Rect(t.section[0],t.section[1],t.section[2],t.section[3]):0;this.viewer.addTiledImage({tileSource:i,x:o.x,y:o.y,width:o.width,opacity:t.opacity,clip:s,degrees:t.rotation,success:function(t){r.layerslist[e]["object"]=t.item}})},setOpacity:function(t){var e=t.layer?t.layer:t,n=t.event?t.event.target.value/100:e.opacity>0?0:1;e.object.setOpacity(n),e.opacity=n;var r=0!=n;e.checked=r},zoom:function(t){var e=parseFloat(this.viewer.viewport.getZoom()),n=parseFloat(this.viewer.viewport.getMinZoom())-.2,r=parseFloat(this.viewer.viewport.getMaxZoom());if("in"===t&&r>=e)this.viewer.viewport.zoomBy(1.1);else if("out"===t&&n<=e)this.viewer.viewport.zoomBy(.9);else{if("home"!==t)return 0;"fill"==this.settings.fit?this.viewer.viewport.fitBounds(this.viewer.viewport.getHomeBounds()):"horizontal"==this.settings.fit?this.viewer.viewport.fitHorizontally():this.viewer.viewport.fitVertically()}},tts:function(t){var e=window.speechSynthesis;e.cancel();var n=it.stripHTML(t),r=new SpeechSynthesisUtterance(n),i=this.currentanno?this.currentanno["language"]:"";r.lang=i||this.settings.tts;var o=e.getVoices().filter((function(t){var e=r.lang;return 2==e.length?t.lang.split("-")[0]==e:t.lang==e}));r.voice=o?o[0]:e.getVoices()[0];var s=this;r.onstart=function(){s.buttons.playpause=it.buttons["playpauseoff"]},t?r.onend=s.autoRunTTS:this.autoRunTTS(),console.log("utterance",r),e.speak(r),this.buttons.playpause=it.buttons["playpauseoff"]},autoRunTTS:function(){if(this.isautorunning){var t=this,e=1e3*this.settings.autorun_interval;t.isautorunning=setTimeout((function(){t.position===t.annotations.length&&(t.position=-1),t.next("next")}),e)}else clearTimeout(this.isautorunning);window.speechSynthesis.speaking||window.speechSynthesis.pending||(this.buttons.playpause=it.buttons["playpause"])},createOverlay:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=t||"overlay";var n,r,i=this.anno_elem.getElementsByClassName(t),o=this.booleanitems["is"+t+"toggled"];if(o&&!e?(n="none",r=!1,this.booleanitems["is"+t+"toggled"]=!1,it.buttons[t+"off"]&&(this.buttons[t]=it.buttons[t])):(n="block",r=!0,this.booleanitems["is"+t+"toggled"]=!0,it.buttons[t+"off"]&&(this.buttons[t]=it.buttons[t+"off"])),"overlay"==t)for(var s in this.tagslist)this.tagslist[s].checked=r;for(var a=0;a<i.length;a++)i[a].style.display=n},addTracking:function(t,e,n,r){new Z.a.MouseTracker({element:t,clickHandler:function(){r.position=n,r.makeactive(n),r.sendMessage({function:"next",args:r.position});var t=r.annotations.map((function(t,e){return t.section.map((function(t){return r.annotations[n].section.indexOf(t)>-1})).some((function(t){return!0===t}))?e:-1}));if(t=t.filter((function(t){return-1!=t})),t.length>1&&(r.currentanno=t.map((function(t){return r.annotations[t]}))),r.goToArea(e),r.reposition(e),r.$parent.multi){var i=r.$parent.boardchildren;r.$parent.next_inactive=r.next_inactive,r.$parent.prev_inactive=r.prev_inactive;for(var o=0;o<i.length;o++)i[o].position=n,r.settings.matchclick&&i[o].next(n)}}}).setTracking(!0)},goToArea:function(t){var e=Array.isArray(this.currentanno)?this.currentanno[0]:this.currentanno,n=e["section"][0].split(","),r="full"==n.join("");if(0==t["height"]&&0==t["width"]&&(t["height"]=.001),r)this.zoom("home");else if("pan"==this.settings.panorzoom){var i=t["x"]+t["width"]/2,o=t["y"]+t["height"]/2;this.viewer.viewport.panTo(new Z.a.Point(i,o)).applyConstraints()}else this.viewer.viewport.fitBoundsWithConstraints(t).ensureVisible();if(this.settings.textposition){var s=r?"full":t;this.overlayPosition(s)}},toggle_fullscreen:function(){var t=this.basecompontent.range?this.basecompontent.$el:this.$el;this.$fullscreen.toggle(t,{wrap:!1,callback:this.fullscreenChange})},toggletranscription:function(){var t=this.booleanitems.istranscription?"anno":"transcription";this.setShownData(t)},makeactive:function(t){var e=this.anno_elem.getElementsByClassName("active");while(e[0])e[0].classList.remove("active");if(Number.isInteger(t))for(var n=this.anno_elem.querySelectorAll("#position"+t),r=0;r<n.length;r++)n[r].classList.add("active")},fullscreenChange:function(t){this.fullscreen=t,this.basecompontent.range&&this.basecompontent.updateFullScreen(t)},next:function(t){var e=this;if(this.removeHeight(),"prev"===t&&this.position>-1?this.position-=1:"next"===t&&this.position<this.annotations.length?this.position+=1:isNaN(t)?this.position=this.position:this.position=t,this.buttons.overlay==it.buttons["overlay"])for(var n=document.getElementsByClassName("multi"),r=0;r<n.length;r++)n[r].style.display="none";if(this.settings.overlaynext&&!this.booleanitems.isoverlaytoggled)for(var i=this.anno_elem.getElementsByClassName("overlay"),o=0;o<i.length;o++)i[o].style.display="none";if(this.currentanno=this.annotations[this.position],void 0===this.currentanno){if(this.zoom("home"),this.currentanno="",this.makeactive(void 0),this.settings.textposition){var s=document.getElementById(this.seadragonid+"_annotation"),a=this.viewer.viewport.getBounds(),c=new Z.a.Point(a["x"],a["y"]);this.viewer.updateOverlay(s,c,"TOP_RIGHT"),s.style.maxHeight="",s.style.maxWidth="",this.textposition="corner"}}else{var l=this.currentanno["section"].length,u=this.currentanno["section"][0].split(",");if(this.makeactive(this.position),l<=1){var h=this.viewer.world.getItemAt(0).imageToViewportRectangle(parseInt(u[0]),parseInt(u[1]),parseInt(u[2]),parseInt(u[3]));if(this.goToArea(h),this.settings.overlaynext&&!this.booleanitems.isoverlaytoggled){var f=this.anno_elem.querySelectorAll("#position"+this.position);f[0].style.display="block"}}else{var p=this.currentanno["section"],d=p.map((function(t){return t.split(",")[0]})),g=Math.min.apply(Math,ne(d)),v=p.map((function(t){return t.split(",")[1]})),m=Math.min.apply(Math,ne(v)),y=Math.max.apply(Math,ne(p.map((function(t){return parseInt(t.split(",")[1])+parseInt(t.split(",")[3])})))),b=y-m,w=Math.max.apply(Math,ne(p.map((function(t){return parseInt(t.split(",")[0])+parseInt(t.split(",")[2])}))))-g,_=this.viewer.world.getItemAt(0).imageToViewportRectangle(g,m,w,b);this.goToArea(_);for(var x=this.anno_elem.querySelectorAll("#position"+this.position),S=0;S<x.length;S++)x[S].style.display="block"}}this.switchButtons(),this.settings.tts&&this.ttscontent(),this.position>=this.annotations.length?this.next_inactive=!0:this.next_inactive=!1,-1===this.position?this.prev_inactive=!0:this.prev_inactive=!1,this.$parent.multi&&this.isautorunning&&this.$parent.autoRunImages(),this.settings.transcription&&this.$nextTick((function(){var t=document.getElementsByClassName("activeword")[0];if(t){var n=document.getElementById(e.seadragonid+"_annotation");n.scrollTop=t.offsetTop-n.offsetTop}}))},overlayPosition:function(t){if("full"==t){var e=this.viewer.viewport.getBounds(),n={x:0,y:0,width:.99,height:e["height"]};t=e["width"]>1||e["height"]>1?n:e}var r=document.getElementById(this.seadragonid+"_annotation"),i={right:{x:t["x"]+t["width"],y:t["y"],placement:"TOP_LEFT",inverse:"left"},left:{x:t["x"],y:t["y"],placement:"TOP_RIGHT",inverse:"right"},top:{x:t["x"]+t["width"]/2,y:t["y"],placement:"BOTTOM",inverse:"bottom"},bottom:{x:t["x"]+t["width"]/2,y:t["y"]+t["height"],placement:"TOP",inverse:"top"}},o=this.getPositionData(i,r);(o["maxHeight"]<65||o["maxWidth"]<65)&&(o=this.getPositionData(i,r,!0)),(o["maxHeight"]<65||o["maxWidth"]<65)&&(o=this.getPositionData(i,r,!1,!0));var s=o["overlayrect"],a=o["maxHeight"],c=o["maxWidth"],l=o["positions"];this.textposition=o["textposition"];var u=this;r.addEventListener("mouseover",(function(){u.enableOSDmouse(!1)})),r.addEventListener("mouseout",(function(){u.enableOSDmouse(!0)})),r.style.maxHeight=a-20+"px",r.style.maxWidth=c-20+"px";var h=Z.a.Placement[l["placement"]];this.viewer.getOverlayById(this.seadragonid+"_annotation")?this.viewer.updateOverlay(r.id,s,h):this.viewer.addOverlay({element:r,location:s,placement:h})},enableOSDmouse:function(t){this.viewer.setControlsEnabled(t),this.viewer.setMouseNavEnabled(t)},getPositionData:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t[this.settings.textposition].inverse,o=n?i:this.settings.textposition,s=t[o],a=new Z.a.Point(s["x"],s["y"]),c=this.viewer.viewport.pixelFromPoint(a),l=this.viewer.viewport.getContainerSize(),u="right"==o?l["x"]-c["x"]:c["x"],h="top"==o?c["y"]:l["y"]-c["y"];return r&&(s["placement"]=t[i].placement,u<65&&(u="100"),h<65&&(h="100")),{positions:s,overlayrect:a,maxWidth:u,maxHeight:h,textposition:o}},autoRun:function(t){t*=1e3;var e=this.annotations.length;if(""===this.isautorunning){var n=this;this.settings.tts?(this.isautorunning=!0,this.next("next")):this.isautorunning=setInterval((function(){n.position>=e&&(n.position=-1),n.next("next")}),t),this.buttons.autorun=it.buttons["autorunoff"]}else clearInterval(this.isautorunning),this.isautorunning="",this.buttons.autorun=it.buttons["autorun"]},createAnnoContent:function(t){var e=[],n=[];if(Array.isArray(t)){for(var r=0;r<t.length;r++){var i=it.createContent(t[r],this.currentlang);i["anno"]&&e.push(i["anno"]),i["transcription"]&&n.push(i["transcription"])}e=e.join("<hr>"),n=n.join("<hr>")}else{var o=it.createContent(t,this.currentlang);n=o["transcription"],e=o["anno"]}return e=e||n,{anno:e,transcription:n}}},computed:{groupTagDict:function(){var t=it.groupBy(this.tagslist,"group");return t},annoContent:function(){return this.createAnnoContent(this.currentanno)}},filters:{truncate:function(t,e){t=t?t.split('<div class="tags">')[0]:"",t=t?t.split('<div class="authorship">')[0]:"";var n=it.stripHTML(t);return W(n,e,{byWords:!0})}}},ae=se,ce=(n("eb3d"),pt(ae,B,D,!1,null,null,null)),le=ce.exports,ue=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"iiifannotation annonaview",attrs:{id:t.annotationid+"_imageview"}},[t.languages.length>0?n("select",{staticClass:"lang_drop",domProps:{innerHTML:t._s(t.languages.join(""))},on:{change:function(e){return t.changeLang(e)}}}):t._e(),"emptylist"===t.rendered?n("div",[t._v('\n    Could not find any annotations for "'+t._s(t.annotationurl)+'"\n  ')]):t.rendered&&!t.settings.table_view?n("defaultimageview",{attrs:{compdata:this.$data}}):t.rendered&&t.settings.table_view?n("tableview",{attrs:{compdata:this.$data}}):!1===t.rendered?n("div",[t._v('\n    "'+t._s(t.annotationurl)+'" did not render. Please ensure your annotation link is correct.'),n("br"),t._v('\n    Make sure the annotation contains a link to a working manifest. If it does not add manifest url to tag using the "manifesturl" property.'),n("br")]):t._e()],1)},he=[],fe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$parent.textoverlay?n("button",{staticClass:"imageViewButton",on:{click:function(e){return t.displayTextOverlay()}}},[n("span",{domProps:{innerHTML:t._s(t.textoverlaybutton)}})]):t._e(),t._l(t.annotation_items,(function(e,r){return n("div",{key:e.id,staticClass:"annotation_container",class:[e.content?e.content.itemclass:""],attrs:{id:e.id}},[t._l(e.image,(function(e,r){return n("span",{key:r},[n("span",{staticClass:"annoimage",domProps:{innerHTML:t._s(e)}})])})),!e.fullImage||t.settings.image_only||t.settings.hide_viewlarger?t._e():n("img",{staticStyle:{display:"none"},style:[void 0!==t.settings.imagesettings?t.settings.imagesettings:""],attrs:{src:e.fullImage,id:"fullimage",alt:t.manifest["label"]}}),!e.before||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("div",{staticClass:"beforecontent",domProps:{innerHTML:t._s(e.before)}}),e.rendered_content&&""!==e.rendered_content&&!0!==t.settings.image_only?n("div",{attrs:{id:"content"},domProps:{innerHTML:t._s(e.rendered_content)}}):t._e(),!e.after||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("div",{staticClass:"aftercontent",domProps:{innerHTML:t._s(e.after)}}),e["content"]&&e["content"]["geometry"]?n("leaflet",{attrs:{position:r,annotation:e["content"],parent:t.$parent}}):t._e(),!t.settings.hide_tags&&e.tags?n("div",{attrs:{id:"tags"}},t._l(e.tags,(function(e){return n("div",{key:e.key,staticClass:"tags"},[n("div",{staticClass:"countkey"},[t._v("\n          "+t._s(e.label)+"\n          "),n("span",{staticClass:"tagscount",style:[e.color?{background:e.color}:{}]},[!t.settings.hide_tagcount&&t.annotation_items.length>1&&e.count?n("span",[t._v(t._s(e.count))]):t._e()])])])})),0):t._e(),e.fullImage&&""!==e.fullImage&&!1!==!t.settings.hide_viewlarger?n("button",{staticClass:"togglebutton",on:{click:function(e){return t.toggle(e)}}},[t._v("View Full Image")]):t._e(),t.settings.hide_fullobject||!t.full_object||""===t.full_object||t.settings.image_only||t.settings.text_only?t._e():n("div",{attrs:{id:"link_to_object"}},[t._v("\n      Full object: "),n("a",{attrs:{href:t.full_object,target:"_blank"}},[t._v(t._s(t.manifest["label"]))])])],2)}))],2)},pe=[],de={name:"defaultimageview",props:{compdata:{type:Object,required:!1}},components:{leaflet:gt},data:function(){return{anno:"",manifest:"",settings:{},manifestlink:"",annotation_items:[],languages:[],fielddata:[],annotationid:"",full_object:"",textoverlayicon:'<i class="fas fa-align-justify"></i>',textoverlayofficon:'\n      <span class="fa-stack">\n        <i class="fas fa-align-justify fa-stack-1x"></i>\n        <i class="fas fa-slash fa-stack-1x" style="color:Tomato"></i>\n      </span>',textoverlaybutton:""}},created:function(){for(var t in this.textoverlaybutton=this.textoverlayofficon,this.compdata)this[t]=this.compdata[t];this.getFullObject()},methods:{toggle:function(t){var e=t.target.parentElement,n=e.querySelector("#fullimage"),r=void 0!==t.srcElement?t.srcElement:t.target;"none"===n.style.display?(n.style.display="inline-block",r.innerHTML="Hide Full Image"):(n.style.display="none",r.innerHTML="View Full Image")},displayTextOverlay:function(){for(var t=document.getElementsByClassName("textOverlayText"),e=0;e<t.length;e++)"none"==t[e].style.display?(t[e].style.display="",this.textoverlaybutton=this.textoverlayofficon):(t[e].style.display="none",this.textoverlaybutton=this.textoverlayicon)},getFullObject:function(){var t=this.compdata["manifest"],e=Object.keys(t);e.indexOf("related")>-1?"string"===typeof t.related?this.full_object=t.related:this.full_object=t.related["@id"]:this.full_object=e.indexOf("seeAlso")>-1?t.seeAlso["@id"]:""}}},ge=de,ve=(n("eec3"),pt(ge,fe,pe,!1,null,null,null)),me=ve.exports,ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("table",[n("tr",[t.settings.image_only||!t.has_sections||t.settings.text_only?t._e():n("th",[t._v("Image Section")]),!t.has_before||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("th",[t._v("Before content")]),t.settings.image_only||t.settings.text_only?t._e():n("th",[t._v("Annotation Content")]),!t.has_after||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("th",[t._v("After content")]),!t.settings.hide_tags&&t.has_tags?n("th",[t._v("Tags")]):t._e(),t.settings.image_only||t.settings.text_only||t.settings.hide_viewlarger?t._e():n("th",[t._v("Full Image")]),t.settings.hide_fullobject||!t.full_object||""===t.full_object||t.settings.image_only||t.settings.text_only?t._e():n("th",[t._v("Full Object")])]),t._l(t.annotation_items,(function(e){return n("tr",{key:e.id,staticClass:"annotation_container",class:[e.content?e.content.itemclass:""],attrs:{id:e.id}},[t.has_sections?n("td",t._l(e.image,(function(e){return n("span",{key:e},[n("span",{staticClass:"annoimage",domProps:{innerHTML:t._s(e)}})])})),0):t._e(),!e.before||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("td",{staticClass:"beforecontent",domProps:{innerHTML:t._s(e.before)}}),e.rendered_content&&""!==e.rendered_content&&!0!==t.settings.image_only?n("td",{attrs:{id:"content"},domProps:{innerHTML:t._s(e.rendered_content)}}):t._e(),!e.after||t.settings.image_only||t.settings.hide_beforeafter?t._e():n("td",{staticClass:"aftercontent",domProps:{innerHTML:t._s(e.after)}}),!t.settings.hide_tags&&e.tags?n("td",{attrs:{id:"tags"}},[n("div",{staticClass:"table_tags"},[t._v("\n          "+t._s(e.tags.map((function(t){return t.label})).join(", "))+"\n        ")])]):t._e(),!e.fullImage||t.settings.image_only||t.settings.hide_viewlarger?t._e():n("td",[n("img",{style:[void 0!==t.settings.imagesettings?t.settings.imagesettings:""],attrs:{src:e.fullImage,id:"fullimage",alt:t.manifest["label"]}})]),t.settings.hide_fullobject||!t.full_object||""===t.full_object||t.settings.image_only||t.settings.text_only?t._e():n("td",{attrs:{id:"link_to_object"}},[n("a",{attrs:{href:t.full_object,target:"_blank"}},[t._v(t._s(t.manifest["label"]))])])])}))],2)])},be=[],we={name:"tableview",props:{compdata:{type:Object,required:!1}},data:function(){return{anno:"",manifest:"",settings:{},manifestlink:"",annotation_items:[],rendered:"",languages:[],fielddata:[],annotationid:"",full_object:"",has_tags:"",has_sections:"",has_before:"",has_after:""}},created:function(){for(var t in this.compdata)this[t]=this.compdata[t];for(var e={tags:"has_tags",image:"has_sections",before:"has_before",after:"has_after"},n=0;n<this.annotation_items.length;n++){var r=this.annotation_items[n];for(var i in e)r[i]&&r[i].length>0&&(this[e[i]]=!0)}this.getFullObject()},methods:{getFullObject:function(){var t=this.compdata["manifest"],e=Object.keys(t);e.indexOf("related")>-1?"string"===typeof t.related?this.full_object=t.related:this.full_object=t.related["@id"]:this.full_object=e.indexOf("seeAlso")>-1?t.seeAlso["@id"]:""}}},_e=we,xe=(n("2bb0"),pt(_e,ye,be,!1,null,null,null)),Se=xe.exports;function Te(t){return ke(t)||Ce(t)||Ee()}function Ee(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Ce(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function ke(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var Ae={name:"iiifannotation",components:{defaultimageview:me,tableview:Se},props:{annotationurl:{type:String,required:!1},annotationlist:{type:String,required:!1},manifesturl:{type:String,required:!1},styling:{type:String,required:!1}},data:function(){return{anno:"",manifest:"",settings:{},manifestlink:"",annotation_items:[],rendered:"",languages:[],annotationid:"",textoverlay:"",leaflet:!1}},created:function(){var t=this;if(this.settings=it.getsettings(this),this.settings.height){var e=this.settings.width?this.settings.width+"px":"auto";this.settings.imagesettings={height:this.settings.height+"px",width:e}}else this.settings.width&&(this.settings.imagesettings={width:this.settings.width+"px"});this.annotationurl=this.annotationurl?this.annotationurl:this.annotationlist;var n=it.isURL(this.annotationurl,this.settings);this.annotationid=n["id"],n["isURL"]?F.a.get(this.annotationurl).then((function(e){t.parseAnnoManifest(e.data)})).catch((function(e){t.rendered=!1,console.log(e)})):this.parseAnnoManifest(n["json"])},methods:{parseAnnoManifest:function(t){this.anno=it.getAnnotations(t),t.hits&&this.anno.map((function(e){return e["hits"]=t.hits.filter((function(t){return t.annotations.indexOf(e["@id"])>-1}))[0]})),this.manifestlink=it.manifestlink(this.manifesturl,this.anno[0],t),0==this.anno.length&&(this.rendered="emptylist"),this.manifestlink&&!this.settings.text_only?this.getManifestData():this.annoloop(!1)},getManifestData:function(){var t=this;F.a.get(this.manifestlink).then((function(e){t.manifest=e.data,t.annoloop(!0)})).catch((function(e){t.rendered=!1,console.log(e)}))},changeLang:function(t){for(var e=t.target?t.target.value:t,n=0;n<this.annotation_items.length;n++)this.annotation_items[n]["rendered_content"]=it.createContent(this.annotation_items[n]["content"],e,!0)["anno"]},annoloop:function(t){for(var e=0;e<this.anno.length;e++){var n,r=this.getImageData(e),i=it.getCanvasId(this.anno[e]),o=this.settings.width?this.settings.width:this.manifestlink.indexOf("iiif/2.0")>-1&&!this.settings.height?"1200":"",s=this.settings.height?this.settings.height:"";if(n=""+o+s!=""?o+","+s:"full",t){var a=this.getManifestCanvas(i,this.anno[e],r,n);r["image"]=r["image"].concat(a["image"]),r["fullImage"]=a["fullImage"]}else if(!this.settings.text_only)for(var c=0;c<i.length;c++){var l=i[c],u=it.canvasRegion(l,void 0),h=it.getImages(u["canvasId"],u["canvasRegion"],n),f=h["imageurl"];r["fullImage"]=h["fullImage"];var p=this.createimagehtml(f,u,r,c);r["image"].push(p)}0!=r["image"].length||this.settings.text_only?this.rendered=!0:this.rendered=!1,this.annotation_items.push(r)}if(!this.settings.image_only&&!this.settings.hide_tags){var d,g=it.flatten(this.annotation_items.map((function(t){return Object.values(t["tags"])}))),v=this;if(g.length>0)(function(){var t=it.getTagDict(g,v.settings,"");for(d=0;d<v.annotation_items.length;d++)v.annotation_items[d].tags&&(v.annotation_items[d].tags.map((function(e){return t[it.tagsToClass(e)]})),v.annotation_items[d]["tags"]=v.annotation_items[d].tags.map((function(e){return t[it.tagsToClass(e)]})))})()}},createimagehtml:function(t,e,n,r){var i,o=t.indexOf("img/derivatives")>-1,s=it.getExtension(e["canvasId"]),a=e["svg"],c=e["canvasRegion"].split(",").map((function(t){return parseFloat(t.trim())}));if(n&&n["content"]&&n["content"]["ocr"]&&n["content"]["ocr"].length>0&&(this.textoverlay=it.textOverlayHTML(c,n["content"]["ocr"],a)),o&&(t=n["fullImage"]),!a&&!this.textoverlay||o?(i=document.createElement("img"),i.setAttribute("src",t),i.setAttribute("alt",n["altText"])):i=this.createSVG(t,e["canvasRegion"],n,a,r),it.imageextensions.includes(s)||o){var l=document.createElement("canvas");l.id=n["id"]+"_canvas_img"+r,l.onload=this.writecanvas(i,e["canvasRegion"],l.id),i=l}for(var u in this.settings.imagesettings)i.style[u]=this.settings.imagesettings[u];return i.outerHTML},createSVG:function(t,e,n,r,i){var o=n["id"]+"-"+i,s="",a=e.split(","),c=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var l in c.setAttribute("viewBox",a.join(" ")),c.setAttribute("aria-label",n["altText"]),this.settings.imagesettings)c.style[l]=this.settings.imagesettings[l];var u='<image href="'+t+'" width="100%" height="100%" x="'+a[0]+'" y="'+a[1]+'"/>';return r&&(u='<defs><pattern patternUnits="objectBoundingBox" id="'+o+'"  width="100%" height="100%">\n      <image xlink:href="'+t+'" width="100%" height="100%" x="0" y="0" />\n      </pattern></defs>',r.setAttribute("fill","url(#"+o+")"),r.setAttribute("fill-opacity","1"),r.setAttribute("stroke","none"),s=r.outerHTML),c.innerHTML=u+s+this.textoverlay,c},writecanvas:function(t,e,n){setTimeout((function(){e=e.split(",");var r=document.getElementById(n),i=r.getContext("2d");r.width=e[2],r.height=e[3],i.drawImage(t,-e[0],-e[1])}),1599)},getManifestCanvas:function(t,e,n,r){for(var i,o=[],s=0;s<t.length;s++){var a=t[s],c=it.on_structure(e);c=c?c[s]:c;var l,u=it.canvasRegion(a,c),h=it.matchCanvas(this.manifest,u["canvasId"])["images"],f=u["canvasRegion"];if(h){var p=it.getCanvasTile(h[0]);l=p["canvas_tile"];var d=p["img_resource"]}else l=a.split("#")[0];var g=d&&d["@id"]&&it.getId(d).includes("/full")?it.getId(d):"",v=g?g.split("/").slice(-1)[0]:"default.jpg";r="full"!=r?r:g?g.split("/").slice(-3)[0]:"full";var m=it.getImages(l,f,r,v);i=m["fullImage"];var y=m["imageurl"];n["fullImage"]=i;var b=this.createimagehtml(y,u,n,s);o.push(b)}return{fullImage:i,image:o}},getBeforeAfterText:function(t,e){var n=it.stripHTML(t["rendered_content"]),r=e.hits.match.indexOf(n),i=e.hits.match.substring(0,r).trim(),o=e.hits.match.substring(r+n.length).trim();return i=e.hits.before.trim()+" "+i,o+=e.hits.after.trim(),{after:o,before:i}},getImageData:function(t){var e=this.anno[t],n={image:[]},r=it.chars(e);if(!0!==this.settings.image_only){this.languages=r["languages"]?[].concat(Te(new Set(this.languages.concat(r["languages"])))):this.languages;var i=r["textual_body"].map((function(t){return t.language})),o=i.filter((function(t){return navigator.language.indexOf(t)>-1}));if(this.currentlang=o.length>0?o[0]:this.currentlang?this.currentlang:r["textual_body"][0]&&r["textual_body"][0]["language"],n["rendered_content"]=it.createContent(r,this.currentlang,!0)["anno"],n["content"]=r,n["id"]=this.annotationid+t,n["altText"]=r["ocr"].length>0?r["ocr"][0]:void 0!==r["label"]?r["label"]:'Image section of "'+this.manifest["label"]+'"',n["altText"]=n["altText"].replace(/(\r\n|\n|\r)/gm," "),n["tags"]=r["tags"].length>0?r["tags"]:"",r["styles"]&&(this.settings.tagscolor=this.settings.tagscolor?Object.assign(r["styles"],this.settings.tagscolor):r["styles"]),e.hits&&e.hits.match&&!this.settings.hide_beforeafter)var s=this.getBeforeAfterText(n,e);n["before"]=s&&s["before"]?s["before"]:"",n["after"]=s&&s["after"]?s["after"]:""}else n["altText"]='Image section of "'+this.manifest["label"]+'"',n["id"]=this.annotationid+t,n["content"]=r,this.settings.hide_viewlarger=!0;return n}}},Oe=Ae,Pe=(n("5ef3"),pt(Oe,ue,he,!1,null,null,null)),Re=Pe.exports,Le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"annonaview",class:[t.settings.fullpage||t.fullscreen?"multifullpage":"multistoryboard",t.settings.toolbarposition?t.settings.toolbarposition+"_menu_container":"top_menu_container"],attrs:{id:"multistoryboard"}},[n("toolbar"),n("span",{staticClass:"storyboard_containers"},[t._l(t.anno_data,(function(e,r){return n("div",{key:e,staticStyle:{position:"relative",display:"inline-block"},style:{width:t.widthvar}},[t.$props.annotationurls?n("storyboard",{attrs:{annotationurl:e,styling:t.stylingstring+"index: "+r,ws:t.isws,layers:t.customlayers,manifesturl:t.manifesturl}}):t._e()],1)})),t._l(t.allimages,(function(e){return n("div",{key:e.id,staticStyle:{position:"relative",display:"inline-block",height:"600px"},style:{width:t.widthvar}},[n("div",{staticClass:"seadragonbox",attrs:{id:e.id}})])}))],2)],1)},Ie=[],Me={components:{storyboard:le,toolbar:ee},name:"multistoryboard",props:{manifesturl:String,annotationurls:String,annotationlists:String,styling:String,ws:String,layers:String,images:String},data:function(){return{tags:!1,layerslist:!1,customlayers:"[]",isws:"",prev_inactive:!0,next_inactive:!1,anno_data:[],buttons:JSON.parse(JSON.stringify(it.buttons)),settings:{},stylingstring:"",widthvar:"",multi:!0,allimages:[],viewers:[],fullscreen:!1,shortcuts:{},boardchildren:{},leaflet:!1}},mounted:function(){if(this.createViewers(),this.boardchildren=this.$children.filter((function(t){return"storyboard"==t.$options.name})),this.$parent.range)for(var t=0;t<this.boardchildren.length;t++)this.boardchildren[t].basecompontent=this.$parent},created:function(){this.$parent.range&&(this.fullscreen=this.$parent.isfullscreen,this.$parent.updateFullScreen(this.fullscreen)),this.$props.annotationurls=this.$props.annotationurls?this.$props.annotationurls:this.$props.annotationlists;var t=this.$props.annotationurls.split(";");for(var e in this.anno_data=t.filter((function(t){return null!=t&&""!=t})),this.settings=it.getsettings(this),!this.settings.autorun_interval&&(this.settings.autorun_interval=3),this.$props.ws&&(this.ws=this.$props.ws),this.$props.layers&&(this.customlayers=this.$props.layers),this.settings)"fullpage"!=e&&(this.stylingstring+=e+":"+this.settings[e]+";");if(this.$props.images)for(var n=this.$props.images.split(";").filter((function(t){return null!=t&&""!=t})),r=0;r<n.length;r++)this.allimages.push({id:n[r].split("/").slice(-2)[0],tile:n[r]});this.widthvar=parseInt(100/(this.anno_data.length+this.allimages.length))+"%"},methods:{moveArea:function(t,e){for(var n=0;n<this.boardchildren.length;n++){var r=this.boardchildren[n].viewer;if(!this.settings.matchclick){var i=r.world.getItemAt(0).imageToViewportRectangle(t.x,t.y,t.width,t.height);r.viewport.fitBoundsWithConstraints(i).ensureVisible()}}for(var o=0;o<this.viewers.length;o++)if(o!=e){var s=this.viewers[o],a=r.world.getItemAt(0).imageToViewportRectangle(t.x,t.y,t.width,t.height);s.viewport.fitBoundsWithConstraints(a).ensureVisible()}},fullscreenChange:function(t){this.fullscreen=t,this.$parent.range&&this.$parent.updateFullScreen(t)},toggle_fullscreen:function(){var t=this.$parent.range?this.$parent.$el:this.$el;this.$fullscreen.toggle(t,{wrap:!1,callback:this.fullscreenChange})},createViewers:function(){for(var t="fill"==this.settings.fit,e=0;e<this.allimages.length;e++){var n=this.allimages[e],r=it.getTileFormat(n.tile),i={id:""+n.id,type:"image",nextButton:"next",previousButton:"previous",homeFillsViewer:t,tileSources:""+r,showNavigator:!1,showNavigationControl:!1,constrainDuringPan:!0,visibilityRatio:1},o=Z()(i);this.viewers.push(o);var s=this;o.addHandler("open",(function(){for(var e=0;e<s.viewers.length;e++)"horizontal"==s.settings.fit?s.viewers[e].viewport.fitHorizontally():t||s.viewers[e].viewport.fitVertically()}));var a=this.allimages.map((function(t){return t.id}));o.addHandler("canvas-click",(function(t){var e=t.eventSource.id,n=a.indexOf(e),r=t.eventSource.world.getItemAt(0).viewportToImageRectangle(t.eventSource.viewport.getConstrainedBounds());s.moveArea(r,n)})),o.addHandler("canvas-scroll",(function(t){var e=t.eventSource.id,n=a.indexOf(e),r=t.eventSource.world.getItemAt(0).viewportToImageRectangle(t.eventSource.viewport.getConstrainedBounds());s.moveArea(r,n)})),o.addHandler("canvas-drag",(function(t){var e=t.eventSource.id,n=a.indexOf(e),r=t.eventSource.world.getItemAt(0).viewportToImageRectangle(t.eventSource.viewport.getConstrainedBounds());s.moveArea(r,n)}))}},autoRunImages:function(){for(var t=0;t<this.viewers.length;t++)this.viewers[t].viewport.fitBounds(this.boardchildren[0].viewer.viewport.getConstrainedBounds());var e=this.boardchildren[0]._data;this.buttons=e.buttons,this.prev_inactive=e.prev_inactive,this.next_inactive=e.next_inactive},sendMessage:function(t){for(var e=0;e<this.boardchildren.length;e++)this.boardchildren[e].sendMessage(t);for(var n=0;n<this.viewers.length;n++)this.viewers[n].viewport.fitBounds(this.boardchildren[0].viewer.viewport.getConstrainedBounds());var r=this.boardchildren[0]._data;this.buttons=r.buttons,this.prev_inactive=r.prev_inactive,this.next_inactive=r.next_inactive}}},je=Me,Be=pt(je,Le,Ie,!1,null,null,null),De=Be.exports,Ne={components:{storyboard:le,multistoryboard:De,iiifannotation:Re},props:{rangeurl:String,styling:String,ws:String,layers:String},data:function(){return{tags:!1,layerslist:!1,isws:"",range:!0,toctitle:"Range Pages",buttons:it.objectToNewObject(it.buttons),settings:{},stylingstring:"",annotationurl:"",rangelist:[],position:0,prevPageInactive:!0,nextPageInactive:!1,rangeid:"",customlayers:"",isfullscreen:!1,manifestcontents:"",toc:[],viewingDirection:"ltr",rangetitle:"",ready:!1,listtype:"",startCanvas:"",textoverlay:it.objectToNewObject(it.textoverlay),booleanitems:it.objectToNewObject(it.booleanitems),leaflet:!1}},watch:{position:function(t){this.prevPageInactive=!1,this.nextPageInactive=!1,t<=0&&(this.prevPageInactive=!0),t>=this.rangelist.length-1&&(this.nextPageInactive=!0)}},created:function(){var t=this;this.rangeid="rangestoryboard_"+this.$props.rangeurl.split("/").slice(-1)[0],this.settings=it.getsettings(this);var e=it.isURL(this.$props.rangeurl,this.settings);e["isURL"]?F.a.get(this.$props.rangeurl).then((function(e){t.manifestOrRange(e.data)})):this.manifestOrRange(e["json"])},methods:{manifestOrRange:function(t){var e=t["@type"]?t["@type"]:t["type"];if(this.listtype=e,e.toLowerCase().indexOf("manifest")>-1)this.getManifestData(t);else if("storyboardlist"==e){for(var n=0;n<t["items"].length;n++){var r=t["items"][n],i=document.createElement("div");i.innerHTML=r["board"];for(var o={tag:i.children[0].localName},s=i.children[0].attributes,a=0;a<s.length;a++)o[s[a].name]=s[a].nodeValue;r["annotation"]&&(o["jsonanno"]=r["annotation"],o["annotationurl"]="");var c=r["title"]?r["title"]:"Page "+(n+1);c=it.parseMetaFields(c),o["title"]=c,this.rangelist.push(o),this.toc.push({position:n,label:c,thumbnail:r["thumbnail"],description:r["description"]})}this.setDefaults(t)}else this.getRangeData(t)},getManifestData:function(t){var e=[];if(t["sequences"]||t["items"]){var n=t["items"]?t["items"]["start"]:t["sequences"][0]["startCanvas"];this.startCanvas=n?it.getId(n):n;for(var r=t["items"]?it.flatten(t["items"]):it.flatten(t["sequences"].map((function(t){return t["canvases"]}))),i=0;i<r.length;i++){var o=r[i],s=o["otherContent"]?o["otherContent"]:o["annotations"];s&&e.push({oc:s,canvas:o})}}for(var a=0;a<e.length;a++){var c=e[a]["oc"];if("Array"==c.constructor.name)for(var l=0;l<c.length;l++)this.addToLists(c[l],this.$props.rangeurl,e[a]["canvas"]);else this.addToLists(c,this.$props.rangeurl,e[a]["canvas"])}this.setDefaults(t),this.manifestcontents=t},addToLists:function(t,e,n){if(t.resources||t.items||t.body)var r=t;else var i=it.getId(t);if(n){var o=it.getId(n);if("String"===o.constructor.name&&o.indexOf("#xywh")>-1)var s=o.split("#xywh=").length>1?o.split("#xywh=").slice(-1)[0]:"";var a=n.images?n.images[0]:n.items?n.items[0].items[0]:void 0;if(a)var c=it.getImages(it.getCanvasTile(a)["canvas_tile"],"full","30,")["imageurl"]}var l=this.rangelist.length;o==this.startCanvas&&(this.position=l);var u=t["label"]?t["label"]:n&&n["label"]?n["label"]:"Page "+(l+1);u=it.parseMetaFields(u);var h=t["description"]?t["description"]:"";this.toc.push({position:l,label:u,thumbnail:c,description:h}),this.rangelist.push({canvas:o,images:a?n:"",anno:i,jsonanno:r,manifest:e,section:s,title:u})},setDefaults:function(t){var e=t.viewingDirection;"right-to-left"===e&&(this.viewingDirection="rtl",this.buttons.prev=this.buttons.next,this.buttons.next='<i class="fas fa-chevron-left"></i>'),this.annotationurl=this.rangelist[this.position],this.rangetitle=it.parseMetaFields(t.label),!this.settings.autorun_interval&&(this.settings.autorun_interval=3),this.updateFullScreen(this.isfullscreen),this.getTitle(),this.$props.ws&&(this.isws=this.$props.ws),this.customlayers=this.$props.layers?this.$props.layers:this.annotationurl.layers?this.annotationurl.layers:"",this.annotationurl.section&&(this.settings.imagecrop=this.annotationurl.section),this.getStylingString(),1==this.rangelist.length&&(this.nextPageInactive=!0),this.ready=!0},getRangeData:function(t){for(var e=t.contentLayer?t.contentLayer.otherContent:t.items,n=t.canvases?t.canvases:[],r=0;r<e.length;r++){var i=n[r],o=e[r],s=i?i["within"]:"";s=it.getId(s),this.addToLists(o,s,i)}this.setDefaults(t)},nextItemRange:function(t){"prev"==t?this.position-=1:"next"==t?this.position+=1:this.position=t,this.annotationurl=this.rangelist[this.position],this.annotationurl.section&&(this.settings.imagecrop=this.annotationurl.section),this.getTitle(),this.getStylingString()},getStylingString:function(){for(var t in this.stylingstring="",this.settings)this.stylingstring+=t+":"+this.settings[t]+";";this.annotationurl.styling&&(this.stylingstring+=this.annotationurl.styling)},getTitle:function(){var t=this.rangetitle?this.rangetitle:"";(this.rangelist.length>1||"Page"!=this.annotationurl.title.substring(0,4))&&(this.rangetitle&&this.annotationurl.title&&(t+=": "),t+=this.annotationurl.title?this.annotationurl.title:""),this.settings.title=t},updateFullScreen:function(t){this.isfullscreen=t;for(var e=0;e<this.$children.length;e++)this.$children[e].$options.name.indexOf("storyboard")>-1&&(this.$children[e].fullscreen=t)}}},Fe=Ne,He=pt(Fe,M,j,!1,null,null,null),ze=He.exports;r["a"].use(I),r["a"].customElement("iiif-rangestoryboard",ze)},1663:function(t,e,n){var r=n("0d63");r(r.P,"String",{repeat:n("6d89")})},"169a":function(t,e,n){var r=n("cdf9"),i=n("dfa5"),o=n("9336")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},"16ee":function(t,e,n){n("8267"),t.exports=n("a06f").String.trimRight},"17b2":function(t,e,n){var r=n("255a"),i=n("a06f"),o=n("3b77"),s=n("5a30"),a=n("0f26").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},1880:function(t,e,n){var r=n("4d1e"),i=n("e282"),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function s(t,e){if(t){var n,r="";for(var o in t)n=t[o],r&&(r+=" "),r+=o,(null!==n&&""!==n||e.xmlMode)&&(r+='="'+(e.decodeEntities?i.encodeXML(n):n)+'"');return r}}var a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var n="",i=0;i<t.length;i++){var o=t[i];"root"===o.type?n+=c(o.children,e):r.isTag(o)?n+=l(o,e):o.type===r.Directive?n+=u(o):o.type===r.Comment?n+=p(o):o.type===r.CDATA?n+=f(o):n+=h(o,e)}return n};function l(t,e){"svg"===t.name&&(e={decodeEntities:e.decodeEntities,xmlMode:!0});var n="<"+t.name,r=s(t.attribs,e);return r&&(n+=" "+r),!e.xmlMode||t.children&&0!==t.children.length?(n+=">",t.children&&(n+=c(t.children,e)),a[t.name]&&!e.xmlMode||(n+="</"+t.name+">")):n+="/>",n}function u(t){return"<"+t.data+">"}function h(t,e){var n=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in o||(n=i.encodeXML(n)),n}function f(t){return"<![CDATA["+t.children[0].data+"]]>"}function p(t){return"\x3c!--"+t.data+"--\x3e"}},"19b7":function(t,e,n){var r=n("5a6e"),i=n("d4c9");function o(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=o,i(o.prototype),o.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},o.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},o.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},o.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},o.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},o.prototype.onData=function(t){var e=r.decodePacket(t,this.socket.binaryType);this.onPacket(e)},o.prototype.onPacket=function(t){this.emit("packet",t)},o.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},"1a2d":function(t,e,n){"use strict";var r=n("cdf9"),i=n("ad06"),o=n("9336")("hasInstance"),s=Function.prototype;o in s||n("0f26").f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;while(t=i(t))if(this.prototype===t)return!0;return!1}})},"1ab2":function(t,e,n){"use strict";n("c7c1")("bold",(function(t){return function(){return t(this,"b","","")}}))},"1ab3":function(t,e,n){var r=n("0f26").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n("6739")&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"1bb8":function(t,e,n){"use strict";var r=n("0d63"),i=n("7480"),o=n("37ff"),s=n("b460"),a=[].sort,c=[1,2,3];r(r.P+r.F*(s((function(){c.sort(void 0)}))||!s((function(){c.sort(null)}))||!n("60a1")(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},"1bfb":function(t,e,n){var r=n("cdf9");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c23":function(t,e,n){var r=n("d38c"),i=n("6f54"),o=n("e08c"),s=n("f8ce"),a=n("f026"),c="prototype",l=function(t,e,n){var u,h,f,p=t&l.F,d=t&l.G,g=t&l.S,v=t&l.P,m=t&l.B,y=t&l.W,b=d?i:i[e]||(i[e]={}),w=b[c],_=d?r:g?r[e]:(r[e]||{})[c];for(u in d&&(n=e),n)h=!p&&_&&void 0!==_[u],h&&a(b,u)||(f=h?_[u]:n[u],b[u]=d&&"function"!=typeof _[u]?n[u]:m&&h?o(f,r):y&&_[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[u]=f,t&l.R&&w&&!w[u]&&s(w,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"1cc3":function(t,e,n){"use strict";var r=n("0d63"),i=n("58d1"),o=n("f49a"),s="startsWith",a=""[s];r(r.P+r.F*n("9ec8")(s),"String",{startsWith:function(t){var e=o(this,t,s),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"1d6e":function(t,e,n){var r=n("0d63");r(r.S,"Math",{fround:n("46a3")})},"1d8e":function(t,e,n){"use strict";var r,i=n("255a"),o=n("9e2d")(0),s=n("bd47"),a=n("bded"),c=n("4dc6"),l=n("29cb"),u=n("cdf9"),h=n("388d"),f=n("388d"),p=!i.ActiveXObject&&"ActiveXObject"in i,d="WeakMap",g=a.getWeak,v=Object.isExtensible,m=l.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(u(t)){var e=g(t);return!0===e?m(h(this,d)).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(h(this,d),t,e)}},w=t.exports=n("aef6")(d,y,b,l,!0,!0);f&&p&&(r=l.getConstructor(y,d),c(r.prototype,b),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=w.prototype,n=e[t];s(e,t,(function(e,i){if(u(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},"1d9f":function(t,e,n){n("14fb"),t.exports=n("6f54").global},"1fb5":function(t,e,n){"use strict";e.byteLength=u,e.toByteArray=f,e.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function u(t){var e=l(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function h(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,r=l(t),s=r[0],a=r[1],c=new o(h(t,s,a)),u=0,f=a>0?s-4:s;for(n=0;n<f;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c}function p(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function d(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(p(r));return i.join("")}function g(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(d(t,a,a+s>c?c:a+s));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fd1":function(t,e,n){var r=n("993b"),i=n("e038"),o=n("42ee"),s=n("255a").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},2015:function(t,e,n){t.exports=s;var r=n("99e4"),i=r.trueFunc,o=r.falseFunc;function s(t){var e=t[0],n=t[1]-1;if(n<0&&e<=0)return o;if(-1===e)return function(t){return t<=n};if(0===e)return function(t){return t===n};if(1===e)return n<0?i:function(t){return t>=n};var r=n%e;return r<0&&(r+=e),e>1?function(t){return t>=n&&t%e===r}:(e*=-1,function(t){return t<=n&&t%e===r})}},2035:function(t,e,n){var r=n("0f26"),i=n("42ee"),o=n("b7e2");t.exports=n("6739")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"205b":function(t){t.exports=JSON.parse('{"_args":[["cheerio@0.22.0","/Users/doneill/projects/annona"]],"_from":"cheerio@0.22.0","_id":"cheerio@0.22.0","_inBundle":false,"_integrity":"sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=","_location":"/cheerio","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"cheerio@0.22.0","name":"cheerio","escapedName":"cheerio","rawSpec":"0.22.0","saveSpec":null,"fetchSpec":"0.22.0"},"_requiredBy":["/truncate-html"],"_resolved":"https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz","_spec":"0.22.0","_where":"/Users/doneill/projects/annona","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"dependencies":{"css-select":"~1.2.0","dom-serializer":"~0.1.0","entities":"~1.1.1","htmlparser2":"^3.9.1","lodash.assignin":"^4.0.9","lodash.bind":"^4.1.4","lodash.defaults":"^4.0.1","lodash.filter":"^4.4.0","lodash.flatten":"^4.2.0","lodash.foreach":"^4.3.0","lodash.map":"^4.4.0","lodash.merge":"^4.4.0","lodash.pick":"^4.2.1","lodash.reduce":"^4.4.0","lodash.reject":"^4.4.0","lodash.some":"^4.4.0"},"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"benchmark":"^2.1.0","coveralls":"^2.11.9","expect.js":"~0.3.1","istanbul":"^0.4.3","jquery":"^3.0.0","jsdom":"^9.2.1","jshint":"^2.9.2","mocha":"^2.5.3","xyz":"~0.5.0"},"engines":{"node":">= 0.6"},"files":["index.js","lib"],"homepage":"https://github.com/cheeriojs/cheerio#readme","keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","main":"./index.js","name":"cheerio","repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"test":"make test"},"version":"0.22.0"}')},"20f9":function(t,e,n){var r=n("0d63"),i=Math.asinh;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):Math.log(t+Math.sqrt(t*t+1)):t}r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:o})},2121:function(t,e,n){"use strict";n("c7c1")("strike",(function(t){return function(){return t(this,"strike","","")}}))},"221b":function(t,e,n){"use strict";var r=n("7671"),i=n("4e79"),o=n("8d2e"),s=n("ceb6");t.exports=n("8d33")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},2239:function(t,e,n){"use strict";n("c7c1")("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return"undefined"!==typeof XMLHttpRequest?t=n("b50d"):"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n("b50d")),t}var c={adapter:a(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(s(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(o)})),t.exports=c}).call(this,n("f28c"))},2551:function(t,e,n){var r=n("cdf9"),i=n("255a").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"255a":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},2635:function(t,e,n){var r=n("dfa5");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"26aa":function(t,e,n){n("9825"),n("3e66"),n("8e8c"),t.exports=n("a06f")},"26f9":function(t,e){var n=e.getChildren=function(t){return t.children},r=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=r(t);return e?n(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},2851:function(t,e,n){var r=n("568d"),i=n("db1a"),o=n("9121"),s=n("d838"),a=n("40de"),c=n("34eb")("socket.io-client:socket"),l=n("4f2a"),u=n("58b1");t.exports=p;var h={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},f=i.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[s(t,"open",a(this,"onopen")),s(t,"packet",a(this,"onpacket")),s(t,"close",a(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},p.prototype.send=function(){var t=o(arguments);return t.unshift("message"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(h.hasOwnProperty(t))return f.apply(this,arguments),this;var e=o(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:u(e))?r.BINARY_EVENT:r.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"===typeof e[e.length-1]&&(c("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(c("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"===typeof this.query?l.encode(this.query):this.query;c("sending connect packet with query %s",t),this.packet({type:r.CONNECT,query:t})}else this.packet({type:r.CONNECT})},p.prototype.onclose=function(t){c("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},p.prototype.onpacket=function(t){var e=t.nsp===this.nsp,n=t.type===r.ERROR&&"/"===t.nsp;if(e||n)switch(t.type){case r.CONNECT:this.onconnect();break;case r.EVENT:this.onevent(t);break;case r.BINARY_EVENT:this.onevent(t);break;case r.ACK:this.onack(t);break;case r.BINARY_ACK:this.onack(t);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",t.data);break}},p.prototype.onevent=function(t){var e=t.data||[];c("emitting event %j",e),null!=t.id&&(c("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?f.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=o(arguments);c("sending ack %j",i),e.packet({type:u(i)?r.BINARY_ACK:r.ACK,id:t,data:i})}}},p.prototype.onack=function(t){var e=this.acks[t.id];"function"===typeof e?(c("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):c("bad ack %s",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)f.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){c("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(c("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},2882:function(t,e,n){var r=n("ea05"),i=n("0d63"),o=n("42ee");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},"289e":function(t,e){
  /*! (C) Andrea Giammarchi - @WebReflection - ISC Style License */
  !function(t,e){"use strict";function n(){var t=k.splice(0,k.length);for(Qt=0;t.length;)t.shift().call(null,t.shift())}function r(t,e){for(var n=0,r=t.length;n<r;n++)v(t[n],e)}function i(t){for(var e,n=0,r=t.length;n<r;n++)e=t[n],M(e,st[s(e)])}function o(t){return function(e){Nt(e)&&(v(e,t),at.length&&r(e.querySelectorAll(at),t))}}function s(t){var e=qt.call(t,"is"),n=t.nodeName.toUpperCase(),r=lt.call(ot,e?nt+e.toUpperCase():et+n);return e&&-1<r&&!a(n,e)?-1:r}function a(t,e){return-1<at.indexOf(t+'[is="'+e+'"]')}function c(t){var e=t.currentTarget,n=t.attrChange,r=t.attrName,i=t.target,o=t[Y]||2,s=t[K]||3;!oe||i&&i!==e||!e[q]||"style"===r||t.prevValue===t.newValue&&(""!==t.newValue||n!==o&&n!==s)||e[q](r,n===o?null:t.prevValue,n===s?null:t.newValue)}function l(t){var e=o(t);return function(t){k.push(e,t.target),Qt&&clearTimeout(Qt),Qt=setTimeout(n,1)}}function u(t){ie&&(ie=!1,t.currentTarget.removeEventListener(Q,u)),at.length&&r((t.target||T).querySelectorAll(at),t.detail===$?$:H),Bt&&d()}function h(t,e){var n=this;Gt.call(n,t,e),A.call(n,{target:n})}function f(t,e,n){var r=e.apply(t,n),o=s(r);return-1<o&&M(r,st[o]),n.pop()&&at.length&&i(r.querySelectorAll(at)),r}function p(t,e){Lt(t,e),R?R.observe(t,Kt):(re&&(t.setAttribute=h,t[N]=P(t),t[F](tt,A)),t[F](J,c)),t[Z]&&oe&&(t.created=!0,t[Z](),t.created=!1)}function d(){for(var t,e=0,n=Ft.length;e<n;e++)t=Ft[e],ct.contains(t)||(n--,Ft.splice(e--,1),v(t,$))}function g(t){throw new Error("A "+t+" type is already registered")}function v(t,e){var n,r,i=s(t);-1<i&&!$t.call(t,"TEMPLATE")&&(I(t,st[i]),i=0,e!==H||t[H]?e!==$||t[$]||(t[H]=!1,t[$]=!0,r="disconnected",i=1):(t[$]=!1,t[H]=!0,r="connected",i=1,Bt&&lt.call(Ft,t)<0&&Ft.push(t)),i&&(n=t[e+z]||t[r+z])&&n.call(t))}function m(){}function y(t,e,n){var r=n&&n[U]||"",i=e.prototype,o=Rt(i),s=e.observedAttributes||dt,a={prototype:o};Dt(o,Z,{value:function(){if(Ct)Ct=!1;else if(!this[wt]){this[wt]=!0,new e(this),i[Z]&&i[Z].call(this);var t=kt[Ot.get(e)];(!xt||t.create.length>1)&&_(this)}}}),Dt(o,q,{value:function(t){-1<lt.call(s,t)&&i[q]&&i[q].apply(this,arguments)}}),i[W]&&Dt(o,V,{value:i[W]}),i[G]&&Dt(o,X,{value:i[G]}),r&&(a[U]=r),t=t.toUpperCase(),kt[t]={constructor:e,create:r?[r,Pt(t)]:[t]},Ot.set(e,t),T[B](t.toLowerCase(),a),x(t),At[t].r()}function b(t){var e=kt[t.toUpperCase()];return e&&e.constructor}function w(t){return"string"==typeof t?t:t&&t.is||""}function _(t){for(var e,n=t[q],r=n?t.attributes:dt,i=r.length;i--;)e=r[i],n.call(t,e.name||e.nodeName,null,e.value||e.nodeValue)}function x(t){return t=t.toUpperCase(),t in At||(At[t]={},At[t].p=new Et((function(e){At[t].r=e}))),At[t].p}function S(){_t&&delete t.customElements,pt(t,"customElements",{configurable:!0,value:new m}),pt(t,"CustomElementRegistry",{configurable:!0,value:m});for(var e=C.get(/^HTML[A-Z]*[a-z]/),n=e.length;n--;function(e){var n=t[e];if(n){t[e]=function(t){var e,r;return t||(t=this),t[wt]||(Ct=!0,e=kt[Ot.get(t.constructor)],r=xt&&1===e.create.length,t=r?Reflect.construct(n,dt,e.constructor):T.createElement.apply(T,e.create),t[wt]=!0,Ct=!1,r||_(t)),t},t[e].prototype=n.prototype;try{n.prototype.constructor=t[e]}catch(r){!0,pt(n,wt,{value:t[e]})}}}(e[n]));T.createElement=function(t,e){var n=w(e);return n?Yt.call(this,t,Pt(n)):Yt.call(this,t)},te||(ne=!0,T[B](""))}var T=t.document,E=t.Object,C=function(t){var e,n,r,i,o=/^[A-Z]+[a-z]/,s=function(t){var e,n=[];for(e in c)t.test(e)&&n.push(e);return n},a=function(t,e){(e=e.toLowerCase())in c||(c[t]=(c[t]||[]).concat(e),c[e]=c[e.toUpperCase()]=t)},c=(E.create||E)(null),l={};for(n in t)for(i in t[n])for(r=t[n][i],c[i]=r,e=0;e<r.length;e++)c[r[e].toLowerCase()]=c[r[e].toUpperCase()]=i;return l.get=function(t){return"string"==typeof t?c[t]||(o.test(t)?[]:""):s(t)},l.set=function(t,e){return o.test(t)?a(t,e):a(e,t),l},l}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof e&&(e={type:e||"auto"});var k,A,O,P,R,L,I,M,j,B="registerElement",D=1e5*t.Math.random()>>0,N="__"+B+D,F="addEventListener",H="attached",z="Callback",$="detached",U="extends",q="attributeChanged"+z,V=H+z,W="connected"+z,G="disconnected"+z,Z="created"+z,X=$+z,Y="ADDITION",K="REMOVAL",J="DOMAttrModified",Q="DOMContentLoaded",tt="DOMSubtreeModified",et="<",nt="=",rt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,it=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ot=[],st=[],at="",ct=T.documentElement,lt=ot.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},ut=E.prototype,ht=ut.hasOwnProperty,ft=ut.isPrototypeOf,pt=E.defineProperty,dt=[],gt=E.getOwnPropertyDescriptor,vt=E.getOwnPropertyNames,mt=E.getPrototypeOf,yt=E.setPrototypeOf,bt=!!E.__proto__,wt="__dreCEv1",_t=t.customElements,xt=!/^force/.test(e.type)&&!!(_t&&_t.define&&_t.get&&_t.whenDefined),St=E.create||E,Tt=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[lt.call(e,t)]},set:function(r,i){t=lt.call(e,r),t<0?n[e.push(r)-1]=i:n[t]=i}}},Et=t.Promise||function(t){function e(t){for(r=!0;n.length;)n.shift()(t)}var n=[],r=!1,i={catch:function(){return i},then:function(t){return n.push(t),r&&setTimeout(e,1),i}};return t(e),i},Ct=!1,kt=St(null),At=St(null),Ot=new Tt,Pt=function(t){return t.toLowerCase()},Rt=E.create||function t(e){return e?(t.prototype=e,new t):this},Lt=yt||(bt?function(t,e){return t.__proto__=e,t}:vt&&gt?function(){function t(t,e){for(var n,r=vt(e),i=0,o=r.length;i<o;i++)n=r[i],ht.call(t,n)||pt(t,n,gt(e,n))}return function(e,n){do{t(e,n)}while((n=mt(n))&&!ft.call(n,e));return e}}():function(t,e){for(var n in e)t[n]=e[n];return t}),It=t.MutationObserver||t.WebKitMutationObserver,Mt=t.HTMLAnchorElement,jt=(t.HTMLElement||t.Element||t.Node).prototype,Bt=!ft.call(jt,ct),Dt=Bt?function(t,e,n){return t[e]=n.value,t}:pt,Nt=Bt?function(t){return 1===t.nodeType}:function(t){return ft.call(jt,t)},Ft=Bt&&[],Ht=jt.attachShadow,zt=jt.cloneNode,$t=jt.closest||function(t){for(var e=this;e&&e.nodeName!==t;)e=e.parentNode;return e},Ut=jt.dispatchEvent,qt=jt.getAttribute,Vt=jt.hasAttribute,Wt=jt.removeAttribute,Gt=jt.setAttribute,Zt=T.createElement,Xt=T.importNode,Yt=Zt,Kt=It&&{attributes:!0,characterData:!0,attributeOldValue:!0},Jt=It||function(t){re=!1,ct.removeEventListener(J,Jt)},Qt=0,te=B in T&&!/^force-all/.test(e.type),ee=!0,ne=!1,re=!0,ie=!0,oe=!0;if(It&&(j=T.createElement("div"),j.innerHTML="<div><div></div></div>",new It((function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){j=gt(jt,"innerHTML");var n=j&&j.set;n&&pt(jt,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),j=null})).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),te||(yt||bt?(I=function(t,e){ft.call(e,t)||p(t,e)},M=p):(I=function(t,e){t[N]||(t[N]=E(!0),p(t,e))},M=I),Bt?(re=!1,function(){var t=gt(jt,F),e=t.value,n=function(t){var e=new CustomEvent(J,{bubbles:!0});e.attrName=t,e.prevValue=qt.call(this,t),e.newValue=null,e[K]=e.attrChange=2,Wt.call(this,t),Ut.call(this,e)},r=function(t,e){var n=Vt.call(this,t),r=n&&qt.call(this,t),i=new CustomEvent(J,{bubbles:!0});Gt.call(this,t,e),i.attrName=t,i.prevValue=n?r:null,i.newValue=e,n?i.MODIFICATION=i.attrChange=1:i[Y]=i.attrChange=0,Ut.call(this,i)},i=function(t){var e,n=t.currentTarget,r=n[N],i=t.propertyName;r.hasOwnProperty(i)&&(r=r[i],e=new CustomEvent(J,{bubbles:!0}),e.attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[i]||null,null==e.prevValue?e[Y]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,Ut.call(n,e))};t.value=function(t,o,s){t===J&&this[q]&&this.setAttribute!==r&&(this[N]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",i)),e.call(this,t,o,s)},pt(jt,F,t)}()):It||(ct[F](J,Jt),ct.setAttribute(N,1),ct.removeAttribute(N),re&&(A=function(t){var e,n,r,i=this;if(i===t.target){for(r in e=i[N],i[N]=n=P(i),n){if(!(r in e))return O(0,i,r,e[r],n[r],Y);if(n[r]!==e[r])return O(1,i,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return O(2,i,r,e[r],n[r],K)}},O=function(t,e,n,r,i,o){var s={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:i};s[o]=t,c(s)},P=function(t){for(var e,n,r={},i=t.attributes,o=0,s=i.length;o<s;o++)e=i[o],"setAttribute"!==(n=e.name)&&(r[n]=e.value);return r})),T[B]=function(t,e){if(n=t.toUpperCase(),ee&&(ee=!1,It?(R=function(t,e){function n(t,e){for(var n=0,r=t.length;n<r;e(t[n++]));}return new It((function(r){for(var i,o,s,a=0,c=r.length;a<c;a++)i=r[a],"childList"===i.type?(n(i.addedNodes,t),n(i.removedNodes,e)):(o=i.target,oe&&o[q]&&"style"!==i.attributeName&&(s=qt.call(o,i.attributeName))!==i.oldValue&&o[q](i.attributeName,i.oldValue,s))}))}(o(H),o($)),L=function(t){return R.observe(t,{childList:!0,subtree:!0}),t},L(T),Ht&&(jt.attachShadow=function(){return L(Ht.apply(this,arguments))})):(k=[],T[F]("DOMNodeInserted",l(H)),T[F]("DOMNodeRemoved",l($))),T[F](Q,u),T[F]("readystatechange",u),T.importNode=function(t,e){switch(t.nodeType){case 1:return f(T,Xt,[t,!!e]);case 11:for(var n=T.createDocumentFragment(),r=t.childNodes,i=r.length,o=0;o<i;o++)n.appendChild(T.importNode(r[o],!!e));return n;default:return zt.call(t,!!e)}},jt.cloneNode=function(t){return f(this,zt,[!!t])}),ne)return ne=!1;if(-2<lt.call(ot,nt+n)+lt.call(ot,et+n)&&g(t),!rt.test(n)||-1<lt.call(it,n))throw new Error("The type "+t+" is invalid");var n,i,s=function(){return c?T.createElement(h,n):T.createElement(h)},a=e||ut,c=ht.call(a,U),h=c?e[U].toUpperCase():n;return c&&-1<lt.call(ot,et+h)&&g(h),i=ot.push((c?nt:et)+n)-1,at=at.concat(at.length?",":"",c?h+'[is="'+t.toLowerCase()+'"]':h),s.prototype=st[i]=ht.call(a,"prototype")?a.prototype:Rt(jt),at.length&&r(T.querySelectorAll(at),H),s},T.createElement=Yt=function(t,e){var n=w(e),r=n?Zt.call(T,t,Pt(n)):Zt.call(T,t),i=""+t,o=lt.call(ot,(n?nt:et)+(n||i).toUpperCase()),s=-1<o;return n&&(r.setAttribute("is",n=n.toLowerCase()),s&&(s=a(i.toUpperCase(),n))),oe=!T.createElement.innerHTMLHelper,s&&M(r,st[o]),r}),addEventListener("beforeunload",(function(){delete T.createElement,delete T.importNode,delete T[B]}),!1),m.prototype={constructor:m,define:xt?function(t,e,n){if(n)y(t,e,n);else{var r=t.toUpperCase();kt[r]={constructor:e,create:[r]},Ot.set(e,r),_t.define(t,e)}}:y,get:xt?function(t){return _t.get(t)||b(t)}:b,whenDefined:xt?function(t){return Et.race([_t.whenDefined(t),x(t)])}:x},!_t||/^force/.test(e.type))S();else if(!e.noBuiltIn)try{!function(e,n,r){var i=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[U]="a",e.prototype=Rt(Mt.prototype),e.prototype.constructor=e,t.customElements.define(r,e,n),!i.test(T.createElement("a",{is:r}).outerHTML)||!i.test((new e).outerHTML))throw n}((function t(){return Reflect.construct(Mt,[],t)}),{},"document-register-element-a"+D)}catch(se){S()}if(!e.noBuiltIn)try{if(Zt.call(T,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ae){Pt=function(t){return{is:t.toLowerCase()}}}}(window)},2943:function(t,e,n){"use strict";var r=n("42ee"),i=n("4151"),o=n("e5bc");n("ebca")("search",1,(function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),c=String(this),l=a.lastIndex;i(l,0)||(a.lastIndex=0);var u=o(a,c);return i(a.lastIndex,l)||(a.lastIndex=l),null===u?-1:u.index}]}))},"29cb":function(t,e,n){"use strict";var r=n("e603"),i=n("bded").getWeak,o=n("42ee"),s=n("cdf9"),a=n("4b13"),c=n("3032"),l=n("9e2d"),u=n("7e33"),h=n("388d"),f=l(5),p=l(6),d=0,g=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return f(t.a,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var l=t((function(t,r){a(t,l,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&c(r,n,t[o],t)}));return r(l.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(h(this,e))["delete"](t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(h(this,e)).has(t):n&&u(n,this._i)}}),l},def:function(t,e,n){var r=i(o(e),!0);return!0===r?g(t).set(e,n):r[t._i]=n,t},ufstore:g}},"29ec":function(t,e,n){"use strict";n("c7c1")("blink",(function(t){return function(){return t(this,"blink","","")}}))},"2b0e":function(t,e,n){"use strict";(function(t){
  /*!
   * Vue.js v2.6.12
   * (c) 2014-2020 Evan You
   * Released under the MIT License.
   */
  var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function h(t){return"[object RegExp]"===l.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var m=v("key,ref,slot,slot-scope,is");function y(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var x=/-(\w)/g,S=_((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),T=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),E=/\B([A-Z])/g,C=_((function(t){return t.replace(E,"-$1").toLowerCase()}));function k(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function A(t,e){return t.bind(e)}var O=Function.prototype.bind?A:k;function P(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function R(t,e){for(var n in e)t[n]=e[n];return t}function L(t){for(var e={},n=0;n<t.length;n++)t[n]&&R(e,t[n]);return e}function I(t,e,n){}var M=function(t,e,n){return!1},j=function(t){return t};function B(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return B(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return B(t[n],e[n])}))}catch(l){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(B(t[n],e))return n;return-1}function N(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var F="data-server-rendered",H=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],$={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:I,parsePlatformTagName:j,mustUseProp:M,async:!0,_lifecycleHooks:z},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function q(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function V(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+U.source+".$_\\d]");function G(t){if(!W.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var Z,X="__proto__"in{},Y="undefined"!==typeof window,K="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=K&&WXEnvironment.platform.toLowerCase(),Q=Y&&window.navigator.userAgent.toLowerCase(),tt=Q&&/msie|trident/.test(Q),et=Q&&Q.indexOf("msie 9.0")>0,nt=Q&&Q.indexOf("edge/")>0,rt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),it=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,st=!1;if(Y)try{var at={};Object.defineProperty(at,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,at)}catch(Ss){}var ct=function(){return void 0===Z&&(Z=!Y&&!K&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),Z},lt=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,ft="undefined"!==typeof Symbol&&ut(Symbol)&&"undefined"!==typeof Reflect&&ut(Reflect.ownKeys);ht="undefined"!==typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var pt=I,dt=0,gt=function(){this.id=dt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){y(this.subs,t)},gt.prototype.depend=function(){gt.target&&gt.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},gt.target=null;var vt=[];function mt(t){vt.push(t),gt.target=t}function yt(){vt.pop(),gt.target=vt[vt.length-1]}var bt=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},wt={child:{configurable:!0}};wt.child.get=function(){return this.componentInstance},Object.defineProperties(bt.prototype,wt);var _t=function(t){void 0===t&&(t="");var e=new bt;return e.text=t,e.isComment=!0,e};function xt(t){return new bt(void 0,void 0,void 0,String(t))}function St(t){var e=new bt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Tt=Array.prototype,Et=Object.create(Tt),Ct=["push","pop","shift","unshift","splice","sort","reverse"];Ct.forEach((function(t){var e=Tt[t];V(Et,t,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&s.observeArray(i),s.dep.notify(),o}))}));var kt=Object.getOwnPropertyNames(Et),At=!0;function Ot(t){At=t}var Pt=function(t){this.value=t,this.dep=new gt,this.vmCount=0,V(t,"__ob__",this),Array.isArray(t)?(X?Rt(t,Et):Lt(t,Et,kt),this.observeArray(t)):this.walk(t)};function Rt(t,e){t.__proto__=e}function Lt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];V(t,o,e[o])}}function It(t,e){var n;if(c(t)&&!(t instanceof bt))return w(t,"__ob__")&&t.__ob__ instanceof Pt?n=t.__ob__:At&&!ct()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Pt(t)),e&&n&&n.vmCount++,n}function Mt(t,e,n,r,i){var o=new gt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,c=s&&s.set;a&&!c||2!==arguments.length||(n=t[e]);var l=!i&&It(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return gt.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&Dt(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||a&&!c||(c?c.call(t,e):n=e,l=!i&&It(e),o.notify())}})}}function jt(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Mt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Bt(t,e){if(Array.isArray(t)&&f(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||w(t,e)&&(delete t[e],n&&n.dep.notify())}}function Dt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Dt(e)}Pt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Mt(t,e[n])},Pt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)It(t[e])};var Nt=$.optionMergeStrategies;function Ft(t,e){if(!e)return t;for(var n,r,i,o=ft?Reflect.ownKeys(e):Object.keys(e),s=0;s<o.length;s++)n=o[s],"__ob__"!==n&&(r=t[n],i=e[n],w(t,n)?r!==i&&u(r)&&u(i)&&Ft(r,i):jt(t,n,i));return t}function Ht(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,i="function"===typeof t?t.call(n,n):t;return r?Ft(r,i):i}:e?t?function(){return Ft("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function zt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?$t(n):n}function $t(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Ut(t,e,n,r){var i=Object.create(t||null);return e?R(i,e):i}Nt.data=function(t,e,n){return n?Ht(t,e,n):e&&"function"!==typeof e?t:Ht(t,e)},z.forEach((function(t){Nt[t]=zt})),H.forEach((function(t){Nt[t+"s"]=Ut})),Nt.watch=function(t,e,n,r){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in R(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Nt.props=Nt.methods=Nt.inject=Nt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return R(i,t),e&&R(i,e),i},Nt.provide=Ht;var qt=function(t,e){return void 0===e?t:e};function Vt(t,e){var n=t.props;if(n){var r,i,o,s={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=S(i),s[o]={type:null})}else if(u(n))for(var a in n)i=n[a],o=S(a),s[o]=u(i)?i:{type:i};else 0;t.props=s}}function Wt(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var s=n[o];r[o]=u(s)?R({from:o},s):{from:s}}else 0}}function Gt(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Zt(t,e,n){if("function"===typeof e&&(e=e.options),Vt(e,n),Wt(e,n),Gt(e),!e._base&&(e.extends&&(t=Zt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Zt(t,e.mixins[r],n);var o,s={};for(o in t)a(o);for(o in e)w(t,o)||a(o);function a(r){var i=Nt[r]||qt;s[r]=i(t[r],e[r],n,r)}return s}function Xt(t,e,n,r){if("string"===typeof n){var i=t[e];if(w(i,n))return i[n];var o=S(n);if(w(i,o))return i[o];var s=T(o);if(w(i,s))return i[s];var a=i[n]||i[o]||i[s];return a}}function Yt(t,e,n,r){var i=e[t],o=!w(n,t),s=n[t],a=te(Boolean,i.type);if(a>-1)if(o&&!w(i,"default"))s=!1;else if(""===s||s===C(t)){var c=te(String,i.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=Kt(r,i,t);var l=At;Ot(!0),It(s),Ot(l)}return s}function Kt(t,e,n){if(w(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Jt(e.type)?r.call(t):r}}function Jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Qt(t,e){return Jt(t)===Jt(e)}function te(t,e){if(!Array.isArray(e))return Qt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Qt(e[n],t))return n;return-1}function ee(t,e,n){mt();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var s=!1===i[o].call(r,t,e,n);if(s)return}catch(Ss){re(Ss,r,"errorCaptured hook")}}}re(t,e,n)}finally{yt()}}function ne(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&p(o)&&!o._handled&&(o.catch((function(t){return ee(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(Ss){ee(Ss,r,i)}return o}function re(t,e,n){if($.errorHandler)try{return $.errorHandler.call(null,t,e,n)}catch(Ss){Ss!==t&&ie(Ss,null,"config.errorHandler")}ie(t,e,n)}function ie(t,e,n){if(!Y&&!K||"undefined"===typeof console)throw t;console.error(t)}var oe,se=!1,ae=[],ce=!1;function le(){ce=!1;var t=ae.slice(0);ae.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ut(Promise)){var ue=Promise.resolve();oe=function(){ue.then(le),rt&&setTimeout(I)},se=!0}else if(tt||"undefined"===typeof MutationObserver||!ut(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())oe="undefined"!==typeof setImmediate&&ut(setImmediate)?function(){setImmediate(le)}:function(){setTimeout(le,0)};else{var he=1,fe=new MutationObserver(le),pe=document.createTextNode(String(he));fe.observe(pe,{characterData:!0}),oe=function(){he=(he+1)%2,pe.data=String(he)},se=!0}function de(t,e){var n;if(ae.push((function(){if(t)try{t.call(e)}catch(Ss){ee(Ss,e,"nextTick")}else n&&n(e)})),ce||(ce=!0,oe()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var ge=new ht;function ve(t){me(t,ge),ge.clear()}function me(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof bt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)me(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)me(t[r[n]],e)}}}var ye=_((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function be(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return ne(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)ne(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function we(t,e,n,i,s,a){var c,l,u,h;for(c in t)l=t[c],u=e[c],h=ye(c),r(l)||(r(u)?(r(l.fns)&&(l=t[c]=be(l,a)),o(h.once)&&(l=t[c]=s(h.name,l,h.capture)),n(h.name,l,h.capture,h.passive,h.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)r(t[c])&&(h=ye(c),i(h.name,e[c],h.capture))}function _e(t,e,n){var s;t instanceof bt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function c(){n.apply(this,arguments),y(s.fns,c)}r(a)?s=be([c]):i(a.fns)&&o(a.merged)?(s=a,s.fns.push(c)):s=be([a,c]),s.merged=!0,t[e]=s}function xe(t,e,n){var o=e.options.props;if(!r(o)){var s={},a=t.attrs,c=t.props;if(i(a)||i(c))for(var l in o){var u=C(l);Se(s,c,l,u,!0)||Se(s,a,l,u,!1)}return s}}function Se(t,e,n,r,o){if(i(e)){if(w(e,n))return t[n]=e[n],o||delete e[n],!0;if(w(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function Te(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Ee(t){return a(t)?[xt(t)]:Array.isArray(t)?ke(t):void 0}function Ce(t){return i(t)&&i(t.text)&&s(t.isComment)}function ke(t,e){var n,s,c,l,u=[];for(n=0;n<t.length;n++)s=t[n],r(s)||"boolean"===typeof s||(c=u.length-1,l=u[c],Array.isArray(s)?s.length>0&&(s=ke(s,(e||"")+"_"+n),Ce(s[0])&&Ce(l)&&(u[c]=xt(l.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?Ce(l)?u[c]=xt(l.text+s):""!==s&&u.push(xt(s)):Ce(s)&&Ce(l)?u[c]=xt(l.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),u.push(s)));return u}function Ae(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Oe(t){var e=Pe(t.$options.inject,t);e&&(Ot(!1),Object.keys(e).forEach((function(n){Mt(t,n,e[n])})),Ot(!0))}function Pe(t,e){if(t){for(var n=Object.create(null),r=ft?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var s=t[o].from,a=e;while(a){if(a._provided&&w(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}}return n}}function Re(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(Le)&&delete n[l];return n}function Le(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ie(t,e,r){var i,o=Object.keys(e).length>0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Me(e,c,t[c]))}else i={};for(var l in e)l in i||(i[l]=je(e,l));return t&&Object.isExtensible(t)&&(t._normalized=i),V(i,"$stable",s),V(i,"$key",a),V(i,"$hasNormal",o),i}function Me(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ee(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function je(t,e){return function(){return t[e]}}function Be(t,e){var n,r,o,s,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ft&&t[Symbol.iterator]){n=[];var l=t[Symbol.iterator](),u=l.next();while(!u.done)n.push(e(u.value,n.length)),u=l.next()}else for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)a=s[r],n[r]=e(t[a],a,r);return i(n)||(n=[]),n._isVList=!0,n}function De(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=R(R({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ne(t){return Xt(this.$options,"filters",t,!0)||j}function Fe(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function He(t,e,n,r,i){var o=$.keyCodes[e]||n;return i&&r&&!$.keyCodes[e]?Fe(i,r):o?Fe(o,t):r?C(r)!==e:void 0}function ze(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=L(n));var s=function(s){if("class"===s||"style"===s||m(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||$.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=S(s),l=C(s);if(!(c in o)&&!(l in o)&&(o[s]=n[s],i)){var u=t.on||(t.on={});u["update:"+s]=function(t){n[s]=t}}};for(var a in n)s(a)}else;return t}function $e(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),qe(r,"__static__"+t,!1),r)}function Ue(t,e,n){return qe(t,"__once__"+e+(n?"_"+n:""),!0),t}function qe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&Ve(t[r],e+"_"+r,n);else Ve(t,e,n)}function Ve(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function We(t,e){if(e)if(u(e)){var n=t.on=t.on?R({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Ge(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Ge(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function Ze(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Xe(t,e){return"string"===typeof t?e+t:t}function Ye(t){t._o=Ue,t._n=g,t._s=d,t._l=Be,t._t=De,t._q=B,t._i=D,t._m=$e,t._f=Ne,t._k=He,t._b=ze,t._v=xt,t._e=_t,t._u=Ge,t._g=We,t._d=Ze,t._p=Xe}function Ke(t,e,r,i,s){var a,c=this,l=s.options;w(i,"_uid")?(a=Object.create(i),a._original=i):(a=i,i=i._original);var u=o(l._compiled),h=!u;this.data=t,this.props=e,this.children=r,this.parent=i,this.listeners=t.on||n,this.injections=Pe(l.inject,i),this.slots=function(){return c.$slots||Ie(t.scopedSlots,c.$slots=Re(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ie(t.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ie(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,r){var o=hn(a,t,e,n,r,h);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return hn(a,t,e,n,r,h)}}function Je(t,e,r,o,s){var a=t.options,c={},l=a.props;if(i(l))for(var u in l)c[u]=Yt(u,l,e||n);else i(r.attrs)&&tn(c,r.attrs),i(r.props)&&tn(c,r.props);var h=new Ke(r,c,s,o,t),f=a.render.call(null,h._c,h);if(f instanceof bt)return Qe(f,r,h.parent,a,h);if(Array.isArray(f)){for(var p=Ee(f)||[],d=new Array(p.length),g=0;g<p.length;g++)d[g]=Qe(p[g],r,h.parent,a,h);return d}}function Qe(t,e,n,r,i){var o=St(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function tn(t,e){for(var n in e)t[S(n)]=e[n]}Ye(Ke.prototype);var en={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;en.prepatch(n,n)}else{var r=t.componentInstance=on(t,Pn);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;jn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Fn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Jn(n):Dn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Nn(e,!0):e.$destroy())}},nn=Object.keys(en);function rn(t,e,n,s,a){if(!r(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(r(t.cid)&&(u=t,t=_n(u,l),void 0===t))return wn(u,e,n,s,a);e=e||{},_r(t),i(e.model)&&cn(t.options,e);var h=xe(e,t,a);if(o(t.options.functional))return Je(t,h,e,n,s);var f=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}sn(e);var d=t.options.name||a,g=new bt("vue-component-"+t.cid+(d?"-"+d:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:f,tag:a,children:s},u);return g}}}function on(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function sn(t){for(var e=t.hook||(t.hook={}),n=0;n<nn.length;n++){var r=nn[n],i=e[r],o=en[r];i===o||i&&i._merged||(e[r]=i?an(o,i):o)}}function an(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function cn(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],a=e.model.callback;i(s)?(Array.isArray(s)?-1===s.indexOf(a):s!==a)&&(o[r]=[a].concat(s)):o[r]=a}var ln=1,un=2;function hn(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=un),fn(t,e,n,r,i)}function fn(t,e,n,r,o){if(i(n)&&i(n.__ob__))return _t();if(i(n)&&i(n.is)&&(e=n.is),!e)return _t();var s,a,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===un?r=Ee(r):o===ln&&(r=Te(r)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||$.getTagNamespace(e),s=$.isReservedTag(e)?new bt($.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(c=Xt(t.$options,"components",e))?new bt(e,n,r,void 0,void 0,t):rn(c,n,t,r,e)):s=rn(e,n,t,r);return Array.isArray(s)?s:i(s)?(i(a)&&pn(s,a),i(n)&&dn(n),s):_t()}function pn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var s=0,a=t.children.length;s<a;s++){var c=t.children[s];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&pn(c,e,n)}}function dn(t){c(t.style)&&ve(t.style),c(t.class)&&ve(t.class)}function gn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=Re(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return hn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return hn(t,e,n,r,i,!0)};var o=r&&r.data;Mt(t,"$attrs",o&&o.attrs||n,null,!0),Mt(t,"$listeners",e._parentListeners||n,null,!0)}var vn,mn=null;function yn(t){Ye(t.prototype),t.prototype.$nextTick=function(t){return de(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=Ie(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{mn=e,t=r.call(e._renderProxy,e.$createElement)}catch(Ss){ee(Ss,e,"render"),t=e._vnode}finally{mn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof bt||(t=_t()),t.parent=i,t}}function bn(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function wn(t,e,n,r,i){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function _n(t,e){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=mn;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var s=t.owners=[n],a=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return y(s,n)}));var h=function(t){for(var e=0,n=s.length;e<n;e++)s[e].$forceUpdate();t&&(s.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},f=N((function(n){t.resolved=bn(n,e),a?s.length=0:h(!0)})),d=N((function(e){i(t.errorComp)&&(t.error=!0,h(!0))})),g=t(f,d);return c(g)&&(p(g)?r(t.resolved)&&g.then(f,d):p(g.component)&&(g.component.then(f,d),i(g.error)&&(t.errorComp=bn(g.error,e)),i(g.loading)&&(t.loadingComp=bn(g.loading,e),0===g.delay?t.loading=!0:l=setTimeout((function(){l=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,h(!1))}),g.delay||200)),i(g.timeout)&&(u=setTimeout((function(){u=null,r(t.resolved)&&d(null)}),g.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function xn(t){return t.isComment&&t.asyncFactory}function Sn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||xn(n)))return n}}function Tn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&An(t,e)}function En(t,e){vn.$on(t,e)}function Cn(t,e){vn.$off(t,e)}function kn(t,e){var n=vn;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function An(t,e,n){vn=t,we(e,n||{},En,Cn,kn,t),vn=void 0}function On(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var a=s.length;while(a--)if(o=s[a],o===e||o.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?P(n):n;for(var r=P(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;o<s;o++)ne(n[o],e,r,e,i)}return e}}var Pn=null;function Rn(t){var e=Pn;return Pn=t,function(){Pn=e}}function Ln(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function In(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Rn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Fn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||y(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Fn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Mn(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=_t),Fn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new nr(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&Fn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Fn(t,"mounted")),t}function jn(t,e,r,i,o){var s=i.data.scopedSlots,a=t.$scopedSlots,c=!!(s&&!s.$stable||a!==n&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key),l=!!(o||t.$options._renderChildren||c);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o,t.$attrs=i.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){Ot(!1);for(var u=t._props,h=t.$options._propKeys||[],f=0;f<h.length;f++){var p=h[f],d=t.$options.props;u[p]=Yt(p,d,e,t)}Ot(!0),t.$options.propsData=e}r=r||n;var g=t.$options._parentListeners;t.$options._parentListeners=r,An(t,r,g),l&&(t.$slots=Re(o,i.context),t.$forceUpdate())}function Bn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Dn(t,e){if(e){if(t._directInactive=!1,Bn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Dn(t.$children[n]);Fn(t,"activated")}}function Nn(t,e){if((!e||(t._directInactive=!0,!Bn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Nn(t.$children[n]);Fn(t,"deactivated")}}function Fn(t,e){mt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)ne(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),yt()}var Hn=[],zn=[],$n={},Un=!1,qn=!1,Vn=0;function Wn(){Vn=Hn.length=zn.length=0,$n={},Un=qn=!1}var Gn=0,Zn=Date.now;if(Y&&!tt){var Xn=window.performance;Xn&&"function"===typeof Xn.now&&Zn()>document.createEvent("Event").timeStamp&&(Zn=function(){return Xn.now()})}function Yn(){var t,e;for(Gn=Zn(),qn=!0,Hn.sort((function(t,e){return t.id-e.id})),Vn=0;Vn<Hn.length;Vn++)t=Hn[Vn],t.before&&t.before(),e=t.id,$n[e]=null,t.run();var n=zn.slice(),r=Hn.slice();Wn(),Qn(n),Kn(r),lt&&$.devtools&&lt.emit("flush")}function Kn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Fn(r,"updated")}}function Jn(t){t._inactive=!1,zn.push(t)}function Qn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Dn(t[e],!0)}function tr(t){var e=t.id;if(null==$n[e]){if($n[e]=!0,qn){var n=Hn.length-1;while(n>Vn&&Hn[n].id>t.id)n--;Hn.splice(n+1,0,t)}else Hn.push(t);Un||(Un=!0,de(Yn))}}var er=0,nr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++er,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="","function"===typeof e?this.getter=e:(this.getter=G(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Ss){if(!this.user)throw Ss;ee(Ss,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),yt(),this.cleanupDeps()}return t},nr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},nr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},nr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Ss){ee(Ss,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:I,set:I};function ir(t,e,n){rr.get=function(){return this[e][n]},rr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,rr)}function or(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&dr(t,e.methods),e.data?ar(t):It(t._data={},!0),e.computed&&ur(t,e.computed),e.watch&&e.watch!==ot&&gr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Ot(!1);var s=function(o){i.push(o);var s=Yt(o,e,n,t);Mt(r,o,s),o in t||ir(t,"_props",o)};for(var a in e)s(a);Ot(!0)}function ar(t){var e=t.$options.data;e=t._data="function"===typeof e?cr(e,t):e||{},u(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&w(r,o)||q(o)||ir(t,"_data",o)}It(e,!0)}function cr(t,e){mt();try{return t.call(e,e)}catch(Ss){return ee(Ss,e,"data()"),{}}finally{yt()}}var lr={lazy:!0};function ur(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new nr(t,s||I,I,lr)),i in t||hr(t,i,o)}}function hr(t,e,n){var r=!ct();"function"===typeof n?(rr.get=r?fr(e):pr(n),rr.set=I):(rr.get=n.get?r&&!1!==n.cache?fr(e):pr(n.get):I,rr.set=n.set||I),Object.defineProperty(t,e,rr)}function fr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function pr(t){return function(){return t.call(this,this)}}function dr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:O(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)vr(t,n,r[i]);else vr(t,n,r)}}function vr(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function mr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=jt,t.prototype.$delete=Bt,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return vr(r,t,e,n);n=n||{},n.user=!0;var i=new nr(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(o){ee(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var yr=0;function br(t){t.prototype._init=function(t){var e=this;e._uid=yr++,e._isVue=!0,t&&t._isComponent?wr(e,t):e.$options=Zt(_r(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Ln(e),Tn(e),gn(e),Fn(e,"beforeCreate"),Oe(e),or(e),Ae(e),Fn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function wr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function _r(t){var e=t.options;if(t.super){var n=_r(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=xr(t);i&&R(t.extendOptions,i),e=t.options=Zt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function xr(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}function Sr(t){this._init(t)}function Tr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=P(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Er(t){t.mixin=function(t){return this.options=Zt(this.options,t),this}}function Cr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Zt(n.options,t),s["super"]=n,s.options.props&&kr(s),s.options.computed&&Ar(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,H.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=R({},s.options),i[r]=s,s}}function kr(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Ar(t){var e=t.options.computed;for(var n in e)hr(t.prototype,n,e[n])}function Or(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Pr(t){return t&&(t.Ctor.options.name||t.tag)}function Rr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Lr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Pr(s.componentOptions);a&&!e(a)&&Ir(n,o,r,i)}}}function Ir(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,y(n,e)}br(Sr),mr(Sr),On(Sr),In(Sr),yn(Sr);var Mr=[String,RegExp,Array],jr={name:"keep-alive",abstract:!0,props:{include:Mr,exclude:Mr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ir(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Lr(t,(function(t){return Rr(e,t)}))})),this.$watch("exclude",(function(e){Lr(t,(function(t){return!Rr(e,t)}))}))},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var r=Pr(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Rr(o,r))||s&&r&&Rr(s,r))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,y(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&Ir(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Br={KeepAlive:jr};function Dr(t){var e={get:function(){return $}};Object.defineProperty(t,"config",e),t.util={warn:pt,extend:R,mergeOptions:Zt,defineReactive:Mt},t.set=jt,t.delete=Bt,t.nextTick=de,t.observable=function(t){return It(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,R(t.options.components,Br),Tr(t),Er(t),Cr(t),Or(t)}Dr(Sr),Object.defineProperty(Sr.prototype,"$isServer",{get:ct}),Object.defineProperty(Sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sr,"FunctionalRenderContext",{value:Ke}),Sr.version="2.6.12";var Nr=v("style,class"),Fr=v("input,textarea,option,select,progress"),Hr=function(t,e,n){return"value"===n&&Fr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},zr=v("contenteditable,draggable,spellcheck"),$r=v("events,caret,typing,plaintext-only"),Ur=function(t,e){return Zr(e)||"false"===e?"false":"contenteditable"===t&&$r(e)?e:"true"},qr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Wr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Gr=function(t){return Wr(t)?t.slice(6,t.length):""},Zr=function(t){return null==t||!1===t};function Xr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Yr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Yr(e,n.data));return Kr(e.staticClass,e.class)}function Yr(t,e){return{staticClass:Jr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Kr(t,e){return i(t)||i(e)?Jr(t,Qr(e)):""}function Jr(t,e){return t?e?t+" "+e:t:e||""}function Qr(t){return Array.isArray(t)?ti(t):c(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Qr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function ei(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var ni={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ri=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(t){return ri(t)||ii(t)};function si(t){return ii(t)?"svg":"math"===t?"math":void 0}var ai=Object.create(null);function ci(t){if(!Y)return!0;if(oi(t))return!1;if(t=t.toLowerCase(),null!=ai[t])return ai[t];var e=document.createElement(t);return t.indexOf("-")>-1?ai[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ai[t]=/HTMLUnknownElement/.test(e.toString())}var li=v("text,number,password,search,email,tel,url");function ui(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hi(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function fi(t,e){return document.createElementNS(ni[t],e)}function pi(t){return document.createTextNode(t)}function di(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function vi(t,e){t.removeChild(e)}function mi(t,e){t.appendChild(e)}function yi(t){return t.parentNode}function bi(t){return t.nextSibling}function wi(t){return t.tagName}function _i(t,e){t.textContent=e}function xi(t,e){t.setAttribute(e,"")}var Si=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:pi,createComment:di,insertBefore:gi,removeChild:vi,appendChild:mi,parentNode:yi,nextSibling:bi,tagName:wi,setTextContent:_i,setStyleScope:xi}),Ti={create:function(t,e){Ei(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ei(t,!0),Ei(e))},destroy:function(t){Ei(t,!0)}};function Ei(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?y(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var Ci=new bt("",{},[]),ki=["create","activate","update","remove","destroy"];function Ai(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Oi(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Oi(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function Pi(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function Ri(t){var e,n,s={},c=t.modules,l=t.nodeOps;for(e=0;e<ki.length;++e)for(s[ki[e]]=[],n=0;n<c.length;++n)i(c[n][ki[e]])&&s[ki[e]].push(c[n][ki[e]]);function u(t){return new bt(l.tagName(t).toLowerCase(),{},[],void 0,t)}function h(t,e){function n(){0===--n.listeners&&f(t)}return n.listeners=e,n}function f(t){var e=l.parentNode(t);i(e)&&l.removeChild(e,t)}function p(t,e,n,r,s,a,c){if(i(t.elm)&&i(a)&&(t=a[c]=St(t)),t.isRootInsert=!s,!d(t,e,n,r)){var u=t.data,h=t.children,f=t.tag;i(f)?(t.elm=t.ns?l.createElementNS(t.ns,f):l.createElement(f,t),x(t),b(t,h,e),i(u)&&_(t,e),y(n,t.elm,r)):o(t.isComment)?(t.elm=l.createComment(t.text),y(n,t.elm,r)):(t.elm=l.createTextNode(t.text),y(n,t.elm,r))}}function d(t,e,n,r){var s=t.data;if(i(s)){var a=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return g(t,e),y(n,t.elm,r),o(a)&&m(t,e,n,r),!0}}function g(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,w(t)?(_(t,e),x(t)):(Ei(t),e.push(t))}function m(t,e,n,r){var o,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](Ci,a);e.push(a);break}y(n,t.elm,r)}function y(t,e,n){i(t)&&(i(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function b(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)p(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function w(t){while(t.componentInstance)t=t.componentInstance._vnode;return i(t.tag)}function _(t,n){for(var r=0;r<s.create.length;++r)s.create[r](Ci,t);e=t.data.hook,i(e)&&(i(e.create)&&e.create(Ci,t),i(e.insert)&&n.push(t))}function x(t){var e;if(i(e=t.fnScopeId))l.setStyleScope(t.elm,e);else{var n=t;while(n)i(e=n.context)&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent}i(e=Pn)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function S(t,e,n,r,i,o){for(;r<=i;++r)p(n[r],o,t,e,!1,n,r)}function T(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)T(t.children[n])}function E(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(i(r.tag)?(C(r),T(r)):f(r.elm))}}function C(t,e){if(i(e)||i(t.data)){var n,r=s.remove.length+1;for(i(e)?e.listeners+=r:e=h(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&C(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else f(t.elm)}function k(t,e,n,o,s){var a,c,u,h,f=0,d=0,g=e.length-1,v=e[0],m=e[g],y=n.length-1,b=n[0],w=n[y],_=!s;while(f<=g&&d<=y)r(v)?v=e[++f]:r(m)?m=e[--g]:Ai(v,b)?(O(v,b,o,n,d),v=e[++f],b=n[++d]):Ai(m,w)?(O(m,w,o,n,y),m=e[--g],w=n[--y]):Ai(v,w)?(O(v,w,o,n,y),_&&l.insertBefore(t,v.elm,l.nextSibling(m.elm)),v=e[++f],w=n[--y]):Ai(m,b)?(O(m,b,o,n,d),_&&l.insertBefore(t,m.elm,v.elm),m=e[--g],b=n[++d]):(r(a)&&(a=Pi(e,f,g)),c=i(b.key)?a[b.key]:A(b,e,f,g),r(c)?p(b,o,t,v.elm,!1,n,d):(u=e[c],Ai(u,b)?(O(u,b,o,n,d),e[c]=void 0,_&&l.insertBefore(t,u.elm,v.elm)):p(b,o,t,v.elm,!1,n,d)),b=n[++d]);f>g?(h=r(n[y+1])?null:n[y+1].elm,S(t,h,n,d,y,o)):d>y&&E(e,f,g)}function A(t,e,n,r){for(var o=n;o<r;o++){var s=e[o];if(i(s)&&Ai(t,s))return o}}function O(t,e,n,a,c,u){if(t!==e){i(e.elm)&&i(a)&&(e=a[c]=St(e));var h=e.elm=t.elm;if(o(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?L(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,p=e.data;i(p)&&i(f=p.hook)&&i(f=f.prepatch)&&f(t,e);var d=t.children,g=e.children;if(i(p)&&w(e)){for(f=0;f<s.update.length;++f)s.update[f](t,e);i(f=p.hook)&&i(f=f.update)&&f(t,e)}r(e.text)?i(d)&&i(g)?d!==g&&k(h,d,g,n,u):i(g)?(i(t.text)&&l.setTextContent(h,""),S(h,null,g,0,g.length-1,n)):i(d)?E(d,0,d.length-1):i(t.text)&&l.setTextContent(h,""):t.text!==e.text&&l.setTextContent(h,e.text),i(p)&&i(f=p.hook)&&i(f=f.postpatch)&&f(t,e)}}}function P(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var R=v("attrs,class,staticClass,staticStyle,key");function L(t,e,n,r){var s,a=e.tag,c=e.data,l=e.children;if(r=r||c&&c.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(s=c.hook)&&i(s=s.init)&&s(e,!0),i(s=e.componentInstance)))return g(e,n),!0;if(i(a)){if(i(l))if(t.hasChildNodes())if(i(s=c)&&i(s=s.domProps)&&i(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,f=0;f<l.length;f++){if(!h||!L(h,l[f],n,r)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else b(e,l,n);if(i(c)){var p=!1;for(var d in c)if(!R(d)){p=!0,_(e,n);break}!p&&c["class"]&&ve(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!r(e)){var c=!1,h=[];if(r(t))c=!0,p(e,h);else{var f=i(t.nodeType);if(!f&&Ai(t,e))O(t,e,h,null,null,a);else{if(f){if(1===t.nodeType&&t.hasAttribute(F)&&(t.removeAttribute(F),n=!0),o(n)&&L(t,e,h))return P(e,h,!0),t;t=u(t)}var d=t.elm,g=l.parentNode(d);if(p(e,h,d._leaveCb?null:g,l.nextSibling(d)),i(e.parent)){var v=e.parent,m=w(e);while(v){for(var y=0;y<s.destroy.length;++y)s.destroy[y](v);if(v.elm=e.elm,m){for(var b=0;b<s.create.length;++b)s.create[b](Ci,v);var _=v.data.hook.insert;if(_.merged)for(var x=1;x<_.fns.length;x++)_.fns[x]()}else Ei(v);v=v.parent}}i(g)?E([t],0,0):i(t.tag)&&T(t)}}return P(e,h,c),e.elm}i(t)&&T(t)}}var Li={create:Ii,update:Ii,destroy:function(t){Ii(t,Ci)}};function Ii(t,e){(t.data.directives||e.data.directives)&&Mi(t,e)}function Mi(t,e){var n,r,i,o=t===Ci,s=e===Ci,a=Bi(t.data.directives,t.context),c=Bi(e.data.directives,e.context),l=[],u=[];for(n in c)r=a[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ni(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(Ni(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var h=function(){for(var n=0;n<l.length;n++)Ni(l[n],"inserted",e,t)};o?_e(e,"insert",h):h()}if(u.length&&_e(e,"postpatch",(function(){for(var n=0;n<u.length;n++)Ni(u[n],"componentUpdated",e,t)})),!o)for(n in a)c[n]||Ni(a[n],"unbind",t,t,s)}var ji=Object.create(null);function Bi(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)r=t[n],r.modifiers||(r.modifiers=ji),i[Di(r)]=r,r.def=Xt(e.$options,"directives",r.name,!0);return i}function Di(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ni(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(Ss){ee(Ss,n.context,"directive "+t.name+" "+e+" hook")}}var Fi=[Ti,Li];function Hi(t,e){var n=e.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(t.data.attrs)||!r(e.data.attrs))){var o,s,a,c=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in i(u.__ob__)&&(u=e.data.attrs=R({},u)),u)s=u[o],a=l[o],a!==s&&zi(c,o,s);for(o in(tt||nt)&&u.value!==l.value&&zi(c,"value",u.value),l)r(u[o])&&(Wr(o)?c.removeAttributeNS(Vr,Gr(o)):zr(o)||c.removeAttribute(o))}}function zi(t,e,n){t.tagName.indexOf("-")>-1?$i(t,e,n):qr(e)?Zr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):zr(e)?t.setAttribute(e,Ur(e,n)):Wr(e)?Zr(n)?t.removeAttributeNS(Vr,Gr(e)):t.setAttributeNS(Vr,e,n):$i(t,e,n)}function $i(t,e,n){if(Zr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ui={create:Hi,update:Hi};function qi(t,e){var n=e.elm,o=e.data,s=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Xr(e),c=n._transitionClasses;i(c)&&(a=Jr(a,Qr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Vi,Wi={create:qi,update:qi},Gi="__r",Zi="__c";function Xi(t){if(i(t[Gi])){var e=tt?"change":"input";t[e]=[].concat(t[Gi],t[e]||[]),delete t[Gi]}i(t[Zi])&&(t.change=[].concat(t[Zi],t.change||[]),delete t[Zi])}function Yi(t,e,n){var r=Vi;return function i(){var o=e.apply(null,arguments);null!==o&&Qi(t,i,n,r)}}var Ki=se&&!(it&&Number(it[1])<=53);function Ji(t,e,n,r){if(Ki){var i=Gn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Vi.addEventListener(t,e,st?{capture:n,passive:r}:n)}function Qi(t,e,n,r){(r||Vi).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Vi=e.elm,Xi(n),we(n,i,Ji,Qi,Yi,e.context),Vi=void 0}}var eo,no={create:to,update:to};function ro(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,s=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=R({},c)),a)n in c||(s[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var l=r(o)?"":String(o);io(s,l)&&(s.value=l)}else if("innerHTML"===n&&ii(s.tagName)&&r(s.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+o+"</svg>";var u=eo.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(u.firstChild)s.appendChild(u.firstChild)}else if(o!==a[n])try{s[n]=o}catch(Ss){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||so(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ss){}return n&&t.value!==e}function so(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ao={create:ro,update:ro},co=_((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function lo(t){var e=uo(t.style);return t.staticStyle?R(t.staticStyle,e):e}function uo(t){return Array.isArray(t)?L(t):"string"===typeof t?co(t):t}function ho(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&R(r,n)}(n=lo(t.data))&&R(r,n);var o=t;while(o=o.parent)o.data&&(n=lo(o.data))&&R(r,n);return r}var fo,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(C(e),n.replace(go,""),"important");else{var r=yo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},mo=["Webkit","Moz","ms"],yo=_((function(t){if(fo=fo||document.createElement("div").style,t=S(t),"filter"!==t&&t in fo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<mo.length;n++){var r=mo[n]+e;if(r in fo)return r}}));function bo(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var s,a,c=e.elm,l=o.staticStyle,u=o.normalizedStyle||o.style||{},h=l||u,f=uo(e.data.style)||{};e.data.normalizedStyle=i(f.__ob__)?R({},f):f;var p=ho(e,!0);for(a in h)r(p[a])&&vo(c,a,"");for(a in p)s=p[a],s!==h[a]&&vo(c,a,null==s?"":s)}}var wo={create:bo,update:bo},_o=/\s+/;function xo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(_o).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function So(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(_o).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function To(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&R(e,Eo(t.name||"v")),R(e,t),e}return"string"===typeof t?Eo(t):void 0}}var Eo=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Co=Y&&!et,ko="transition",Ao="animation",Oo="transition",Po="transitionend",Ro="animation",Lo="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oo="WebkitTransition",Po="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ro="WebkitAnimation",Lo="webkitAnimationEnd"));var Io=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Mo(t){Io((function(){Io(t)}))}function jo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xo(t,e))}function Bo(t,e){t._transitionClasses&&y(t._transitionClasses,e),So(t,e)}function Do(t,e,n){var r=Fo(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===ko?Po:Lo,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=s&&l()};setTimeout((function(){c<s&&l()}),o+1),t.addEventListener(a,u)}var No=/\b(transform|all)(,|$)/;function Fo(t,e){var n,r=window.getComputedStyle(t),i=(r[Oo+"Delay"]||"").split(", "),o=(r[Oo+"Duration"]||"").split(", "),s=Ho(i,o),a=(r[Ro+"Delay"]||"").split(", "),c=(r[Ro+"Duration"]||"").split(", "),l=Ho(a,c),u=0,h=0;e===ko?s>0&&(n=ko,u=s,h=o.length):e===Ao?l>0&&(n=Ao,u=l,h=c.length):(u=Math.max(s,l),n=u>0?s>l?ko:Ao:null,h=n?n===ko?o.length:c.length:0);var f=n===ko&&No.test(r[Oo+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:f}}function Ho(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return zo(e)+zo(t[n])})))}function zo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function $o(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=To(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){var s=o.css,a=o.type,l=o.enterClass,u=o.enterToClass,h=o.enterActiveClass,f=o.appearClass,p=o.appearToClass,d=o.appearActiveClass,v=o.beforeEnter,m=o.enter,y=o.afterEnter,b=o.enterCancelled,w=o.beforeAppear,_=o.appear,x=o.afterAppear,S=o.appearCancelled,T=o.duration,E=Pn,C=Pn.$vnode;while(C&&C.parent)E=C.context,C=C.parent;var k=!E._isMounted||!t.isRootInsert;if(!k||_||""===_){var A=k&&f?f:l,O=k&&d?d:h,P=k&&p?p:u,R=k&&w||v,L=k&&"function"===typeof _?_:m,I=k&&x||y,M=k&&S||b,j=g(c(T)?T.enter:T);0;var B=!1!==s&&!et,D=Vo(L),F=n._enterCb=N((function(){B&&(Bo(n,P),Bo(n,O)),F.cancelled?(B&&Bo(n,A),M&&M(n)):I&&I(n),n._enterCb=null}));t.data.show||_e(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),L&&L(n,F)})),R&&R(n),B&&(jo(n,A),jo(n,O),Mo((function(){Bo(n,A),F.cancelled||(jo(n,P),D||(qo(j)?setTimeout(F,j):Do(n,a,F)))}))),t.data.show&&(e&&e(),L&&L(n,F)),B||D||F()}}}function Uo(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=To(t.data.transition);if(r(o)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var s=o.css,a=o.type,l=o.leaveClass,u=o.leaveToClass,h=o.leaveActiveClass,f=o.beforeLeave,p=o.leave,d=o.afterLeave,v=o.leaveCancelled,m=o.delayLeave,y=o.duration,b=!1!==s&&!et,w=Vo(p),_=g(c(y)?y.leave:y);0;var x=n._leaveCb=N((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(Bo(n,u),Bo(n,h)),x.cancelled?(b&&Bo(n,l),v&&v(n)):(e(),d&&d(n)),n._leaveCb=null}));m?m(S):S()}function S(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),b&&(jo(n,l),jo(n,h),Mo((function(){Bo(n,l),x.cancelled||(jo(n,u),w||(qo(_)?setTimeout(x,_):Do(n,a,x)))}))),p&&p(n,x),b||w||x())}}function qo(t){return"number"===typeof t&&!isNaN(t)}function Vo(t){if(r(t))return!1;var e=t.fns;return i(e)?Vo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Wo(t,e){!0!==e.data.show&&$o(e)}var Go=Y?{create:Wo,activate:Wo,remove:function(t,e){!0!==t.data.show?Uo(t,e):e()}}:{},Zo=[Ui,Wi,no,ao,wo,Go],Xo=Zo.concat(Fi),Yo=Ri({nodeOps:Si,modules:Xo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&is(t,"input")}));var Ko={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?_e(n,"postpatch",(function(){Ko.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,es)):("textarea"===n.tag||li(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ns),t.addEventListener("compositionend",rs),t.addEventListener("change",rs),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,es);if(i.some((function(t,e){return!B(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ts(t,i)})):e.value!==e.oldValue&&ts(e.value,i);o&&is(t,"change")}}}};function Jo(t,e,n){Qo(t,e,n),(tt||nt)&&setTimeout((function(){Qo(t,e,n)}),0)}function Qo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],i)o=D(r,es(s))>-1,s.selected!==o&&(s.selected=o);else if(B(es(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function ts(t,e){return e.every((function(e){return!B(e,t)}))}function es(t){return"_value"in t?t._value:t.value}function ns(t){t.target.composing=!0}function rs(t){t.target.composing&&(t.target.composing=!1,is(t.target,"input"))}function is(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function os(t){return!t.componentInstance||t.data&&t.data.transition?t:os(t.componentInstance._vnode)}var ss={bind:function(t,e,n){var r=e.value;n=os(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,$o(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=os(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?$o(n,(function(){t.style.display=t.__vOriginalDisplay})):Uo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},as={model:Ko,show:ss},cs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ls(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ls(Sn(e.children)):t}function us(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function hs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fs(t){while(t=t.parent)if(t.data.transition)return!0}function ps(t,e){return e.key===t.key&&e.tag===t.tag}var ds=function(t){return t.tag||xn(t)},gs=function(t){return"show"===t.name},vs={name:"transition",props:cs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ds),n.length)){0;var r=this.mode;0;var i=n[0];if(fs(this.$vnode))return i;var o=ls(i);if(!o)return i;if(this._leaving)return hs(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=us(this),l=this._vnode,u=ls(l);if(o.data.directives&&o.data.directives.some(gs)&&(o.data.show=!0),u&&u.data&&!ps(o,u)&&!xn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=R({},c);if("out-in"===r)return this._leaving=!0,_e(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),hs(t,i);if("in-out"===r){if(xn(o))return l;var f,p=function(){f()};_e(c,"afterEnter",p),_e(c,"enterCancelled",p),_e(h,"delayLeave",(function(t){f=t}))}}return i}}},ms=R({tag:String,moveClass:String},cs);delete ms.mode;var ys={props:ms,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=us(this),a=0;a<i.length;a++){var c=i[a];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s;else;}if(r){for(var l=[],u=[],h=0;h<r.length;h++){var f=r[h];f.data.transition=s,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?l.push(f):u.push(f)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(bs),t.forEach(ws),t.forEach(_s),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;jo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Po,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Po,t),n._moveCb=null,Bo(n,e))})}})))},methods:{hasMove:function(t,e){if(!Co)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){So(n,t)})),xo(n,e),n.style.display="none",this.$el.appendChild(n);var r=Fo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function bs(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ws(t){t.data.newPos=t.elm.getBoundingClientRect()}function _s(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var xs={Transition:vs,TransitionGroup:ys};Sr.config.mustUseProp=Hr,Sr.config.isReservedTag=oi,Sr.config.isReservedAttr=Nr,Sr.config.getTagNamespace=si,Sr.config.isUnknownElement=ci,R(Sr.options.directives,as),R(Sr.options.components,xs),Sr.prototype.__patch__=Y?Yo:I,Sr.prototype.$mount=function(t,e){return t=t&&Y?ui(t):void 0,Mn(this,t,e)},Y&&setTimeout((function(){$.devtools&&lt&&lt.emit("init",Sr)}),0),e["a"]=Sr}).call(this,n("c8ba"))},"2b7a":function(t,e,n){"use strict";n("b92f")("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},"2bb0":function(t,e,n){"use strict";var r=n("7475"),i=n.n(r);i.a},"2d3a":function(t,e,n){"use strict";var r=n("0d63"),i=n("f49a"),o="includes";r(r.P+r.F*n("9ec8")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},"2e2b":function(t,e,n){n("933e")("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"2e39":function(t,e,n){"use strict";n("b92f")("trim",(function(t){return function(){return t(this,3)}}))},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2e90":function(t,e,n){t.exports=f,t.exports.compileUnsafe=d,t.exports.compileToken=_;var r=n("5bfe"),i=n("0f94"),o=i.isTag,s=n("fce4"),a=n("50ea"),c=n("99e4"),l=c.trueFunc,u=c.falseFunc,h=n("e700");function f(t,e,n){var r=d(t,e,n);return p(r)}function p(t){return function(e){return o(e)&&t(e)}}function d(t,e,n){var i=r(t,e);return _(i,e,n)}function g(t){return"pseudo"===t.type&&("scope"===t.name||Array.isArray(t.data)&&t.data.some((function(t){return t.some(g)})))}var v={type:"descendant"},m={type:"pseudo",name:"scope"},y={},b=i.getParent;function w(t,e){var n=!!e&&!!e.length&&e.every((function(t){return t===y||!!b(t)}));t.forEach((function(t){if(t.length>0&&x(t[0])&&"descendant"!==t[0].type);else{if(!n||g(t))return;t.unshift(v)}t.unshift(m)}))}function _(t,e,n){t=t.filter((function(t){return t.length>0})),t.forEach(a);var r=Array.isArray(n);return n=e&&e.context||n,n&&!r&&(n=[n]),w(t,n),t.map((function(t){return S(t,e,n,r)})).reduce(T,u)}function x(t){return h[t.type]<0}function S(t,e,n,r){var i=r&&"scope"===t[0].name&&"descendant"===t[1].type;return t.reduce((function(t,r,o){return t===u?t:s[r.type](t,r,e,n,i&&1===o)}),e&&e.rootFunc||l)}function T(t,e){return e===u||t===l?t:t===u||e===l?e:function(n){return t(n)||e(n)}}var E=n("9ebc"),C=E.filters,k=i.existsOne,A=(o=i.isTag,i.getChildren);function O(t){return t.some(x)}C.not=function(t,e,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)};if(i.strict&&(e.length>1||e.some(O)))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");var o=_(e,i,r);return o===u?t:o===l?u:function(e){return!o(e)&&t(e)}},C.has=function(t,e,n){var r={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)},i=e.some(O)?[y]:null,s=_(e,r,i);return s===u?u:s===l?function(e){return A(e).some(o)&&t(e)}:(s=p(s),i?function(e){return t(e)&&(i[0]=e,k(s,A(e)))}:function(e){return t(e)&&k(s,A(e))})},C.matches=function(t,e,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict),rootFunc:t};return _(e,i,r)}},"2ee3":function(t,e,n){"use strict";var r=n("255a"),i=n("7e33"),o=n("dfa5"),s=n("887c"),a=n("1bfb"),c=n("b460"),l=n("993b").f,u=n("ea05").f,h=n("0f26").f,f=n("b92f").trim,p="Number",d=r[p],g=d,v=d.prototype,m=o(n("af33")(v))==p,y="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():f(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,c=e.slice(2),l=0,u=c.length;l<u;l++)if(s=c.charCodeAt(l),s<48||s>i)return NaN;return parseInt(c,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(m?c((function(){v.valueOf.call(n)})):o(n)!=p)?s(new g(b(e)),n,d):b(e)};for(var w,_=n("6739")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)i(g,w=_[x])&&!i(d,w)&&h(d,w,u(g,w));d.prototype=v,v.constructor=d,n("bd47")(r,p,d)}},"2eea":function(t,e,n){n("933e")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},"2fb4":function(t,e,n){(function(e){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",s="object"==typeof e&&e&&e.Object===Object&&e,a="object"==typeof self&&self&&self.Object===Object&&self,c=s||a||Function("return this")();function l(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}var u=Object.prototype,h=u.hasOwnProperty,f=u.toString,p=c.Symbol,d=u.propertyIsEnumerable,g=p?p.isConcatSpreadable:void 0;function v(t,e,n,r,i){var o=-1,s=t.length;n||(n=m),i||(i=[]);while(++o<s){var a=t[o];e>0&&n(a)?e>1?v(a,e-1,n,r,i):l(i,a):r||(i[i.length]=a)}return i}function m(t){return w(t)||b(t)||!!(g&&t&&t[g])}function y(t){var e=t?t.length:0;return e?v(t,1):[]}function b(t){return x(t)&&h.call(t,"callee")&&(!d.call(t,"callee")||f.call(t)==r)}var w=Array.isArray;function _(t){return null!=t&&T(t.length)&&!S(t)}function x(t){return C(t)&&_(t)}function S(t){var e=E(t)?f.call(t):"";return e==i||e==o}function T(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function E(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function C(t){return!!t&&"object"==typeof t}t.exports=y}).call(this,n("c8ba"))},3032:function(t,e,n){var r=n("d401"),i=n("6299"),o=n("3d01"),s=n("42ee"),a=n("58d1"),c=n("575f"),l={},u={};e=t.exports=function(t,e,n,h,f){var p,d,g,v,m=f?function(){return t}:c(t),y=r(n,h,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(p=a(t.length);p>b;b++)if(v=e?y(s(d=t[b])[0],d[1]):y(t[b]),v===l||v===u)return v}else for(g=m.call(t);!(d=g.next()).done;)if(v=i(g,y,d.value,e),v===l||v===u)return v};e.BREAK=l,e.RETURN=u},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"30c9":function(t,e,n){var r=n("cdf9"),i=n("42ee"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("d401")(Function.call,n("ea05").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},3280:function(t,e,n){var r=n("0d63"),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){var n,r,o=0,s=0,a=arguments.length,c=0;while(s<a)n=i(arguments[s++]),c<n?(r=c/n,o=o*r*r+1,c=n):n>0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*Math.sqrt(o)}})},3309:function(t,e,n){"use strict";var r=n("a743")(!0);n("8d33")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"34eb":function(t,e,n){(function(r){function i(){return!("undefined"===typeof window||!window.process||"renderer"!==window.process.type)||("undefined"===typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))})),t.splice(o,0,r)}}function s(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function c(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof r&&"env"in r&&(t=Object({NODE_ENV:"production",BASE_URL:"/"}).DEBUG),t}function l(){try{return window.localStorage}catch(t){}}e=t.exports=n("96fe"),e.log=s,e.formatArgs=o,e.save=a,e.load=c,e.useColors=i,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(c())}).call(this,n("f28c"))},3557:function(t,e,n){n("933e")("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"35ae":function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,l=9007199254740991,u="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",m="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/^\./,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,V={};V[A]=V[O]=V[P]=V[R]=V[L]=V[I]=V[M]=V[j]=V[B]=!0,V[u]=V[h]=V[C]=V[f]=V[k]=V[p]=V[d]=V[g]=V[m]=V[y]=V[b]=V[_]=V[x]=V[S]=V[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,Z=W||G||Function("return this")(),X=e&&!e.nodeType&&e,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,K=Y&&Y.exports===X,J=K&&W.process,Q=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function st(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lt(t,e){return function(n){return t(e(n))}}function ut(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ht=Array.prototype,ft=Function.prototype,pt=Object.prototype,dt=Z["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=ft.toString,mt=pt.hasOwnProperty,yt=pt.toString,bt=RegExp("^"+vt.call(mt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wt=Z.Symbol,_t=Z.Uint8Array,xt=pt.propertyIsEnumerable,St=ht.splice,Tt=lt(Object.keys,Object),Et=He(Z,"DataView"),Ct=He(Z,"Map"),kt=He(Z,"Promise"),At=He(Z,"Set"),Ot=He(Z,"WeakMap"),Pt=He(Object,"create"),Rt=Je(Et),Lt=Je(Ct),It=Je(kt),Mt=Je(At),jt=Je(Ot),Bt=wt?wt.prototype:void 0,Dt=Bt?Bt.valueOf:void 0,Nt=Bt?Bt.toString:void 0;function Ft(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ht(){this.__data__=Pt?Pt(null):{}}function zt(t){return this.has(t)&&delete this.__data__[t]}function $t(t){var e=this.__data__;if(Pt){var n=e[t];return n===o?void 0:n}return mt.call(e,t)?e[t]:void 0}function Ut(t){var e=this.__data__;return Pt?void 0!==e[t]:mt.call(e,t)}function qt(t,e){var n=this.__data__;return n[t]=Pt&&void 0===e?o:e,this}function Vt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Gt(t){var e=this.__data__,n=pe(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():St.call(e,n,1),!0}function Zt(t){var e=this.__data__,n=pe(e,t);return n<0?void 0:e[n][1]}function Xt(t){return pe(this.__data__,t)>-1}function Yt(t,e){var n=this.__data__,r=pe(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Kt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Jt(){this.__data__={hash:new Ft,map:new(Ct||Vt),string:new Ft}}function Qt(t){return Ne(this,t)["delete"](t)}function te(t){return Ne(this,t).get(t)}function ee(t){return Ne(this,t).has(t)}function ne(t,e){return Ne(this,t).set(t,e),this}function re(t){var e=-1,n=t?t.length:0;this.__data__=new Kt;while(++e<n)this.add(t[e])}function ie(t){return this.__data__.set(t,o),this}function oe(t){return this.__data__.has(t)}function se(t){this.__data__=new Vt(t)}function ae(){this.__data__=new Vt}function ce(t){return this.__data__["delete"](t)}function le(t){return this.__data__.get(t)}function ue(t){return this.__data__.has(t)}function he(t,e){var n=this.__data__;if(n instanceof Vt){var i=n.__data__;if(!Ct||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Kt(i)}return n.set(t,e),this}function fe(t,e){var n=rn(t)||nn(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function pe(t,e){var n=t.length;while(n--)if(en(t[n][0],e))return n;return-1}Ft.prototype.clear=Ht,Ft.prototype["delete"]=zt,Ft.prototype.get=$t,Ft.prototype.has=Ut,Ft.prototype.set=qt,Vt.prototype.clear=Wt,Vt.prototype["delete"]=Gt,Vt.prototype.get=Zt,Vt.prototype.has=Xt,Vt.prototype.set=Yt,Kt.prototype.clear=Jt,Kt.prototype["delete"]=Qt,Kt.prototype.get=te,Kt.prototype.has=ee,Kt.prototype.set=ne,re.prototype.add=re.prototype.push=ie,re.prototype.has=oe,se.prototype.clear=ae,se.prototype["delete"]=ce,se.prototype.get=le,se.prototype.has=ue,se.prototype.set=he;var de=Ie(ve),ge=Me();function ve(t,e){return t&&ge(t,e,vn)}function me(t,e){e=qe(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ke(e[n++])];return n&&n==r?t:void 0}function ye(t){return yt.call(t)}function be(t,e){return null!=t&&e in Object(t)}function we(t,e,n,r,i){return t===e||(null==t||null==e||!ln(t)&&!un(e)?t!==t&&e!==e:_e(t,e,we,n,r,i))}function _e(t,e,n,r,i,o){var s=rn(t),c=rn(e),l=h,f=h;s||(l=ze(t),l=l==u?b:l),c||(f=ze(e),f=f==u?b:f);var p=l==b&&!at(t),d=f==b&&!at(e),g=l==f;if(g&&!p)return o||(o=new se),s||fn(t)?je(t,e,n,r,i,o):Be(t,e,l,n,r,i,o);if(!(i&a)){var v=p&&mt.call(t,"__wrapped__"),m=d&&mt.call(e,"__wrapped__");if(v||m){var y=v?t.value():t,w=m?e.value():e;return o||(o=new se),n(y,w,r,i,o)}}return!!g&&(o||(o=new se),De(t,e,n,r,i,o))}function xe(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var l=n[i];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++i<o){l=n[i];var u=l[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new se;if(r)var d=r(h,f,u,t,e,p);if(!(void 0===d?we(f,h,r,s|a,p):d))return!1}}return!0}function Se(t){if(!ln(t)||We(t))return!1;var e=an(t)||at(t)?bt:U;return e.test(Je(t))}function Te(t){return un(t)&&cn(t.length)&&!!V[yt.call(t)]}function Ee(t){return"function"==typeof t?t:null==t?mn:"object"==typeof t?rn(t)?Oe(t[0],t[1]):Ae(t):yn(t)}function Ce(t){if(!Ge(t))return Tt(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ke(t,e){var n=-1,r=on(t)?Array(t.length):[];return de(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ae(t){var e=Fe(t);return 1==e.length&&e[0][2]?Xe(e[0][0],e[0][1]):function(n){return n===t||xe(n,t,e)}}function Oe(t,e){return qe(t)&&Ze(e)?Xe(Ke(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?gn(n,t):we(e,r,void 0,s|a)}}function Pe(t){return function(e){return me(e,t)}}function Re(t){if("string"==typeof t)return t;if(hn(t))return Nt?Nt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return rn(t)?t:Ye(t)}function Ie(t,e){return function(n,r){if(null==n)return n;if(!on(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Me(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,l=t.length,u=e.length;if(l!=u&&!(c&&u>l))return!1;var h=o.get(t);if(h&&o.get(e))return h==e;var f=-1,p=!0,d=i&s?new re:void 0;o.set(t,e),o.set(e,t);while(++f<l){var g=t[f],v=e[f];if(r)var m=c?r(v,g,f,e,t,o):r(g,v,f,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!nt(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function Be(t,e,n,r,i,o,c){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new _t(t),new _t(e)));case f:case p:case y:return en(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case S:return t==e+"";case m:var l=ct;case x:var u=o&a;if(l||(l=ut),t.size!=e.size&&!u)return!1;var h=c.get(t);if(h)return h==e;o|=s,c.set(t,e);var g=je(l(t),l(e),r,i,o,c);return c["delete"](t),g;case T:if(Dt)return Dt.call(t)==Dt.call(e)}return!1}function De(t,e,n,r,i,o){var s=i&a,c=vn(t),l=c.length,u=vn(e),h=u.length;if(l!=h&&!s)return!1;var f=l;while(f--){var p=c[f];if(!(s?p in e:mt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++f<l){p=c[f];var m=t[p],y=e[p];if(r)var b=s?r(y,m,p,e,t,o):r(m,y,p,t,e,o);if(!(void 0===b?m===y||n(m,y,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,_=e.constructor;w!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return o["delete"](t),o["delete"](e),g}function Ne(t,e){var n=t.__data__;return Ve(e)?n["string"==typeof e?"string":"hash"]:n.map}function Fe(t){var e=vn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function He(t,e){var n=st(t,e);return Se(n)?n:void 0}var ze=ye;function $e(t,e,n){e=qe(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=Ke(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&cn(o)&&Ue(s,o)&&(rn(t)||nn(t))}function Ue(t,e){return e=null==e?l:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function qe(t,e){if(rn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hn(t))||(N.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function We(t){return!!gt&&gt in t}function Ge(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||pt;return t===n}function Ze(t){return t===t&&!ln(t)}function Xe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Et&&ze(new Et(new ArrayBuffer(1)))!=k||Ct&&ze(new Ct)!=m||kt&&ze(kt.resolve())!=w||At&&ze(new At)!=x||Ot&&ze(new Ot)!=E)&&(ze=function(t){var e=yt.call(t),n=e==b?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Rt:return k;case Lt:return m;case It:return w;case Mt:return x;case jt:return E}return e});var Ye=tn((function(t){t=pn(t);var e=[];return F.test(t)&&e.push(""),t.replace(H,(function(t,n,r,i){e.push(r?i.replace($,"$1"):n||t)})),e}));function Ke(t){if("string"==typeof t||hn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Qe(t,e){var n=rn(t)?et:ke;return n(t,Ee(e,3))}function tn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(tn.Cache||Kt),n}function en(t,e){return t===e||t!==t&&e!==e}function nn(t){return sn(t)&&mt.call(t,"callee")&&(!xt.call(t,"callee")||yt.call(t)==u)}tn.Cache=Kt;var rn=Array.isArray;function on(t){return null!=t&&cn(t.length)&&!an(t)}function sn(t){return un(t)&&on(t)}function an(t){var e=ln(t)?yt.call(t):"";return e==g||e==v}function cn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=l}function ln(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function hn(t){return"symbol"==typeof t||un(t)&&yt.call(t)==T}var fn=tt?ot(tt):Te;function pn(t){return null==t?"":Re(t)}function dn(t,e,n){var r=null==t?void 0:me(t,e);return void 0===r?n:r}function gn(t,e){return null!=t&&$e(t,e,be)}function vn(t){return on(t)?fe(t):Ce(t)}function mn(t){return t}function yn(t){return qe(t)?rt(Ke(t)):Pe(t)}n.exports=Qe}).call(this,n("c8ba"),n("62e4")(t))},3601:function(t,e,n){n("6739")&&"g"!=/./g.flags&&n("0f26").f(RegExp.prototype,"flags",{configurable:!0,get:n("c669")})},"36ad":function(t,e,n){var r=n("cdf9"),i=n("bc48"),o=n("9336")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},"36cc":function(t,e,n){var r=n("4d1e"),i=/\s+/g,o=n("01d0"),s=n("66ec");function a(t,e,n){"object"===typeof t?(n=e,e=t,t=null):"function"===typeof e&&(n=e,e=c),this._callback=t,this._options=e||c,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};a.prototype.onparserinit=function(t){this._parser=t},a.prototype.onreset=function(){a.call(this,this._callback,this._options,this._elementCB)},a.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},a.prototype._handleCallback=a.prototype.onerror=function(t){if("function"===typeof this._callback)this._callback(t,this.dom);else if(t)throw t},a.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},a.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var n in e="tag"===t.type?Object.create(s):Object.create(o),t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},a.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],n=e?e.children:this.dom,r=n[n.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),r?(t.prev=r,r.next=t):t.prev=null,n.push(t),t.parent=e||null},a.prototype.onopentag=function(t,e){var n={type:"script"===t?r.Script:"style"===t?r.Style:r.Tag,name:t,attribs:e,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},a.prototype.ontext=function(t){var e,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===r.Text)n?e.data=(e.data+t).replace(i," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===r.Text)n?e.data=(e.data+t).replace(i," "):e.data+=t;else{n&&(t=t.replace(i," "));var o=this._createDomElement({data:t,type:r.Text});this._addDomElement(o)}},a.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===r.Comment)e.data+=t;else{var n={data:t,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},a.prototype.oncdatastart=function(){var t={children:[{data:"",type:r.Text}],type:r.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},a.prototype.oncommentend=a.prototype.oncdataend=function(){this._tagStack.pop()},a.prototype.onprocessinginstruction=function(t,e){var n=this._createDomElement({name:t,data:e,type:r.Directive});this._addDomElement(n)},t.exports=a},3731:function(t,e,n){"use strict";var r=n("4095");t.exports={isRtlLang:r.isRtlLang,getLangDir:r.getLangDir}},"37ff":function(t,e,n){var r=n("6744");t.exports=function(t){return Object(r(t))}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},"388d":function(t,e,n){var r=n("cdf9");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},"38ce":function(t,e,n){var r=n("9336")("toPrimitive"),i=Date.prototype;r in i||n("c3fa")(i,r,n("a83f"))},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a56":function(t,e,n){"use strict";var r=n("0d63"),i=n("a743")(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},"3a81":function(t,e,n){var r=n("cdf9"),i=n("bded").onFreeze;n("6397")("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"3a89":function(t,e,n){"use strict";var r=n("12c1");n("0d63")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},"3ade":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"3b19":function(t,e,n){n("905f"),t.exports=n("a06f").Object.values},"3b77":function(t,e){t.exports=!1},"3b9e":function(t,e,n){var r=n("9336")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(s){}return n}},"3bb3":function(t,e,n){var r=n("4691"),i=n("d38c").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"3d01":function(t,e,n){var r=n("8d2e"),i=n("9336")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"3e5c":function(t,e,n){var r=n("0d63"),i=n("42ee"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},"3e66":function(t,e,n){var r=n("0d63"),i=n("c914");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},"3e7d":function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(5),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("7671")(o)},"3efd":function(t,e,n){var r=n("0d63"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},"3fa1":function(t,e,n){var r=n("0f26"),i=n("ea05"),o=n("ad06"),s=n("7e33"),a=n("0d63"),c=n("154b"),l=n("42ee"),u=n("cdf9");function h(t,e,n){var a,f,p=arguments.length<4?t:arguments[3],d=i.f(l(t),e);if(!d){if(u(f=o(t)))return h(f,e,n,p);d=c(0)}if(s(d,"value")){if(!1===d.writable||!u(p))return!1;if(a=i.f(p,e)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,r.f(p,e,a)}else r.f(p,e,c(0,n));return!0}return void 0!==d.set&&(d.set.call(p,n),!0)}a(a.S,"Reflect",{set:h})},"3fa3":function(t,e,n){"use strict";var r=n("0d63"),i=n("ec26");r(r.P+r.F*!n("60a1")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},4027:function(t,e,n){n("9e46"),n("c6a1"),n("75f3"),n("8122"),n("f3d1"),n("837c"),n("6e76"),n("df29"),n("3a81"),n("0f13"),n("a7d6"),n("9a77"),n("7416"),n("ed0d"),n("b53a"),n("59fa"),n("81e6"),n("6585"),n("9cfa"),n("1ab3"),n("1a2d"),n("0365"),n("ba5b"),n("2ee3"),n("efbb"),n("df8c"),n("88ec"),n("fc9e"),n("4500"),n("d376"),n("89c3"),n("438c"),n("67444"),n("e175"),n("56f0"),n("df9d"),n("20f9"),n("d171"),n("e070"),n("cbe6"),n("3efd"),n("c750"),n("1d6e"),n("3280"),n("e6b5"),n("0370"),n("48d0"),n("733b"),n("922b"),n("ab90"),n("b83a"),n("d9bf"),n("05af"),n("d106"),n("2e39"),n("3309"),n("3a56"),n("6dcc"),n("2d3a"),n("1663"),n("1cc3"),n("665e"),n("f278"),n("29ec"),n("1ab2"),n("ee38"),n("2239"),n("8f8a"),n("c044"),n("b7e25"),n("75b6"),n("2121"),n("b864"),n("8f82"),n("dde4"),n("e5da"),n("0124"),n("7255"),n("38ce"),n("fcef"),n("63c5"),n("63b3"),n("cae4"),n("93de"),n("1bb8"),n("608d"),n("d7bd"),n("d9ad"),n("46d6"),n("b464"),n("58b4"),n("3fa3"),n("7484"),n("bd48"),n("5fde"),n("db04"),n("3e7d"),n("665e8"),n("e245"),n("221b"),n("ea9b"),n("3a89"),n("dceb"),n("3601"),n("e1a6"),n("8cc4"),n("2943"),n("9e3f"),n("6d75"),n("9dc2"),n("abf9"),n("1d8e"),n("66a9"),n("9c75"),n("7002"),n("d302"),n("7f1c"),n("2eea"),n("0451"),n("cfdc"),n("bf45"),n("3557"),n("2e2b"),n("0c52"),n("7a00"),n("b0ed"),n("8dfc"),n("76a7"),n("02d3"),n("5a66"),n("2882"),n("ecb4"),n("71d8"),n("883b"),n("5ef7"),n("3e5c"),n("3fa1"),n("c4d3"),t.exports=n("a06f")},4095:function(t,e,n){"use strict";var r,i=r={_escapeRegExpPattern:function(t){return"string"!==typeof t?t:t.replace(/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,"\\$1")},_toLowerCase:function(t,e){return"string"!==typeof t?e&&t:t.toLowerCase()},_toUpperCase:function(t,e){return"string"!==typeof t?e&&t:t.toUpperCase()},_trim:function(t,e,n){var i,o=[],s=function(t){o.push("^"+t+"+|"+t+"+$")};if("boolean"===typeof e&&(n=e,e=null),"string"!==typeof t)return n&&t;if(Array.isArray(e)&&e.map((function(t){var e=r._escapeRegExpPattern(t);s(e)})),"string"===typeof e){var a=r._escapeRegExpPattern(e);s(a)}e||s("\\s");var c="("+o.join("|")+")";i=new RegExp(c,"g");while(t.match(i))t=t.replace(i,"");return t},_parseLocale:function(t){var e,n,i,o=/^([a-zA-Z]*)([_\-a-zA-Z]*)$/,s=o.exec(t);if(t&&s)return s[2]=r._trim(s[2],["-","_"]),n=r._toLowerCase(s[1]),i=r._toUpperCase(s[2])||i,e={lang:n,countryCode:i},e},isRtlLang:function(t){var e=r._parseLocale(t);if(e)return r._BIDI_RTL_LANGS.indexOf(e.lang)>=0},getLangDir:function(t){return r.isRtlLang(t)?"rtl":"ltr"}};Object.defineProperty(r,"_BIDI_RTL_LANGS",{value:["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"],writable:!1,enumerable:!0,configurable:!1}),t.exports=i},"40de":function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}},4151:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"42ee":function(t,e,n){var r=n("cdf9");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"438c":function(t,e,n){var r=n("0d63");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},"43aa":function(t,e,n){var r=n("cb57"),i=n("2015");t.exports=function(t){return i(r(t))},t.exports.parse=r,t.exports.compile=i},4500:function(t,e,n){var r=n("0d63");r(r.S,"Number",{isInteger:n("6331")})},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},4691:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},"46a3":function(t,e,n){var r=n("a036"),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),c=i(2,-126),l=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),u=r(t);return i<c?u*l(i/c/s)*c*s:(e=(1+s/o)*i,n=e-(e-i),n>a||n!=n?u*(1/0):u*n)}},"46d6":function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(3);r(r.P+r.F*!n("60a1")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},"46d8":function(t,e,n){"use strict";var r=n("0d63"),i=n("cb03")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("7671")("includes")},"482b":function(t,e,n){var r=n("d8b2"),i=n("58d1");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},4840:function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,l=9007199254740991,u="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",m="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/^\./,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,V={};V[A]=V[O]=V[P]=V[R]=V[L]=V[I]=V[M]=V[j]=V[B]=!0,V[u]=V[h]=V[C]=V[f]=V[k]=V[p]=V[d]=V[g]=V[m]=V[y]=V[b]=V[_]=V[x]=V[S]=V[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,Z=W||G||Function("return this")(),X=e&&!e.nodeType&&e,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,K=Y&&Y.exports===X,J=K&&W.process,Q=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e,n,r){var i=-1,o=t?t.length:0;r&&o&&(n=t[++i]);while(++i<o)n=e(n,t[i],i,t);return n}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function ot(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function st(t){return function(e){return t(e)}}function at(t,e){return null==t?void 0:t[e]}function ct(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function lt(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ut(t,e){return function(n){return t(e(n))}}function ht(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ft=Array.prototype,pt=Function.prototype,dt=Object.prototype,gt=Z["__core-js_shared__"],vt=function(){var t=/[^.]+$/.exec(gt&&gt.keys&&gt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),mt=pt.toString,yt=dt.hasOwnProperty,bt=dt.toString,wt=RegExp("^"+mt.call(yt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=Z.Symbol,xt=Z.Uint8Array,St=dt.propertyIsEnumerable,Tt=ft.splice,Et=ut(Object.keys,Object),Ct=He(Z,"DataView"),kt=He(Z,"Map"),At=He(Z,"Promise"),Ot=He(Z,"Set"),Pt=He(Z,"WeakMap"),Rt=He(Object,"create"),Lt=Je(Ct),It=Je(kt),Mt=Je(At),jt=Je(Ot),Bt=Je(Pt),Dt=_t?_t.prototype:void 0,Nt=Dt?Dt.valueOf:void 0,Ft=Dt?Dt.toString:void 0;function Ht(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function zt(){this.__data__=Rt?Rt(null):{}}function $t(t){return this.has(t)&&delete this.__data__[t]}function Ut(t){var e=this.__data__;if(Rt){var n=e[t];return n===o?void 0:n}return yt.call(e,t)?e[t]:void 0}function qt(t){var e=this.__data__;return Rt?void 0!==e[t]:yt.call(e,t)}function Vt(t,e){var n=this.__data__;return n[t]=Rt&&void 0===e?o:e,this}function Wt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Gt(){this.__data__=[]}function Zt(t){var e=this.__data__,n=de(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Tt.call(e,n,1),!0}function Xt(t){var e=this.__data__,n=de(e,t);return n<0?void 0:e[n][1]}function Yt(t){return de(this.__data__,t)>-1}function Kt(t,e){var n=this.__data__,r=de(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Jt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Qt(){this.__data__={hash:new Ht,map:new(kt||Wt),string:new Ht}}function te(t){return Ne(this,t)["delete"](t)}function ee(t){return Ne(this,t).get(t)}function ne(t){return Ne(this,t).has(t)}function re(t,e){return Ne(this,t).set(t,e),this}function ie(t){var e=-1,n=t?t.length:0;this.__data__=new Jt;while(++e<n)this.add(t[e])}function oe(t){return this.__data__.set(t,o),this}function se(t){return this.__data__.has(t)}function ae(t){this.__data__=new Wt(t)}function ce(){this.__data__=new Wt}function le(t){return this.__data__["delete"](t)}function ue(t){return this.__data__.get(t)}function he(t){return this.__data__.has(t)}function fe(t,e){var n=this.__data__;if(n instanceof Wt){var i=n.__data__;if(!kt||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Jt(i)}return n.set(t,e),this}function pe(t,e){var n=rn(t)||nn(t)?ot(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!yt.call(t,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function de(t,e){var n=t.length;while(n--)if(en(t[n][0],e))return n;return-1}Ht.prototype.clear=zt,Ht.prototype["delete"]=$t,Ht.prototype.get=Ut,Ht.prototype.has=qt,Ht.prototype.set=Vt,Wt.prototype.clear=Gt,Wt.prototype["delete"]=Zt,Wt.prototype.get=Xt,Wt.prototype.has=Yt,Wt.prototype.set=Kt,Jt.prototype.clear=Qt,Jt.prototype["delete"]=te,Jt.prototype.get=ee,Jt.prototype.has=ne,Jt.prototype.set=re,ie.prototype.add=ie.prototype.push=oe,ie.prototype.has=se,ae.prototype.clear=ce,ae.prototype["delete"]=le,ae.prototype.get=ue,ae.prototype.has=he,ae.prototype.set=fe;var ge=Ie(me),ve=Me();function me(t,e){return t&&ve(t,e,vn)}function ye(t,e){e=qe(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ke(e[n++])];return n&&n==r?t:void 0}function be(t){return bt.call(t)}function we(t,e){return null!=t&&e in Object(t)}function _e(t,e,n,r,i){return t===e||(null==t||null==e||!ln(t)&&!un(e)?t!==t&&e!==e:xe(t,e,_e,n,r,i))}function xe(t,e,n,r,i,o){var s=rn(t),c=rn(e),l=h,f=h;s||(l=ze(t),l=l==u?b:l),c||(f=ze(e),f=f==u?b:f);var p=l==b&&!ct(t),d=f==b&&!ct(e),g=l==f;if(g&&!p)return o||(o=new ae),s||fn(t)?je(t,e,n,r,i,o):Be(t,e,l,n,r,i,o);if(!(i&a)){var v=p&&yt.call(t,"__wrapped__"),m=d&&yt.call(e,"__wrapped__");if(v||m){var y=v?t.value():t,w=m?e.value():e;return o||(o=new ae),n(y,w,r,i,o)}}return!!g&&(o||(o=new ae),De(t,e,n,r,i,o))}function Se(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var l=n[i];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++i<o){l=n[i];var u=l[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new ae;if(r)var d=r(h,f,u,t,e,p);if(!(void 0===d?_e(f,h,r,s|a,p):d))return!1}}return!0}function Te(t){if(!ln(t)||We(t))return!1;var e=an(t)||ct(t)?wt:U;return e.test(Je(t))}function Ee(t){return un(t)&&cn(t.length)&&!!V[bt.call(t)]}function Ce(t){return"function"==typeof t?t:null==t?mn:"object"==typeof t?rn(t)?Oe(t[0],t[1]):Ae(t):yn(t)}function ke(t){if(!Ge(t))return Et(t);var e=[];for(var n in Object(t))yt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ae(t){var e=Fe(t);return 1==e.length&&e[0][2]?Xe(e[0][0],e[0][1]):function(n){return n===t||Se(n,t,e)}}function Oe(t,e){return qe(t)&&Ze(e)?Xe(Ke(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?gn(n,t):_e(e,r,void 0,s|a)}}function Pe(t){return function(e){return ye(e,t)}}function Re(t){if("string"==typeof t)return t;if(hn(t))return Ft?Ft.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return rn(t)?t:Ye(t)}function Ie(t,e){return function(n,r){if(null==n)return n;if(!on(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Me(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,l=t.length,u=e.length;if(l!=u&&!(c&&u>l))return!1;var h=o.get(t);if(h&&o.get(e))return h==e;var f=-1,p=!0,d=i&s?new ie:void 0;o.set(t,e),o.set(e,t);while(++f<l){var g=t[f],v=e[f];if(r)var m=c?r(v,g,f,e,t,o):r(g,v,f,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!nt(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function Be(t,e,n,r,i,o,c){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new xt(t),new xt(e)));case f:case p:case y:return en(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case S:return t==e+"";case m:var l=lt;case x:var u=o&a;if(l||(l=ht),t.size!=e.size&&!u)return!1;var h=c.get(t);if(h)return h==e;o|=s,c.set(t,e);var g=je(l(t),l(e),r,i,o,c);return c["delete"](t),g;case T:if(Nt)return Nt.call(t)==Nt.call(e)}return!1}function De(t,e,n,r,i,o){var s=i&a,c=vn(t),l=c.length,u=vn(e),h=u.length;if(l!=h&&!s)return!1;var f=l;while(f--){var p=c[f];if(!(s?p in e:yt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++f<l){p=c[f];var m=t[p],y=e[p];if(r)var b=s?r(y,m,p,e,t,o):r(m,y,p,t,e,o);if(!(void 0===b?m===y||n(m,y,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,_=e.constructor;w!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return o["delete"](t),o["delete"](e),g}function Ne(t,e){var n=t.__data__;return Ve(e)?n["string"==typeof e?"string":"hash"]:n.map}function Fe(t){var e=vn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function He(t,e){var n=at(t,e);return Te(n)?n:void 0}var ze=be;function $e(t,e,n){e=qe(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=Ke(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&cn(o)&&Ue(s,o)&&(rn(t)||nn(t))}function Ue(t,e){return e=null==e?l:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function qe(t,e){if(rn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hn(t))||(N.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function We(t){return!!vt&&vt in t}function Ge(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||dt;return t===n}function Ze(t){return t===t&&!ln(t)}function Xe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Ct&&ze(new Ct(new ArrayBuffer(1)))!=k||kt&&ze(new kt)!=m||At&&ze(At.resolve())!=w||Ot&&ze(new Ot)!=x||Pt&&ze(new Pt)!=E)&&(ze=function(t){var e=bt.call(t),n=e==b?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Lt:return k;case It:return m;case Mt:return w;case jt:return x;case Bt:return E}return e});var Ye=tn((function(t){t=pn(t);var e=[];return F.test(t)&&e.push(""),t.replace(H,(function(t,n,r,i){e.push(r?i.replace($,"$1"):n||t)})),e}));function Ke(t){if("string"==typeof t||hn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return mt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Qe(t,e,n){var r=rn(t)?et:it,i=arguments.length<3;return r(t,Ce(e,4),n,i,ge)}function tn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(tn.Cache||Jt),n}function en(t,e){return t===e||t!==t&&e!==e}function nn(t){return sn(t)&&yt.call(t,"callee")&&(!St.call(t,"callee")||bt.call(t)==u)}tn.Cache=Jt;var rn=Array.isArray;function on(t){return null!=t&&cn(t.length)&&!an(t)}function sn(t){return un(t)&&on(t)}function an(t){var e=ln(t)?bt.call(t):"";return e==g||e==v}function cn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=l}function ln(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function hn(t){return"symbol"==typeof t||un(t)&&bt.call(t)==T}var fn=tt?st(tt):Ee;function pn(t){return null==t?"":Re(t)}function dn(t,e,n){var r=null==t?void 0:ye(t,e);return void 0===r?n:r}function gn(t,e){return null!=t&&$e(t,e,we)}function vn(t){return on(t)?pe(t):ke(t)}function mn(t){return t}function yn(t){return qe(t)?rt(Ke(t)):Pe(t)}n.exports=Qe}).call(this,n("c8ba"),n("62e4")(t))},"48d0":function(t,e,n){var r=n("0d63");r(r.S,"Math",{log1p:n("b03c")})},"4a1c":function(t,e,n){var r=n("72ce"),i=n("1880"),o={tag:!0,script:!0,style:!0};e.isTag=function(t){return t.type&&(t=t.type),o[t]||!1},e.camelCase=function(t){return t.replace(/[_.-](\w|$)/g,(function(t,e){return e.toUpperCase()}))},e.cssCase=function(t){return t.replace(/[A-Z]/g,"-$&").toLowerCase()},e.domEach=function(t,e){var n=0,r=t.length;while(n<r&&!1!==e.call(t,n,t[n]))++n;return t},e.cloneDom=function(t,e){return r(i(t,e),e).children};var s=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/;e.isHtml=function(t){if("<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3)return!0;var e=s.exec(t);return!(!e||!e[1])}},"4a60":function(t,e,n){"use strict";var r=n("0d63"),i=n("9c55"),o=n("679a"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function l(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,l),r.forEach(s,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(a,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var u=i.concat(o).concat(s).concat(a),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(h,l),n}},"4b13":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"4cec":function(t,e,n){"use strict";var r=n("0f26").f,i=n("af33"),o=n("e603"),s=n("d401"),a=n("4b13"),c=n("3032"),l=n("8d33"),u=n("4e79"),h=n("dbc5"),f=n("6739"),p=n("bded").fastKey,d=n("388d"),g=f?"_s":"size",v=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var u=t((function(t,r){a(t,u,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[l],t)}));return o(u.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=d(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){d(this,e);var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!v(d(this,e),t)}}),f&&r(u.prototype,"size",{get:function(){return d(this,e)[g]}}),u},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){l(t,e,(function(t,n){this._t=d(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?u(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,u(1))}),n?"entries":"values",!n,!0),h(e)}}},"4d1e":function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},"4dc6":function(t,e,n){"use strict";var r=n("6739"),i=n("b7e2"),o=n("e038"),s=n("9a27"),a=n("37ff"),c=n("2635"),l=Object.assign;t.exports=!l||n("b460")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r}))?function(t,e){var n=a(t),l=arguments.length,u=1,h=o.f,f=s.f;while(l>u){var p,d=c(arguments[u++]),g=h?i(d).concat(h(d)):i(d),v=g.length,m=0;while(v>m)p=g[m++],r&&!f.call(d,p)||(n[p]=d[p])}return n}:l},"4e79":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},"4f2a":function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,i=n.length;r<i;r++){var o=n[r].split("=");e[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return e}},5051:function(t,e,n){var r=n("6739"),i=n("b7e2"),o=n("ceb6"),s=n("9a27").f;t.exports=function(t){return function(e){var n,a=o(e),c=i(a),l=c.length,u=0,h=[];while(l>u)n=c[u++],r&&!s.call(a,n)||h.push(t?[n,a[n]]:a[n]);return h}}},"50ea":function(t,e,n){t.exports=o;var r=n("e700"),i={__proto__:null,exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function o(t){for(var e=t.map(s),n=1;n<t.length;n++){var r=e[n];if(!(r<0))for(var i=n-1;i>=0&&r<e[i];i--){var o=t[i+1];t[i+1]=t[i],t[i]=o,e[i+1]=e[i],e[i]=r}}}function s(t){var e=r[t.type];if(e===r.attribute)e=i[t.action],e===i.equals&&"id"===t.name&&(e=9),t.ignoreCase&&(e>>=1);else if(e===r.pseudo)if(t.data)if("has"===t.name||"contains"===t.name)e=0;else if("matches"===t.name||"not"===t.name){e=0;for(var n=0;n<t.data.length;n++)if(1===t.data[n].length){var o=s(t.data[n][0]);if(0===o){e=0;break}o>e&&(e=o)}t.data.length>1&&e>0&&(e-=1)}else e=1;else e=3;return e}},"51ac":function(t,e,n){var r=n("d8b2"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},5270:function(t,e,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),s=n("2444");function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){a(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return a(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(a(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5307:function(t,e,n){var r=n("36cc"),i=n("0f94");function o(t,e){this.init(t,e)}function s(t,e){return i.getElementsByTagName(t,e,!0)}function a(t,e){return i.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,n){return i.getText(i.getElementsByTagName(t,e,n,1)).trim()}function l(t,e,n,r,i){var o=c(n,r,i);o&&(t[e]=o)}n("3fb5")(o,r),o.prototype.init=r;var u=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};o.prototype.onend=function(){var t,e,n={},i=a(u,this.dom);i&&("feed"===i.name?(e=i.children,n.type="atom",l(n,"id","id",e),l(n,"title","title",e),(t=a("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),l(n,"description","subtitle",e),(t=c("updated",e))&&(n.updated=new Date(t)),l(n,"author","email",e,!0),n.items=s("entry",e).map((function(t){var e,n={};return t=t.children,l(n,"id","id",t),l(n,"title","title",t),(e=a("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),(e=c("summary",t)||c("content",t))&&(n.description=e),(e=c("updated",t))&&(n.pubDate=new Date(e)),n}))):(e=a("channel",i.children).children,n.type=i.name.substr(0,3),n.id="",l(n,"title","title",e),l(n,"link","link",e),l(n,"description","description",e),(t=c("lastBuildDate",e))&&(n.updated=new Date(t)),l(n,"author","managingEditor",e,!0),n.items=s("item",i.children).map((function(t){var e,n={};return t=t.children,l(n,"id","guid",t),l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t),(e=c("pubDate",t))&&(n.pubDate=new Date(e)),n})))),this.dom=n,r.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},t.exports=o},5317:function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function i(t,e){var n=/\/{2,9}/g,r=e.replace(n,"/").split("/");return"/"!=e.substr(0,1)&&0!==e.length||r.splice(0,1),"/"==e.substr(e.length-1,1)&&r.splice(r.length-1,1),r}function o(t,e){var n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,e,r){e&&(n[e]=r)})),n}t.exports=function(t){var e=t,s=t.indexOf("["),a=t.indexOf("]");-1!=s&&-1!=a&&(t=t.substring(0,s)+t.substring(s,a).replace(/:/g,";")+t.substring(a,t.length));var c=n.exec(t||""),l={},u=14;while(u--)l[r[u]]=c[u]||"";return-1!=s&&-1!=a&&(l.source=e,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=i(l,l["path"]),l.queryKey=o(l,l["query"]),l}},"53a3":function(t,e,n){var r=n("72ce"),i=n("4a1c").isHtml,o={extend:n("971f"),bind:n("fe69"),forEach:n("aa6f"),defaults:n("13ca")},s=[n("7703"),n("f84c"),n("9db9"),n("65cd"),n("9459")],a=t.exports=function(t,e,n,s){return this instanceof a?(this.options=o.defaults(s||{},this.options),t?(n&&("string"===typeof n&&(n=r(n,this.options)),this._root=a.call(this,n)),t.cheerio?t:(c(t)&&(t=[t]),Array.isArray(t)?(o.forEach(t,o.bind((function(t,e){this[e]=t}),this)),this.length=t.length,this):"string"===typeof t&&i(t)?a.call(this,r(t,this.options).children):(e?"string"===typeof e?i(e)?(e=r(e,this.options),e=a.call(this,e)):(t=[e,t].join(" "),e=this._root):e.cheerio||(e=a.call(this,e)):e=this._root,e?e.find(t):this))):this):new a(t,e,n,s)};o.extend(a,n("d116")),a.prototype.cheerio="[cheerio object]",a.prototype.options={withDomLvl1:!0,normalizeWhitespace:!1,xmlMode:!1,decodeEntities:!0},a.prototype.length=0,a.prototype.splice=Array.prototype.splice,a.prototype._make=function(t,e){var n=new this.constructor(t,e,this._root,this.options);return n.prevObject=this,n},a.prototype.toArray=function(){return this.get()},s.forEach((function(t){o.extend(a.prototype,t)}));var c=function(t){return t.name||"text"===t.type||"comment"===t.type}},"55da":function(t,e,n){var r=n("0f94"),i=r.hasAttrib,o=r.getAttributeValue,s=n("99e4").falseFunc,a=/[-[\]{}()*+?.,\\^$|#\s]/g,c={__proto__:null,equals:function(t,e){var n=e.name,r=e.value;return e.ignoreCase?(r=r.toLowerCase(),function(e){var i=o(e,n);return null!=i&&i.toLowerCase()===r&&t(e)}):function(e){return o(e,n)===r&&t(e)}},hyphen:function(t,e){var n=e.name,r=e.value,i=r.length;return e.ignoreCase?(r=r.toLowerCase(),function(e){var s=o(e,n);return null!=s&&(s.length===i||"-"===s.charAt(i))&&s.substr(0,i).toLowerCase()===r&&t(e)}):function(e){var s=o(e,n);return null!=s&&s.substr(0,i)===r&&(s.length===i||"-"===s.charAt(i))&&t(e)}},element:function(t,e){var n=e.name,r=e.value;if(/\s/.test(r))return s;r=r.replace(a,"\\$&");var i="(?:^|\\s)"+r+"(?:$|\\s)",c=e.ignoreCase?"i":"",l=new RegExp(i,c);return function(e){var r=o(e,n);return null!=r&&l.test(r)&&t(e)}},exists:function(t,e){var n=e.name;return function(e){return i(e,n)&&t(e)}},start:function(t,e){var n=e.name,r=e.value,i=r.length;return 0===i?s:e.ignoreCase?(r=r.toLowerCase(),function(e){var s=o(e,n);return null!=s&&s.substr(0,i).toLowerCase()===r&&t(e)}):function(e){var s=o(e,n);return null!=s&&s.substr(0,i)===r&&t(e)}},end:function(t,e){var n=e.name,r=e.value,i=-r.length;return 0===i?s:e.ignoreCase?(r=r.toLowerCase(),function(e){var s=o(e,n);return null!=s&&s.substr(i).toLowerCase()===r&&t(e)}):function(e){var s=o(e,n);return null!=s&&s.substr(i)===r&&t(e)}},any:function(t,e){var n=e.name,r=e.value;if(""===r)return s;if(e.ignoreCase){var i=new RegExp(r.replace(a,"\\$&"),"i");return function(e){var r=o(e,n);return null!=r&&i.test(r)&&t(e)}}return function(e){var i=o(e,n);return null!=i&&i.indexOf(r)>=0&&t(e)}},not:function(t,e){var n=e.name,r=e.value;return""===r?function(e){return!!o(e,n)&&t(e)}:e.ignoreCase?(r=r.toLowerCase(),function(e){var i=o(e,n);return null!=i&&i.toLowerCase()!==r&&t(e)}):function(e){return o(e,n)!==r&&t(e)}}};t.exports={compile:function(t,e,n){if(n&&n.strict&&(e.ignoreCase||"not"===e.action))throw SyntaxError("Unsupported attribute selector");return c[e.action](t,e)},rules:c}},"568d":function(t,e,n){var r=n("34eb")("socket.io-parser"),i=n("68ab"),o=n("703e"),s=n("a23b"),a=n("f922");function c(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=c,e.Decoder=p;var l=e.ERROR+'"encode error"';function u(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var i=h(t.data);if(!1===i)return l;n+=i}return r("encoded %j as %s",t,n),n}function h(t){try{return JSON.stringify(t)}catch(e){return!1}}function f(t,e){function n(t){var n=o.deconstructPacket(t),r=u(n.packet),i=n.buffers;i.unshift(r),e(i)}o.removeBlobs(t,n)}function p(){this.reconstructor=null}function d(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return m("unknown packet type "+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){var o=n+1;while("-"!==t.charAt(++n)&&n!=t.length);var a=t.substring(o,n);if(a!=Number(a)||"-"!==t.charAt(n))throw new Error("Illegal attachments");i.attachments=Number(a)}if("/"===t.charAt(n+1)){o=n+1;while(++n){var c=t.charAt(n);if(","===c)break;if(n===t.length)break}i.nsp=t.substring(o,n)}else i.nsp="/";var l=t.charAt(n+1);if(""!==l&&Number(l)==l){o=n+1;while(++n){c=t.charAt(n);if(null==c||Number(c)!=c){--n;break}if(n===t.length)break}i.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){var u=g(t.substr(n)),h=!1!==u&&(i.type===e.ERROR||s(u));if(!h)return m("invalid payload");i.data=u}return r("decoded %s as %j",t,i),i}function g(t){try{return JSON.parse(t)}catch(e){return!1}}function v(t){this.reconPack=t,this.buffers=[]}function m(t){return{type:e.ERROR,data:"parser error: "+t}}c.prototype.encode=function(t,n){if(r("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)f(t,n);else{var i=u(t);n([i])}},i(p.prototype),p.prototype.add=function(t){var n;if("string"===typeof t)n=d(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new v(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,this.emit("decoded",n))}},p.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},v.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=o.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},v.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},"56f0":function(t,e,n){var r=n("0d63"),i=n("70be");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},"575f":function(t,e,n){var r=n("e860"),i=n("9336")("iterator"),o=n("8d2e");t.exports=n("a06f").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},5804:function(t,e,n){var r=n("6fbd"),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},a={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n("3fb5")(u,n("faa1").EventEmitter),u.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},u.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in s||(this._stack.push(t),t in a?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in a||t in c)&&this._foreignContext.pop(),!this._stack.length||t in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag){e=this._stack.length-e;while(e--)this._cbs.onclosetag(this._stack.pop())}else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},u.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},u.prototype.onattribdata=function(t){this._attribvalue+=t},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(t){var e=t.search(l),n=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},u.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},u.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},u.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(t){this.reset(),this.end(t)},u.prototype.write=function(t){this._tokenizer.write(t)},u.prototype.end=function(t){this._tokenizer.end(t)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,t.exports=u},"58b1":function(t,e,n){(function(e){var r=n("e82e"),i=Object.prototype.toString,o="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===i.call(Blob),s="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===i.call(File);function a(t){if(!t||"object"!==typeof t)return!1;if(r(t)){for(var n=0,i=t.length;n<i;n++)if(a(t[n]))return!0;return!1}if("function"===typeof e&&e.isBuffer&&e.isBuffer(t)||"function"===typeof ArrayBuffer&&t instanceof ArrayBuffer||o&&t instanceof Blob||s&&t instanceof File)return!0;if(t.toJSON&&"function"===typeof t.toJSON&&1===arguments.length)return a(t.toJSON(),!0);for(var c in t)if(Object.prototype.hasOwnProperty.call(t,c)&&a(t[c]))return!0;return!1}t.exports=a}).call(this,n("b639").Buffer)},"58b4":function(t,e,n){"use strict";var r=n("0d63"),i=n("ec26");r(r.P+r.F*!n("60a1")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},"58d1":function(t,e,n){var r=n("d8b2"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"59fa":function(t,e,n){var r=n("0d63");r(r.S,"Object",{is:n("4151")})},"5a30":function(t,e,n){e.f=n("9336")},"5a66":function(t,e,n){var r=n("ea05"),i=n("ad06"),o=n("7e33"),s=n("0d63"),a=n("cdf9"),c=n("42ee");function l(t,e){var n,s,u=arguments.length<3?t:arguments[2];return c(t)===u?t[e]:(n=r.f(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:a(s=i(t))?l(s,e,u):void 0}s(s.S,"Reflect",{get:l})},"5a6e":function(t,e,n){var r,i=n("764b"),o=n("58b1"),s=n("ca99"),a=n("ccc1"),c=n("a081");"undefined"!==typeof ArrayBuffer&&(r=n("8390"));var l="undefined"!==typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!==typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=l||u;e.protocol=3;var f=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=i(f),d={type:"error",data:"parser error"},g=n("d780");function v(t,n){var r="b"+e.packets[t.type]+t.data.data;return n(r)}function m(t,n,r){if(!n)return e.encodeBase64Packet(t,r);var i=t.data,o=new Uint8Array(i),s=new Uint8Array(1+i.byteLength);s[0]=f[t.type];for(var a=0;a<o.length;a++)s[a+1]=o[a];return r(s.buffer)}function y(t,n,r){if(!n)return e.encodeBase64Packet(t,r);var i=new FileReader;return i.onload=function(){e.encodePacket({type:t.type,data:i.result},n,!0,r)},i.readAsArrayBuffer(t.data)}function b(t,n,r){if(!n)return e.encodeBase64Packet(t,r);if(h)return y(t,n,r);var i=new Uint8Array(1);i[0]=f[t.type];var o=new g([i.buffer,t.data]);return r(o)}function w(t){try{t=c.decode(t,{strict:!1})}catch(e){return!1}return t}function _(t,e,n){for(var r=new Array(t.length),i=a(t.length,n),o=function(t,n,i){e(n,(function(e,n){r[t]=n,i(e,r)}))},s=0;s<t.length;s++)o(s,t[s],i)}e.encodePacket=function(t,e,n,r){"function"===typeof e&&(r=e,e=!1),"function"===typeof n&&(r=n,n=null);var i=void 0===t.data?void 0:t.data.buffer||t.data;if("undefined"!==typeof ArrayBuffer&&i instanceof ArrayBuffer)return m(t,e,r);if("undefined"!==typeof g&&i instanceof g)return b(t,e,r);if(i&&i.base64)return v(t,r);var o=f[t.type];return void 0!==t.data&&(o+=n?c.encode(String(t.data),{strict:!1}):String(t.data)),r(""+o)},e.encodeBase64Packet=function(t,n){var r,i="b"+e.packets[t.type];if("undefined"!==typeof g&&t.data instanceof g){var o=new FileReader;return o.onload=function(){var t=o.result.split(",")[1];n(i+t)},o.readAsDataURL(t.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(l){for(var s=new Uint8Array(t.data),a=new Array(s.length),c=0;c<s.length;c++)a[c]=s[c];r=String.fromCharCode.apply(null,a)}return i+=btoa(r),n(i)},e.decodePacket=function(t,n,r){if(void 0===t)return d;if("string"===typeof t){if("b"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(r&&(t=w(t),!1===t))return d;var i=t.charAt(0);return Number(i)==i&&p[i]?t.length>1?{type:p[i],data:t.substring(1)}:{type:p[i]}:d}var o=new Uint8Array(t),a=(i=o[0],s(t,1));return g&&"blob"===n&&(a=new g([a])),{type:p[i],data:a}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=r.decode(t.substr(1));return"blob"===e&&g&&(i=new g([i])),{type:n,data:i}},e.encodePayload=function(t,n,r){"function"===typeof n&&(r=n,n=null);var i=o(t);if(n&&i)return g&&!h?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r);if(!t.length)return r("0:");function s(t){return t.length+":"+t}function a(t,r){e.encodePacket(t,!!i&&n,!1,(function(t){r(null,s(t))}))}_(t,a,(function(t,e){return r(e.join(""))}))},e.decodePayload=function(t,n,r){if("string"!==typeof t)return e.decodePayloadAsBinary(t,n,r);var i;if("function"===typeof n&&(r=n,n=null),""===t)return r(d,0,1);for(var o,s,a="",c=0,l=t.length;c<l;c++){var u=t.charAt(c);if(":"===u){if(""===a||a!=(o=Number(a)))return r(d,0,1);if(s=t.substr(c+1,o),a!=s.length)return r(d,0,1);if(s.length){if(i=e.decodePacket(s,n,!1),d.type===i.type&&d.data===i.data)return r(d,0,1);var h=r(i,c+o,l);if(!1===h)return}c+=o,a=""}else a+=u}return""!==a?r(d,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));function r(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}_(t,r,(function(t,e){var r=e.reduce((function(t,e){var n;return n="string"===typeof e?e.length:e.byteLength,t+n.toString().length+n+2}),0),i=new Uint8Array(r),o=0;return e.forEach((function(t){var e="string"===typeof t,n=t;if(e){for(var r=new Uint8Array(t.length),s=0;s<t.length;s++)r[s]=t.charCodeAt(s);n=r.buffer}i[o++]=e?0:1;var a=n.byteLength.toString();for(s=0;s<a.length;s++)i[o++]=parseInt(a[s]);i[o++]=255;for(r=new Uint8Array(n),s=0;s<r.length;s++)i[o++]=r[s]})),n(i.buffer)}))},e.encodePayloadAsBlob=function(t,n){function r(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,"string"===typeof t){for(var r=new Uint8Array(t.length),i=0;i<t.length;i++)r[i]=t.charCodeAt(i);t=r.buffer,e[0]=0}var o=t instanceof ArrayBuffer?t.byteLength:t.size,s=o.toString(),a=new Uint8Array(s.length+1);for(i=0;i<s.length;i++)a[i]=parseInt(s[i]);if(a[s.length]=255,g){var c=new g([e.buffer,a.buffer,t]);n(null,c)}}))}_(t,r,(function(t,e){return n(new g(e))}))},e.decodePayloadAsBinary=function(t,n,r){"function"===typeof n&&(r=n,n=null);var i=t,o=[];while(i.byteLength>0){for(var a=new Uint8Array(i),c=0===a[0],l="",u=1;;u++){if(255===a[u])break;if(l.length>310)return r(d,0,1);l+=a[u]}i=s(i,2+l.length),l=parseInt(l);var h=s(i,0,l);if(c)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(g){var f=new Uint8Array(h);h="";for(u=0;u<f.length;u++)h+=String.fromCharCode(f[u])}o.push(h),i=s(i,l)}var p=o.length;o.forEach((function(t,i){r(e.decodePacket(t,n,!0),i,p)}))}},"5bfe":function(t,e,n){"use strict";t.exports=g;var r=/^(?:\\.|[\w\-\u00b0-\uFFFF])+/,i=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,o=/^\s*((?:\\.|[\w\u00b0-\uFFFF\-])+)\s*(?:(\S?)=\s*(?:(['"])([^]*?)\3|(#?(?:\\.|[\w\u00b0-\uFFFF\-])*)|)|)\s*(i)?\]/,s={__proto__:null,undefined:"exists","":"equals","~":"element","^":"start",$:"end","*":"any","!":"not","|":"hyphen"},a={__proto__:null,">":"child","<":"parent","~":"sibling","+":"adjacent"},c={__proto__:null,"#":["id","equals"],".":["class","element"]},l={__proto__:null,has:!0,not:!0,matches:!0},u={__proto__:null,contains:!0,icontains:!0},h={__proto__:null,'"':!0,"'":!0};function f(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function p(t){return t.replace(i,f)}function d(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function g(t,e){var n=[];if(t=v(n,t+"",e),""!==t)throw new SyntaxError("Unmatched selector: "+t);return n}function v(t,e,n){var i,f,g,y,b=[],w=!1;function _(){var t=e.match(r)[0];return e=e.substr(t.length),p(t)}function x(t){while(d(e.charAt(t)))t++;e=e.substr(t)}function S(t){var n=0;while("\\"===e.charAt(--t))n++;return 1===(1&n)}x(0);while(""!==e)if(f=e.charAt(0),d(f))w=!0,x(1);else if(f in a)b.push({type:a[f]}),w=!1,x(1);else if(","===f){if(0===b.length)throw new SyntaxError("empty sub-selector");t.push(b),b=[],w=!1,x(1)}else if(w&&(b.length>0&&b.push({type:"descendant"}),w=!1),"*"===f)e=e.substr(1),b.push({type:"universal"});else if(f in c)e=e.substr(1),b.push({type:"attribute",name:c[f][0],action:c[f][1],value:_(),ignoreCase:!1});else if("["===f){if(e=e.substr(1),i=e.match(o),!i)throw new SyntaxError("Malformed attribute selector: "+e);e=e.substr(i[0].length),g=p(i[1]),n&&("lowerCaseAttributeNames"in n?!n.lowerCaseAttributeNames:n.xmlMode)||(g=g.toLowerCase()),b.push({type:"attribute",name:g,action:s[i[2]],value:p(i[4]||i[5]||""),ignoreCase:!!i[6]})}else if(":"===f){if(":"===e.charAt(1)){e=e.substr(2),b.push({type:"pseudo-element",name:_().toLowerCase()});continue}if(e=e.substr(1),g=_().toLowerCase(),i=null,"("===e.charAt(0))if(g in l){y=e.charAt(1);var T=y in h;if(e=e.substr(T+1),i=[],e=v(i,e,n),T){if(e.charAt(0)!==y)throw new SyntaxError("unmatched quotes in :"+g);e=e.substr(1)}if(")"!==e.charAt(0))throw new SyntaxError("missing closing parenthesis in :"+g+" "+e);e=e.substr(1)}else{for(var E=1,C=1;C>0&&E<e.length;E++)"("!==e.charAt(E)||S(E)?")"!==e.charAt(E)||S(E)||C--:C++;if(C)throw new SyntaxError("parenthesis not matched");i=e.substr(1,E-2),e=e.substr(E),g in u&&(y=i.charAt(0),y===i.slice(-1)&&y in h&&(i=i.slice(1,-1)),i=p(i))}b.push({type:"pseudo",name:g,data:i})}else{if(!r.test(e))return b.length&&"descendant"===b[b.length-1].type&&b.pop(),m(t,b),e;g=_(),n&&("lowerCaseTags"in n?!n.lowerCaseTags:n.xmlMode)||(g=g.toLowerCase()),b.push({type:"tag",name:g})}return m(t,b),e}function m(t,e){if(t.length>0&&0===e.length)throw new SyntaxError("empty sub-selector");t.push(e)}},"5cb8":function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},"5d88":function(t,e,n){"use strict";var r=n("255a"),i=n("6739"),o=n("3b77"),s=n("7634"),a=n("c3fa"),c=n("e603"),l=n("b460"),u=n("4b13"),h=n("d8b2"),f=n("58d1"),p=n("482b"),d=n("993b").f,g=n("0f26").f,v=n("8d29"),m=n("617f"),y="ArrayBuffer",b="DataView",w="prototype",_="Wrong length!",x="Wrong index!",S=r[y],T=r[b],E=r.Math,C=r.RangeError,k=r.Infinity,A=S,O=E.abs,P=E.pow,R=E.floor,L=E.log,I=E.LN2,M="buffer",j="byteLength",B="byteOffset",D=i?"_b":M,N=i?"_l":j,F=i?"_o":B;function H(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,c=(1<<a)-1,l=c>>1,u=23===e?P(2,-24)-P(2,-77):0,h=0,f=t<0||0===t&&1/t<0?1:0;for(t=O(t),t!=t||t===k?(i=t!=t?1:0,r=c):(r=R(L(t)/I),t*(o=P(2,-r))<1&&(r--,o*=2),t+=r+l>=1?u/o:u*P(2,1-l),t*o>=2&&(r++,o/=2),r+l>=c?(i=0,r=c):r+l>=1?(i=(t*o-1)*P(2,e),r+=l):(i=t*P(2,l-1)*P(2,e),r=0));e>=8;s[h++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;s[h++]=255&r,r/=256,a-=8);return s[--h]|=128*f,s}function z(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,s=o>>1,a=i-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;a>0;u=256*u+t[c],c--,a-=8);for(r=u&(1<<-a)-1,u>>=-a,a+=e;a>0;r=256*r+t[c],c--,a-=8);if(0===u)u=1-s;else{if(u===o)return r?NaN:l?-k:k;r+=P(2,e),u-=s}return(l?-1:1)*r*P(2,u-e)}function $(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function U(t){return[255&t]}function q(t){return[255&t,t>>8&255]}function V(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function W(t){return H(t,52,8)}function G(t){return H(t,23,4)}function Z(t,e,n){g(t[w],e,{get:function(){return this[n]}})}function X(t,e,n,r){var i=+n,o=p(i);if(o+e>t[N])throw C(x);var s=t[D]._b,a=o+t[F],c=s.slice(a,a+e);return r?c:c.reverse()}function Y(t,e,n,r,i,o){var s=+n,a=p(s);if(a+e>t[N])throw C(x);for(var c=t[D]._b,l=a+t[F],u=r(+i),h=0;h<e;h++)c[l+h]=u[o?h:e-h-1]}if(s.ABV){if(!l((function(){S(1)}))||!l((function(){new S(-1)}))||l((function(){return new S,new S(1.5),new S(NaN),S.name!=y}))){S=function(t){return u(this,S),new A(p(t))};for(var K,J=S[w]=A[w],Q=d(A),tt=0;Q.length>tt;)(K=Q[tt++])in S||a(S,K,A[K]);o||(J.constructor=S)}var et=new T(new S(2)),nt=T[w].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(T[w],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else S=function(t){u(this,S,y);var e=p(t);this._b=v.call(new Array(e),0),this[N]=e},T=function(t,e,n){u(this,T,b),u(t,S,b);var r=t[N],i=h(e);if(i<0||i>r)throw C("Wrong offset!");if(n=void 0===n?r-i:f(n),i+n>r)throw C(_);this[D]=t,this[F]=i,this[N]=n},i&&(Z(S,j,"_l"),Z(T,M,"_b"),Z(T,j,"_l"),Z(T,B,"_o")),c(T[w],{getInt8:function(t){return X(this,1,t)[0]<<24>>24},getUint8:function(t){return X(this,1,t)[0]},getInt16:function(t){var e=X(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=X(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return $(X(this,4,t,arguments[1]))},getUint32:function(t){return $(X(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return z(X(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return z(X(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Y(this,1,t,U,e)},setUint8:function(t,e){Y(this,1,t,U,e)},setInt16:function(t,e){Y(this,2,t,q,e,arguments[2])},setUint16:function(t,e){Y(this,2,t,q,e,arguments[2])},setInt32:function(t,e){Y(this,4,t,V,e,arguments[2])},setUint32:function(t,e){Y(this,4,t,V,e,arguments[2])},setFloat32:function(t,e){Y(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){Y(this,8,t,W,e,arguments[2])}});m(S,y),m(T,b),a(T[w],s.VIEW,!0),e[y]=S,e[b]=T},"5ef3":function(t,e,n){"use strict";var r=n("112b"),i=n.n(r);i.a},"5ef7":function(t,e,n){var r=n("0d63");r(r.S,"Reflect",{ownKeys:n("1fd1")})},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5fde":function(t,e,n){var r=n("0d63");r(r.P,"Array",{copyWithin:n("c491")}),n("7671")("copyWithin")},"608d":function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(0),o=n("60a1")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},"60a1":function(t,e,n){"use strict";var r=n("b460");t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"60fa":function(t,e,n){"use strict";var r=n("af33"),i=n("154b"),o=n("617f"),s={};n("c3fa")(s,n("9336")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"617f":function(t,e,n){var r=n("0f26").f,i=n("7e33"),o=n("9336")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},6299:function(t,e,n){var r=n("42ee");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t["return"];throw void 0!==o&&r(o.call(t)),s}}},"62e4":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}},"62fa":function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},6317:function(t,e,n){var r=n("4691");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},6331:function(t,e,n){var r=n("cdf9"),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},6397:function(t,e,n){var r=n("0d63"),i=n("a06f"),o=n("b460");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"63b3":function(t,e,n){"use strict";var r=n("0d63"),i=n("c7a3");r(r.S+r.F*n("b460")((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);while(e>t)i(n,t,arguments[t++]);return n.length=e,n}})},"63c5":function(t,e,n){"use strict";var r=n("d401"),i=n("0d63"),o=n("37ff"),s=n("6299"),a=n("3d01"),c=n("58d1"),l=n("c7a3"),u=n("575f");i(i.S+i.F*!n("3b9e")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,h,f=o(t),p="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(f);if(v&&(g=r(g,d>2?arguments[2]:void 0,2)),void 0==y||p==Array&&a(y))for(e=c(f.length),n=new p(e);e>m;m++)l(n,m,v?g(f[m],m):f[m]);else for(h=y.call(f),n=new p;!(i=h.next()).done;m++)l(n,m,v?s(h,g,[i.value,m],!0):i.value);return n.length=m,n}})},6434:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"64b2":function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},6585:function(t,e,n){"use strict";var r=n("e860"),i={};i[n("9336")("toStringTag")]="z",i+""!="[object z]"&&n("bd47")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"65cd":function(t,e,n){var r=n("4a1c").domEach,i={pick:n("88bc")},o=Object.prototype.toString;function s(t,e,n,r){if("string"==typeof e){var i=a(t);"function"===typeof n&&(n=n.call(t,r,i[e])),""===n?delete i[e]:null!=n&&(i[e]=n),t.attribs.style=c(i)}else"object"==typeof e&&Object.keys(e).forEach((function(n){s(t,n,e[n])}))}function a(t,e){var n=l(t.attribs.style);return"string"===typeof e?n[e]:Array.isArray(e)?i.pick(n,e):n}function c(t){return Object.keys(t||{}).reduce((function(e,n){return e+(e?" ":"")+n+": "+t[n]+";"}),"")}function l(t){return t=(t||"").trim(),t?t.split(";").reduce((function(t,e){var n=e.indexOf(":");return n<1||n===e.length-1?t:(t[e.slice(0,n).trim()]=e.slice(n+1).trim(),t)}),{}):{}}e.css=function(t,e){return 2===arguments.length||"[object Object]"===o.call(t)?r(this,(function(n,r){s(r,t,e,n)})):a(this[0],t)}},"65e5":function(t,e,n){"use strict";var r=n("bc48"),i=n("cdf9"),o=n("58d1"),s=n("d401"),a=n("9336")("isConcatSpreadable");function c(t,e,n,l,u,h,f,p){var d,g,v=u,m=0,y=!!f&&s(f,p,3);while(m<l){if(m in n){if(d=y?y(n[m],m,e):n[m],g=!1,i(d)&&(g=d[a],g=void 0!==g?!!g:r(d)),g&&h>0)v=c(t,e,d,o(d.length),v,h-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=d}v++}m++}return v}t.exports=c},"665e":function(t,e,n){"use strict";n("c7c1")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},"665e8":function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(6),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("7671")(o)},"66a9":function(t,e,n){"use strict";var r=n("29cb"),i=n("388d"),o="WeakSet";n("aef6")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},"66ec":function(t,e,n){var r=n("01d0"),i=t.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(t){var e=o[t];Object.defineProperty(i,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},"672b":function(t,e,n){n("17b2")("asyncIterator")},6739:function(t,e,n){t.exports=!n("b460")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},6744:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},67444:function(t,e,n){var r=n("0d63");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"679a":function(t,e,n){var r=n("255a"),i=r.navigator;t.exports=i&&i.userAgent||""},"68ab":function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if(n=r[i],n===e||n.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);r=0;for(var i=n.length;r<i;++r)n[r].apply(this,e)}return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},"68b4":function(t,e,n){var r=n("4d1e"),i=n("1880"),o=r.isTag;function s(t,e){return t.children?t.children.map((function(t){return i(t,e)})).join(""):""}function a(t){return Array.isArray(t)?t.map(a).join(""):o(t)||t.type===r.CDATA?a(t.children):t.type===r.Text?t.data:""}t.exports={getInnerHTML:s,getOuterHTML:i,getText:a}},"69ce":function(t,e,n){t.exports=!n("a32c")&&!n("6434")((function(){return 7!=Object.defineProperty(n("3bb3")("div"),"a",{get:function(){return 7}}).a}))},"6a44":function(t,e,n){var r=n("01d3"),i=n("d33e"),o=n("0a5e"),s=n("0882");function a(t){var e,n=!1,s=!1,a=!1!==t.jsonp;if("undefined"!==typeof location){var c="https:"===location.protocol,l=location.port;l||(l=c?443:80),n=t.hostname!==location.hostname||l!==t.port,s=t.secure!==c}if(t.xdomain=n,t.xscheme=s,e=new r(t),"open"in e&&!t.forceJSONP)return new i(t);if(!a)throw new Error("JSONP disabled");return new o(t)}e.polling=a,e.websocket=s},"6d75":function(t,e,n){"use strict";var r,i,o,s,a=n("3b77"),c=n("255a"),l=n("d401"),u=n("e860"),h=n("0d63"),f=n("cdf9"),p=n("7480"),d=n("4b13"),g=n("3032"),v=n("0a7d"),m=n("c914").set,y=n("d6b9")(),b=n("978e"),w=n("aa6f6"),_=n("679a"),x=n("c50d"),S="Promise",T=c.TypeError,E=c.process,C=E&&E.versions,k=C&&C.v8||"",A=c[S],O="process"==u(E),P=function(){},R=i=b.f,L=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n("9336")("species")]=function(t){t(P,P)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(P)instanceof e&&0!==k.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(r){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(i||(2==t._h&&D(t),t._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&(u.exit(),s=!0)),n===e.promise?l(T("Promise-chain cycle")):(o=I(n))?o.call(n,c,l):c(n)):l(r)}catch(h){u&&!s&&u.exit(),l(h)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){m.call(c,(function(){var e,n,r,i=t._v,o=B(t);if(o&&(e=w((function(){O?E.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=O||B(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},B=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){m.call(c,(function(){var e;O?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,l(F,r,1),l(N,r,1))}catch(i){N.call(r,i)}})):(n._v=t,n._s=1,M(n,!1))}catch(r){N.call({_w:n,_d:!1},r)}}};L||(A=function(t){d(this,A,S,"_h"),p(t),r.call(this);try{t(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("e603")(A.prototype,{then:function(t,e){var n=R(v(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(F,t,1),this.reject=l(N,t,1)},b.f=R=function(t){return t===A||t===s?new o(t):i(t)}),h(h.G+h.W+h.F*!L,{Promise:A}),n("617f")(A,S),n("dbc5")(S),s=n("a06f")[S],h(h.S+h.F*!L,S,{reject:function(t){var e=R(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!L),S,{resolve:function(t){return x(a&&this===s?A:this,t)}}),h(h.S+h.F*!(L&&n("3b9e")((function(t){A.all(t)["catch"](P)}))),S,{all:function(t){var e=this,n=R(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=R(e),r=n.reject,i=w((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"6d89":function(t,e,n){"use strict";var r=n("d8b2"),i=n("6744");t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},"6dcc":function(t,e,n){"use strict";var r=n("0d63"),i=n("58d1"),o=n("f49a"),s="endsWith",a=""[s];r(r.P+r.F*n("9ec8")(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),c=void 0===n?r:Math.min(i(n),r),l=String(t);return a?a.call(e,l,c):e.slice(c-l.length,c)===l}})},"6e76":function(t,e,n){var r=n("37ff"),i=n("b7e2");n("6397")("keys",(function(){return function(t){return i(r(t))}}))},"6f54":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"6fbd":function(t,e,n){t.exports=vt;var r=n("7073"),i=n("f0f2"),o=n("9166"),s=n("64b2"),a=0,c=a++,l=a++,u=a++,h=a++,f=a++,p=a++,d=a++,g=a++,v=a++,m=a++,y=a++,b=a++,w=a++,_=a++,x=a++,S=a++,T=a++,E=a++,C=a++,k=a++,A=a++,O=a++,P=a++,R=a++,L=a++,I=a++,M=a++,j=a++,B=a++,D=a++,N=a++,F=a++,H=a++,z=a++,$=a++,U=a++,q=a++,V=a++,W=a++,G=a++,Z=a++,X=a++,Y=a++,K=a++,J=a++,Q=a++,tt=a++,et=a++,nt=a++,rt=a++,it=a++,ot=a++,st=a++,at=a++,ct=a++,lt=0,ut=lt++,ht=lt++,ft=lt++;function pt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function dt(t,e,n){var r=t.toLowerCase();return t===r?function(t){t===r?this._state=e:(this._state=n,this._index--)}:function(i){i===r||i===t?this._state=e:(this._state=n,this._index--)}}function gt(t,e){var n=t.toLowerCase();return function(r){r===n||r===t?this._state=e:(this._state=u,this._index--)}}function vt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=ut,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}vt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ut&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=it,this._sectionStart=this._index)},vt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=f:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==ut||pt(t)?this._state=c:"!"===t?(this._state=x,this._sectionStart=this._index+1):"?"===t?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?u:N,this._sectionStart=this._index)},vt.prototype._stateInTagName=function(t){("/"===t||">"===t||pt(t))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},vt.prototype._stateBeforeCloseingTagName=function(t){pt(t)||(">"===t?this._state=c:this._special!==ut?"s"===t||"S"===t?this._state=F:(this._state=c,this._index--):(this._state=p,this._sectionStart=this._index))},vt.prototype._stateInCloseingTagName=function(t){(">"===t||pt(t))&&(this._emitToken("onclosetag"),this._state=d,this._index--)},vt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},vt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=h:pt(t)||(this._state=v,this._sectionStart=this._index)},vt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):pt(t)||(this._state=g,this._index--)},vt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||pt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},vt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=y:"/"===t||">"===t?(this._cbs.onattribend(),this._state=g,this._index--):pt(t)||(this._cbs.onattribend(),this._state=v,this._sectionStart=this._index)},vt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=b,this._sectionStart=this._index+1):"'"===t?(this._state=w,this._sectionStart=this._index+1):pt(t)||(this._state=_,this._sectionStart=this._index,this._index--)},vt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},vt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},vt.prototype._stateInAttributeValueNoQuotes=function(t){pt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},vt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?O:"-"===t?E:S},vt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},vt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},vt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=C,this._sectionStart=this._index+1):this._state=S},vt.prototype._stateInComment=function(t){"-"===t&&(this._state=k)},vt.prototype._stateAfterComment1=function(t){this._state="-"===t?A:C},vt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=C)},vt.prototype._stateBeforeCdata1=dt("C",P,S),vt.prototype._stateBeforeCdata2=dt("D",R,S),vt.prototype._stateBeforeCdata3=dt("A",L,S),vt.prototype._stateBeforeCdata4=dt("T",I,S),vt.prototype._stateBeforeCdata5=dt("A",M,S),vt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=j,this._sectionStart=this._index+1):(this._state=S,this._index--)},vt.prototype._stateInCdata=function(t){"]"===t&&(this._state=B)},vt.prototype._stateAfterCdata1=function(t){this._state="]"===t?D:j},vt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=j)},vt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=H:"t"===t||"T"===t?this._state=Y:(this._state=u,this._index--)},vt.prototype._stateBeforeSpecialEnd=function(t){this._special!==ht||"c"!==t&&"C"!==t?this._special!==ft||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=V},vt.prototype._stateBeforeScript1=gt("R",z),vt.prototype._stateBeforeScript2=gt("I",$),vt.prototype._stateBeforeScript3=gt("P",U),vt.prototype._stateBeforeScript4=gt("T",q),vt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||pt(t))&&(this._special=ht),this._state=u,this._index--},vt.prototype._stateAfterScript1=dt("R",W,c),vt.prototype._stateAfterScript2=dt("I",G,c),vt.prototype._stateAfterScript3=dt("P",Z,c),vt.prototype._stateAfterScript4=dt("T",X,c),vt.prototype._stateAfterScript5=function(t){">"===t||pt(t)?(this._special=ut,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=c},vt.prototype._stateBeforeStyle1=gt("Y",K),vt.prototype._stateBeforeStyle2=gt("L",J),vt.prototype._stateBeforeStyle3=gt("E",Q),vt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||pt(t))&&(this._special=ft),this._state=u,this._index--},vt.prototype._stateAfterStyle1=dt("Y",et,c),vt.prototype._stateAfterStyle2=dt("L",nt,c),vt.prototype._stateAfterStyle3=dt("E",rt,c),vt.prototype._stateAfterStyle4=function(t){">"===t||pt(t)?(this._special=ut,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=c},vt.prototype._stateBeforeEntity=dt("#",ot,st),vt.prototype._stateBeforeNumericEntity=dt("X",ct,at),vt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?s:i;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},vt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;e>6&&(e=6);while(e>=2){var n=this._buffer.substr(t,e);if(o.hasOwnProperty(n))return this._emitPartial(o[n]),void(this._sectionStart+=e+1);e--}},vt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},vt.prototype._decodeNumericEntity=function(t,e){var n=this._sectionStart+t;if(n!==this._index){var i=this._buffer.substring(n,this._index),o=parseInt(i,e);this._emitPartial(r(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},vt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},vt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},vt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},vt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},vt.prototype._parse=function(){while(this._index<this._buffer.length&&this._running){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===l?this._stateBeforeTagName(t):this._state===u?this._stateInTagName(t):this._state===f?this._stateBeforeCloseingTagName(t):this._state===p?this._stateInCloseingTagName(t):this._state===d?this._stateAfterCloseingTagName(t):this._state===h?this._stateInSelfClosingTag(t):this._state===g?this._stateBeforeAttributeName(t):this._state===v?this._stateInAttributeName(t):this._state===m?this._stateAfterAttributeName(t):this._state===y?this._stateBeforeAttributeValue(t):this._state===b?this._stateInAttributeValueDoubleQuotes(t):this._state===w?this._stateInAttributeValueSingleQuotes(t):this._state===_?this._stateInAttributeValueNoQuotes(t):this._state===x?this._stateBeforeDeclaration(t):this._state===S?this._stateInDeclaration(t):this._state===T?this._stateInProcessingInstruction(t):this._state===E?this._stateBeforeComment(t):this._state===C?this._stateInComment(t):this._state===k?this._stateAfterComment1(t):this._state===A?this._stateAfterComment2(t):this._state===O?this._stateBeforeCdata1(t):this._state===P?this._stateBeforeCdata2(t):this._state===R?this._stateBeforeCdata3(t):this._state===L?this._stateBeforeCdata4(t):this._state===I?this._stateBeforeCdata5(t):this._state===M?this._stateBeforeCdata6(t):this._state===j?this._stateInCdata(t):this._state===B?this._stateAfterCdata1(t):this._state===D?this._stateAfterCdata2(t):this._state===N?this._stateBeforeSpecial(t):this._state===F?this._stateBeforeSpecialEnd(t):this._state===H?this._stateBeforeScript1(t):this._state===z?this._stateBeforeScript2(t):this._state===$?this._stateBeforeScript3(t):this._state===U?this._stateBeforeScript4(t):this._state===q?this._stateBeforeScript5(t):this._state===V?this._stateAfterScript1(t):this._state===W?this._stateAfterScript2(t):this._state===G?this._stateAfterScript3(t):this._state===Z?this._stateAfterScript4(t):this._state===X?this._stateAfterScript5(t):this._state===Y?this._stateBeforeStyle1(t):this._state===K?this._stateBeforeStyle2(t):this._state===J?this._stateBeforeStyle3(t):this._state===Q?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===nt?this._stateAfterStyle3(t):this._state===rt?this._stateAfterStyle4(t):this._state===it?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===st?this._stateInNamedEntity(t):this._state===at?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},vt.prototype.pause=function(){this._running=!1},vt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},vt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},vt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},vt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===j||this._state===B||this._state===D?this._cbs.oncdata(t):this._state===C||this._state===k||this._state===A?this._cbs.oncomment(t):this._state!==st||this._xmlMode?this._state!==at||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==u&&this._state!==g&&this._state!==y&&this._state!==m&&this._state!==v&&this._state!==w&&this._state!==b&&this._state!==_&&this._state!==p&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},vt.prototype.reset=function(){vt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},vt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},vt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},vt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},vt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},7002:function(t,e,n){var r=n("0d63");r(r.G+r.W+r.F*!n("7634").ABV,{DataView:n("5d88").DataView})},"703e":function(t,e,n){var r=n("a23b"),i=n("f922"),o=Object.prototype.toString,s="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===o.call(File);function c(t,e){if(!t)return t;if(i(t)){var n={_placeholder:!0,num:e.length};return e.push(t),n}if(r(t)){for(var o=new Array(t.length),s=0;s<t.length;s++)o[s]=c(t[s],e);return o}if("object"===typeof t&&!(t instanceof Date)){o={};for(var a in t)o[a]=c(t[a],e);return o}return t}function l(t,e){if(!t)return t;if(t&&t._placeholder)return e[t.num];if(r(t))for(var n=0;n<t.length;n++)t[n]=l(t[n],e);else if("object"===typeof t)for(var i in t)t[i]=l(t[i],e);return t}e.deconstructPacket=function(t){var e=[],n=t.data,r=t;return r.data=c(n,e),r.attachments=e.length,{packet:r,buffers:e}},e.reconstructPacket=function(t,e){return t.data=l(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){function n(t,l,u){if(!t)return t;if(s&&t instanceof Blob||a&&t instanceof File){o++;var h=new FileReader;h.onload=function(){u?u[l]=this.result:c=this.result,--o||e(c)},h.readAsArrayBuffer(t)}else if(r(t))for(var f=0;f<t.length;f++)n(t[f],f,t);else if("object"===typeof t&&!i(t))for(var p in t)n(t[p],p,t)}var o=0,c=t;n(c),o||e(c)}},7073:function(t,e,n){var r=n("b514");function i(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in r&&(t=r[t]);var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e}t.exports=i},"70be":function(t,e,n){var r=n("255a").parseInt,i=n("b92f").trim,o=n("5cb8"),s=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},"71d8":function(t,e,n){var r=n("0d63");r(r.S,"Reflect",{has:function(t,e){return e in t}})},7255:function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n("bd47")(r,o,(function(){var t=a.call(this);return t===t?s.call(this):i}))},"72ce":function(t,e,n){(function(r){var i=n("852e");e=t.exports=function(t,n){var r=e.evaluate(t,n),i=e.evaluate("<root></root>",n)[0];return i.type="root",e.update(r,i),i},e.evaluate=function(t,e){var n;return n="string"===typeof t||r.isBuffer(t)?i.parseDOM(t,e):t,n},e.update=function(t,e){Array.isArray(t)||(t=[t]),e?e.children=t:e=null;for(var n=0;n<t.length;n++){var r=t[n],i=r.parent||r.root,o=i&&i.children;o&&o!==t&&(o.splice(o.indexOf(r),1),r.prev&&(r.prev.next=r.next),r.next&&(r.next.prev=r.prev)),e?(r.prev=t[n-1]||null,r.next=t[n+1]||null):r.prev=r.next=null,e&&"root"===e.type?(r.root=e,r.parent=null):(r.root=null,r.parent=e)}return e}}).call(this,n("b639").Buffer)},"733b":function(t,e,n){var r=n("0d63");r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},"733c":function(t,e,n){var r=n("4d1e").isTag;function i(t,e,n,r){return Array.isArray(e)||(e=[e]),"number"===typeof r&&isFinite(r)||(r=1/0),o(t,e,!1!==n,r)}function o(t,e,n,r){for(var i,s=[],a=0,c=e.length;a<c;a++){if(t(e[a])&&(s.push(e[a]),--r<=0))break;if(i=e[a].children,n&&i&&i.length>0&&(i=o(t,i,n,r),s=s.concat(i),r-=i.length,r<=0))break}return s}function s(t,e){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n];return null}function a(t,e){for(var n=null,i=0,o=e.length;i<o&&!n;i++)r(e[i])&&(t(e[i])?n=e[i]:e[i].children.length>0&&(n=a(t,e[i].children)));return n}function c(t,e){for(var n=0,i=e.length;n<i;n++)if(r(e[n])&&(t(e[n])||e[n].children.length>0&&c(t,e[n].children)))return!0;return!1}function l(t,e){for(var n=[],i=0,o=e.length;i<o;i++)r(e[i])&&(t(e[i])&&n.push(e[i]),e[i].children.length>0&&(n=n.concat(l(t,e[i].children))));return n}t.exports={filter:i,find:o,findOneChild:s,findOne:a,existsOne:c,findAll:l}},7416:function(t,e,n){var r=n("cdf9");n("6397")("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},7475:function(t,e,n){},7480:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},7484:function(t,e,n){"use strict";var r=n("0d63"),i=n("cb03")(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n("60a1")(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},"753b":function(t,e,n){"use strict";var r=n("0d63"),i=n("9c55"),o=n("679a"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},"75b6":function(t,e,n){"use strict";n("c7c1")("small",(function(t){return function(){return t(this,"small","","")}}))},"75f3":function(t,e,n){var r=n("0d63");r(r.S+r.F*!n("6739"),"Object",{defineProperty:n("0f26").f})},7634:function(t,e,n){var r,i=n("255a"),o=n("c3fa"),s=n("a909"),a=s("typed_array"),c=s("view"),l=!(!i.ArrayBuffer||!i.DataView),u=l,h=0,f=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(h<f)(r=i[p[h++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):u=!1;t.exports={ABV:l,CONSTR:u,TYPED:a,VIEW:c}},"764b":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var r in t)n.call(t,r)&&e.push(r);return e}},"766b":function(t,e,n){n("eaf3"),t.exports=n("a06f").Array.flatMap},7671:function(t,e,n){var r=n("9336")("unscopables"),i=Array.prototype;void 0==i[r]&&n("c3fa")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"76a7":function(t,e,n){var r=n("0d63"),i=n("ea05").f,o=n("42ee");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},7703:function(t,e,n){var r=n("d116"),i=n("4a1c"),o=i.isTag,s=i.domEach,a=Object.prototype.hasOwnProperty,c=i.camelCase,l=i.cssCase,u=/\s+/,h="data-",f={forEach:n("aa6f"),extend:n("971f"),some:n("ad2b")},p={null:null,true:!0,false:!1},d=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,g=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,v=function(t,e){if(t&&o(t))return t.attribs||(t.attribs={}),e?a.call(t.attribs,e)?d.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?r.text(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs},m=function(t,e,n){null===n?x(t,e):t.attribs[e]=n+""};e.attr=function(t,e){return"object"===typeof t||void 0!==e?s(this,"function"===typeof e?function(n,r){m(r,t,e.call(r,n,r.attribs[t]))}:function(n,r){o(r)&&("object"===typeof t?f.forEach(t,(function(t,e){m(r,e,t)})):m(r,t,e))}):v(this[0],t)};var y=function(t,e){if(t&&o(t))return t.hasOwnProperty(e)?t[e]:d.test(e)?void 0!==v(t,e):v(t,e)},b=function(t,e,n){t[e]=d.test(e)?!!n:n};e.prop=function(t,e){var n,r=0;if("string"===typeof t&&void 0===e){switch(t){case"style":n=this.css(),f.forEach(n,(function(t,e){n[r++]=e})),n.length=r;break;case"tagName":case"nodeName":n=this[0].name.toUpperCase();break;default:n=y(this[0],t)}return n}if("object"===typeof t||void 0!==e)return s(this,"function"===typeof e?function(n,r){b(r,t,e.call(r,n,y(r,t)))}:function(n,r){o(r)&&("object"===typeof t?f.forEach(t,(function(t,e){b(r,e,t)})):b(r,t,e))})};var w=function(t,e,n){if(t.data||(t.data={}),"object"===typeof e)return f.extend(t.data,e);"string"===typeof e&&void 0!==n?t.data[e]=n:"object"===typeof e&&f.extend(t.data,e)},_=function(t,e){var n,r,i,o,s,u,f,d=1===arguments.length;for(d?(n=Object.keys(t.attribs).filter((function(t){return t.slice(0,h.length)===h})),i=n.map((function(t){return c(t.slice(h.length))}))):(n=[h+l(e)],i=[e]),u=0,f=n.length;u<f;++u)if(r=n[u],o=i[u],a.call(t.attribs,r)){if(s=t.attribs[r],a.call(p,s))s=p[s];else if(s===String(Number(s)))s=Number(s);else if(g.test(s))try{s=JSON.parse(s)}catch(v){}t.data[o]=s}return d?t.data:s};e.data=function(t,e){var n=this[0];if(n&&o(n))return n.data||(n.data={}),t?"object"===typeof t||void 0!==e?(s(this,(function(n,r){w(r,t,e)})),this):a.call(n.data,t)?n.data[t]:_(n,t):_(n)},e.val=function(t){var e=0===arguments.length,n=this[0];if(n)switch(n.name){case"textarea":return this.text(t);case"input":switch(this.attr("type")){case"radio":return e?this.attr("value"):(this.attr("value",t),this);default:return this.attr("value",t)}return;case"select":var r,i=this.find("option:selected");if(void 0===i)return;if(!e){if(!this.attr().hasOwnProperty("multiple")&&"object"==typeof t)return this;"object"!=typeof t&&(t=[t]),this.find("option").removeAttr("selected");for(var o=0;o<t.length;o++)this.find('option[value="'+t[o]+'"]').attr("selected","");return this}return r=i.attr("value"),this.attr().hasOwnProperty("multiple")&&(r=[],s(i,(function(t,e){r.push(v(e,"value"))}))),r;case"option":return e?this.attr("value"):(this.attr("value",t),this)}};var x=function(t,e){t.attribs&&a.call(t.attribs,e)&&delete t.attribs[e]};e.removeAttr=function(t){return s(this,(function(e,n){x(n,t)})),this},e.hasClass=function(t){return f.some(this,(function(e){var n,r=e.attribs,i=r&&r["class"],o=-1;if(i)while((o=i.indexOf(t,o+1))>-1)if(n=o+t.length,(0===o||u.test(i[o-1]))&&(n===i.length||u.test(i[n])))return!0}))},e.addClass=function(t){if("function"===typeof t)return s(this,(function(n,r){var i=r.attribs["class"]||"";e.addClass.call([r],t.call(r,n,i))}));if(!t||"string"!==typeof t)return this;for(var n=t.split(u),r=this.length,i=0;i<r;i++)if(o(this[i])){var a,c,l=v(this[i],"class");if(l){c=" "+l+" ",a=n.length;for(var h=0;h<a;h++){var f=n[h]+" ";c.indexOf(" "+f)<0&&(c+=f)}m(this[i],"class",c.trim())}else m(this[i],"class",n.join(" ").trim())}return this};var S=function(t){return t?t.trim().split(u):[]};e.removeClass=function(t){var n,r,i;return"function"===typeof t?s(this,(function(n,r){e.removeClass.call([r],t.call(r,n,r.attribs["class"]||""))})):(n=S(t),r=n.length,i=0===arguments.length,s(this,(function(t,e){if(o(e))if(i)e.attribs.class="";else{for(var s,a,c=S(e.attribs.class),l=0;l<r;l++)s=c.indexOf(n[l]),s>=0&&(c.splice(s,1),a=!0,l--);a&&(e.attribs.class=c.join(" "))}})))},e.toggleClass=function(t,n){if("function"===typeof t)return s(this,(function(r,i){e.toggleClass.call([i],t.call(i,r,i.attribs["class"]||"",n),n)}));if(!t||"string"!==typeof t)return this;for(var r,i,a=t.split(u),c=a.length,l="boolean"===typeof n?n?1:-1:0,h=this.length,f=0;f<h;f++)if(o(this[f])){r=S(this[f].attribs.class);for(var p=0;p<c;p++)i=r.indexOf(a[p]),l>=0&&i<0?r.push(a[p]):l<=0&&i>=0&&r.splice(i,1);this[f].attribs.class=r.join(" ")}return this},e.is=function(t){return!!t&&this.filter(t).length>0}},"78eb":function(t,e,n){var r=n("94ac"),i=n("2851"),o=n("db1a"),s=n("568d"),a=n("d838"),c=n("40de"),l=n("34eb")("socket.io-client:manager"),u=n("ee34"),h=n("0b64"),f=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&"object"===typeof t&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new h({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)f.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)f.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},o(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(l("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,i=this;this.readyState="opening",this.skipReconnect=!1;var o=a(n,"open",(function(){i.onopen(),t&&t()})),s=a(n,"error",(function(e){if(l("connect_error"),i.cleanup(),i.readyState="closed",i.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else i.maybeReconnectOnOpen()}));if(!1!==this._timeout){var c=this._timeout;l("connect attempt will timeout after %d",c),0===c&&o.destroy();var u=setTimeout((function(){l("connect attempt timed out after %d",c),o.destroy(),n.close(),n.emit("error","timeout"),i.emitAll("connect_timeout",c)}),c);this.subs.push({destroy:function(){clearTimeout(u)}})}return this.subs.push(o),this.subs.push(s),this},p.prototype.onopen=function(){l("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(a(t,"data",c(this,"ondata"))),this.subs.push(a(t,"ping",c(this,"onping"))),this.subs.push(a(t,"pong",c(this,"onpong"))),this.subs.push(a(t,"error",c(this,"onerror"))),this.subs.push(a(t,"close",c(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",c(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit("packet",t)},p.prototype.onerror=function(t){l("error",t),this.emitAll("error",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new i(this,t,e),this.nsps[t]=n;var r=this;n.on("connecting",o),n.on("connect",(function(){n.id=r.generateId(t)})),this.autoConnect&&o()}function o(){~u(r.connecting,n)||r.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=u(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){l("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var r=0;r<n.length;r++)e.engine.write(n[r],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){l("cleanup");for(var t=this.subs.length,e=0;e<t;e++){var n=this.subs.shift();n.destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){l("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(t){l("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();l("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(l("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(l("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(l("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},"78f9":function(t,e,n){var r=n("b7e2"),i=n("e038"),o=n("9a27");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,l=0;while(a.length>l)c.call(t,s=a[l++])&&e.push(s)}return e}},7909:function(t,e,n){"use strict";t.exports=m;var r=n("9ebc"),i=n("0f94"),o=i.findOne,s=i.findAll,a=i.getChildren,c=i.removeSubsets,l=n("99e4").falseFunc,u=n("2e90"),h=u.compileUnsafe,f=u.compileToken;function p(t){return function(e,n,r){return"function"!==typeof e&&(e=h(e,r,n)),n=Array.isArray(n)?c(n):a(n),t(e,n)}}var d=p((function(t,e){return t!==l&&e&&0!==e.length?s(t,e):[]})),g=p((function(t,e){return t!==l&&e&&0!==e.length?o(t,e):null}));function v(t,e,n){return("function"===typeof e?e:u(e,n))(t)}function m(t,e,n){return d(t,e,n)}m.compile=u,m.filters=r.filters,m.pseudos=r.pseudos,m.selectAll=d,m.selectOne=g,m.is=v,m.parse=u,m.iterate=d,m._compileUnsafe=h,m._compileToken=f},"7a00":function(t,e,n){var r=n("0d63"),i=n("7480"),o=n("42ee"),s=(n("255a").Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n("b460")((function(){s((function(){}))})),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return s?s(r,e,c):a.call(r,e,c)}})},"7a39":function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var n=e.prev=t.prev;n&&(n.next=e);var r=e.next=t.next;r&&(r.prev=e);var i=e.parent=t.parent;if(i){var o=i.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var n=t.children[t.children.length-2];n.next=e,e.prev=n,e.next=null}},e.append=function(t,e){var n=t.parent,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){var i=n.children;i.splice(i.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},e.prepend=function(t,e){var n=t.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7d72":function(t,e,n){"use strict";var r=n("8707").Buffer,i=r.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){if(!t)return"utf8";var e;while(1)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function s(t){var e=o(t);if("string"!==typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}function a(t){var e;switch(this.encoding=s(t),this.encoding){case"utf16le":this.text=d,this.end=g,e=4;break;case"utf8":this.fillLast=h,e=4;break;case"base64":this.text=v,this.end=m,e=3;break;default:return this.write=y,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function c(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function l(t,e,n){var r=e.length-1;if(r<n)return 0;var i=c(e[r]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--r<n||-2===i?0:(i=c(e[r]),i>=0?(i>0&&(t.lastNeed=i-2),i):--r<n||-2===i?0:(i=c(e[r]),i>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0))}function u(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}function h(t){var e=this.lastTotal-this.lastNeed,n=u(this,t,e);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function f(t,e){var n=l(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function d(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function g(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function v(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function m(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function y(t){return t.toString(this.encoding)}function b(t){return t&&t.length?this.write(t):""}e.StringDecoder=a,a.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},a.prototype.end=p,a.prototype.text=f,a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},"7e33":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"7f1c":function(t,e,n){n("933e")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},8055:function(t,e,n){var r=n("cc9e"),i=n("568d"),o=n("78eb"),s=n("34eb")("socket.io-client");t.exports=e=c;var a=e.managers={};function c(t,e){"object"===typeof t&&(e=t,t=void 0),e=e||{};var n,i=r(t),c=i.source,l=i.id,u=i.path,h=a[l]&&u in a[l].nsps,f=e.forceNew||e["force new connection"]||!1===e.multiplex||h;return f?(s("ignoring socket cache for %s",c),n=o(c,e)):(a[l]||(s("new io instance for %s",c),a[l]=o(c,e)),n=a[l]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=c,e.Manager=n("78eb"),e.Socket=n("2851")},8122:function(t,e,n){var r=n("0d63");r(r.S+r.F*!n("6739"),"Object",{defineProperties:n("2035")})},"81e6":function(t,e,n){var r=n("0d63");r(r.S,"Object",{setPrototypeOf:n("30c9").set})},8267:function(t,e,n){"use strict";n("b92f")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},8366:function(t,e,n){"use strict";n("4027"),n("9388"),n("766b"),n("ab36"),n("9390"),n("1455"),n("16ee"),n("b70b"),n("c63d"),n("3b19"),n("012b"),n("fda5"),n("26aa"),n("ef8a")},"837c":function(t,e,n){var r=n("37ff"),i=n("ad06");n("6397")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},8390:function(t,e){(function(t){"use strict";e.encode=function(e){var n,r=new Uint8Array(e),i=r.length,o="";for(n=0;n<i;n+=3)o+=t[r[n]>>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(e){var n,r,i,o,s,a=.75*e.length,c=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),h=new Uint8Array(u);for(n=0;n<c;n+=4)r=t.indexOf(e[n]),i=t.indexOf(e[n+1]),o=t.indexOf(e[n+2]),s=t.indexOf(e[n+3]),h[l++]=r<<2|i>>4,h[l++]=(15&i)<<4|o>>2,h[l++]=(3&o)<<6|63&s;return u}})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},"83b9":function(t,e,n){"use strict";var r=n("d925"),i=n("e683");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},"852e":function(t,e,n){var r=n("5804"),i=n("36cc");function o(e,n){return delete t.exports[e],t.exports[e]=n,n}t.exports={Parser:r,Tokenizer:n("6fbd"),ElementType:n("4d1e"),DomHandler:i,get FeedHandler(){return o("FeedHandler",n("5307"))},get Stream(){return o("Stream",n("d1e8"))},get WritableStream(){return o("WritableStream",n("8769"))},get ProxyHandler(){return o("ProxyHandler",n("bd7d"))},get DomUtils(){return o("DomUtils",n("0f94"))},get CollectingHandler(){return o("CollectingHandler",n("d1f1"))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var n=new i(e);return new r(n,e).end(t),n.dom},parseFeed:function(e,n){var i=new t.exports.FeedHandler(n);return new r(i,n).end(e),i.dom},createDomStream:function(t,e,n){var o=new i(t,e,n);return new r(o,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},8707:function(t,e,n){var r=n("b639"),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function s(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=s),o(i,s),s.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},s.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},s.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},s.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},8769:function(t,e,n){t.exports=a;var r=n("5804"),i=n(0).Writable,o=n("7d72").StringDecoder,s=n("b639").Buffer;function a(t,e){var n=this._parser=new r(t,e),s=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(s.end())}))}n("3fb5")(a,i),a.prototype._write=function(t,e,n){t instanceof s&&(t=this._decoder.write(t)),this._parser.write(t),n()}},8820:function(t,e,n){var r=n("0d63"),i=n("1fd1"),o=n("ceb6"),s=n("ea05"),a=n("c7a3");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,l=i(r),u={},h=0;while(l.length>h)n=c(r,e=l[h++]),void 0!==n&&a(u,e,n);return u}})},"883b":function(t,e,n){var r=n("0d63"),i=n("42ee"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},"887c":function(t,e,n){var r=n("cdf9"),i=n("30c9").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"88bc":function(t,e,n){(function(e){var n=1/0,r=9007199254740991,i="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",a="[object Symbol]",c="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")();function h(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function f(t,e){var n=-1,r=t?t.length:0,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function p(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}var d=Object.prototype,g=d.hasOwnProperty,v=d.toString,m=u.Symbol,y=d.propertyIsEnumerable,b=m?m.isConcatSpreadable:void 0,w=Math.max;function _(t,e,n,r,i){var o=-1,s=t.length;n||(n=E),i||(i=[]);while(++o<s){var a=t[o];e>0&&n(a)?e>1?_(a,e-1,n,r,i):p(i,a):r||(i[i.length]=a)}return i}function x(t,e){return t=Object(t),S(t,e,(function(e,n){return n in t}))}function S(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var s=e[r],a=t[s];n(a,s)&&(o[s]=a)}return o}function T(t,e){return e=w(void 0===e?t.length-1:e,0),function(){var n=arguments,r=-1,i=w(n.length-e,0),o=Array(i);while(++r<i)o[r]=n[e+r];r=-1;var s=Array(e+1);while(++r<e)s[r]=n[r];return s[e]=o,h(t,this,s)}}function E(t){return A(t)||k(t)||!!(b&&t&&t[b])}function C(t){if("string"==typeof t||j(t))return t;var e=t+"";return"0"==e&&1/t==-n?"-0":e}function k(t){return P(t)&&g.call(t,"callee")&&(!y.call(t,"callee")||v.call(t)==i)}var A=Array.isArray;function O(t){return null!=t&&L(t.length)&&!R(t)}function P(t){return M(t)&&O(t)}function R(t){var e=I(t)?v.call(t):"";return e==o||e==s}function L(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}function I(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function M(t){return!!t&&"object"==typeof t}function j(t){return"symbol"==typeof t||M(t)&&v.call(t)==a}var B=T((function(t,e){return null==t?{}:x(t,f(_(e,1),C))}));t.exports=B}).call(this,n("c8ba"))},"88ec":function(t,e,n){var r=n("0d63");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},"89c3":function(t,e,n){var r=n("0d63"),i=n("6331"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},"8cc4":function(t,e,n){"use strict";var r=n("42ee"),i=n("37ff"),o=n("58d1"),s=n("d8b2"),a=n("9b0c"),c=n("e5bc"),l=Math.max,u=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,d=function(t){return void 0===t?t:String(t)};n("ebca")("replace",2,(function(t,e,n,g){return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=g(n,t,this,e);if(i.done)return i.value;var h=r(t),f=String(this),p="function"===typeof e;p||(e=String(e));var m=h.global;if(m){var y=h.unicode;h.lastIndex=0}var b=[];while(1){var w=c(h,f);if(null===w)break;if(b.push(w),!m)break;var _=String(w[0]);""===_&&(h.lastIndex=a(f,o(h.lastIndex),y))}for(var x="",S=0,T=0;T<b.length;T++){w=b[T];for(var E=String(w[0]),C=l(u(s(w.index),f.length),0),k=[],A=1;A<w.length;A++)k.push(d(w[A]));var O=w.groups;if(p){var P=[E].concat(k,C,f);void 0!==O&&P.push(O);var R=String(e.apply(void 0,P))}else R=v(E,f,C,k,O,e);C>=S&&(x+=f.slice(S,C)+R,S=C+E.length)}return x+f.slice(S)}];function v(t,e,r,o,s,a){var c=r+t.length,l=o.length,u=p;return void 0!==s&&(s=i(s),u=f),n.call(a,u,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=s[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>l){var f=h(u/10);return 0===f?n:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},"8d29":function(t,e,n){"use strict";var r=n("37ff"),i=n("51ac"),o=n("58d1");t.exports=function(t){var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);while(l>a)e[a++]=t;return e}},"8d2e":function(t,e){t.exports={}},"8d33":function(t,e,n){"use strict";var r=n("3b77"),i=n("0d63"),o=n("bd47"),s=n("c3fa"),a=n("8d2e"),c=n("60fa"),l=n("617f"),u=n("ad06"),h=n("9336")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",g="values",v=function(){return this};t.exports=function(t,e,n,m,y,b,w){c(n,e,m);var _,x,S,T=function(t){if(!f&&t in A)return A[t];switch(t){case d:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",C=y==g,k=!1,A=t.prototype,O=A[h]||A[p]||y&&A[y],P=O||T(y),R=y?C?T("entries"):P:void 0,L="Array"==e&&A.entries||O;if(L&&(S=u(L.call(new t)),S!==Object.prototype&&S.next&&(l(S,E,!0),r||"function"==typeof S[h]||s(S,h,v))),C&&O&&O.name!==g&&(k=!0,P=function(){return O.call(this)}),r&&!w||!f&&!k&&A[h]||s(A,h,P),a[e]=P,a[E]=v,y)if(_={values:C?P:T(g),keys:b?P:T(d),entries:R},w)for(x in _)x in A||o(A,x,_[x]);else i(i.P+i.F*(f||k),e,_);return _}},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"8dfc":function(t,e,n){var r=n("0f26"),i=n("0d63"),o=n("42ee"),s=n("1bfb");i(i.S+i.F*n("b460")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},"8e85":function(t,e,n){var r=n("dfa5");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},"8e8c":function(t,e,n){for(var r=n("221b"),i=n("b7e2"),o=n("bd47"),s=n("255a"),a=n("c3fa"),c=n("8d2e"),l=n("9336"),u=l("iterator"),h=l("toStringTag"),f=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(p),g=0;g<d.length;g++){var v,m=d[g],y=p[m],b=s[m],w=b&&b.prototype;if(w&&(w[u]||a(w,u,f),w[h]||a(w,h,m),c[m]=f,y))for(v in r)w[v]||o(w,v,r[v],!0)}},"8f82":function(t,e,n){"use strict";n("c7c1")("sup",(function(t){return function(){return t(this,"sup","","")}}))},"8f8a":function(t,e,n){"use strict";n("c7c1")("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},"905f":function(t,e,n){var r=n("0d63"),i=n("5051")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},9121:function(t,e){function n(t,e){var n=[];e=e||0;for(var r=e||0;r<t.length;r++)n[r-e]=t[r];return n}t.exports=n},9152:function(t,e){
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,f=n?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+t[e+h],h+=f,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=l}return(p?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,c,l=8*o-i-1,u=(1<<l)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),e+=s+h>=1?f/c:f*Math.pow(2,1-h),e*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(e*c-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;t[n+p]=255&s,p+=d,s/=256,l-=8);t[n+p-d]|=128*g}},9166:function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},"922b":function(t,e,n){var r=n("0d63");r(r.S,"Math",{sign:n("a036")})},9336:function(t,e,n){var r=n("94e4")("wks"),i=n("a909"),o=n("255a").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"933e":function(t,e,n){"use strict";if(n("6739")){var r=n("3b77"),i=n("255a"),o=n("b460"),s=n("0d63"),a=n("7634"),c=n("5d88"),l=n("d401"),u=n("4b13"),h=n("154b"),f=n("c3fa"),p=n("e603"),d=n("d8b2"),g=n("58d1"),v=n("482b"),m=n("51ac"),y=n("1bfb"),b=n("7e33"),w=n("e860"),_=n("cdf9"),x=n("37ff"),S=n("3d01"),T=n("af33"),E=n("ad06"),C=n("993b").f,k=n("575f"),A=n("a909"),O=n("9336"),P=n("9e2d"),R=n("cb03"),L=n("0a7d"),I=n("221b"),M=n("8d2e"),j=n("3b9e"),B=n("dbc5"),D=n("8d29"),N=n("c491"),F=n("0f26"),H=n("ea05"),z=F.f,$=H.f,U=i.RangeError,q=i.TypeError,V=i.Uint8Array,W="ArrayBuffer",G="Shared"+W,Z="BYTES_PER_ELEMENT",X="prototype",Y=Array[X],K=c.ArrayBuffer,J=c.DataView,Q=P(0),tt=P(2),et=P(3),nt=P(4),rt=P(5),it=P(6),ot=R(!0),st=R(!1),at=I.values,ct=I.keys,lt=I.entries,ut=Y.lastIndexOf,ht=Y.reduce,ft=Y.reduceRight,pt=Y.join,dt=Y.sort,gt=Y.slice,vt=Y.toString,mt=Y.toLocaleString,yt=O("iterator"),bt=O("toStringTag"),wt=A("typed_constructor"),_t=A("def_constructor"),xt=a.CONSTR,St=a.TYPED,Tt=a.VIEW,Et="Wrong length!",Ct=P(1,(function(t,e){return Rt(L(t,t[_t]),e)})),kt=o((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),At=!!V&&!!V[X].set&&o((function(){new V(1).set({})})),Ot=function(t,e){var n=d(t);if(n<0||n%e)throw U("Wrong offset!");return n},Pt=function(t){if(_(t)&&St in t)return t;throw q(t+" is not a typed array!")},Rt=function(t,e){if(!(_(t)&&wt in t))throw q("It is not a typed array constructor!");return new t(e)},Lt=function(t,e){return It(L(t,t[_t]),e)},It=function(t,e){var n=0,r=e.length,i=Rt(t,r);while(r>n)i[n]=e[n++];return i},Mt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,s,a=x(t),c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,f=k(a);if(void 0!=f&&!S(f)){for(s=f.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(h&&c>2&&(u=l(u,arguments[2],2)),e=0,n=g(a.length),i=Rt(this,n);n>e;e++)i[e]=h?u(a[e],e):a[e];return i},Bt=function(){var t=0,e=arguments.length,n=Rt(this,e);while(e>t)n[t]=arguments[t++];return n},Dt=!!V&&o((function(){mt.call(new V(1))})),Nt=function(){return mt.apply(Dt?gt.call(Pt(this)):Pt(this),arguments)},Ft={copyWithin:function(t,e){return N.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Pt(this),arguments)},filter:function(t){return Lt(this,tt(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return st(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return pt.apply(Pt(this),arguments)},lastIndexOf:function(t){return ut.apply(Pt(this),arguments)},map:function(t){return Ct(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(Pt(this),arguments)},reduceRight:function(t){return ft.apply(Pt(this),arguments)},reverse:function(){var t,e=this,n=Pt(e).length,r=Math.floor(n/2),i=0;while(i<r)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(Pt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return dt.call(Pt(this),t)},subarray:function(t,e){var n=Pt(this),r=n.length,i=m(t,r);return new(L(n,n[_t]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:m(e,r))-i))}},Ht=function(t,e){return Lt(this,gt.call(Pt(this),t,e))},zt=function(t){Pt(this);var e=Ot(arguments[1],1),n=this.length,r=x(t),i=g(r.length),o=0;if(i+e>n)throw U(Et);while(o<i)this[e+o]=r[o++]},$t={entries:function(){return lt.call(Pt(this))},keys:function(){return ct.call(Pt(this))},values:function(){return at.call(Pt(this))}},Ut=function(t,e){return _(t)&&t[St]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return Ut(t,e=y(e,!0))?h(2,t[e]):$(t,e)},Vt=function(t,e,n){return!(Ut(t,e=y(e,!0))&&_(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};xt||(H.f=qt,F.f=Vt),s(s.S+s.F*!xt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:Vt}),o((function(){vt.call({})}))&&(vt=mt=function(){return pt.call(this)});var Wt=p({},Ft);p(Wt,$t),f(Wt,yt,$t.values),p(Wt,{slice:Ht,set:zt,constructor:function(){},toString:vt,toLocaleString:Nt}),Mt(Wt,"buffer","b"),Mt(Wt,"byteOffset","o"),Mt(Wt,"byteLength","l"),Mt(Wt,"length","e"),z(Wt,bt,{get:function(){return this[St]}}),t.exports=function(t,e,n,c){c=!!c;var l=t+(c?"Clamped":"")+"Array",h="get"+t,p="set"+t,d=i[l],m=d||{},y=d&&E(d),b=!d||!a.ABV,x={},S=d&&d[X],k=function(t,n){var r=t._d;return r.v[h](n*e+r.o,kt)},A=function(t,n,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](n*e+i.o,r,kt)},O=function(t,e){z(t,e,{get:function(){return k(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};b?(d=n((function(t,n,r,i){u(t,d,l,"_d");var o,s,a,c,h=0,p=0;if(_(n)){if(!(n instanceof K||(c=w(n))==W||c==G))return St in n?It(d,n):jt.call(d,n);o=n,p=Ot(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw U(Et);if(s=m-p,s<0)throw U(Et)}else if(s=g(i)*e,s+p>m)throw U(Et);a=s/e}else a=v(n),s=a*e,o=new K(s);f(t,"_d",{b:o,o:p,l:s,e:a,v:new J(o)});while(h<a)O(t,h++)})),S=d[X]=T(Wt),f(S,"constructor",d)):o((function(){d(1)}))&&o((function(){new d(-1)}))&&j((function(t){new d,new d(null),new d(1.5),new d(t)}),!0)||(d=n((function(t,n,r,i){var o;return u(t,d,l),_(n)?n instanceof K||(o=w(n))==W||o==G?void 0!==i?new m(n,Ot(r,e),i):void 0!==r?new m(n,Ot(r,e)):new m(n):St in n?It(d,n):jt.call(d,n):new m(v(n))})),Q(y!==Function.prototype?C(m).concat(C(y)):C(m),(function(t){t in d||f(d,t,m[t])})),d[X]=S,r||(S.constructor=d));var P=S[yt],R=!!P&&("values"==P.name||void 0==P.name),L=$t.values;f(d,wt,!0),f(S,St,l),f(S,Tt,!0),f(S,_t,d),(c?new d(1)[bt]==l:bt in S)||z(S,bt,{get:function(){return l}}),x[l]=d,s(s.G+s.W+s.F*(d!=m),x),s(s.S,l,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o((function(){m.of.call(d,1)})),l,{from:jt,of:Bt}),Z in S||f(S,Z,e),s(s.P,l,Ft),B(l),s(s.P+s.F*At,l,{set:zt}),s(s.P+s.F*!R,l,$t),r||S.toString==vt||(S.toString=vt),s(s.P+s.F*o((function(){new d(1).slice()})),l,{slice:Ht}),s(s.P+s.F*(o((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!o((function(){S.toLocaleString.call([1,2])}))),l,{toLocaleString:Nt}),M[l]=R?P:L,r||R||f(S,yt,L)}}else t.exports=function(){}},9388:function(t,e,n){n("46d8"),t.exports=n("a06f").Array.includes},9390:function(t,e,n){n("4a60"),t.exports=n("a06f").String.padEnd},"93de":function(t,e,n){"use strict";var r=n("0d63"),i=n("ef15"),o=n("dfa5"),s=n("51ac"),a=n("58d1"),c=[].slice;r(r.P+r.F*n("b460")((function(){i&&c.call(i)})),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=s(t,n),l=s(e,n),u=a(l-i),h=new Array(u),f=0;f<u;f++)h[f]="String"==r?this.charAt(i+f):this[i+f];return h}})},9459:function(t,e,n){var r="input,select,textarea,keygen",i=/%20/g,o=/\r?\n/g,s={map:n("35ae")};e.serialize=function(){var t=this.serializeArray(),e=s.map(t,(function(t){return encodeURIComponent(t.name)+"="+encodeURIComponent(t.value)}));return e.join("&").replace(i,"+")},e.serializeArray=function(){var t=this.constructor;return this.map((function(){var e=this,n=t(e);return"form"===e.name?n.find(r).toArray():n.filter(r).toArray()})).filter('[name!=""]:not(:disabled):not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((function(e,n){var r=t(n),i=r.attr("name"),a=r.val();return null==a?null:Array.isArray(a)?s.map(a,(function(t){return{name:i,value:t.replace(o,"\r\n")}})):{name:i,value:a.replace(o,"\r\n")}})).get()}},"94ac":function(t,e,n){t.exports=n("da92"),t.exports.parser=n("5a6e")},"94e4":function(t,e,n){var r=n("a06f"),i=n("255a"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("3b77")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"96fe":function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function i(t){var n;function i(){if(i.enabled){var t=i,r=+new Date,o=r-(n||r);t.diff=o,t.prev=n,t.curr=r,n=r;for(var s=new Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=e.coerce(s[0]),"string"!==typeof s[0]&&s.unshift("%O");var c=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;c++;var i=e.formatters[r];if("function"===typeof i){var o=s[c];n=i.call(t,o),s.splice(c,1),c--}return n})),e.formatArgs.call(t,s);var l=i.log||e.log||console.log.bind(console);l.apply(t,s)}}return i.namespace=t,i.enabled=e.enabled(t),i.useColors=e.useColors(),i.color=r(t),i.destroy=o,"function"===typeof e.init&&e.init(i),e.instances.push(i),i}function o(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}function s(t){var n;e.save(t),e.names=[],e.skips=[];var r=("string"===typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&(t=r[n].replace(/\*/g,".*?"),"-"===t[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var o=e.instances[n];o.enabled=e.enabled(o.namespace)}}function a(){e.enable("")}function c(t){if("*"===t[t.length-1])return!0;var n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1}function l(t){return t instanceof Error?t.stack||t.message:t}e=t.exports=i.debug=i["default"]=i,e.coerce=l,e.disable=a,e.enable=s,e.enabled=c,e.humanize=n("1468"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},"971f":function(t,e){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",s=/^(?:0|[1-9]\d*)$/;function a(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function c(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}var l=Object.prototype,u=l.hasOwnProperty,h=l.toString,f=l.propertyIsEnumerable,p=Math.max;function d(t,e){var n=C(t)||E(t)?c(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!u.call(t,o)||i&&("length"==o||w(o,r))||n.push(o);return n}function g(t,e,n){var r=t[e];u.call(t,e)&&T(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function v(t){if(!R(t))return S(t);var e=x(t),n=[];for(var r in t)("constructor"!=r||!e&&u.call(t,r))&&n.push(r);return n}function m(t,e){return e=p(void 0===e?t.length-1:e,0),function(){var n=arguments,r=-1,i=p(n.length-e,0),o=Array(i);while(++r<i)o[r]=n[e+r];r=-1;var s=Array(e+1);while(++r<e)s[r]=n[r];return s[e]=o,a(t,this,s)}}function y(t,e,n,r){n||(n={});var i=-1,o=e.length;while(++i<o){var s=e[i],a=r?r(n[s],t[s],s,n,t):void 0;g(n,s,void 0===a?t[s]:a)}return n}function b(t){return m((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&_(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);while(++r<i){var a=n[r];a&&t(e,a,r,o)}return e}))}function w(t,e){return e=null==e?n:e,!!e&&("number"==typeof t||s.test(t))&&t>-1&&t%1==0&&t<e}function _(t,e,n){if(!R(n))return!1;var r=typeof e;return!!("number"==r?k(n)&&w(e,n.length):"string"==r&&e in n)&&T(n[e],t)}function x(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||l;return t===n}function S(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function T(t,e){return t===e||t!==t&&e!==e}function E(t){return A(t)&&u.call(t,"callee")&&(!f.call(t,"callee")||h.call(t)==r)}var C=Array.isArray;function k(t){return null!=t&&P(t.length)&&!O(t)}function A(t){return L(t)&&k(t)}function O(t){var e=R(t)?h.call(t):"";return e==i||e==o}function P(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function R(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function L(t){return!!t&&"object"==typeof t}var I=b((function(t,e){y(e,M(e),t)}));function M(t){return k(t)?d(t,!0):v(t)}t.exports=I},"978e":function(t,e,n){"use strict";var r=n("7480");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},9825:function(t,e,n){var r=n("255a"),i=n("0d63"),o=n("679a"),s=[].slice,a=/MSIE .\./.test(o),c=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"993b":function(t,e,n){var r=n("cc80"),i=n("afae").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"99e4":function(t,e){t.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},"9a27":function(t,e){e.f={}.propertyIsEnumerable},"9a77":function(t,e,n){var r=n("cdf9");n("6397")("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},"9b0c":function(t,e,n){"use strict";var r=n("a743")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"9c55":function(t,e,n){var r=n("58d1"),i=n("6d89"),o=n("6744");t.exports=function(t,e,n,s){var a=String(o(t)),c=a.length,l=void 0===n?" ":String(n),u=r(e);if(u<=c||""==l)return a;var h=u-c,f=i.call(l,Math.ceil(h/l.length));return f.length>h&&(f=f.slice(0,h)),s?f+a:a+f}},"9c75":function(t,e,n){"use strict";var r=n("0d63"),i=n("7634"),o=n("5d88"),s=n("42ee"),a=n("51ac"),c=n("58d1"),l=n("cdf9"),u=n("255a").ArrayBuffer,h=n("0a7d"),f=o.ArrayBuffer,p=o.DataView,d=i.ABV&&u.isView,g=f.prototype.slice,v=i.VIEW,m="ArrayBuffer";r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,m,{isView:function(t){return d&&d(t)||l(t)&&v in t}}),r(r.P+r.U+r.F*n("b460")((function(){return!new f(2).slice(1,void 0).byteLength})),m,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(s(this),t);var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(h(this,f))(c(i-r)),l=new p(this),u=new p(o),d=0;while(r<i)u.setUint8(d++,l.getUint8(r++));return o}}),n("dbc5")(m)},"9cfa":function(t,e,n){var r=n("0d63");r(r.P,"Function",{bind:n("b66c")})},"9db9":function(t,e,n){var r=n("72ce"),i=n("d116"),o=r.update,s=r.evaluate,a=n("4a1c"),c=a.domEach,l=a.cloneDom,u=a.isHtml,h=Array.prototype.slice,f={flatten:n("2fb4"),bind:n("fe69"),forEach:n("aa6f")};e._makeDomArray=function(t,e){return null==t?[]:t.cheerio?e?l(t.get(),t.options):t.get():Array.isArray(t)?f.flatten(t.map((function(t){return this._makeDomArray(t,e)}),this)):"string"===typeof t?s(t,this.options):e?l([t]):[t]};var p=function(t){return function(){var e=h.call(arguments),n=this.length-1;return c(this,(function(r,o){var s,a;a="function"===typeof e[0]?e[0].call(o,r,i.html(o.children)):e,s=this._makeDomArray(a,r<n),t(s,o.children,o)}))}},d=function(t,e,n,r,i){var o,s,a,c,l,u=[e,n].concat(r),h=t[e-1]||null,f=t[e]||null;for(o=0,s=r.length;o<s;++o)c=r[o],l=c.parent||c.root,a=l&&l.children.indexOf(r[o]),l&&a>-1&&(l.children.splice(a,1),i===l&&e>a&&u[0]--),c.root=null,c.parent=i,c.prev&&(c.prev.next=c.next||null),c.next&&(c.next.prev=c.prev||null),c.prev=r[o-1]||h,c.next=r[o+1]||f;return h&&(h.next=r[0]),f&&(f.prev=r[r.length-1]),t.splice.apply(t,u)};e.appendTo=function(t){return t.cheerio||(t=this.constructor.call(this.constructor,t,null,this._originalRoot)),t.append(this),this},e.prependTo=function(t){return t.cheerio||(t=this.constructor.call(this.constructor,t,null,this._originalRoot)),t.prepend(this),this},e.append=p((function(t,e,n){d(e,e.length,0,t,n)})),e.prepend=p((function(t,e,n){d(e,0,0,t,n)})),e.wrap=function(t){var e="function"===typeof t&&t,n=this.length-1;return f.forEach(this,f.bind((function(r,i){var s,a,c=r.parent||r.root,l=c.children;c&&(e&&(t=e.call(r,i)),"string"!==typeof t||u(t)||(t=this.parents().last().find(t).clone()),s=this._makeDomArray(t,i<n).slice(0,1),a=l.indexOf(r),o([r],s[0]),d(l,a,0,s,c))}),this)),this},e.after=function(){var t=h.call(arguments),e=this.length-1;return c(this,(function(n,r){var o=r.parent||r.root;if(o){var s,a,c=o.children,l=c.indexOf(r);l<0||(s="function"===typeof t[0]?t[0].call(r,n,i.html(r.children)):t,a=this._makeDomArray(s,n<e),d(c,l+1,0,a,o))}})),this},e.insertAfter=function(t){var e=[],n=this;return"string"===typeof t&&(t=this.constructor.call(this.constructor,t,null,this._originalRoot)),t=this._makeDomArray(t),n.remove(),c(t,(function(t,r){var i=n._makeDomArray(n.clone()),o=r.parent||r.root;if(o){var s=o.children,a=s.indexOf(r);a<0||(d(s,a+1,0,i,o),e.push(i))}})),this.constructor.call(this.constructor,this._makeDomArray(e))},e.before=function(){var t=h.call(arguments),e=this.length-1;return c(this,(function(n,r){var o=r.parent||r.root;if(o){var s,a,c=o.children,l=c.indexOf(r);l<0||(s="function"===typeof t[0]?t[0].call(r,n,i.html(r.children)):t,a=this._makeDomArray(s,n<e),d(c,l,0,a,o))}})),this},e.insertBefore=function(t){var e=[],n=this;return"string"===typeof t&&(t=this.constructor.call(this.constructor,t,null,this._originalRoot)),t=this._makeDomArray(t),n.remove(),c(t,(function(t,r){var i=n._makeDomArray(n.clone()),o=r.parent||r.root;if(o){var s=o.children,a=s.indexOf(r);a<0||(d(s,a,0,i,o),e.push(i))}})),this.constructor.call(this.constructor,this._makeDomArray(e))},e.remove=function(t){var e=this;return t&&(e=e.filter(t)),c(e,(function(t,e){var n=e.parent||e.root;if(n){var r=n.children,i=r.indexOf(e);i<0||(r.splice(i,1),e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.prev=e.next=e.parent=e.root=null)}})),this},e.replaceWith=function(t){var e=this;return c(this,(function(n,r){var i=r.parent||r.root;if(i){var s,a=i.children,c=e._makeDomArray("function"===typeof t?t.call(r,n,r):t);o(c,null),s=a.indexOf(r),d(a,s,1,c,i),r.parent=r.prev=r.next=r.root=null}})),this},e.empty=function(){return c(this,(function(t,e){f.forEach(e.children,(function(t){t.next=t.prev=t.parent=null})),e.children.length=0})),this},e.html=function(t){if(void 0===t)return this[0]&&this[0].children?i.html(this[0].children,this.options):null;var e=this.options;return c(this,(function(n,r){f.forEach(r.children,(function(t){t.next=t.prev=t.parent=null}));var i=t.cheerio?t.clone().get():s(""+t,e);o(i,r)})),this},e.toString=function(){return i.html(this,this.options)},e.text=function(t){return void 0===t?i.text(this):"function"===typeof t?c(this,(function(n,r){var o=[r];return e.text.call(o,t.call(r,n,i.text(o)))})):(c(this,(function(e,n){f.forEach(n.children,(function(t){t.next=t.prev=t.parent=null}));var r={data:""+t,type:"text",parent:n,prev:null,next:null,children:[]};o(r,n)})),this)},e.clone=function(){return this._make(l(this.get(),this.options))}},"9dc2":function(t,e,n){"use strict";var r=n("4cec"),i=n("388d"),o="Map";t.exports=n("aef6")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},"9e2d":function(t,e,n){var r=n("d401"),i=n("2635"),o=n("37ff"),s=n("58d1"),a=n("10cf");t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,h=6==t,f=5==t||h,p=e||a;return function(e,a,d){for(var g,v,m=o(e),y=i(m),b=r(a,d,3),w=s(y.length),_=0,x=n?p(e,w):c?p(e,0):void 0;w>_;_++)if((f||_ in y)&&(g=y[_],v=b(g,_,m),t))if(n)x[_]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return h?-1:l||u?u:x}}},"9e3f":function(t,e,n){"use strict";var r=n("169a"),i=n("42ee"),o=n("0a7d"),s=n("9b0c"),a=n("58d1"),c=n("e5bc"),l=n("12c1"),u=n("b460"),h=Math.min,f=[].push,p="split",d="length",g="lastIndex",v=4294967295,m=!u((function(){RegExp(v,"y")}));n("ebca")("split",2,(function(t,e,n,u){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[d]||2!="ab"[p](/(?:ab)*/)[d]||4!="."[p](/(.?)(.?)/)[d]||"."[p](/()()/)[d]>1||""[p](/.?/)[d]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,s,a,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,p=void 0===e?v:e>>>0,m=new RegExp(t.source,u+"g");while(o=l.call(m,i)){if(s=m[g],s>h&&(c.push(i.slice(h,o.index)),o[d]>1&&o.index<i[d]&&f.apply(c,o.slice(1)),a=o[0][d],h=s,c[d]>=p))break;m[g]===o.index&&m[g]++}return h===i[d]?!a&&m.test("")||c.push(""):c.push(i.slice(h)),c[d]>p?c.slice(0,p):c}:"0"[p](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(t,e){var r=u(y,t,this,e,y!==n);if(r.done)return r.value;var l=i(t),f=String(this),p=o(l,RegExp),d=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(m?"y":"g"),b=new p(m?l:"^(?:"+l.source+")",g),w=void 0===e?v:e>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];var _=0,x=0,S=[];while(x<f.length){b.lastIndex=m?x:0;var T,E=c(b,m?f:f.slice(x));if(null===E||(T=h(a(b.lastIndex+(m?0:x)),f.length))===_)x=s(f,x,d);else{if(S.push(f.slice(_,x)),S.length===w)return S;for(var C=1;C<=E.length-1;C++)if(S.push(E[C]),S.length===w)return S;x=_=T}}return S.push(f.slice(_)),S}]}))},"9e46":function(t,e,n){"use strict";var r=n("255a"),i=n("7e33"),o=n("6739"),s=n("0d63"),a=n("bd47"),c=n("bded").KEY,l=n("b460"),u=n("94e4"),h=n("617f"),f=n("a909"),p=n("9336"),d=n("5a30"),g=n("17b2"),v=n("78f9"),m=n("bc48"),y=n("42ee"),b=n("cdf9"),w=n("37ff"),_=n("ceb6"),x=n("1bfb"),S=n("154b"),T=n("af33"),E=n("ec47"),C=n("ea05"),k=n("e038"),A=n("0f26"),O=n("b7e2"),P=C.f,R=A.f,L=E.f,I=r.Symbol,M=r.JSON,j=M&&M.stringify,B="prototype",D=p("_hidden"),N=p("toPrimitive"),F={}.propertyIsEnumerable,H=u("symbol-registry"),z=u("symbols"),$=u("op-symbols"),U=Object[B],q="function"==typeof I&&!!k.f,V=r.QObject,W=!V||!V[B]||!V[B].findChild,G=o&&l((function(){return 7!=T(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=P(U,e);r&&delete U[e],R(t,e,n),r&&t!==U&&R(U,e,r)}:R,Z=function(t){var e=z[t]=T(I[B]);return e._k=t,e},X=q&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},Y=function(t,e,n){return t===U&&Y($,e,n),y(t),e=x(e,!0),y(n),i(z,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=T(n,{enumerable:S(0,!1)})):(i(t,D)||R(t,D,S(1,{})),t[D][e]=!0),G(t,e,n)):R(t,e,n)},K=function(t,e){y(t);var n,r=v(e=_(e)),i=0,o=r.length;while(o>i)Y(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?T(t):K(T(t),e)},Q=function(t){var e=F.call(this,t=x(t,!0));return!(this===U&&i(z,t)&&!i($,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,D)&&this[D][t])||e)},tt=function(t,e){if(t=_(t),e=x(e,!0),t!==U||!i(z,e)||i($,e)){var n=P(t,e);return!n||!i(z,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},et=function(t){var e,n=L(_(t)),r=[],o=0;while(n.length>o)i(z,e=n[o++])||e==D||e==c||r.push(e);return r},nt=function(t){var e,n=t===U,r=L(n?$:_(t)),o=[],s=0;while(r.length>s)!i(z,e=r[s++])||n&&!i(U,e)||o.push(z[e]);return o};q||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call($,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),G(this,t,S(1,n))};return o&&W&&G(U,t,{configurable:!0,set:e}),Z(t)},a(I[B],"toString",(function(){return this._k})),C.f=tt,A.f=Y,n("993b").f=E.f=et,n("9a27").f=Q,k.f=nt,o&&!n("3b77")&&a(U,"propertyIsEnumerable",Q,!0),d.f=function(t){return Z(p(t))}),s(s.G+s.W+s.F*!q,{Symbol:I});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)p(rt[it++]);for(var ot=O(p.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!q,"Symbol",{for:function(t){return i(H,t+="")?H[t]:H[t]=I(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!q,"Object",{create:J,defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l((function(){k.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return k.f(w(t))}}),M&&s(s.S+s.F*(!q||l((function(){var t=I();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!X(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,j.apply(M,r)}}),I[B][N]||n("c3fa")(I[B],N,I[B].valueOf),h(I,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},"9ebc":function(t,e,n){var r=n("0f94"),i=r.isTag,o=r.getText,s=r.getParent,a=r.getChildren,c=r.getSiblings,l=r.hasAttrib,u=r.getName,h=r.getAttributeValue,f=n("43aa"),p=n("55da").rules.equals,d=n("99e4"),g=d.trueFunc,v=d.falseFunc;function m(t){for(var e=0;t&&e<t.length;e++)if(i(t[e]))return t[e]}function y(t,e){var n={name:t,value:e};return function(t){return p(t,n)}}function b(t){return function(e){return!!s(e)&&t(e)}}var w={contains:function(t,e){return function(n){return t(n)&&o(n).indexOf(e)>=0}},icontains:function(t,e){var n=e.toLowerCase();return function(e){return t(e)&&o(e).toLowerCase().indexOf(n)>=0}},"nth-child":function(t,e){var n=f(e);return n===v?n:n===g?b(t):function(e){for(var r=c(e),o=0,s=0;o<r.length;o++)if(i(r[o])){if(r[o]===e)break;s++}return n(s)&&t(e)}},"nth-last-child":function(t,e){var n=f(e);return n===v?n:n===g?b(t):function(e){for(var r=c(e),o=0,s=r.length-1;s>=0;s--)if(i(r[s])){if(r[s]===e)break;o++}return n(o)&&t(e)}},"nth-of-type":function(t,e){var n=f(e);return n===v?n:n===g?b(t):function(e){for(var r=c(e),o=0,s=0;s<r.length;s++)if(i(r[s])){if(r[s]===e)break;u(r[s])===u(e)&&o++}return n(o)&&t(e)}},"nth-last-of-type":function(t,e){var n=f(e);return n===v?n:n===g?b(t):function(e){for(var r=c(e),o=0,s=r.length-1;s>=0;s--)if(i(r[s])){if(r[s]===e)break;u(r[s])===u(e)&&o++}return n(o)&&t(e)}},root:function(t){return function(e){return!s(e)&&t(e)}},scope:function(t,e,n,r){return r&&0!==r.length?1===r.length?function(e){return r[0]===e&&t(e)}:function(e){return r.indexOf(e)>=0&&t(e)}:w.root(t)},checkbox:y("type","checkbox"),file:y("type","file"),password:y("type","password"),radio:y("type","radio"),reset:y("type","reset"),image:y("type","image"),submit:y("type","submit")},_={empty:function(t){return!a(t).some((function(t){return i(t)||"text"===t.type}))},"first-child":function(t){return m(c(t))===t},"last-child":function(t){for(var e=c(t),n=e.length-1;n>=0;n--){if(e[n]===t)return!0;if(i(e[n]))break}return!1},"first-of-type":function(t){for(var e=c(t),n=0;n<e.length;n++)if(i(e[n])){if(e[n]===t)return!0;if(u(e[n])===u(t))break}return!1},"last-of-type":function(t){for(var e=c(t),n=e.length-1;n>=0;n--)if(i(e[n])){if(e[n]===t)return!0;if(u(e[n])===u(t))break}return!1},"only-of-type":function(t){for(var e=c(t),n=0,r=e.length;n<r;n++)if(i(e[n])){if(e[n]===t)continue;if(u(e[n])===u(t))return!1}return!0},"only-child":function(t){for(var e=c(t),n=0;n<e.length;n++)if(i(e[n])&&e[n]!==t)return!1;return!0},link:function(t){return l(t,"href")},visited:v,selected:function(t){if(l(t,"selected"))return!0;if("option"!==u(t))return!1;var e=s(t);if(!e||"select"!==u(e)||l(e,"multiple"))return!1;for(var n=a(e),r=!1,o=0;o<n.length;o++)if(i(n[o]))if(n[o]===t)r=!0;else{if(!r)return!1;if(l(n[o],"selected"))return!1}return r},disabled:function(t){return l(t,"disabled")},enabled:function(t){return!l(t,"disabled")},checked:function(t){return l(t,"checked")||_.selected(t)},required:function(t){return l(t,"required")},optional:function(t){return!l(t,"required")},parent:function(t){return!_.empty(t)},header:function(t){var e=u(t);return"h1"===e||"h2"===e||"h3"===e||"h4"===e||"h5"===e||"h6"===e},button:function(t){var e=u(t);return"button"===e||"input"===e&&"button"===h(t,"type")},input:function(t){var e=u(t);return"input"===e||"textarea"===e||"select"===e||"button"===e},text:function(t){var e;return"input"===u(t)&&(!(e=h(t,"type"))||"text"===e.toLowerCase())}};function x(t,e,n){if(null===n){if(t.length>1&&"scope"!==e)throw new SyntaxError("pseudo-selector :"+e+" requires an argument")}else if(1===t.length)throw new SyntaxError("pseudo-selector :"+e+" doesn't have any arguments")}var S=/^(?:(?:nth|last|first|only)-(?:child|of-type)|root|empty|(?:en|dis)abled|checked|not)$/;t.exports={compile:function(t,e,n,r){var i=e.name,o=e.data;if(n&&n.strict&&!S.test(i))throw SyntaxError(":"+i+" isn't part of CSS3");if("function"===typeof w[i])return x(w[i],i,o),w[i](t,o,n,r);if("function"===typeof _[i]){var s=_[i];return x(s,i,o),t===g?s:function(e){return s(e,o)&&t(e)}}throw new SyntaxError("unmatched pseudo-class :"+i)},filters:w,pseudos:_}},"9ec8":function(t,e,n){var r=n("9336")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},"9f20":function(t,e,n){var r=n("4d1e"),i=e.isTag=r.isTag;e.testElement=function(t,e){for(var n in t)if(t.hasOwnProperty(n)){if("tag_name"===n){if(!i(e)||!t.tag_name(e.name))return!1}else if("tag_type"===n){if(!t.tag_type(e.type))return!1}else if("tag_contains"===n){if(i(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[n](e.attribs[n]))return!1}else;return!0};var o={tag_name:function(t){return"function"===typeof t?function(e){return i(e)&&t(e.name)}:"*"===t?i:function(e){return i(e)&&e.name===t}},tag_type:function(t){return"function"===typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"===typeof t?function(e){return!i(e)&&t(e.data)}:function(e){return!i(e)&&e.data===t}}};function s(t,e){return"function"===typeof e?function(n){return n.attribs&&e(n.attribs[t])}:function(n){return n.attribs&&n.attribs[t]===e}}function a(t,e){return function(n){return t(n)||e(n)}}e.getElements=function(t,e,n,r){var i=Object.keys(t).map((function(e){var n=t[e];return e in o?o[e](n):s(e,n)}));return 0===i.length?[]:this.filter(i.reduce(a),e,n,r)},e.getElementById=function(t,e,n){return Array.isArray(e)||(e=[e]),this.findOne(s("id",t),e,!1!==n)},e.getElementsByTagName=function(t,e,n,r){return this.filter(o.tag_name(t),e,n,r)},e.getElementsByTagType=function(t,e,n,r){return this.filter(o.tag_type(t),e,n,r)}},a036:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},a06f:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},a081:function(t,e){
  /*! https://mths.be/utf8js v2.1.2 by @mathias */
  var n,r,i,o=String.fromCharCode;function s(t){var e,n,r=[],i=0,o=t.length;while(i<o)e=t.charCodeAt(i++),e>=55296&&e<=56319&&i<o?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);return r}function a(t){var e,n=t.length,r=-1,i="";while(++r<n)e=t[r],e>65535&&(e-=65536,i+=o(e>>>10&1023|55296),e=56320|1023&e),i+=o(e);return i}function c(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function l(t,e){return o(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return o(t);var n="";return 0==(4294965248&t)?n=o(t>>6&31|192):0==(4294901760&t)?(c(t,e)||(t=65533),n=o(t>>12&15|224),n+=l(t,6)):0==(4292870144&t)&&(n=o(t>>18&7|240),n+=l(t,12),n+=l(t,6)),n+=o(63&t|128),n}function h(t,e){e=e||{};var n,r=!1!==e.strict,i=s(t),o=i.length,a=-1,c="";while(++a<o)n=i[a],c+=u(n,r);return c}function f(){if(i>=r)throw Error("Invalid byte index");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function p(t){var e,o,s,a,l;if(i>r)throw Error("Invalid byte index");if(i==r)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if(o=f(),l=(31&e)<<6|o,l>=128)return l;throw Error("Invalid continuation byte")}if(224==(240&e)){if(o=f(),s=f(),l=(15&e)<<12|o<<6|s,l>=2048)return c(l,t)?l:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=f(),s=f(),a=f(),l=(7&e)<<18|o<<12|s<<6|a,l>=65536&&l<=1114111))return l;throw Error("Invalid UTF-8 detected")}function d(t,e){e=e||{};var o=!1!==e.strict;n=s(t),r=n.length,i=0;var c,l=[];while(!1!==(c=p(o)))l.push(c);return a(l)}t.exports={version:"2.1.2",encode:h,decode:d}},a16e:function(t,e,n){var r=n("f0f2"),i=n("9166"),o=n("64b2"),s=n("7073"),a=l(o),c=l(r);function l(t){var e=Object.keys(t).join("|"),n=f(t);e+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+e+");","g");return function(t){return String(t).replace(r,n)}}var u=function(){for(var t=Object.keys(i).sort(h),e=Object.keys(r).sort(h),n=0,o=0;n<e.length;n++)t[o]===e[n]?(e[n]+=";?",o++):e[n]+=";";var s=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=f(r);function c(t){return";"!==t.substr(-1)&&(t+=";"),a(t)}return function(t){return String(t).replace(s,c)}}();function h(t,e){return t<e?1:-1}function f(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?s(parseInt(e.substr(3),16)):s(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}t.exports={XML:a,HTML:u,HTMLStrict:c}},a23b:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},a32c:function(t,e,n){t.exports=!n("6434")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a743:function(t,e,n){var r=n("d8b2"),i=n("6744");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),l=a.length;return c<0||c>=l?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},a7d6:function(t,e,n){var r=n("cdf9"),i=n("bded").onFreeze;n("6397")("preventExtensions",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},a83f:function(t,e,n){"use strict";var r=n("42ee"),i=n("1bfb"),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},a909:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},aa6f:function(t,e){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",s=/^(?:0|[1-9]\d*)$/;function a(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(!1===e(t[n],n,t))break;return t}function c(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function l(t,e){return function(n){return t(e(n))}}var u=Object.prototype,h=u.hasOwnProperty,f=u.toString,p=u.propertyIsEnumerable,d=l(Object.keys,Object);function g(t,e){var n=C(t)||E(t)?c(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!h.call(t,o)||i&&("length"==o||x(o,r))||n.push(o);return n}var v=w(y),m=_();function y(t,e){return t&&m(t,e,I)}function b(t){if(!S(t))return d(t);var e=[];for(var n in Object(t))h.call(t,n)&&"constructor"!=n&&e.push(n);return e}function w(t,e){return function(n,r){if(null==n)return n;if(!k(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function _(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function x(t,e){return e=null==e?n:e,!!e&&("number"==typeof t||s.test(t))&&t>-1&&t%1==0&&t<e}function S(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||u;return t===n}function T(t,e){var n=C(t)?a:v;return n(t,"function"==typeof e?e:M)}function E(t){return A(t)&&h.call(t,"callee")&&(!p.call(t,"callee")||f.call(t)==r)}var C=Array.isArray;function k(t){return null!=t&&P(t.length)&&!O(t)}function A(t){return L(t)&&k(t)}function O(t){var e=R(t)?f.call(t):"";return e==i||e==o}function P(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function R(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function L(t){return!!t&&"object"==typeof t}function I(t){return k(t)?g(t):b(t)}function M(t){return t}t.exports=T},aa6f6:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},aa78:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;//! openseadragon 2.4.2
  //! Built on 2020-03-05
  //! Git commit: v2.4.2-0-c450749
  //! http://openseadragon.github.io
  //! License: http://openseadragon.github.io/license/
  function OpenSeadragon(t){return new OpenSeadragon.Viewer(t)}(function(t){t.version={versionStr:"2.4.2",major:parseInt("2",10),minor:parseInt("4",10),revision:parseInt("2",10)};var e={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object"},n=Object.prototype.toString,r=Object.prototype.hasOwnProperty;t.isFunction=function(e){return"function"===t.type(e)},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isWindow=function(t){return t&&"object"===typeof t&&"setInterval"in t},t.type=function(t){return null===t||void 0===t?String(t):e[n.call(t)]||"object"},t.isPlainObject=function(e){if(!e||"object"!==OpenSeadragon.type(e)||e.nodeType||t.isWindow(e))return!1;if(e.constructor&&!r.call(e,"constructor")&&!r.call(e.constructor.prototype,"isPrototypeOf"))return!1;var n;for(var i in e)n=i;return void 0===n||r.call(e,n)},t.isEmptyObject=function(t){for(var e in t)return!1;return!0},t.freezeObject=function(e){return Object.freeze?t.freezeObject=Object.freeze:t.freezeObject=function(t){return t},t.freezeObject(e)},t.supportsCanvas=function(){var e=document.createElement("canvas");return!(!t.isFunction(e.getContext)||!e.getContext("2d"))}(),t.isCanvasTainted=function(t){var e=!1;try{t.getContext("2d").getImageData(0,0,1,1)}catch(n){e=!0}return e},t.pixelDensityRatio=function(){if(t.supportsCanvas){var e=document.createElement("canvas").getContext("2d"),n=window.devicePixelRatio||1,r=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return Math.max(n,1)/r}return 1}()})(OpenSeadragon),function($){$.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=arguments.length,c=!1,l=1;for("boolean"===typeof s&&(c=s,s=arguments[1]||{},l=2),"object"===typeof s||OpenSeadragon.isFunction(s)||(s={}),a===l&&(s=this,--l);l<a;l++)if(t=arguments[l],null!==t||void 0!==t)for(e in t)n=s[e],r=t[e],s!==r&&(c&&r&&(OpenSeadragon.isPlainObject(r)||(i=OpenSeadragon.isArray(r)))?(i?(i=!1,o=n&&OpenSeadragon.isArray(n)?n:[]):o=n&&OpenSeadragon.isPlainObject(n)?n:{},s[e]=OpenSeadragon.extend(c,o,r)):void 0!==r&&(s[e]=r));return s};var isIOSDevice=function(){if("object"!==typeof navigator)return!1;var t=navigator.userAgent;return"string"===typeof t&&(-1!==t.indexOf("iPhone")||-1!==t.indexOf("iPad")||-1!==t.indexOf("iPod"))};$.extend($,{DEFAULT_SETTINGS:{xmlPath:null,tileSources:null,tileHost:null,initialPage:0,crossOriginPolicy:!1,ajaxWithCredentials:!1,loadTilesWithAjax:!1,ajaxHeaders:{},panHorizontal:!0,panVertical:!0,constrainDuringPan:!1,wrapHorizontal:!1,wrapVertical:!1,visibilityRatio:.5,minPixelRatio:.5,defaultZoomLevel:0,minZoomLevel:null,maxZoomLevel:null,homeFillsViewer:!1,clickTimeThreshold:300,clickDistThreshold:5,dblClickTimeThreshold:300,dblClickDistThreshold:20,springStiffness:6.5,animationTime:1.2,gestureSettingsMouse:{scrollToZoom:!0,clickToZoom:!0,dblClickToZoom:!1,pinchToZoom:!1,zoomToRefPoint:!0,flickEnabled:!1,flickMinSpeed:120,flickMomentum:.25,pinchRotate:!1},gestureSettingsTouch:{scrollToZoom:!1,clickToZoom:!1,dblClickToZoom:!0,pinchToZoom:!0,zoomToRefPoint:!0,flickEnabled:!0,flickMinSpeed:120,flickMomentum:.25,pinchRotate:!1},gestureSettingsPen:{scrollToZoom:!1,clickToZoom:!0,dblClickToZoom:!1,pinchToZoom:!1,zoomToRefPoint:!0,flickEnabled:!1,flickMinSpeed:120,flickMomentum:.25,pinchRotate:!1},gestureSettingsUnknown:{scrollToZoom:!1,clickToZoom:!1,dblClickToZoom:!0,pinchToZoom:!0,zoomToRefPoint:!0,flickEnabled:!0,flickMinSpeed:120,flickMomentum:.25,pinchRotate:!1},zoomPerClick:2,zoomPerScroll:1.2,zoomPerSecond:1,blendTime:0,alwaysBlend:!1,autoHideControls:!0,immediateRender:!1,minZoomImageRatio:.9,maxZoomPixelRatio:1.1,smoothTileEdgesMinZoom:1.1,iOSDevice:isIOSDevice(),pixelsPerWheelLine:40,pixelsPerArrowPress:40,autoResize:!0,preserveImageSizeOnResize:!1,minScrollDeltaTime:50,rotationIncrement:90,showSequenceControl:!0,sequenceControlAnchor:null,preserveViewport:!1,preserveOverlays:!1,navPrevNextWrap:!1,showNavigationControl:!0,navigationControlAnchor:null,showZoomControl:!0,showHomeControl:!0,showFullPageControl:!0,showRotationControl:!1,showFlipControl:!1,controlsFadeDelay:2e3,controlsFadeLength:1500,mouseNavEnabled:!0,showNavigator:!1,navigatorId:null,navigatorPosition:null,navigatorSizeRatio:.2,navigatorMaintainSizeRatio:!1,navigatorTop:null,navigatorLeft:null,navigatorHeight:null,navigatorWidth:null,navigatorAutoResize:!0,navigatorAutoFade:!0,navigatorRotate:!0,navigatorBackground:"#000",navigatorOpacity:.8,navigatorBorderColor:"#555",navigatorDisplayRegionColor:"#900",degrees:0,flipped:!1,opacity:1,preload:!1,compositeOperation:null,imageSmoothingEnabled:!0,placeholderFillStyle:null,showReferenceStrip:!1,referenceStripScroll:"horizontal",referenceStripElement:null,referenceStripHeight:null,referenceStripWidth:null,referenceStripPosition:"BOTTOM_LEFT",referenceStripSizeRatio:.2,collectionRows:3,collectionColumns:0,collectionLayout:"horizontal",collectionMode:!1,collectionTileSize:800,collectionTileMargin:80,imageLoaderLimit:0,maxImageCacheCount:200,timeout:3e4,useCanvas:!0,prefixUrl:"/images/",navImages:{zoomIn:{REST:"zoomin_rest.png",GROUP:"zoomin_grouphover.png",HOVER:"zoomin_hover.png",DOWN:"zoomin_pressed.png"},zoomOut:{REST:"zoomout_rest.png",GROUP:"zoomout_grouphover.png",HOVER:"zoomout_hover.png",DOWN:"zoomout_pressed.png"},home:{REST:"home_rest.png",GROUP:"home_grouphover.png",HOVER:"home_hover.png",DOWN:"home_pressed.png"},fullpage:{REST:"fullpage_rest.png",GROUP:"fullpage_grouphover.png",HOVER:"fullpage_hover.png",DOWN:"fullpage_pressed.png"},rotateleft:{REST:"rotateleft_rest.png",GROUP:"rotateleft_grouphover.png",HOVER:"rotateleft_hover.png",DOWN:"rotateleft_pressed.png"},rotateright:{REST:"rotateright_rest.png",GROUP:"rotateright_grouphover.png",HOVER:"rotateright_hover.png",DOWN:"rotateright_pressed.png"},flip:{REST:"flip_rest.png",GROUP:"flip_grouphover.png",HOVER:"flip_hover.png",DOWN:"flip_pressed.png"},previous:{REST:"previous_rest.png",GROUP:"previous_grouphover.png",HOVER:"previous_hover.png",DOWN:"previous_pressed.png"},next:{REST:"next_rest.png",GROUP:"next_grouphover.png",HOVER:"next_hover.png",DOWN:"next_pressed.png"}},debugMode:!1,debugGridColor:["#437AB2","#1B9E77","#D95F02","#7570B3","#E7298A","#66A61E","#E6AB02","#A6761D","#666666"]},SIGNAL:"----seadragon----",delegate:function(t,e){return function(){var n=arguments;return void 0===n&&(n=[]),e.apply(t,n)}},BROWSERS:{UNKNOWN:0,IE:1,FIREFOX:2,SAFARI:3,CHROME:4,OPERA:5},getElement:function(t){return"string"==typeof t&&(t=document.getElementById(t)),t},getElementPosition:function(t){var e,n,r=new $.Point;t=$.getElement(t),e="fixed"==$.getElementStyle(t).position,n=getOffsetParent(t,e);while(n)r.x+=t.offsetLeft,r.y+=t.offsetTop,e&&(r=r.plus($.getPageScroll())),t=n,e="fixed"==$.getElementStyle(t).position,n=getOffsetParent(t,e);return r},getElementOffset:function(t){t=$.getElement(t);var e,n,r=t&&t.ownerDocument,i={top:0,left:0};return r?(e=r.documentElement,"undefined"!==typeof t.getBoundingClientRect&&(i=t.getBoundingClientRect()),n=r==r.window?r:9===r.nodeType&&(r.defaultView||r.parentWindow),new $.Point(i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0),i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0))):new $.Point},getElementSize:function(t){return t=$.getElement(t),new $.Point(t.clientWidth,t.clientHeight)},getElementStyle:document.documentElement.currentStyle?function(t){return t=$.getElement(t),t.currentStyle}:function(t){return t=$.getElement(t),window.getComputedStyle(t,"")},getCssPropertyWithVendorPrefix:function(t){var e={};return $.getCssPropertyWithVendorPrefix=function(t){if(void 0!==e[t])return e[t];var n=document.createElement("div").style,r=null;if(void 0!==n[t])r=t;else for(var i=["Webkit","Moz","MS","O","webkit","moz","ms","o"],o=$.capitalizeFirstLetter(t),s=0;s<i.length;s++){var a=i[s]+o;if(void 0!==n[a]){r=a;break}}return e[t]=r,r},$.getCssPropertyWithVendorPrefix(t)},capitalizeFirstLetter:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},positiveModulo:function(t,e){var n=t%e;return n<0&&(n+=e),n},pointInElement:function(t,e){t=$.getElement(t);var n=$.getElementOffset(t),r=$.getElementSize(t);return e.x>=n.x&&e.x<n.x+r.x&&e.y<n.y+r.y&&e.y>=n.y},getEvent:function(t){return $.getEvent=t?function(t){return t}:function(){return window.event},$.getEvent(t)},getMousePosition:function(t){if("number"==typeof t.pageX)$.getMousePosition=function(t){var e=new $.Point;return t=$.getEvent(t),e.x=t.pageX,e.y=t.pageY,e};else{if("number"!=typeof t.clientX)throw new Error("Unknown event mouse position, no known technique.");$.getMousePosition=function(t){var e=new $.Point;return t=$.getEvent(t),e.x=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,e.y=t.clientY+document.body.scrollTop+document.documentElement.scrollTop,e}}return $.getMousePosition(t)},getPageScroll:function(){var t=document.documentElement||{},e=document.body||{};if("number"==typeof window.pageXOffset)$.getPageScroll=function(){return new $.Point(window.pageXOffset,window.pageYOffset)};else if(e.scrollLeft||e.scrollTop)$.getPageScroll=function(){return new $.Point(document.body.scrollLeft,document.body.scrollTop)};else{if(!t.scrollLeft&&!t.scrollTop)return new $.Point(0,0);$.getPageScroll=function(){return new $.Point(document.documentElement.scrollLeft,document.documentElement.scrollTop)}}return $.getPageScroll()},setPageScroll:function(t){if("undefined"!==typeof window.scrollTo)$.setPageScroll=function(t){window.scrollTo(t.x,t.y)};else{var e=$.getPageScroll();if(e.x===t.x&&e.y===t.y)return;document.body.scrollLeft=t.x,document.body.scrollTop=t.y;var n=$.getPageScroll();if(n.x!==e.x&&n.y!==e.y)return void($.setPageScroll=function(t){document.body.scrollLeft=t.x,document.body.scrollTop=t.y});if(document.documentElement.scrollLeft=t.x,document.documentElement.scrollTop=t.y,n=$.getPageScroll(),n.x!==e.x&&n.y!==e.y)return void($.setPageScroll=function(t){document.documentElement.scrollLeft=t.x,document.documentElement.scrollTop=t.y});$.setPageScroll=function(t){}}return $.setPageScroll(t)},getWindowSize:function(){var t=document.documentElement||{},e=document.body||{};if("number"==typeof window.innerWidth)$.getWindowSize=function(){return new $.Point(window.innerWidth,window.innerHeight)};else if(t.clientWidth||t.clientHeight)$.getWindowSize=function(){return new $.Point(document.documentElement.clientWidth,document.documentElement.clientHeight)};else{if(!e.clientWidth&&!e.clientHeight)throw new Error("Unknown window size, no known technique.");$.getWindowSize=function(){return new $.Point(document.body.clientWidth,document.body.clientHeight)}}return $.getWindowSize()},makeCenteredNode:function(t){t=$.getElement(t);var e=[$.makeNeutralElement("div"),$.makeNeutralElement("div"),$.makeNeutralElement("div")];return $.extend(e[0].style,{display:"table",height:"100%",width:"100%"}),$.extend(e[1].style,{display:"table-row"}),$.extend(e[2].style,{display:"table-cell",verticalAlign:"middle",textAlign:"center"}),e[0].appendChild(e[1]),e[1].appendChild(e[2]),e[2].appendChild(t),e[0]},makeNeutralElement:function(t){var e=document.createElement(t),n=e.style;return n.background="transparent none",n.border="none",n.margin="0px",n.padding="0px",n.position="static",e},now:function(){return Date.now?$.now=Date.now:$.now=function(){return(new Date).getTime()},$.now()},makeTransparentImage:function(t){return $.makeTransparentImage=function(t){var e=$.makeNeutralElement("img");return e.src=t,e},$.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<7&&($.makeTransparentImage=function(t){var e=$.makeNeutralElement("img"),n=null;return n=$.makeNeutralElement("span"),n.style.display="inline-block",e.onload=function(){n.style.width=n.style.width||e.width+"px",n.style.height=n.style.height||e.height+"px",e.onload=null,e=null},e.src=t,n.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+t+"', sizingMethod='scale')",n}),$.makeTransparentImage(t)},setElementOpacity:function(t,e,n){var r,i;t=$.getElement(t),n&&!$.Browser.alpha&&(e=Math.round(e)),$.Browser.opacity?t.style.opacity=e<1?e:"":e<1?(r=Math.round(100*e),i="alpha(opacity="+r+")",t.style.filter=i):t.style.filter=""},setElementTouchActionNone:function(t){t=$.getElement(t),"undefined"!==typeof t.style.touchAction?t.style.touchAction="none":"undefined"!==typeof t.style.msTouchAction&&(t.style.msTouchAction="none")},addClass:function(t,e){t=$.getElement(t),t.className?-1===(" "+t.className+" ").indexOf(" "+e+" ")&&(t.className+=" "+e):t.className=e},indexOf:function(t,e,n){return Array.prototype.indexOf?this.indexOf=function(t,e,n){return t.indexOf(e,n)}:this.indexOf=function(t,e,n){var r,i,o=n||0;if(!t)throw new TypeError;if(i=t.length,0===i||o>=i)return-1;for(o<0&&(o=i-Math.abs(o)),r=o;r<i;r++)if(t[r]===e)return r;return-1},this.indexOf(t,e,n)},removeClass:function(t,e){var n,r,i=[];for(t=$.getElement(t),n=t.className.split(/\s+/),r=0;r<n.length;r++)n[r]&&n[r]!==e&&i.push(n[r]);t.className=i.join(" ")},addEvent:function(){if(window.addEventListener)return function(t,e,n,r){t=$.getElement(t),t.addEventListener(e,n,r)};if(window.attachEvent)return function(t,e,n,r){t=$.getElement(t),t.attachEvent("on"+e,n)};throw new Error("No known event model.")}(),removeEvent:function(){if(window.removeEventListener)return function(t,e,n,r){t=$.getElement(t),t.removeEventListener(e,n,r)};if(window.detachEvent)return function(t,e,n,r){t=$.getElement(t),t.detachEvent("on"+e,n)};throw new Error("No known event model.")}(),cancelEvent:function(t){t=$.getEvent(t),t.preventDefault?$.cancelEvent=function(t){t.preventDefault()}:$.cancelEvent=function(t){t=$.getEvent(t),t.cancel=!0,t.returnValue=!1},$.cancelEvent(t)},stopEvent:function(t){t=$.getEvent(t),t.stopPropagation?$.stopEvent=function(t){t.stopPropagation()}:$.stopEvent=function(t){t=$.getEvent(t),t.cancelBubble=!0},$.stopEvent(t)},createCallback:function(t,e){var n,r=[];for(n=2;n<arguments.length;n++)r.push(arguments[n]);return function(){var n,i=r.concat([]);for(n=0;n<arguments.length;n++)i.push(arguments[n]);return e.apply(t,i)}},getUrlParameter:function(t){var e=URLPARAMS[t];return e||null},getUrlProtocol:function(t){var e=t.match(/^([a-z]+:)\/\//i);return null===e?window.location.protocol:e[1].toLowerCase()},createAjaxRequest:function(t){var e;try{e=!!new ActiveXObject("Microsoft.XMLHTTP")}catch(n){e=!1}if(e)window.XMLHttpRequest?$.createAjaxRequest=function(t){return t?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest}:$.createAjaxRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")};else{if(!window.XMLHttpRequest)throw new Error("Browser doesn't support XMLHttpRequest.");$.createAjaxRequest=function(){return new XMLHttpRequest}}return $.createAjaxRequest(t)},makeAjaxRequest:function(t,e,n){var r,i,o;$.isPlainObject(t)&&(e=t.success,n=t.error,r=t.withCredentials,i=t.headers,o=t.responseType||null,t=t.url);var s=$.getUrlProtocol(t),a=$.createAjaxRequest("file:"===s);if(!$.isFunction(e))throw new Error("makeAjaxRequest requires a success callback");a.onreadystatechange=function(){4==a.readyState&&(a.onreadystatechange=function(){},a.status>=200&&a.status<300||0===a.status&&"http:"!==s&&"https:"!==s?e(a):($.console.log("AJAX request returned %d: %s",a.status,t),$.isFunction(n)&&n(a)))};try{if(a.open("GET",t,!0),o&&(a.responseType=o),i)for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&i[c]&&a.setRequestHeader(c,i[c]);r&&(a.withCredentials=!0),a.send(null)}catch(f){var l=f.message,u=$.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<10;if(u&&"undefined"!=typeof f.number&&-2147024891==f.number&&(l+="\nSee http://msdn.microsoft.com/en-us/library/ms537505(v=vs.85).aspx#xdomain"),$.console.log("%s while making AJAX request: %s",f.name,l),a.onreadystatechange=function(){},window.XDomainRequest){var h=new window.XDomainRequest;if(h){h.onload=function(t){$.isFunction(e)&&e({responseText:h.responseText,status:200,statusText:"OK"})},h.onerror=function(t){$.isFunction(n)&&n({responseText:h.responseText,status:444,statusText:"An error happened. Due to an XDomainRequest deficiency we can not extract any information about this error. Upgrade your browser."})};try{h.open("GET",t),h.send()}catch(p){$.isFunction(n)&&n(a,f)}}}else $.isFunction(n)&&n(a,f)}return a},jsonp:function(t){var e,n=t.url,r=document.head||document.getElementsByTagName("head")[0]||document.documentElement,i=t.callbackName||"openseadragon"+$.now(),o=window[i],s="$1"+i+"$2",a=t.param||"callback",c=t.callback;n=n.replace(/(\=)\?(&|$)|\?\?/i,s),n+=(/\?/.test(n)?"&":"?")+a+"="+i,window[i]=function(t){if(o)window[i]=o;else try{delete window[i]}catch(e){}c&&$.isFunction(c)&&c(t)},e=document.createElement("script"),void 0===t.async&&!1===t.async||(e.async="async"),t.scriptCharset&&(e.charset=t.scriptCharset),e.src=n,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,r&&e.parentNode&&r.removeChild(e),e=void 0)},r.insertBefore(e,r.firstChild)},createFromDZI:function(){throw"OpenSeadragon.createFromDZI is deprecated, use Viewer.open."},parseXml:function(t){if(window.DOMParser)$.parseXml=function(t){var e,n=null;return e=new DOMParser,n=e.parseFromString(t,"text/xml"),n};else{if(!window.ActiveXObject)throw new Error("Browser doesn't support XML DOM.");$.parseXml=function(t){var e=null;return e=new ActiveXObject("Microsoft.XMLDOM"),e.async=!1,e.loadXML(t),e}}return $.parseXml(t)},parseJSON:function(string){return window.JSON&&window.JSON.parse?$.parseJSON=window.JSON.parse:$.parseJSON=function(string){return eval("("+string+")")},$.parseJSON(string)},imageFormatSupported:function(t){return t=t||"",!!FILEFORMATS[t.toLowerCase()]}});var nullfunction=function(t){};$.console=window.console||{log:nullfunction,debug:nullfunction,info:nullfunction,warn:nullfunction,error:nullfunction,assert:nullfunction},$.Browser={vendor:$.BROWSERS.UNKNOWN,version:0,alpha:!0};var FILEFORMATS={bmp:!1,jpeg:!0,jpg:!0,png:!0,tif:!1,wdp:!1},URLPARAMS={};function getOffsetParent(t,e){return e&&t!=document.body?document.body:t.offsetParent}(function(){var t,e=navigator.appVersion,n=navigator.userAgent;switch(navigator.appName){case"Microsoft Internet Explorer":window.attachEvent&&window.ActiveXObject&&($.Browser.vendor=$.BROWSERS.IE,$.Browser.version=parseFloat(n.substring(n.indexOf("MSIE")+5,n.indexOf(";",n.indexOf("MSIE")))));break;case"Netscape":window.addEventListener&&(n.indexOf("Firefox")>=0?($.Browser.vendor=$.BROWSERS.FIREFOX,$.Browser.version=parseFloat(n.substring(n.indexOf("Firefox")+8))):n.indexOf("Safari")>=0?($.Browser.vendor=n.indexOf("Chrome")>=0?$.BROWSERS.CHROME:$.BROWSERS.SAFARI,$.Browser.version=parseFloat(n.substring(n.substring(0,n.indexOf("Safari")).lastIndexOf("/")+1,n.indexOf("Safari")))):(t=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"),null!==t.exec(n)&&($.Browser.vendor=$.BROWSERS.IE,$.Browser.version=parseFloat(RegExp.$1))));break;case"Opera":$.Browser.vendor=$.BROWSERS.OPERA,$.Browser.version=parseFloat(e);break}var r,i,o,s=window.location.search.substring(1),a=s.split("&");for(o=0;o<a.length;o++)if(r=a[o],i=r.indexOf("="),i>0){var c=r.substring(0,i),l=r.substring(i+1);try{URLPARAMS[c]=decodeURIComponent(l)}catch(u){$.console.error("Ignoring malformed URL parameter: %s=%s",c,l)}}$.Browser.alpha=!($.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<9||$.Browser.vendor==$.BROWSERS.CHROME&&$.Browser.version<2),$.Browser.opacity=!($.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<9)})(),function(t){var e=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame,n=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||t.msCancelAnimationFrame;if(e&&n)$.requestAnimationFrame=function(){return e.apply(t,arguments)},$.cancelAnimationFrame=function(){return n.apply(t,arguments)};else{var r,i=[],o=[],s=0;$.requestAnimationFrame=function(t){return i.push([++s,t]),r||(r=setInterval((function(){if(i.length){var t=$.now(),e=o;o=i,i=e;while(o.length)o.shift()[1](t)}else clearInterval(r),r=void 0}),20)),s},$.cancelAnimationFrame=function(t){var e,n;for(e=0,n=i.length;e<n;e+=1)if(i[e][0]===t)return void i.splice(e,1);for(e=0,n=o.length;e<n;e+=1)if(o[e][0]===t)return void o.splice(e,1)}}}(window)}(OpenSeadragon),function(t,e){__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=e,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(0,(function(){return OpenSeadragon})),function(t){var e={supportsFullScreen:!1,isFullScreen:function(){return!1},getFullScreenElement:function(){return null},requestFullScreen:function(){},exitFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",fullScreenErrorEventName:""};document.exitFullscreen?(e.supportsFullScreen=!0,e.getFullScreenElement=function(){return document.fullscreenElement},e.requestFullScreen=function(t){return t.requestFullscreen()},e.exitFullScreen=function(){document.exitFullscreen()},e.fullScreenEventName="fullscreenchange",e.fullScreenErrorEventName="fullscreenerror"):document.msExitFullscreen?(e.supportsFullScreen=!0,e.getFullScreenElement=function(){return document.msFullscreenElement},e.requestFullScreen=function(t){return t.msRequestFullscreen()},e.exitFullScreen=function(){document.msExitFullscreen()},e.fullScreenEventName="MSFullscreenChange",e.fullScreenErrorEventName="MSFullscreenError"):document.webkitExitFullscreen?(e.supportsFullScreen=!0,e.getFullScreenElement=function(){return document.webkitFullscreenElement},e.requestFullScreen=function(t){return t.webkitRequestFullscreen()},e.exitFullScreen=function(){document.webkitExitFullscreen()},e.fullScreenEventName="webkitfullscreenchange",e.fullScreenErrorEventName="webkitfullscreenerror"):document.webkitCancelFullScreen?(e.supportsFullScreen=!0,e.getFullScreenElement=function(){return document.webkitCurrentFullScreenElement},e.requestFullScreen=function(t){return t.webkitRequestFullScreen()},e.exitFullScreen=function(){document.webkitCancelFullScreen()},e.fullScreenEventName="webkitfullscreenchange",e.fullScreenErrorEventName="webkitfullscreenerror"):document.mozCancelFullScreen&&(e.supportsFullScreen=!0,e.getFullScreenElement=function(){return document.mozFullScreenElement},e.requestFullScreen=function(t){return t.mozRequestFullScreen()},e.exitFullScreen=function(){document.mozCancelFullScreen()},e.fullScreenEventName="mozfullscreenchange",e.fullScreenErrorEventName="mozfullscreenerror"),e.isFullScreen=function(){return null!==e.getFullScreenElement()},e.cancelFullScreen=function(){t.console.error("cancelFullScreen is deprecated. Use exitFullScreen instead."),e.exitFullScreen()},t.extend(t,e)}(OpenSeadragon),function(t){t.EventSource=function(){this.events={}},t.EventSource.prototype={addOnceHandler:function(t,e,n,r){var i=this;r=r||1;var o=0,s=function(n){o++,o===r&&i.removeHandler(t,s),e(n)};this.addHandler(t,s,n)},addHandler:function(e,n,r){var i=this.events[e];i||(this.events[e]=i=[]),n&&t.isFunction(n)&&(i[i.length]={handler:n,userData:r||null})},removeHandler:function(e,n){var r,i=this.events[e],o=[];if(i&&t.isArray(i)){for(r=0;r<i.length;r++)i[r].handler!==n&&o.push(i[r]);this.events[e]=o}},removeAllHandlers:function(t){if(t)this.events[t]=[];else for(var e in this.events)this.events[e]=[]},getHandler:function(t){var e=this.events[t];return e&&e.length?(e=1===e.length?[e[0]]:Array.apply(null,e),function(t,n){var r,i=e.length;for(r=0;r<i;r++)e[r]&&(n.eventSource=t,n.userData=e[r].userData,e[r].handler(n))}):null},raiseEvent:function(t,e){var n=this.getHandler(t);n&&(e||(e={}),n(this,e))}}}(OpenSeadragon),function(t){var e=[],n={};function r(e){var r,i=n[e.hash],o=i.activePointersLists.length;for(r=0;r<o;r++)i.activePointersLists[r].captureCount>0&&(t.removeEvent(t.MouseTracker.captureElement,"mousemove",i.mousemovecaptured,!0),t.removeEvent(t.MouseTracker.captureElement,"mouseup",i.mouseupcaptured,!0),t.removeEvent(t.MouseTracker.captureElement,t.MouseTracker.unprefixedPointerEvents?"pointermove":"MSPointerMove",i.pointermovecaptured,!0),t.removeEvent(t.MouseTracker.captureElement,t.MouseTracker.unprefixedPointerEvents?"pointerup":"MSPointerUp",i.pointerupcaptured,!0),t.removeEvent(t.MouseTracker.captureElement,"touchmove",i.touchmovecaptured,!0),t.removeEvent(t.MouseTracker.captureElement,"touchend",i.touchendcaptured,!0),i.activePointersLists[r].captureCount=0);for(r=0;r<o;r++)i.activePointersLists.pop()}function i(e){var i,o,s=n[e.hash];if(!s.tracking){for(o=0;o<t.MouseTracker.subscribeEvents.length;o++)i=t.MouseTracker.subscribeEvents[o],t.addEvent(e.element,i,s[i],!1);r(e),s.tracking=!0}}function o(e){var i,o,s=n[e.hash];if(s.tracking){for(o=0;o<t.MouseTracker.subscribeEvents.length;o++)i=t.MouseTracker.subscribeEvents[o],t.removeEvent(e.element,i,s[i],!1);r(e),s.tracking=!1}}function s(e,r){var i=n[e.hash];if("pointerevent"===r)return{upName:t.MouseTracker.unprefixedPointerEvents?"pointerup":"MSPointerUp",upHandler:i.pointerupcaptured,moveName:t.MouseTracker.unprefixedPointerEvents?"pointermove":"MSPointerMove",moveHandler:i.pointermovecaptured};if("mouse"===r)return{upName:"mouseup",upHandler:i.mouseupcaptured,moveName:"mousemove",moveHandler:i.mousemovecaptured};if("touch"===r)return{upName:"touchend",upHandler:i.touchendcaptured,moveName:"touchmove",moveHandler:i.touchmovecaptured};throw new Error("MouseTracker.getCaptureEventParams: Unknown pointer type.")}function a(e,n,r){var i,o=e.getActivePointersListByType(n);o.captureCount+=r||1,1===o.captureCount&&(t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?e.element.setCapture(!0):(i=s(e,t.MouseTracker.havePointerEvents?"pointerevent":n),gt&&vt(window.top)&&t.addEvent(window.top,i.upName,i.upHandler,!0),t.addEvent(t.MouseTracker.captureElement,i.upName,i.upHandler,!0),t.addEvent(t.MouseTracker.captureElement,i.moveName,i.moveHandler,!0)))}function c(e,n,r){var i,o=e.getActivePointersListByType(n);o.captureCount-=r||1,0===o.captureCount&&(t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?e.element.releaseCapture():(i=s(e,t.MouseTracker.havePointerEvents?"pointerevent":n),gt&&vt(window.top)&&t.removeEvent(window.top,i.upName,i.upHandler,!0),t.removeEvent(t.MouseTracker.captureElement,i.moveName,i.moveHandler,!0),t.removeEvent(t.MouseTracker.captureElement,i.upName,i.upHandler,!0)))}function l(e){var n;if(t.MouseTracker.unprefixedPointerEvents)n=e.pointerType;else switch(e.pointerType){case 2:n="touch";break;case 3:n="pen";break;case 4:n="mouse";break;default:n=""}return n}function u(e){return t.getMousePosition(e)}function h(t,e){return f(u(t),e)}function f(e,n){var r=t.getElementOffset(n);return e.minus(r)}function p(e,n){return new t.Point((e.x+n.x)/2,(e.y+n.y)/2)}function d(e,n){e.clickHandler&&t.cancelEvent(n)}function g(e,n){e.dblClickHandler&&t.cancelEvent(n)}function v(e,n){var r;e.keyDownHandler&&(n=t.getEvent(n),r=e.keyDownHandler({eventSource:e,keyCode:n.keyCode?n.keyCode:n.charCode,ctrl:n.ctrlKey,shift:n.shiftKey,alt:n.altKey,meta:n.metaKey,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),r||t.cancelEvent(n))}function m(e,n){var r;e.keyUpHandler&&(n=t.getEvent(n),r=e.keyUpHandler({eventSource:e,keyCode:n.keyCode?n.keyCode:n.charCode,ctrl:n.ctrlKey,shift:n.shiftKey,alt:n.altKey,meta:n.metaKey,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),r||t.cancelEvent(n))}function y(e,n){var r;e.keyHandler&&(n=t.getEvent(n),r=e.keyHandler({eventSource:e,keyCode:n.keyCode?n.keyCode:n.charCode,ctrl:n.ctrlKey,shift:n.shiftKey,alt:n.altKey,meta:n.metaKey,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),r||t.cancelEvent(n))}function b(e,n){var r;e.focusHandler&&(n=t.getEvent(n),r=e.focusHandler({eventSource:e,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),!1===r&&t.cancelEvent(n))}function w(e,n){var r;e.blurHandler&&(n=t.getEvent(n),r=e.blurHandler({eventSource:e,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),!1===r&&t.cancelEvent(n))}function _(t,e){S(t,e,e)}function x(e,n){n=t.getEvent(n);var r={target:n.target||n.srcElement,type:"wheel",shiftKey:n.shiftKey||!1,clientX:n.clientX,clientY:n.clientY,pageX:n.pageX?n.pageX:n.clientX,pageY:n.pageY?n.pageY:n.clientY,deltaMode:"MozMousePixelScroll"==n.type?0:1,deltaX:0,deltaZ:0};"mousewheel"==t.MouseTracker.wheelEventName?r.deltaY=-n.wheelDelta/t.DEFAULT_SETTINGS.pixelsPerWheelLine:r.deltaY=n.detail,S(e,r,n)}function S(e,n,r){var i,o=0;o=n.deltaY<0?1:-1,e.scrollHandler&&(i=e.scrollHandler({eventSource:e,pointerType:"mouse",position:h(n,e.element),scroll:o,shift:n.shiftKey,isTouchEvent:!1,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===i&&t.cancelEvent(r))}function T(t,e){if(t===e)return!1;while(e&&e!==t)e=e.parentNode;return e===t}function E(e,n){n=t.getEvent(n),k(e,n)}function C(e,n){n=t.getEvent(n),n.currentTarget===n.relatedTarget||T(n.currentTarget,n.relatedTarget)||k(e,n)}function k(e,n){var r={id:t.MouseTracker.mousePointerId,type:"mouse",isPrimary:!0,currentPos:u(n),currentTime:t.now()};ct(e,n,[r])}function A(e,n){n=t.getEvent(n),P(e,n)}function O(e,n){n=t.getEvent(n),n.currentTarget===n.relatedTarget||T(n.currentTarget,n.relatedTarget)||P(e,n)}function P(e,n){var r={id:t.MouseTracker.mousePointerId,type:"mouse",isPrimary:!0,currentPos:u(n),currentTime:t.now()};lt(e,n,[r])}function R(e){return t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?1===e?0:2===e?2:4===e?1:-1:e}function L(e,n){var r;n=t.getEvent(n),r={id:t.MouseTracker.mousePointerId,type:"mouse",isPrimary:!0,currentPos:u(n),currentTime:t.now()},ut(e,n,[r],R(n.button))&&(t.stopEvent(n),a(e,"mouse")),(e.clickHandler||e.dblClickHandler||e.pressHandler||e.dragHandler||e.dragEndHandler)&&t.cancelEvent(n)}function I(t,e){j(t,e)}function M(e,n){j(e,n),t.stopEvent(n)}function j(e,n){var r;n=t.getEvent(n),r={id:t.MouseTracker.mousePointerId,type:"mouse",isPrimary:!0,currentPos:u(n),currentTime:t.now()},ht(e,n,[r],R(n.button))&&c(e,"mouse")}function B(t,e){N(t,e)}function D(e,n){N(e,n),t.stopEvent(n)}function N(e,n){var r;n=t.getEvent(n),r={id:t.MouseTracker.mousePointerId,type:"mouse",isPrimary:!0,currentPos:u(n),currentTime:t.now()},ft(e,n,[r])}function F(t,e,n){var r,i=n.getLength(),o=[];if("touch"===n.type||n.contacts>0){for(r=0;r<i;r++)o.push(n.getByIndex(r));o.length>0&&(ht(t,e,o,0),n.captureCount=1,c(t,n.type),lt(t,e,o))}}function H(n,r){var i,o,s,c,l=r.changedTouches.length,h=[],f=n.getActivePointersListByType("touch");for(i=t.now(),f.getLength()>r.touches.length-l&&(t.console.warn("Tracked touch contact count doesn't match event.touches.length. Removing all tracked touch pointers."),F(n,r,f)),o=0;o<l;o++)h.push({id:r.changedTouches[o].identifier,type:"touch",currentPos:u(r.changedTouches[o]),currentTime:i});for(ct(n,r,h),o=0;o<e.length;o++)if(e[o]!==n&&e[o].isTracking()&&T(e[o].element,n.element)){for(c=[],s=0;s<l;s++)c.push({id:r.changedTouches[s].identifier,type:"touch",currentPos:u(r.changedTouches[s]),currentTime:i});ct(e[o],r,c)}ut(n,r,h,0)&&(t.stopEvent(r),a(n,"touch",l)),t.cancelEvent(r)}function z(t,e){U(t,e)}function $(e,n){U(e,n),t.stopEvent(n)}function U(n,r){var i,o,s,a,l=r.changedTouches.length,h=[];for(i=t.now(),o=0;o<l;o++)h.push({id:r.changedTouches[o].identifier,type:"touch",currentPos:u(r.changedTouches[o]),currentTime:i});for(ht(n,r,h,0)&&c(n,"touch",l),lt(n,r,h),o=0;o<e.length;o++)if(e[o]!==n&&e[o].isTracking()&&T(e[o].element,n.element)){for(a=[],s=0;s<l;s++)a.push({id:r.changedTouches[s].identifier,type:"touch",currentPos:u(r.changedTouches[s]),currentTime:i});lt(e[o],r,a)}t.cancelEvent(r)}function q(t,e){W(t,e)}function V(e,n){W(e,n),t.stopEvent(n)}function W(e,n){var r,i=n.changedTouches.length,o=[];for(r=0;r<i;r++)o.push({id:n.changedTouches[r].identifier,type:"touch",currentPos:u(n.changedTouches[r]),currentTime:t.now()});ft(e,n,o),t.cancelEvent(n)}function G(t,e){var n=t.getActivePointersListByType("touch");F(t,e,n)}function Z(t,e){return e.stopPropagation(),e.preventDefault(),!1}function X(t,e){return e.stopPropagation(),e.preventDefault(),!1}function Y(e,n){var r;n.currentTarget===n.relatedTarget||T(n.currentTarget,n.relatedTarget)||(r={id:n.pointerId,type:l(n),isPrimary:n.isPrimary,currentPos:u(n),currentTime:t.now()},ct(e,n,[r]))}function K(e,n){var r;n.currentTarget===n.relatedTarget||T(n.currentTarget,n.relatedTarget)||(r={id:n.pointerId,type:l(n),isPrimary:n.isPrimary,currentPos:u(n),currentTime:t.now()},lt(e,n,[r]))}function J(e,n){var r;r={id:n.pointerId,type:l(n),isPrimary:n.isPrimary,currentPos:u(n),currentTime:t.now()},ut(e,n,[r],n.button)&&(t.stopEvent(n),a(e,r.type)),(e.clickHandler||e.dblClickHandler||e.pressHandler||e.dragHandler||e.dragEndHandler||e.pinchHandler)&&t.cancelEvent(n)}function Q(t,e){et(t,e)}function tt(e,n){var r=e.getActivePointersListByType(l(n));r.getById(n.pointerId)&&et(e,n),t.stopEvent(n)}function et(e,n){var r;r={id:n.pointerId,type:l(n),isPrimary:n.isPrimary,currentPos:u(n),currentTime:t.now()},ht(e,n,[r],n.button)&&c(e,r.type)}function nt(t,e){it(t,e)}function rt(e,n){var r=e.getActivePointersListByType(l(n));r.getById(n.pointerId)&&it(e,n),t.stopEvent(n)}function it(e,n){var r;r={id:n.pointerId,type:l(n),isPrimary:n.isPrimary,currentPos:u(n),currentTime:t.now()},ft(e,n,[r])}function ot(t,e){var n;n={id:e.pointerId,type:l(e)},pt(t,e,[n])}function st(t,e){return Object.prototype.hasOwnProperty.call(e,"isPrimary")||(0===t.getLength()?e.isPrimary=!0:e.isPrimary=!1),e.speed=0,e.direction=0,e.contactPos=e.currentPos,e.contactTime=e.currentTime,e.lastPos=e.currentPos,e.lastTime=e.currentTime,t.add(e)}function at(t,e){var n,r;return t.getById(e.id)?(n=t.removeById(e.id),Object.prototype.hasOwnProperty.call(e,"isPrimary")||(r=t.getPrimary(),r||(r=t.getByIndex(0),r&&(r.isPrimary=!0)))):n=t.getLength(),n}function ct(e,n,r){var i,o,s,a,c=e.getActivePointersListByType(r[0].type),l=r.length;for(i=0;i<l;i++)o=r[i],s=c.getById(o.id),s?(s.insideElement=!0,s.lastPos=s.currentPos,s.lastTime=s.currentTime,s.currentPos=o.currentPos,s.currentTime=o.currentTime,o=s):(o.captured=!1,o.insideElementPressed=!1,o.insideElement=!0,st(c,o)),e.enterHandler&&(a=e.enterHandler({eventSource:e,pointerType:o.type,position:f(o.currentPos,e.element),buttons:c.buttons,pointers:e.getActivePointerCount(),insideElementPressed:o.insideElementPressed,buttonDownAny:0!==c.buttons,isTouchEvent:"touch"===o.type,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),!1===a&&t.cancelEvent(n))}function lt(e,n,r){var i,o,s,a,c=e.getActivePointersListByType(r[0].type),l=r.length;for(i=0;i<l;i++)o=r[i],s=c.getById(o.id),s&&(s.captured?(s.insideElement=!1,s.lastPos=s.currentPos,s.lastTime=s.currentTime,s.currentPos=o.currentPos,s.currentTime=o.currentTime):at(c,s),o=s),e.exitHandler&&(a=e.exitHandler({eventSource:e,pointerType:o.type,position:o.currentPos&&f(o.currentPos,e.element),buttons:c.buttons,pointers:e.getActivePointerCount(),insideElementPressed:!!s&&s.insideElementPressed,buttonDownAny:0!==c.buttons,isTouchEvent:"touch"===o.type,originalEvent:n,preventDefaultAction:!1,userData:e.userData}),!1===a&&t.cancelEvent(n))}function ut(e,r,i,o){var s,a,c,l,u=n[e.hash],h=e.getActivePointersListByType(i[0].type),d=i.length;"undefined"!==typeof r.buttons?h.buttons=r.buttons:t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?0===o?h.buttons+=1:1===o?h.buttons+=4:2===o?h.buttons+=2:3===o?h.buttons+=8:4===o?h.buttons+=16:5===o&&(h.buttons+=32):0===o?h.buttons|=1:1===o?h.buttons|=4:2===o?h.buttons|=2:3===o?h.buttons|=8:4===o?h.buttons|=16:5===o&&(h.buttons|=32);var g=e.getActivePointersListsExceptType(i[0].type);for(a=0;a<g.length;a++)F(e,r,g[a]);if(0!==o)return e.nonPrimaryPressHandler&&(s=e.nonPrimaryPressHandler({eventSource:e,pointerType:i[0].type,position:f(i[0].currentPos,e.element),button:o,buttons:h.buttons,isTouchEvent:"touch"===i[0].type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)),!1;for(a=0;a<d;a++)c=i[a],l=h.getById(c.id),l?(l.captured=!0,l.insideElementPressed=!0,l.insideElement=!0,l.contactPos=c.currentPos,l.contactTime=c.currentTime,l.lastPos=l.currentPos,l.lastTime=l.currentTime,l.currentPos=c.currentPos,l.currentTime=c.currentTime,c=l):(c.captured=!0,c.insideElementPressed=!0,c.insideElement=!0,st(h,c)),h.addContact(),(e.dragHandler||e.dragEndHandler||e.pinchHandler)&&t.MouseTracker.gesturePointVelocityTracker.addPoint(e,c),1===h.contacts?e.pressHandler&&(s=e.pressHandler({eventSource:e,pointerType:c.type,position:f(c.contactPos,e.element),buttons:h.buttons,isTouchEvent:"touch"===c.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)):2===h.contacts&&e.pinchHandler&&"touch"===c.type&&(u.pinchGPoints=h.asArray(),u.lastPinchDist=u.currentPinchDist=u.pinchGPoints[0].currentPos.distanceTo(u.pinchGPoints[1].currentPos),u.lastPinchCenter=u.currentPinchCenter=p(u.pinchGPoints[0].currentPos,u.pinchGPoints[1].currentPos));return!0}function ht(e,r,i,o){var s,a,c,l,u,h,d,g=n[e.hash],v=e.getActivePointersListByType(i[0].type),m=i.length,y=!1,b=!1;if("undefined"!==typeof r.buttons?v.buttons=r.buttons:t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?0===o?v.buttons-=1:1===o?v.buttons-=4:2===o?v.buttons-=2:3===o?v.buttons-=8:4===o?v.buttons-=16:5===o&&(v.buttons-=32):0===o?v.buttons^=-2:1===o?v.buttons^=-5:2===o?v.buttons^=-3:3===o?v.buttons^=-9:4===o?v.buttons^=-17:5===o&&(v.buttons^=-33),0!==o){e.nonPrimaryReleaseHandler&&(s=e.nonPrimaryReleaseHandler({eventSource:e,pointerType:i[0].type,position:f(i[0].currentPos,e.element),button:o,buttons:v.buttons,isTouchEvent:"touch"===i[0].type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r));var w=e.getActivePointersListByType("mouse");return F(e,r,w),!1}if("undefined"===typeof i[0].currentPos)return F(e,r,v),!1;for(l=0;l<m;l++)u=i[l],h=v.getById(u.id),h&&(h.captured&&(h.captured=!1,y=!0,b=!0),h.lastPos=h.currentPos,h.lastTime=h.currentTime,h.currentPos=u.currentPos,h.currentTime=u.currentTime,h.insideElement||at(v,h),a=h.currentPos,c=h.currentTime,b?(v.removeContact(),(e.dragHandler||e.dragEndHandler||e.pinchHandler)&&t.MouseTracker.gesturePointVelocityTracker.removePoint(e,h),0===v.contacts?(e.releaseHandler&&(s=e.releaseHandler({eventSource:e,pointerType:h.type,position:f(a,e.element),buttons:v.buttons,insideElementPressed:h.insideElementPressed,insideElementReleased:h.insideElement,isTouchEvent:"touch"===h.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)),e.dragEndHandler&&!h.currentPos.equals(h.contactPos)&&(s=e.dragEndHandler({eventSource:e,pointerType:h.type,position:f(h.currentPos,e.element),speed:h.speed,direction:h.direction,shift:r.shiftKey,isTouchEvent:"touch"===h.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)),(e.clickHandler||e.dblClickHandler)&&h.insideElement&&(d=c-h.contactTime<=e.clickTimeThreshold&&h.contactPos.distanceTo(a)<=e.clickDistThreshold,e.clickHandler&&(s=e.clickHandler({eventSource:e,pointerType:h.type,position:f(h.currentPos,e.element),quick:d,shift:r.shiftKey,isTouchEvent:"touch"===h.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)),e.dblClickHandler&&d&&(v.clicks++,1===v.clicks?(g.lastClickPos=a,g.dblClickTimeOut=setTimeout((function(){v.clicks=0}),e.dblClickTimeThreshold)):2===v.clicks&&(clearTimeout(g.dblClickTimeOut),v.clicks=0,g.lastClickPos.distanceTo(a)<=e.dblClickDistThreshold&&(s=e.dblClickHandler({eventSource:e,pointerType:h.type,position:f(h.currentPos,e.element),shift:r.shiftKey,isTouchEvent:"touch"===h.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)),g.lastClickPos=null)))):2===v.contacts&&e.pinchHandler&&"touch"===h.type&&(g.pinchGPoints=v.asArray(),g.lastPinchDist=g.currentPinchDist=g.pinchGPoints[0].currentPos.distanceTo(g.pinchGPoints[1].currentPos),g.lastPinchCenter=g.currentPinchCenter=p(g.pinchGPoints[0].currentPos,g.pinchGPoints[1].currentPos))):e.releaseHandler&&(s=e.releaseHandler({eventSource:e,pointerType:h.type,position:f(a,e.element),buttons:v.buttons,insideElementPressed:h.insideElementPressed,insideElementReleased:h.insideElement,isTouchEvent:"touch"===h.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===s&&t.cancelEvent(r)));return y}function ft(e,r,i){var o,s,a,c,l,u,h=n[e.hash],d=e.getActivePointersListByType(i[0].type),g=i.length;for("undefined"!==typeof r.buttons&&(d.buttons=r.buttons),o=0;o<g;o++)s=i[o],a=d.getById(s.id),a?(Object.prototype.hasOwnProperty.call(s,"isPrimary")&&(a.isPrimary=s.isPrimary),a.lastPos=a.currentPos,a.lastTime=a.currentTime,a.currentPos=s.currentPos,a.currentTime=s.currentTime):(s.captured=!1,s.insideElementPressed=!1,s.insideElement=!0,st(d,s));e.stopHandler&&"mouse"===i[0].type&&(clearTimeout(e.stopTimeOut),e.stopTimeOut=setTimeout((function(){dt(e,r,i[0].type)}),e.stopDelay)),0===d.contacts?e.moveHandler&&(u=e.moveHandler({eventSource:e,pointerType:i[0].type,position:f(i[0].currentPos,e.element),buttons:d.buttons,isTouchEvent:"touch"===i[0].type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===u&&t.cancelEvent(r)):1===d.contacts?(e.moveHandler&&(a=d.asArray()[0],u=e.moveHandler({eventSource:e,pointerType:a.type,position:f(a.currentPos,e.element),buttons:d.buttons,isTouchEvent:"touch"===a.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===u&&t.cancelEvent(r)),e.dragHandler&&(a=d.asArray()[0],l=a.currentPos.minus(a.lastPos),u=e.dragHandler({eventSource:e,pointerType:a.type,position:f(a.currentPos,e.element),buttons:d.buttons,delta:l,speed:a.speed,direction:a.direction,shift:r.shiftKey,isTouchEvent:"touch"===a.type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===u&&t.cancelEvent(r))):2===d.contacts&&(e.moveHandler&&(c=d.asArray(),u=e.moveHandler({eventSource:e,pointerType:c[0].type,position:f(p(c[0].currentPos,c[1].currentPos),e.element),buttons:d.buttons,isTouchEvent:"touch"===c[0].type,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===u&&t.cancelEvent(r)),e.pinchHandler&&"touch"===i[0].type&&(l=h.pinchGPoints[0].currentPos.distanceTo(h.pinchGPoints[1].currentPos),l!=h.currentPinchDist&&(h.lastPinchDist=h.currentPinchDist,h.currentPinchDist=l,h.lastPinchCenter=h.currentPinchCenter,h.currentPinchCenter=p(h.pinchGPoints[0].currentPos,h.pinchGPoints[1].currentPos),u=e.pinchHandler({eventSource:e,pointerType:"touch",gesturePoints:h.pinchGPoints,lastCenter:f(h.lastPinchCenter,e.element),center:f(h.currentPinchCenter,e.element),lastDistance:h.lastPinchDist,distance:h.currentPinchDist,shift:r.shiftKey,originalEvent:r,preventDefaultAction:!1,userData:e.userData}),!1===u&&t.cancelEvent(r))))}function pt(t,e,n){ht(t,e,n,0),lt(t,e,n)}function dt(t,e,n){t.stopHandler&&t.stopHandler({eventSource:t,pointerType:n,position:h(e,t.element),buttons:t.getActivePointersListByType(n).buttons,isTouchEvent:"touch"===n,originalEvent:e,preventDefaultAction:!1,userData:t.userData})}t.MouseTracker=function(r){e.push(this);var i=arguments;t.isPlainObject(r)||(r={element:i[0],clickTimeThreshold:i[1],clickDistThreshold:i[2]}),this.hash=Math.random(),this.element=t.getElement(r.element),this.clickTimeThreshold=r.clickTimeThreshold||t.DEFAULT_SETTINGS.clickTimeThreshold,this.clickDistThreshold=r.clickDistThreshold||t.DEFAULT_SETTINGS.clickDistThreshold,this.dblClickTimeThreshold=r.dblClickTimeThreshold||t.DEFAULT_SETTINGS.dblClickTimeThreshold,this.dblClickDistThreshold=r.dblClickDistThreshold||t.DEFAULT_SETTINGS.dblClickDistThreshold,this.userData=r.userData||null,this.stopDelay=r.stopDelay||50,this.enterHandler=r.enterHandler||null,this.exitHandler=r.exitHandler||null,this.pressHandler=r.pressHandler||null,this.nonPrimaryPressHandler=r.nonPrimaryPressHandler||null,this.releaseHandler=r.releaseHandler||null,this.nonPrimaryReleaseHandler=r.nonPrimaryReleaseHandler||null,this.moveHandler=r.moveHandler||null,this.scrollHandler=r.scrollHandler||null,this.clickHandler=r.clickHandler||null,this.dblClickHandler=r.dblClickHandler||null,this.dragHandler=r.dragHandler||null,this.dragEndHandler=r.dragEndHandler||null,this.pinchHandler=r.pinchHandler||null,this.stopHandler=r.stopHandler||null,this.keyDownHandler=r.keyDownHandler||null,this.keyUpHandler=r.keyUpHandler||null,this.keyHandler=r.keyHandler||null,this.focusHandler=r.focusHandler||null,this.blurHandler=r.blurHandler||null;var o=this;n[this.hash]={click:function(t){d(o,t)},dblclick:function(t){g(o,t)},keydown:function(t){v(o,t)},keyup:function(t){m(o,t)},keypress:function(t){y(o,t)},focus:function(t){b(o,t)},blur:function(t){w(o,t)},wheel:function(t){_(o,t)},mousewheel:function(t){x(o,t)},DOMMouseScroll:function(t){x(o,t)},MozMousePixelScroll:function(t){x(o,t)},mouseenter:function(t){E(o,t)},mouseleave:function(t){A(o,t)},mouseover:function(t){C(o,t)},mouseout:function(t){O(o,t)},mousedown:function(t){L(o,t)},mouseup:function(t){I(o,t)},mouseupcaptured:function(t){M(o,t)},mousemove:function(t){B(o,t)},mousemovecaptured:function(t){D(o,t)},touchstart:function(t){H(o,t)},touchend:function(t){z(o,t)},touchendcaptured:function(t){$(o,t)},touchmove:function(t){q(o,t)},touchmovecaptured:function(t){V(o,t)},touchcancel:function(t){G(o,t)},gesturestart:function(t){Z(o,t)},gesturechange:function(t){X(o,t)},pointerover:function(t){Y(o,t)},MSPointerOver:function(t){Y(o,t)},pointerout:function(t){K(o,t)},MSPointerOut:function(t){K(o,t)},pointerdown:function(t){J(o,t)},MSPointerDown:function(t){J(o,t)},pointerup:function(t){Q(o,t)},MSPointerUp:function(t){Q(o,t)},pointermove:function(t){nt(o,t)},MSPointerMove:function(t){nt(o,t)},pointercancel:function(t){ot(o,t)},MSPointerCancel:function(t){ot(o,t)},pointerupcaptured:function(t){tt(o,t)},pointermovecaptured:function(t){rt(o,t)},tracking:!1,activePointersLists:[],lastClickPos:null,dblClickTimeOut:null,pinchGPoints:[],lastPinchDist:0,currentPinchDist:0,lastPinchCenter:null,currentPinchCenter:null},r.startDisabled||this.setTracking(!0)},t.MouseTracker.prototype={destroy:function(){var t;for(o(this),this.element=null,t=0;t<e.length;t++)if(e[t]===this){e.splice(t,1);break}n[this.hash]=null,delete n[this.hash]},isTracking:function(){return n[this.hash].tracking},setTracking:function(t){return t?i(this):o(this),this},getActivePointersListsExceptType:function(t){for(var e=n[this.hash],r=[],i=0;i<e.activePointersLists.length;++i)e.activePointersLists[i].type!==t&&r.push(e.activePointersLists[i]);return r},getActivePointersListByType:function(e){var r,i,o=n[this.hash],s=o.activePointersLists.length;for(r=0;r<s;r++)if(o.activePointersLists[r].type===e)return o.activePointersLists[r];return i=new t.MouseTracker.GesturePointList(e),o.activePointersLists.push(i),i},getActivePointerCount:function(){var t,e=n[this.hash],r=e.activePointersLists.length,i=0;for(t=0;t<r;t++)i+=e.activePointersLists[t].getLength();return i},enterHandler:function(){},exitHandler:function(){},pressHandler:function(){},nonPrimaryPressHandler:function(){},releaseHandler:function(){},nonPrimaryReleaseHandler:function(){},moveHandler:function(){},scrollHandler:function(){},clickHandler:function(){},dblClickHandler:function(){},dragHandler:function(){},dragEndHandler:function(){},pinchHandler:function(){},stopHandler:function(){},keyDownHandler:function(){},keyUpHandler:function(){},keyHandler:function(){},focusHandler:function(){},blurHandler:function(){}},t.MouseTracker.resetAllMouseTrackers=function(){for(var t=0;t<e.length;t++)e[t].isTracking()&&(e[t].setTracking(!1),e[t].setTracking(!0))},t.MouseTracker.gesturePointVelocityTracker=function(){var e=[],n=0,r=0,i=function(t,e){return t.hash.toString()+e.type+e.id.toString()},o=function(){var n,i,o,s,a,c,l=e.length,u=t.now();for(s=u-r,r=u,n=0;n<l;n++)i=e[n],o=i.gPoint,o.direction=Math.atan2(o.currentPos.y-i.lastPos.y,o.currentPos.x-i.lastPos.x),a=i.lastPos.distanceTo(o.currentPos),i.lastPos=o.currentPos,c=1e3*a/(s+1),o.speed=.75*c+.25*o.speed},s=function(s,a){var c=i(s,a);e.push({guid:c,gPoint:a,lastPos:a.currentPos}),1===e.length&&(r=t.now(),n=window.setInterval(o,50))},a=function(t,r){var o,s=i(t,r),a=e.length;for(o=0;o<a;o++)if(e[o].guid===s){e.splice(o,1),a--,0===a&&window.clearInterval(n);break}};return{addPoint:s,removePoint:a}}(),t.MouseTracker.captureElement=document,t.MouseTracker.wheelEventName=t.Browser.vendor==t.BROWSERS.IE&&t.Browser.version>8||"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",t.MouseTracker.supportsMouseCapture=function(){var e=document.createElement("div");return t.isFunction(e.setCapture)&&t.isFunction(e.releaseCapture)}(),t.MouseTracker.subscribeEvents=["click","dblclick","keydown","keyup","keypress","focus","blur",t.MouseTracker.wheelEventName],"DOMMouseScroll"==t.MouseTracker.wheelEventName&&t.MouseTracker.subscribeEvents.push("MozMousePixelScroll"),window.PointerEvent&&(window.navigator.pointerEnabled||t.Browser.vendor!==t.BROWSERS.IE)?(t.MouseTracker.havePointerEvents=!0,t.MouseTracker.subscribeEvents.push("pointerover","pointerout","pointerdown","pointerup","pointermove","pointercancel"),t.MouseTracker.unprefixedPointerEvents=!0,navigator.maxTouchPoints?t.MouseTracker.maxTouchPoints=navigator.maxTouchPoints:t.MouseTracker.maxTouchPoints=0,t.MouseTracker.haveMouseEnter=!1):window.MSPointerEvent&&window.navigator.msPointerEnabled?(t.MouseTracker.havePointerEvents=!0,t.MouseTracker.subscribeEvents.push("MSPointerOver","MSPointerOut","MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"),t.MouseTracker.unprefixedPointerEvents=!1,navigator.msMaxTouchPoints?t.MouseTracker.maxTouchPoints=navigator.msMaxTouchPoints:t.MouseTracker.maxTouchPoints=0,t.MouseTracker.haveMouseEnter=!1):(t.MouseTracker.havePointerEvents=!1,t.Browser.vendor===t.BROWSERS.IE&&t.Browser.version<9?(t.MouseTracker.subscribeEvents.push("mouseenter","mouseleave"),t.MouseTracker.haveMouseEnter=!0):(t.MouseTracker.subscribeEvents.push("mouseover","mouseout"),t.MouseTracker.haveMouseEnter=!1),t.MouseTracker.subscribeEvents.push("mousedown","mouseup","mousemove"),"ontouchstart"in window&&t.MouseTracker.subscribeEvents.push("touchstart","touchend","touchmove","touchcancel"),"ongesturestart"in window&&t.MouseTracker.subscribeEvents.push("gesturestart","gesturechange"),t.MouseTracker.mousePointerId="legacy-mouse",t.MouseTracker.maxTouchPoints=10),t.MouseTracker.GesturePointList=function(t){this._gPoints=[],this.type=t,this.buttons=0,this.contacts=0,this.clicks=0,this.captureCount=0},t.MouseTracker.GesturePointList.prototype={getLength:function(){return this._gPoints.length},asArray:function(){return this._gPoints},add:function(t){return this._gPoints.push(t)},removeById:function(t){var e,n=this._gPoints.length;for(e=0;e<n;e++)if(this._gPoints[e].id===t){this._gPoints.splice(e,1);break}return this._gPoints.length},getByIndex:function(t){return t<this._gPoints.length?this._gPoints[t]:null},getById:function(t){var e,n=this._gPoints.length;for(e=0;e<n;e++)if(this._gPoints[e].id===t)return this._gPoints[e];return null},getPrimary:function(t){var e,n=this._gPoints.length;for(e=0;e<n;e++)if(this._gPoints[e].isPrimary)return this._gPoints[e];return null},addContact:function(){++this.contacts,this.contacts>1&&("mouse"===this.type||"pen"===this.type)&&(this.contacts=1)},removeContact:function(){--this.contacts,this.contacts<0&&(this.contacts=0)}};var gt=function(){try{return window.self!==window.top}catch(t){return!0}}();function vt(t){try{return t.addEventListener&&t.removeEventListener}catch(e){return!1}}}(OpenSeadragon),function(t){t.ControlAnchor={NONE:0,TOP_LEFT:1,TOP_RIGHT:2,BOTTOM_RIGHT:3,BOTTOM_LEFT:4,ABSOLUTE:5},t.Control=function(e,n,r){var i=e.parentNode;"number"===typeof n&&(t.console.error("Passing an anchor directly into the OpenSeadragon.Control constructor is deprecated; please use an options object instead.  Support for this deprecated variant is scheduled for removal in December 2013"),n={anchor:n}),n.attachToViewer="undefined"===typeof n.attachToViewer||n.attachToViewer,this.autoFade="undefined"===typeof n.autoFade||n.autoFade,this.element=e,this.anchor=n.anchor,this.container=r,this.anchor==t.ControlAnchor.ABSOLUTE?(this.wrapper=t.makeNeutralElement("div"),this.wrapper.style.position="absolute",this.wrapper.style.top="number"==typeof n.top?n.top+"px":n.top,this.wrapper.style.left="number"==typeof n.left?n.left+"px":n.left,this.wrapper.style.height="number"==typeof n.height?n.height+"px":n.height,this.wrapper.style.width="number"==typeof n.width?n.width+"px":n.width,this.wrapper.style.margin="0px",this.wrapper.style.padding="0px",this.element.style.position="relative",this.element.style.top="0px",this.element.style.left="0px",this.element.style.height="100%",this.element.style.width="100%"):(this.wrapper=t.makeNeutralElement("div"),this.wrapper.style.display="inline-block",this.anchor==t.ControlAnchor.NONE&&(this.wrapper.style.width=this.wrapper.style.height="100%")),this.wrapper.appendChild(this.element),n.attachToViewer?this.anchor==t.ControlAnchor.TOP_RIGHT||this.anchor==t.ControlAnchor.BOTTOM_RIGHT?this.container.insertBefore(this.wrapper,this.container.firstChild):this.container.appendChild(this.wrapper):i.appendChild(this.wrapper)},t.Control.prototype={destroy:function(){this.wrapper.removeChild(this.element),this.container.removeChild(this.wrapper)},isVisible:function(){return"none"!=this.wrapper.style.display},setVisible:function(e){this.wrapper.style.display=e?this.anchor==t.ControlAnchor.ABSOLUTE?"block":"inline-block":"none"},setOpacity:function(e){this.element[t.SIGNAL]&&t.Browser.vendor==t.BROWSERS.IE?t.setElementOpacity(this.element,e,!0):t.setElementOpacity(this.wrapper,e,!0)}}}(OpenSeadragon),function(t){function e(t,e){var n,r=t.controls;for(n=r.length-1;n>=0;n--)if(r[n].element==e)return n;return-1}t.ControlDock=function(e){var n,r,i=["topleft","topright","bottomright","bottomleft"];for(t.extend(!0,this,{id:"controldock-"+t.now()+"-"+Math.floor(1e6*Math.random()),container:t.makeNeutralElement("div"),controls:[]},e),this.container.onsubmit=function(){return!1},this.element&&(this.element=t.getElement(this.element),this.element.appendChild(this.container),this.element.style.position="relative",this.container.style.width="100%",this.container.style.height="100%"),r=0;r<i.length;r++)n=i[r],this.controls[n]=t.makeNeutralElement("div"),this.controls[n].style.position="absolute",n.match("left")&&(this.controls[n].style.left="0px"),n.match("right")&&(this.controls[n].style.right="0px"),n.match("top")&&(this.controls[n].style.top="0px"),n.match("bottom")&&(this.controls[n].style.bottom="0px");this.container.appendChild(this.controls.topleft),this.container.appendChild(this.controls.topright),this.container.appendChild(this.controls.bottomright),this.container.appendChild(this.controls.bottomleft)},t.ControlDock.prototype={addControl:function(n,r){n=t.getElement(n);var i=null;if(!(e(this,n)>=0)){switch(r.anchor){case t.ControlAnchor.TOP_RIGHT:i=this.controls.topright,n.style.position="relative",n.style.paddingRight="0px",n.style.paddingTop="0px";break;case t.ControlAnchor.BOTTOM_RIGHT:i=this.controls.bottomright,n.style.position="relative",n.style.paddingRight="0px",n.style.paddingBottom="0px";break;case t.ControlAnchor.BOTTOM_LEFT:i=this.controls.bottomleft,n.style.position="relative",n.style.paddingLeft="0px",n.style.paddingBottom="0px";break;case t.ControlAnchor.TOP_LEFT:i=this.controls.topleft,n.style.position="relative",n.style.paddingLeft="0px",n.style.paddingTop="0px";break;case t.ControlAnchor.ABSOLUTE:i=this.container,n.style.margin="0px",n.style.padding="0px";break;default:case t.ControlAnchor.NONE:i=this.container,n.style.margin="0px",n.style.padding="0px";break}this.controls.push(new t.Control(n,r,i)),n.style.display="inline-block"}},removeControl:function(n){n=t.getElement(n);var r=e(this,n);return r>=0&&(this.controls[r].destroy(),this.controls.splice(r,1)),this},clearControls:function(){while(this.controls.length>0)this.controls.pop().destroy();return this},areControlsEnabled:function(){var t;for(t=this.controls.length-1;t>=0;t--)if(this.controls[t].isVisible())return!0;return!1},setControlsEnabled:function(t){var e;for(e=this.controls.length-1;e>=0;e--)this.controls[e].setVisible(t);return this}}}(OpenSeadragon),function(t){t.Placement=t.freezeObject({CENTER:0,TOP_LEFT:1,TOP:2,TOP_RIGHT:3,RIGHT:4,BOTTOM_RIGHT:5,BOTTOM:6,BOTTOM_LEFT:7,LEFT:8,properties:{0:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!1,isVerticallyCentered:!0,isBottom:!1},1:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!0,isVerticallyCentered:!1,isBottom:!1},2:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!0,isVerticallyCentered:!1,isBottom:!1},3:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!0,isVerticallyCentered:!1,isBottom:!1},4:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!1,isVerticallyCentered:!0,isBottom:!1},5:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!1,isVerticallyCentered:!1,isBottom:!0},6:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!1,isVerticallyCentered:!1,isBottom:!0},7:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!1,isVerticallyCentered:!1,isBottom:!0},8:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!1,isVerticallyCentered:!0,isBottom:!1}}})}(OpenSeadragon),function(t){var e={},n=1;function r(e){return e=t.getElement(e),new t.Point(0===e.clientWidth?1:e.clientWidth,0===e.clientHeight?1:e.clientHeight)}function i(e,n,r,i,o){var s=e;if("string"==t.type(n))if(n.match(/^\s*<.*>\s*$/))n=t.parseXml(n);else if(n.match(/^\s*[\{\[].*[\}\]]\s*$/))try{var a=t.parseJSON(n);n=a}catch(l){}function c(t,e){t.ready?i(t):(t.addHandler("ready",(function(){i(t)})),t.addHandler("open-failed",(function(t){o({message:t.message,source:e})})))}setTimeout((function(){if("string"==t.type(n))n=new t.TileSource({url:n,crossOriginPolicy:void 0!==r.crossOriginPolicy?r.crossOriginPolicy:e.crossOriginPolicy,ajaxWithCredentials:e.ajaxWithCredentials,ajaxHeaders:e.ajaxHeaders,useCanvas:e.useCanvas,success:function(t){i(t.tileSource)}}),n.addHandler("open-failed",(function(t){o(t)}));else if(t.isPlainObject(n)||n.nodeType)if(void 0!==n.crossOriginPolicy||void 0===r.crossOriginPolicy&&void 0===e.crossOriginPolicy||(n.crossOriginPolicy=void 0!==r.crossOriginPolicy?r.crossOriginPolicy:e.crossOriginPolicy),void 0===n.ajaxWithCredentials&&(n.ajaxWithCredentials=e.ajaxWithCredentials),void 0===n.useCanvas&&(n.useCanvas=e.useCanvas),t.isFunction(n.getTileUrl)){var a=new t.TileSource(n);a.getTileUrl=n.getTileUrl,i(a)}else{var l=t.TileSource.determineType(s,n);if(!l)return void o({message:"Unable to load TileSource",source:n});var u=l.prototype.configure.apply(s,[n]);c(new l(u),n)}else c(n,n)}))}function o(e,n){if(n instanceof t.Overlay)return n;var r=null;if(n.element)r=t.getElement(n.element);else{var i=n.id?n.id:"openseadragon-overlay-"+Math.floor(1e7*Math.random());r=t.getElement(n.id),r||(r=document.createElement("a"),r.href="#/overlay/"+i),r.id=i,t.addClass(r,n.className?n.className:"openseadragon-overlay")}var o=n.location,s=n.width,a=n.height;if(!o){var c=n.x,l=n.y;if(void 0!==n.px){var u=e.viewport.imageToViewportRectangle(new t.Rect(n.px,n.py,s||0,a||0));c=u.x,l=u.y,s=void 0!==s?u.width:void 0,a=void 0!==a?u.height:void 0}o=new t.Point(c,l)}var h=n.placement;return h&&"string"===t.type(h)&&(h=t.Placement[n.placement.toUpperCase()]),new t.Overlay({element:r,location:o,placement:h,onDraw:n.onDraw,checkResize:n.checkResize,width:s,height:a,rotationMode:n.rotationMode})}function s(t,e){var n;for(n=t.length-1;n>=0;n--)if(t[n].element===e)return n;return-1}function a(e,n){return t.requestAnimationFrame((function(){n(e)}))}function c(e){t.requestAnimationFrame((function(){u(e)}))}function l(e){e.autoHideControls&&(e.controlsShouldFade=!0,e.controlsFadeBeginTime=t.now()+e.controlsFadeDelay,window.setTimeout((function(){c(e)}),e.controlsFadeDelay))}function u(e){var n,r,i,o;if(e.controlsShouldFade){for(n=t.now(),r=n-e.controlsFadeBeginTime,i=1-r/e.controlsFadeLength,i=Math.min(1,i),i=Math.max(0,i),o=e.controls.length-1;o>=0;o--)e.controls[o].autoFade&&e.controls[o].setOpacity(i);i>0&&c(e)}}function h(t){var e;for(t.controlsShouldFade=!1,e=t.controls.length-1;e>=0;e--)t.controls[e].setOpacity(1)}function f(){h(this)}function p(){l(this)}function d(e){var n={originalEvent:e.originalEvent,preventDefaultAction:e.preventDefaultAction,preventVerticalPan:e.preventVerticalPan,preventHorizontalPan:e.preventHorizontalPan};if(this.raiseEvent("canvas-key",n),n.preventDefaultAction||e.ctrl||e.alt||e.meta)return!0;switch(e.keyCode){case 38:return n.preventVerticalPan||(e.shift?this.viewport.zoomBy(1.1):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(0,-this.pixelsPerArrowPress))),this.viewport.applyConstraints()),!1;case 40:return n.preventVerticalPan||(e.shift?this.viewport.zoomBy(.9):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(0,this.pixelsPerArrowPress))),this.viewport.applyConstraints()),!1;case 37:return n.preventHorizontalPan||(this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(-this.pixelsPerArrowPress,0))),this.viewport.applyConstraints()),!1;case 39:return n.preventHorizontalPan||(this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(this.pixelsPerArrowPress,0))),this.viewport.applyConstraints()),!1;default:return!0}}function g(e){var n={originalEvent:e.originalEvent,preventDefaultAction:e.preventDefaultAction,preventVerticalPan:e.preventVerticalPan,preventHorizontalPan:e.preventHorizontalPan};if(this.raiseEvent("canvas-key",n),n.preventDefaultAction||e.ctrl||e.alt||e.meta)return!0;switch(e.keyCode){case 43:case 61:return this.viewport.zoomBy(1.1),this.viewport.applyConstraints(),!1;case 45:return this.viewport.zoomBy(.9),this.viewport.applyConstraints(),!1;case 48:return this.viewport.goHome(),this.viewport.applyConstraints(),!1;case 119:case 87:return n.preventVerticalPan||(e.shift?this.viewport.zoomBy(1.1):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(0,-40))),this.viewport.applyConstraints()),!1;case 115:case 83:return n.preventVerticalPan||(e.shift?this.viewport.zoomBy(.9):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(0,40))),this.viewport.applyConstraints()),!1;case 97:return n.preventHorizontalPan||(this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(-40,0))),this.viewport.applyConstraints()),!1;case 100:return n.preventHorizontalPan||(this.viewport.panBy(this.viewport.deltaPointsFromPixels(new t.Point(40,0))),this.viewport.applyConstraints()),!1;case 114:return this.viewport.flipped?this.viewport.setRotation(t.positiveModulo(this.viewport.degrees-this.rotationIncrement,360)):this.viewport.setRotation(t.positiveModulo(this.viewport.degrees+this.rotationIncrement,360)),this.viewport.applyConstraints(),!1;case 82:return this.viewport.flipped?this.viewport.setRotation(t.positiveModulo(this.viewport.degrees+this.rotationIncrement,360)):this.viewport.setRotation(t.positiveModulo(this.viewport.degrees-this.rotationIncrement,360)),this.viewport.applyConstraints(),!1;case 102:return this.viewport.toggleFlip(),!1;default:return!0}}function v(t){var e,n=document.activeElement==this.canvas;n||this.canvas.focus(),this.viewport.flipped&&(t.position.x=this.viewport.getContainerSize().x-t.position.x);var r={tracker:t.eventSource,position:t.position,quick:t.quick,shift:t.shift,originalEvent:t.originalEvent,preventDefaultAction:t.preventDefaultAction};this.raiseEvent("canvas-click",r),!r.preventDefaultAction&&this.viewport&&t.quick&&(e=this.gestureSettingsByDeviceType(t.pointerType),e.clickToZoom&&(this.viewport.zoomBy(t.shift?1/this.zoomPerClick:this.zoomPerClick,e.zoomToRefPoint?this.viewport.pointFromPixel(t.position,!0):null),this.viewport.applyConstraints()))}function m(t){var e,n={tracker:t.eventSource,position:t.position,shift:t.shift,originalEvent:t.originalEvent,preventDefaultAction:t.preventDefaultAction};this.raiseEvent("canvas-double-click",n),!n.preventDefaultAction&&this.viewport&&(e=this.gestureSettingsByDeviceType(t.pointerType),e.dblClickToZoom&&(this.viewport.zoomBy(t.shift?1/this.zoomPerClick:this.zoomPerClick,e.zoomToRefPoint?this.viewport.pointFromPixel(t.position,!0):null),this.viewport.applyConstraints()))}function y(t){var e,n={tracker:t.eventSource,position:t.position,delta:t.delta,speed:t.speed,direction:t.direction,shift:t.shift,originalEvent:t.originalEvent,preventDefaultAction:t.preventDefaultAction};if(this.raiseEvent("canvas-drag",n),!n.preventDefaultAction&&this.viewport){if(e=this.gestureSettingsByDeviceType(t.pointerType),this.panHorizontal||(t.delta.x=0),this.panVertical||(t.delta.y=0),this.viewport.flipped&&(t.delta.x=-t.delta.x),this.constrainDuringPan){var r=this.viewport.deltaPointsFromPixels(t.delta.negate());this.viewport.centerSpringX.target.value+=r.x,this.viewport.centerSpringY.target.value+=r.y;var i=this.viewport.getBounds(),o=this.viewport.getConstrainedBounds();this.viewport.centerSpringX.target.value-=r.x,this.viewport.centerSpringY.target.value-=r.y,i.x!=o.x&&(t.delta.x=0),i.y!=o.y&&(t.delta.y=0)}this.viewport.panBy(this.viewport.deltaPointsFromPixels(t.delta.negate()),e.flickEnabled&&!this.constrainDuringPan)}}function b(e){if(!e.preventDefaultAction&&this.viewport){var n=this.gestureSettingsByDeviceType(e.pointerType);if(n.flickEnabled&&e.speed>=n.flickMinSpeed){var r=0;this.panHorizontal&&(r=n.flickMomentum*e.speed*Math.cos(e.direction));var i=0;this.panVertical&&(i=n.flickMomentum*e.speed*Math.sin(e.direction));var o=this.viewport.pixelFromPoint(this.viewport.getCenter(!0)),s=this.viewport.pointFromPixel(new t.Point(o.x-r,o.y-i));this.viewport.panTo(s,!1)}this.viewport.applyConstraints()}this.raiseEvent("canvas-drag-end",{tracker:e.eventSource,position:e.position,speed:e.speed,direction:e.direction,shift:e.shift,originalEvent:e.originalEvent})}function w(t){this.raiseEvent("canvas-enter",{tracker:t.eventSource,pointerType:t.pointerType,position:t.position,buttons:t.buttons,pointers:t.pointers,insideElementPressed:t.insideElementPressed,buttonDownAny:t.buttonDownAny,originalEvent:t.originalEvent})}function _(e){window.location!=window.parent.location&&t.MouseTracker.resetAllMouseTrackers(),this.raiseEvent("canvas-exit",{tracker:e.eventSource,pointerType:e.pointerType,position:e.position,buttons:e.buttons,pointers:e.pointers,insideElementPressed:e.insideElementPressed,buttonDownAny:e.buttonDownAny,originalEvent:e.originalEvent})}function x(t){this.raiseEvent("canvas-press",{tracker:t.eventSource,pointerType:t.pointerType,position:t.position,insideElementPressed:t.insideElementPressed,insideElementReleased:t.insideElementReleased,originalEvent:t.originalEvent})}function S(t){this.raiseEvent("canvas-release",{tracker:t.eventSource,pointerType:t.pointerType,position:t.position,insideElementPressed:t.insideElementPressed,insideElementReleased:t.insideElementReleased,originalEvent:t.originalEvent})}function T(t){this.raiseEvent("canvas-nonprimary-press",{tracker:t.eventSource,position:t.position,pointerType:t.pointerType,button:t.button,buttons:t.buttons,originalEvent:t.originalEvent})}function E(t){this.raiseEvent("canvas-nonprimary-release",{tracker:t.eventSource,position:t.position,pointerType:t.pointerType,button:t.button,buttons:t.buttons,originalEvent:t.originalEvent})}function C(t){var e,n,r,i;if(!t.preventDefaultAction&&this.viewport&&(e=this.gestureSettingsByDeviceType(t.pointerType),e.pinchToZoom&&(n=this.viewport.pointFromPixel(t.center,!0),r=this.viewport.pointFromPixel(t.lastCenter,!0),i=r.minus(n),this.panHorizontal||(i.x=0),this.panVertical||(i.y=0),this.viewport.zoomBy(t.distance/t.lastDistance,n,!0),e.zoomToRefPoint&&this.viewport.panBy(i,!0),this.viewport.applyConstraints()),e.pinchRotate)){var o=Math.atan2(t.gesturePoints[0].currentPos.y-t.gesturePoints[1].currentPos.y,t.gesturePoints[0].currentPos.x-t.gesturePoints[1].currentPos.x),s=Math.atan2(t.gesturePoints[0].lastPos.y-t.gesturePoints[1].lastPos.y,t.gesturePoints[0].lastPos.x-t.gesturePoints[1].lastPos.x);this.viewport.setRotation(this.viewport.getRotation()+(o-s)*(180/Math.PI))}return this.raiseEvent("canvas-pinch",{tracker:t.eventSource,gesturePoints:t.gesturePoints,lastCenter:t.lastCenter,center:t.center,lastDistance:t.lastDistance,distance:t.distance,shift:t.shift,originalEvent:t.originalEvent}),!1}function k(e){var n,r,i,o;if(i=t.now(),o=i-this._lastScrollTime,o>this.minScrollDeltaTime){if(this._lastScrollTime=i,this.viewport.flipped&&(e.position.x=this.viewport.getContainerSize().x-e.position.x),!e.preventDefaultAction&&this.viewport&&(n=this.gestureSettingsByDeviceType(e.pointerType),n.scrollToZoom&&(r=Math.pow(this.zoomPerScroll,e.scroll),this.viewport.zoomBy(r,n.zoomToRefPoint?this.viewport.pointFromPixel(e.position,!0):null),this.viewport.applyConstraints())),this.raiseEvent("canvas-scroll",{tracker:e.eventSource,position:e.position,scroll:e.scroll,shift:e.shift,originalEvent:e.originalEvent}),n&&n.scrollToZoom)return!1}else if(n=this.gestureSettingsByDeviceType(e.pointerType),n&&n.scrollToZoom)return!1}function A(t){e[this.hash].mouseInside=!0,h(this),this.raiseEvent("container-enter",{tracker:t.eventSource,position:t.position,buttons:t.buttons,pointers:t.pointers,insideElementPressed:t.insideElementPressed,buttonDownAny:t.buttonDownAny,originalEvent:t.originalEvent})}function O(t){t.pointers<1&&(e[this.hash].mouseInside=!1,e[this.hash].animating||l(this)),this.raiseEvent("container-exit",{tracker:t.eventSource,position:t.position,buttons:t.buttons,pointers:t.pointers,insideElementPressed:t.insideElementPressed,buttonDownAny:t.buttonDownAny,originalEvent:t.originalEvent})}function P(t){R(t),t.isOpen()?t._updateRequestId=a(t,P):t._updateRequestId=!1}function R(t){if(!t._opening){if(t.autoResize){var n=r(t.container),i=e[t.hash].prevContainerSize;if(!n.equals(i)){var o=t.viewport;if(t.preserveImageSizeOnResize){var s=i.x/n.x,a=o.getZoom()*s,c=o.getCenter();o.resize(n,!1),o.zoomTo(a,null,!0),o.panTo(c,!0)}else{var u=o.getBounds();o.resize(n,!0),o.fitBoundsWithConstraints(u,!0)}e[t.hash].prevContainerSize=n,e[t.hash].forceRedraw=!0}}var f=t.viewport.update(),p=t.world.update()||f;f&&t.raiseEvent("viewport-change"),t.referenceStrip&&(p=t.referenceStrip.update(t.viewport)||p),!e[t.hash].animating&&p&&(t.raiseEvent("animation-start"),h(t)),(p||e[t.hash].forceRedraw||t.world.needsDraw())&&(L(t),t._drawOverlays(),t.navigator&&t.navigator.update(t.viewport),e[t.hash].forceRedraw=!1,p&&t.raiseEvent("animation")),e[t.hash].animating&&!p&&(t.raiseEvent("animation-finish"),e[t.hash].mouseInside||l(t)),e[t.hash].animating=p}}function L(t){t.imageLoader.clear(),t.drawer.clear(),t.world.draw(),t.raiseEvent("update-viewport",{})}function I(t,e){return t?t+e:e}function M(){e[this.hash].lastZoomTime=t.now(),e[this.hash].zoomFactor=this.zoomPerSecond,e[this.hash].zooming=!0,D(this)}function j(){e[this.hash].lastZoomTime=t.now(),e[this.hash].zoomFactor=1/this.zoomPerSecond,e[this.hash].zooming=!0,D(this)}function B(){e[this.hash].zooming=!1}function D(e){t.requestAnimationFrame(t.delegate(e,N))}function N(){var n,r,i;e[this.hash].zooming&&this.viewport&&(n=t.now(),r=n-e[this.hash].lastZoomTime,i=Math.pow(e[this.hash].zoomFactor,r/1e3),this.viewport.zoomBy(i),this.viewport.applyConstraints(),e[this.hash].lastZoomTime=n,D(this))}function F(){this.viewport&&(e[this.hash].zooming=!1,this.viewport.zoomBy(this.zoomPerClick/1),this.viewport.applyConstraints())}function H(){this.viewport&&(e[this.hash].zooming=!1,this.viewport.zoomBy(1/this.zoomPerClick),this.viewport.applyConstraints())}function z(){this.buttons.emulateEnter(),this.buttons.emulateExit()}function $(){this.viewport&&this.viewport.goHome()}function U(){this.isFullPage()&&!t.isFullScreen()?this.setFullPage(!1):this.setFullScreen(!this.isFullPage()),this.buttons&&this.buttons.emulateExit(),this.fullPageButton.element.focus(),this.viewport&&this.viewport.applyConstraints()}function q(){if(this.viewport){var e=this.viewport.getRotation();e=this.viewport.flipped?t.positiveModulo(e+this.rotationIncrement,360):t.positiveModulo(e-this.rotationIncrement,360),this.viewport.setRotation(e)}}function V(){if(this.viewport){var e=this.viewport.getRotation();e=this.viewport.flipped?t.positiveModulo(e-this.rotationIncrement,360):t.positiveModulo(e+this.rotationIncrement,360),this.viewport.setRotation(e)}}function W(){this.viewport.toggleFlip()}function G(){var t=this._sequenceIndex-1;this.navPrevNextWrap&&t<0&&(t+=this.tileSources.length),this.goToPage(t)}function Z(){var t=this._sequenceIndex+1;this.navPrevNextWrap&&t>=this.tileSources.length&&(t=0),this.goToPage(t)}t.Viewer=function(i){var o,s=arguments,c=this;if(t.isPlainObject(i)||(i={id:s[0],xmlPath:s.length>1?s[1]:void 0,prefixUrl:s.length>2?s[2]:void 0,controls:s.length>3?s[3]:void 0,overlays:s.length>4?s[4]:void 0}),i.config&&(t.extend(!0,i,i.config),delete i.config),t.extend(!0,this,{id:i.id,hash:i.hash||n++,initialPage:0,element:null,container:null,canvas:null,overlays:[],overlaysContainer:null,previousBody:[],customControls:[],source:null,drawer:null,world:null,viewport:null,navigator:null,collectionViewport:null,collectionDrawer:null,navImages:null,buttons:null,profiler:null},t.DEFAULT_SETTINGS,i),"undefined"===typeof this.hash)throw new Error("A hash must be defined, either by specifying options.id or options.hash.");for("undefined"!==typeof e[this.hash]&&t.console.warn("Hash "+this.hash+" has already been used."),e[this.hash]={fsBoundsDelta:new t.Point(1,1),prevContainerSize:null,animating:!1,forceRedraw:!1,mouseInside:!1,group:null,zooming:!1,zoomFactor:null,lastZoomTime:null,fullPage:!1,onfullscreenchange:null},this._sequenceIndex=0,this._firstOpen=!0,this._updateRequestId=null,this._loadQueue=[],this.currentOverlays=[],this._lastScrollTime=t.now(),t.EventSource.call(this),this.addHandler("open-failed",(function(e){var n=t.getString("Errors.OpenFailed",e.eventSource,e.message);c._showMessage(n)})),t.ControlDock.call(this,i),this.xmlPath&&(this.tileSources=[this.xmlPath]),this.element=this.element||document.getElementById(this.id),this.canvas=t.makeNeutralElement("div"),this.canvas.className="openseadragon-canvas",function(t){t.width="100%",t.height="100%",t.overflow="hidden",t.position="absolute",t.top="0px",t.left="0px"}(this.canvas.style),t.setElementTouchActionNone(this.canvas),""!==i.tabIndex&&(this.canvas.tabIndex=void 0===i.tabIndex?0:i.tabIndex),this.container.className="openseadragon-container",function(t){t.width="100%",t.height="100%",t.position="relative",t.overflow="hidden",t.left="0px",t.top="0px",t.textAlign="left"}(this.container.style),this.container.insertBefore(this.canvas,this.container.firstChild),this.element.appendChild(this.container),this.bodyWidth=document.body.style.width,this.bodyHeight=document.body.style.height,this.bodyOverflow=document.body.style.overflow,this.docOverflow=document.documentElement.style.overflow,this.innerTracker=new t.MouseTracker({element:this.canvas,startDisabled:!this.mouseNavEnabled,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,dblClickTimeThreshold:this.dblClickTimeThreshold,dblClickDistThreshold:this.dblClickDistThreshold,keyDownHandler:t.delegate(this,d),keyHandler:t.delegate(this,g),clickHandler:t.delegate(this,v),dblClickHandler:t.delegate(this,m),dragHandler:t.delegate(this,y),dragEndHandler:t.delegate(this,b),enterHandler:t.delegate(this,w),exitHandler:t.delegate(this,_),pressHandler:t.delegate(this,x),releaseHandler:t.delegate(this,S),nonPrimaryPressHandler:t.delegate(this,T),nonPrimaryReleaseHandler:t.delegate(this,E),scrollHandler:t.delegate(this,k),pinchHandler:t.delegate(this,C)}),this.outerTracker=new t.MouseTracker({element:this.container,startDisabled:!this.mouseNavEnabled,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,dblClickTimeThreshold:this.dblClickTimeThreshold,dblClickDistThreshold:this.dblClickDistThreshold,enterHandler:t.delegate(this,A),exitHandler:t.delegate(this,O)}),this.toolbar&&(this.toolbar=new t.ControlDock({element:this.toolbar})),this.bindStandardControls(),e[this.hash].prevContainerSize=r(this.container),this.world=new t.World({viewer:this}),this.world.addHandler("add-item",(function(t){c.source=c.world.getItemAt(0).source,e[c.hash].forceRedraw=!0,c._updateRequestId||(c._updateRequestId=a(c,P))})),this.world.addHandler("remove-item",(function(t){c.world.getItemCount()?c.source=c.world.getItemAt(0).source:c.source=null,e[c.hash].forceRedraw=!0})),this.world.addHandler("metrics-change",(function(t){c.viewport&&c.viewport._setContentBounds(c.world.getHomeBounds(),c.world.getContentFactor())})),this.world.addHandler("item-index-change",(function(t){c.source=c.world.getItemAt(0).source})),this.viewport=new t.Viewport({containerSize:e[this.hash].prevContainerSize,springStiffness:this.springStiffness,animationTime:this.animationTime,minZoomImageRatio:this.minZoomImageRatio,maxZoomPixelRatio:this.maxZoomPixelRatio,visibilityRatio:this.visibilityRatio,wrapHorizontal:this.wrapHorizontal,wrapVertical:this.wrapVertical,defaultZoomLevel:this.defaultZoomLevel,minZoomLevel:this.minZoomLevel,maxZoomLevel:this.maxZoomLevel,viewer:this,degrees:this.degrees,flipped:this.flipped,navigatorRotate:this.navigatorRotate,homeFillsViewer:this.homeFillsViewer,margins:this.viewportMargins}),this.viewport._setContentBounds(this.world.getHomeBounds(),this.world.getContentFactor()),this.imageLoader=new t.ImageLoader({jobLimit:this.imageLoaderLimit,timeout:i.timeout}),this.tileCache=new t.TileCache({maxImageCacheCount:this.maxImageCacheCount}),this.drawer=new t.Drawer({viewer:this,viewport:this.viewport,element:this.canvas,debugGridColor:this.debugGridColor}),this.overlaysContainer=t.makeNeutralElement("div"),this.canvas.appendChild(this.overlaysContainer),this.drawer.canRotate()||(this.rotateLeft&&(o=this.buttons.buttons.indexOf(this.rotateLeft),this.buttons.buttons.splice(o,1),this.buttons.element.removeChild(this.rotateLeft.element)),this.rotateRight&&(o=this.buttons.buttons.indexOf(this.rotateRight),this.buttons.buttons.splice(o,1),this.buttons.element.removeChild(this.rotateRight.element))),this.showNavigator&&(this.navigator=new t.Navigator({id:this.navigatorId,position:this.navigatorPosition,sizeRatio:this.navigatorSizeRatio,maintainSizeRatio:this.navigatorMaintainSizeRatio,top:this.navigatorTop,left:this.navigatorLeft,width:this.navigatorWidth,height:this.navigatorHeight,autoResize:this.navigatorAutoResize,autoFade:this.navigatorAutoFade,prefixUrl:this.prefixUrl,viewer:this,navigatorRotate:this.navigatorRotate,background:this.navigatorBackground,opacity:this.navigatorOpacity,borderColor:this.navigatorBorderColor,displayRegionColor:this.navigatorDisplayRegionColor,crossOriginPolicy:this.crossOriginPolicy})),this.sequenceMode&&this.bindSequenceControls(),this.tileSources&&this.open(this.tileSources),o=0;o<this.customControls.length;o++)this.addControl(this.customControls[o].id,{anchor:this.customControls[o].anchor});t.requestAnimationFrame((function(){l(c)})),void 0===this.imageSmoothingEnabled||this.imageSmoothingEnabled||this.drawer.setImageSmoothingEnabled(this.imageSmoothingEnabled)},t.extend(t.Viewer.prototype,t.EventSource.prototype,t.ControlDock.prototype,{isOpen:function(){return!!this.world.getItemCount()},openDzi:function(e){return t.console.error("[Viewer.openDzi] this function is deprecated; use Viewer.open() instead."),this.open(e)},openTileSource:function(e){return t.console.error("[Viewer.openTileSource] this function is deprecated; use Viewer.open() instead."),this.open(e)},open:function(e,n){var r=this;if(this.close(),e){if(this.sequenceMode&&t.isArray(e))return this.referenceStrip&&(this.referenceStrip.destroy(),this.referenceStrip=null),"undefined"==typeof n||isNaN(n)||(this.initialPage=n),this.tileSources=e,this._sequenceIndex=Math.max(0,Math.min(this.tileSources.length-1,this.initialPage)),this.tileSources.length&&(this.open(this.tileSources[this._sequenceIndex]),this.showReferenceStrip&&this.addReferenceStrip()),void this._updateSequenceButtons(this._sequenceIndex);if(t.isArray(e)||(e=[e]),e.length){this._opening=!0;for(var i,s=e.length,a=0,c=0,l=function(){if(a+c===s)if(a){!r._firstOpen&&r.preserveViewport||(r.viewport.goHome(!0),r.viewport.update()),r._firstOpen=!1;var t=e[0];if(t.tileSource&&(t=t.tileSource),r.overlays&&!r.preserveOverlays)for(var n=0;n<r.overlays.length;n++)r.currentOverlays[n]=o(r,r.overlays[n]);r._drawOverlays(),r._opening=!1,r.raiseEvent("open",{source:t})}else r._opening=!1,r.raiseEvent("open-failed",i)},u=function(e){t.isPlainObject(e)&&e.tileSource||(e={tileSource:e}),void 0!==e.index&&(t.console.error("[Viewer.open] setting indexes here is not supported; use addTiledImage instead"),delete e.index),void 0===e.collectionImmediately&&(e.collectionImmediately=!0);var n=e.success;e.success=function(t){if(a++,e.tileSource.overlays)for(var i=0;i<e.tileSource.overlays.length;i++)r.addOverlay(e.tileSource.overlays[i]);n&&n(t),l()};var o=e.error;e.error=function(t){c++,i||(i=t),o&&o(t),l()},r.addTiledImage(e)},h=0;h<e.length;h++)u(e[h]);return this}}},close:function(){return e[this.hash]?(this._opening=!1,this.navigator&&this.navigator.close(),this.preserveOverlays||(this.clearOverlays(),this.overlaysContainer.innerHTML=""),e[this.hash].animating=!1,this.world.removeAll(),this.imageLoader.clear(),this.raiseEvent("close"),this):this},destroy:function(){if(e[this.hash]){if(this.close(),this.clearOverlays(),this.overlaysContainer.innerHTML="",this.referenceStrip&&(this.referenceStrip.destroy(),this.referenceStrip=null),null!==this._updateRequestId&&(t.cancelAnimationFrame(this._updateRequestId),this._updateRequestId=null),this.drawer&&this.drawer.destroy(),this.removeAllHandlers(),this.element)while(this.element.firstChild)this.element.removeChild(this.element.firstChild);this.innerTracker&&this.innerTracker.destroy(),this.outerTracker&&this.outerTracker.destroy(),e[this.hash]=null,delete e[this.hash],this.canvas=null,this.container=null,this.element=null}},isMouseNavEnabled:function(){return this.innerTracker.isTracking()},setMouseNavEnabled:function(t){return this.innerTracker.setTracking(t),this.outerTracker.setTracking(t),this.raiseEvent("mouse-enabled",{enabled:t}),this},areControlsEnabled:function(){var t,e=this.controls.length;for(t=0;t<this.controls.length;t++)e=e&&this.controls[t].isVisible();return e},setControlsEnabled:function(t){return t?h(this):l(this),this.raiseEvent("controls-enabled",{enabled:t}),this},setDebugMode:function(t){for(var e=0;e<this.world.getItemCount();e++)this.world.getItemAt(e).debugMode=t;this.debugMode=t,this.forceRedraw()},isFullPage:function(){return e[this.hash].fullPage},setFullPage:function(n){var r,i,o=document.body,s=o.style,a=document.documentElement.style,c=this;if(n==this.isFullPage())return this;var l={fullPage:n,preventDefaultAction:!1};if(this.raiseEvent("pre-full-page",l),l.preventDefaultAction)return this;if(n){for(this.elementSize=t.getElementSize(this.element),this.pageScroll=t.getPageScroll(),this.elementMargin=this.element.style.margin,this.element.style.margin="0",this.elementPadding=this.element.style.padding,this.element.style.padding="0",this.bodyMargin=s.margin,this.docMargin=a.margin,s.margin="0",a.margin="0",this.bodyPadding=s.padding,this.docPadding=a.padding,s.padding="0",a.padding="0",this.bodyWidth=s.width,this.docWidth=a.width,s.width="100%",a.width="100%",this.bodyHeight=s.height,this.docHeight=a.height,s.height="100%",a.height="100%",this.previousBody=[],e[this.hash].prevElementParent=this.element.parentNode,e[this.hash].prevNextSibling=this.element.nextSibling,e[this.hash].prevElementWidth=this.element.style.width,e[this.hash].prevElementHeight=this.element.style.height,r=o.childNodes.length,i=0;i<r;i++)this.previousBody.push(o.childNodes[0]),o.removeChild(o.childNodes[0]);this.toolbar&&this.toolbar.element&&(this.toolbar.parentNode=this.toolbar.element.parentNode,this.toolbar.nextSibling=this.toolbar.element.nextSibling,o.appendChild(this.toolbar.element),t.addClass(this.toolbar.element,"fullpage")),t.addClass(this.element,"fullpage"),o.appendChild(this.element),this.element.style.height=t.getWindowSize().y+"px",this.element.style.width=t.getWindowSize().x+"px",this.toolbar&&this.toolbar.element&&(this.element.style.height=t.getElementSize(this.element).y-t.getElementSize(this.toolbar.element).y+"px"),e[this.hash].fullPage=!0,t.delegate(this,A)({})}else{for(this.element.style.margin=this.elementMargin,this.element.style.padding=this.elementPadding,s.margin=this.bodyMargin,a.margin=this.docMargin,s.padding=this.bodyPadding,a.padding=this.docPadding,s.width=this.bodyWidth,a.width=this.docWidth,s.height=this.bodyHeight,a.height=this.docHeight,o.removeChild(this.element),r=this.previousBody.length,i=0;i<r;i++)o.appendChild(this.previousBody.shift());t.removeClass(this.element,"fullpage"),e[this.hash].prevElementParent.insertBefore(this.element,e[this.hash].prevNextSibling),this.toolbar&&this.toolbar.element&&(o.removeChild(this.toolbar.element),t.removeClass(this.toolbar.element,"fullpage"),this.toolbar.parentNode.insertBefore(this.toolbar.element,this.toolbar.nextSibling),delete this.toolbar.parentNode,delete this.toolbar.nextSibling),this.element.style.width=e[this.hash].prevElementWidth,this.element.style.height=e[this.hash].prevElementHeight;var u=0,h=function(){t.setPageScroll(c.pageScroll);var e=t.getPageScroll();u++,u<10&&(e.x!==c.pageScroll.x||e.y!==c.pageScroll.y)&&t.requestAnimationFrame(h)};t.requestAnimationFrame(h),e[this.hash].fullPage=!1,t.delegate(this,O)({})}return this.navigator&&this.viewport&&this.navigator.update(this.viewport),this.raiseEvent("full-page",{fullPage:n}),this},setFullScreen:function(e){var n=this;if(!t.supportsFullScreen)return this.setFullPage(e);if(t.isFullScreen()===e)return this;var r={fullScreen:e,preventDefaultAction:!1};if(this.raiseEvent("pre-full-screen",r),r.preventDefaultAction)return this;if(e){if(this.setFullPage(!0),!this.isFullPage())return this;this.fullPageStyleWidth=this.element.style.width,this.fullPageStyleHeight=this.element.style.height,this.element.style.width="100%",this.element.style.height="100%";var i=function(){var e=t.isFullScreen();e||(t.removeEvent(document,t.fullScreenEventName,i),t.removeEvent(document,t.fullScreenErrorEventName,i),n.setFullPage(!1),n.isFullPage()&&(n.element.style.width=n.fullPageStyleWidth,n.element.style.height=n.fullPageStyleHeight)),n.navigator&&n.viewport&&setTimeout((function(){n.navigator.update(n.viewport)})),n.raiseEvent("full-screen",{fullScreen:e})};t.addEvent(document,t.fullScreenEventName,i),t.addEvent(document,t.fullScreenErrorEventName,i),t.requestFullScreen(document.body)}else t.exitFullScreen();return this},isVisible:function(){return"hidden"!=this.container.style.visibility},setVisible:function(t){return this.container.style.visibility=t?"":"hidden",this.raiseEvent("visible",{visible:t}),this},addTiledImage:function(e){t.console.assert(e,"[Viewer.addTiledImage] options is required"),t.console.assert(e.tileSource,"[Viewer.addTiledImage] options.tileSource is required"),t.console.assert(!e.replace||e.index>-1&&e.index<this.world.getItemCount(),"[Viewer.addTiledImage] if options.replace is used, options.index must be a valid index in Viewer.world");var n=this;e.replace&&(e.replaceItem=n.world.getItemAt(e.index)),this._hideMessage(),void 0===e.placeholderFillStyle&&(e.placeholderFillStyle=this.placeholderFillStyle),void 0===e.opacity&&(e.opacity=this.opacity),void 0===e.preload&&(e.preload=this.preload),void 0===e.compositeOperation&&(e.compositeOperation=this.compositeOperation),void 0===e.crossOriginPolicy&&(e.crossOriginPolicy=void 0!==e.tileSource.crossOriginPolicy?e.tileSource.crossOriginPolicy:this.crossOriginPolicy),void 0===e.ajaxWithCredentials&&(e.ajaxWithCredentials=this.ajaxWithCredentials),void 0===e.loadTilesWithAjax&&(e.loadTilesWithAjax=this.loadTilesWithAjax),void 0===e.ajaxHeaders||null===e.ajaxHeaders?e.ajaxHeaders=this.ajaxHeaders:t.isPlainObject(e.ajaxHeaders)&&t.isPlainObject(this.ajaxHeaders)&&(e.ajaxHeaders=t.extend({},this.ajaxHeaders,e.ajaxHeaders));var r={options:e};function o(t){for(var i=0;i<n._loadQueue.length;i++)if(n._loadQueue[i]===r){n._loadQueue.splice(i,1);break}0===n._loadQueue.length&&s(r),n.raiseEvent("add-item-failed",t),e.error&&e.error(t)}function s(t){n.collectionMode&&(n.world.arrange({immediately:t.options.collectionImmediately,rows:n.collectionRows,columns:n.collectionColumns,layout:n.collectionLayout,tileSize:n.collectionTileSize,tileMargin:n.collectionTileMargin}),n.world.setAutoRefigureSizes(!0))}function a(){var e,r,i;while(n._loadQueue.length){if(e=n._loadQueue[0],!e.tileSource)break;if(n._loadQueue.splice(0,1),e.options.replace){var o=n.world.getIndexOfItem(e.options.replaceItem);-1!=o&&(e.options.index=o),n.world.removeItem(e.options.replaceItem)}r=new t.TiledImage({viewer:n,source:e.tileSource,viewport:n.viewport,drawer:n.drawer,tileCache:n.tileCache,imageLoader:n.imageLoader,x:e.options.x,y:e.options.y,width:e.options.width,height:e.options.height,fitBounds:e.options.fitBounds,fitBoundsPlacement:e.options.fitBoundsPlacement,clip:e.options.clip,placeholderFillStyle:e.options.placeholderFillStyle,opacity:e.options.opacity,preload:e.options.preload,degrees:e.options.degrees,compositeOperation:e.options.compositeOperation,springStiffness:n.springStiffness,animationTime:n.animationTime,minZoomImageRatio:n.minZoomImageRatio,wrapHorizontal:n.wrapHorizontal,wrapVertical:n.wrapVertical,immediateRender:n.immediateRender,blendTime:n.blendTime,alwaysBlend:n.alwaysBlend,minPixelRatio:n.minPixelRatio,smoothTileEdgesMinZoom:n.smoothTileEdgesMinZoom,iOSDevice:n.iOSDevice,crossOriginPolicy:e.options.crossOriginPolicy,ajaxWithCredentials:e.options.ajaxWithCredentials,loadTilesWithAjax:e.options.loadTilesWithAjax,ajaxHeaders:e.options.ajaxHeaders,debugMode:n.debugMode}),n.collectionMode&&n.world.setAutoRefigureSizes(!1),n.world.addItem(r,{index:e.options.index}),0===n._loadQueue.length&&s(e),1!==n.world.getItemCount()||n.preserveViewport||n.viewport.goHome(!0),n.navigator&&(i=t.extend({},e.options,{replace:!1,originalTiledImage:r,tileSource:e.tileSource}),n.navigator.addTiledImage(i)),e.options.success&&e.options.success({item:r})}}t.isArray(e.tileSource)?setTimeout((function(){o({message:"[Viewer.addTiledImage] Sequences can not be added; add them one at a time instead.",source:e.tileSource,options:e})})):(this._loadQueue.push(r),i(this,e.tileSource,e,(function(t){r.tileSource=t,a()}),(function(t){t.options=e,o(t),a()})))},addSimpleImage:function(e){t.console.assert(e,"[Viewer.addSimpleImage] options is required"),t.console.assert(e.url,"[Viewer.addSimpleImage] options.url is required");var n=t.extend({},e,{tileSource:{type:"image",url:e.url}});delete n.url,this.addTiledImage(n)},addLayer:function(e){var n=this;t.console.error("[Viewer.addLayer] this function is deprecated; use Viewer.addTiledImage() instead.");var r=t.extend({},e,{success:function(t){n.raiseEvent("add-layer",{options:e,drawer:t.item})},error:function(t){n.raiseEvent("add-layer-failed",t)}});return this.addTiledImage(r),this},getLayerAtLevel:function(e){return t.console.error("[Viewer.getLayerAtLevel] this function is deprecated; use World.getItemAt() instead."),this.world.getItemAt(e)},getLevelOfLayer:function(e){return t.console.error("[Viewer.getLevelOfLayer] this function is deprecated; use World.getIndexOfItem() instead."),this.world.getIndexOfItem(e)},getLayersCount:function(){return t.console.error("[Viewer.getLayersCount] this function is deprecated; use World.getItemCount() instead."),this.world.getItemCount()},setLayerLevel:function(e,n){return t.console.error("[Viewer.setLayerLevel] this function is deprecated; use World.setItemIndex() instead."),this.world.setItemIndex(e,n)},removeLayer:function(e){return t.console.error("[Viewer.removeLayer] this function is deprecated; use World.removeItem() instead."),this.world.removeItem(e)},forceRedraw:function(){return e[this.hash].forceRedraw=!0,this},bindSequenceControls:function(){var e=t.delegate(this,f),n=t.delegate(this,p),r=t.delegate(this,Z),i=t.delegate(this,G),o=this.navImages,s=!0;return this.showSequenceControl&&((this.previousButton||this.nextButton)&&(s=!1),this.previousButton=new t.Button({element:this.previousButton?t.getElement(this.previousButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.PreviousPage"),srcRest:I(this.prefixUrl,o.previous.REST),srcGroup:I(this.prefixUrl,o.previous.GROUP),srcHover:I(this.prefixUrl,o.previous.HOVER),srcDown:I(this.prefixUrl,o.previous.DOWN),onRelease:i,onFocus:e,onBlur:n}),this.nextButton=new t.Button({element:this.nextButton?t.getElement(this.nextButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.NextPage"),srcRest:I(this.prefixUrl,o.next.REST),srcGroup:I(this.prefixUrl,o.next.GROUP),srcHover:I(this.prefixUrl,o.next.HOVER),srcDown:I(this.prefixUrl,o.next.DOWN),onRelease:r,onFocus:e,onBlur:n}),this.navPrevNextWrap||this.previousButton.disable(),this.tileSources&&this.tileSources.length||this.nextButton.disable(),s&&(this.paging=new t.ButtonGroup({buttons:[this.previousButton,this.nextButton],clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold}),this.pagingControl=this.paging.element,this.toolbar?this.toolbar.addControl(this.pagingControl,{anchor:t.ControlAnchor.BOTTOM_RIGHT}):this.addControl(this.pagingControl,{anchor:this.sequenceControlAnchor||t.ControlAnchor.TOP_LEFT}))),this},bindStandardControls:function(){var e=t.delegate(this,M),n=t.delegate(this,B),r=t.delegate(this,F),i=t.delegate(this,j),o=t.delegate(this,H),s=t.delegate(this,$),a=t.delegate(this,U),c=t.delegate(this,q),l=t.delegate(this,V),u=t.delegate(this,W),h=t.delegate(this,f),d=t.delegate(this,p),g=this.navImages,v=[],m=!0;return this.showNavigationControl&&((this.zoomInButton||this.zoomOutButton||this.homeButton||this.fullPageButton||this.rotateLeftButton||this.rotateRightButton||this.flipButton)&&(m=!1),this.showZoomControl&&(v.push(this.zoomInButton=new t.Button({element:this.zoomInButton?t.getElement(this.zoomInButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.ZoomIn"),srcRest:I(this.prefixUrl,g.zoomIn.REST),srcGroup:I(this.prefixUrl,g.zoomIn.GROUP),srcHover:I(this.prefixUrl,g.zoomIn.HOVER),srcDown:I(this.prefixUrl,g.zoomIn.DOWN),onPress:e,onRelease:n,onClick:r,onEnter:e,onExit:n,onFocus:h,onBlur:d})),v.push(this.zoomOutButton=new t.Button({element:this.zoomOutButton?t.getElement(this.zoomOutButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.ZoomOut"),srcRest:I(this.prefixUrl,g.zoomOut.REST),srcGroup:I(this.prefixUrl,g.zoomOut.GROUP),srcHover:I(this.prefixUrl,g.zoomOut.HOVER),srcDown:I(this.prefixUrl,g.zoomOut.DOWN),onPress:i,onRelease:n,onClick:o,onEnter:i,onExit:n,onFocus:h,onBlur:d}))),this.showHomeControl&&v.push(this.homeButton=new t.Button({element:this.homeButton?t.getElement(this.homeButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.Home"),srcRest:I(this.prefixUrl,g.home.REST),srcGroup:I(this.prefixUrl,g.home.GROUP),srcHover:I(this.prefixUrl,g.home.HOVER),srcDown:I(this.prefixUrl,g.home.DOWN),onRelease:s,onFocus:h,onBlur:d})),this.showFullPageControl&&v.push(this.fullPageButton=new t.Button({element:this.fullPageButton?t.getElement(this.fullPageButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.FullPage"),srcRest:I(this.prefixUrl,g.fullpage.REST),srcGroup:I(this.prefixUrl,g.fullpage.GROUP),srcHover:I(this.prefixUrl,g.fullpage.HOVER),srcDown:I(this.prefixUrl,g.fullpage.DOWN),onRelease:a,onFocus:h,onBlur:d})),this.showRotationControl&&(v.push(this.rotateLeftButton=new t.Button({element:this.rotateLeftButton?t.getElement(this.rotateLeftButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.RotateLeft"),srcRest:I(this.prefixUrl,g.rotateleft.REST),srcGroup:I(this.prefixUrl,g.rotateleft.GROUP),srcHover:I(this.prefixUrl,g.rotateleft.HOVER),srcDown:I(this.prefixUrl,g.rotateleft.DOWN),onRelease:c,onFocus:h,onBlur:d})),v.push(this.rotateRightButton=new t.Button({element:this.rotateRightButton?t.getElement(this.rotateRightButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.RotateRight"),srcRest:I(this.prefixUrl,g.rotateright.REST),srcGroup:I(this.prefixUrl,g.rotateright.GROUP),srcHover:I(this.prefixUrl,g.rotateright.HOVER),srcDown:I(this.prefixUrl,g.rotateright.DOWN),onRelease:l,onFocus:h,onBlur:d}))),this.showFlipControl&&v.push(this.flipButton=new t.Button({element:this.flipButton?t.getElement(this.flipButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:t.getString("Tooltips.Flip"),srcRest:I(this.prefixUrl,g.flip.REST),srcGroup:I(this.prefixUrl,g.flip.GROUP),srcHover:I(this.prefixUrl,g.flip.HOVER),srcDown:I(this.prefixUrl,g.flip.DOWN),onRelease:u,onFocus:h,onBlur:d})),m&&(this.buttons=new t.ButtonGroup({buttons:v,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold}),this.navControl=this.buttons.element,this.addHandler("open",t.delegate(this,z)),this.toolbar?this.toolbar.addControl(this.navControl,{anchor:this.navigationControlAnchor||t.ControlAnchor.TOP_LEFT}):this.addControl(this.navControl,{anchor:this.navigationControlAnchor||t.ControlAnchor.TOP_LEFT}))),this},currentPage:function(){return this._sequenceIndex},goToPage:function(t){return this.tileSources&&t>=0&&t<this.tileSources.length&&(this._sequenceIndex=t,this._updateSequenceButtons(t),this.open(this.tileSources[t]),this.referenceStrip&&this.referenceStrip.setFocus(t),this.raiseEvent("page",{page:t})),this},addOverlay:function(e,n,r,i){var a;if(a=t.isPlainObject(e)?e:{element:e,location:n,placement:r,onDraw:i},e=t.getElement(a.element),s(this.currentOverlays,e)>=0)return this;var c=o(this,a);return this.currentOverlays.push(c),c.drawHTML(this.overlaysContainer,this.viewport),this.raiseEvent("add-overlay",{element:e,location:a.location,placement:a.placement}),this},updateOverlay:function(n,r,i){var o;return n=t.getElement(n),o=s(this.currentOverlays,n),o>=0&&(this.currentOverlays[o].update(r,i),e[this.hash].forceRedraw=!0,this.raiseEvent("update-overlay",{element:n,location:r,placement:i})),this},removeOverlay:function(n){var r;return n=t.getElement(n),r=s(this.currentOverlays,n),r>=0&&(this.currentOverlays[r].destroy(),this.currentOverlays.splice(r,1),e[this.hash].forceRedraw=!0,this.raiseEvent("remove-overlay",{element:n})),this},clearOverlays:function(){while(this.currentOverlays.length>0)this.currentOverlays.pop().destroy();return e[this.hash].forceRedraw=!0,this.raiseEvent("clear-overlay",{}),this},getOverlayById:function(e){var n;return e=t.getElement(e),n=s(this.currentOverlays,e),n>=0?this.currentOverlays[n]:null},_updateSequenceButtons:function(t){this.nextButton&&(this.tileSources&&this.tileSources.length-1!==t?this.nextButton.enable():this.navPrevNextWrap||this.nextButton.disable()),this.previousButton&&(t>0?this.previousButton.enable():this.navPrevNextWrap||this.previousButton.disable())},_showMessage:function(e){this._hideMessage();var n=t.makeNeutralElement("div");n.appendChild(document.createTextNode(e)),this.messageDiv=t.makeCenteredNode(n),t.addClass(this.messageDiv,"openseadragon-message"),this.container.appendChild(this.messageDiv)},_hideMessage:function(){var t=this.messageDiv;t&&(t.parentNode.removeChild(t),delete this.messageDiv)},gestureSettingsByDeviceType:function(t){switch(t){case"mouse":return this.gestureSettingsMouse;case"touch":return this.gestureSettingsTouch;case"pen":return this.gestureSettingsPen;default:return this.gestureSettingsUnknown}},_drawOverlays:function(){var t,e=this.currentOverlays.length;for(t=0;t<e;t++)this.currentOverlays[t].drawHTML(this.overlaysContainer,this.viewport)},_cancelPendingImages:function(){this._loadQueue=[]},removeReferenceStrip:function(){this.showReferenceStrip=!1,this.referenceStrip&&(this.referenceStrip.destroy(),this.referenceStrip=null)},addReferenceStrip:function(){if(this.showReferenceStrip=!0,this.sequenceMode){if(this.referenceStrip)return;this.tileSources.length&&this.tileSources.length>1&&(this.referenceStrip=new t.ReferenceStrip({id:this.referenceStripElement,position:this.referenceStripPosition,sizeRatio:this.referenceStripSizeRatio,scroll:this.referenceStripScroll,height:this.referenceStripHeight,width:this.referenceStripWidth,tileSources:this.tileSources,prefixUrl:this.prefixUrl,useCanvas:this.useCanvas,viewer:this}),this.referenceStrip.setFocus(this._sequenceIndex))}else t.console.warn('Attempting to display a reference strip while "sequenceMode" is off.')}})}(OpenSeadragon),function(t){function e(t){var e={tracker:t.eventSource,position:t.position,quick:t.quick,shift:t.shift,originalEvent:t.originalEvent,preventDefaultAction:t.preventDefaultAction};if(this.viewer.raiseEvent("navigator-click",e),!e.preventDefaultAction&&t.quick&&this.viewer.viewport&&(this.panVertical||this.panHorizontal)){this.viewer.viewport.flipped&&(t.position.x=this.viewport.getContainerSize().x-t.position.x);var n=this.viewport.pointFromPixel(t.position);this.panVertical?this.panHorizontal||(n.x=this.viewer.viewport.getCenter(!0).x):n.y=this.viewer.viewport.getCenter(!0).y,this.viewer.viewport.panTo(n),this.viewer.viewport.applyConstraints()}}function n(t){var e={tracker:t.eventSource,position:t.position,delta:t.delta,speed:t.speed,direction:t.direction,shift:t.shift,originalEvent:t.originalEvent,preventDefaultAction:t.preventDefaultAction};this.viewer.raiseEvent("navigator-drag",e),!e.preventDefaultAction&&this.viewer.viewport&&(this.panHorizontal||(t.delta.x=0),this.panVertical||(t.delta.y=0),this.viewer.viewport.flipped&&(t.delta.x=-t.delta.x),this.viewer.viewport.panBy(this.viewport.deltaPointsFromPixels(t.delta)),this.viewer.constrainDuringPan&&this.viewer.viewport.applyConstraints())}function r(t){t.insideElementPressed&&this.viewer.viewport&&this.viewer.viewport.applyConstraints()}function i(t){return this.viewer.raiseEvent("navigator-scroll",{tracker:t.eventSource,position:t.position,scroll:t.scroll,shift:t.shift,originalEvent:t.originalEvent}),!1}function o(t,e){s(t,"rotate("+e+"deg)")}function s(t,e){t.style.webkitTransform=e,t.style.mozTransform=e,t.style.msTransform=e,t.style.oTransform=e,t.style.transform=e}t.Navigator=function(s){var a,c,l=s.viewer,u=this;function h(t){o(u.displayRegionContainer,t),o(u.displayRegion,-t),u.viewport.setRotation(t)}if(s.id?(this.element=document.getElementById(s.id),s.controlOptions={anchor:t.ControlAnchor.NONE,attachToViewer:!1,autoFade:!1}):(s.id="navigator-"+t.now(),this.element=t.makeNeutralElement("div"),s.controlOptions={anchor:t.ControlAnchor.TOP_RIGHT,attachToViewer:!0,autoFade:s.autoFade},s.position&&("BOTTOM_RIGHT"==s.position?s.controlOptions.anchor=t.ControlAnchor.BOTTOM_RIGHT:"BOTTOM_LEFT"==s.position?s.controlOptions.anchor=t.ControlAnchor.BOTTOM_LEFT:"TOP_RIGHT"==s.position?s.controlOptions.anchor=t.ControlAnchor.TOP_RIGHT:"TOP_LEFT"==s.position?s.controlOptions.anchor=t.ControlAnchor.TOP_LEFT:"ABSOLUTE"==s.position&&(s.controlOptions.anchor=t.ControlAnchor.ABSOLUTE,s.controlOptions.top=s.top,s.controlOptions.left=s.left,s.controlOptions.height=s.height,s.controlOptions.width=s.width))),this.element.id=s.id,this.element.className+=" navigator",s=t.extend(!0,{sizeRatio:t.DEFAULT_SETTINGS.navigatorSizeRatio},s,{element:this.element,tabIndex:-1,showNavigator:!1,mouseNavEnabled:!1,showNavigationControl:!1,showSequenceControl:!1,immediateRender:!0,blendTime:0,animationTime:0,autoResize:s.autoResize,minZoomImageRatio:1,background:s.background,opacity:s.opacity,borderColor:s.borderColor,displayRegionColor:s.displayRegionColor}),s.minPixelRatio=this.minPixelRatio=l.minPixelRatio,t.setElementTouchActionNone(this.element),this.borderWidth=2,this.fudge=new t.Point(1,1),this.totalBorderWidths=new t.Point(2*this.borderWidth,2*this.borderWidth).minus(this.fudge),s.controlOptions.anchor!=t.ControlAnchor.NONE&&function(t,e){t.margin="0px",t.border=e+"px solid "+s.borderColor,t.padding="0px",t.background=s.background,t.opacity=s.opacity,t.overflow="hidden"}(this.element.style,this.borderWidth),this.displayRegion=t.makeNeutralElement("div"),this.displayRegion.id=this.element.id+"-displayregion",this.displayRegion.className="displayregion",function(t,e){t.position="relative",t.top="0px",t.left="0px",t.fontSize="0px",t.overflow="hidden",t.border=e+"px solid "+s.displayRegionColor,t.margin="0px",t.padding="0px",t.background="transparent",t["float"]="left",t.cssFloat="left",t.styleFloat="left",t.zIndex=999999999,t.cursor="default"}(this.displayRegion.style,this.borderWidth),this.displayRegionContainer=t.makeNeutralElement("div"),this.displayRegionContainer.id=this.element.id+"-displayregioncontainer",this.displayRegionContainer.className="displayregioncontainer",this.displayRegionContainer.style.width="100%",this.displayRegionContainer.style.height="100%",l.addControl(this.element,s.controlOptions),this._resizeWithViewer=s.controlOptions.anchor!=t.ControlAnchor.ABSOLUTE&&s.controlOptions.anchor!=t.ControlAnchor.NONE,s.width&&s.height?(this.setWidth(s.width),this.setHeight(s.height)):this._resizeWithViewer&&(a=t.getElementSize(l.element),this.element.style.height=Math.round(a.y*s.sizeRatio)+"px",this.element.style.width=Math.round(a.x*s.sizeRatio)+"px",this.oldViewerSize=a,c=t.getElementSize(this.element),this.elementArea=c.x*c.y),this.oldContainerSize=new t.Point(0,0),t.Viewer.apply(this,[s]),this.displayRegionContainer.appendChild(this.displayRegion),this.element.getElementsByTagName("div")[0].appendChild(this.displayRegionContainer),s.navigatorRotate){var f=s.viewer.viewport?s.viewer.viewport.getRotation():s.viewer.degrees||0;h(f),s.viewer.addHandler("rotate",(function(t){h(t.degrees)}))}this.innerTracker.destroy(),this.innerTracker=new t.MouseTracker({element:this.element,dragHandler:t.delegate(this,n),clickHandler:t.delegate(this,e),releaseHandler:t.delegate(this,r),scrollHandler:t.delegate(this,i)}),this.addHandler("reset-size",(function(){u.viewport&&u.viewport.goHome(!0)})),l.world.addHandler("item-index-change",(function(t){window.setTimeout((function(){var e=u.world.getItemAt(t.previousIndex);u.world.setItemIndex(e,t.newIndex)}),1)})),l.world.addHandler("remove-item",(function(t){var e=t.item,n=u._getMatchingItem(e);n&&u.world.removeItem(n)})),this.update(l.viewport)},t.extend(t.Navigator.prototype,t.EventSource.prototype,t.Viewer.prototype,{updateSize:function(){if(this.viewport){var e=new t.Point(0===this.container.clientWidth?1:this.container.clientWidth,0===this.container.clientHeight?1:this.container.clientHeight);e.equals(this.oldContainerSize)||(this.viewport.resize(e,!0),this.viewport.goHome(!0),this.oldContainerSize=e,this.drawer.clear(),this.world.draw())}},setWidth:function(t){this.width=t,this.element.style.width="number"==typeof t?t+"px":t,this._resizeWithViewer=!1},setHeight:function(t){this.height=t,this.element.style.height="number"==typeof t?t+"px":t,this._resizeWithViewer=!1},setFlip:function(t){return this.viewport.setFlip(t),this.setDisplayTransform(this.viewer.viewport.getFlip()?"scale(-1,1)":"scale(1,1)"),this},setDisplayTransform:function(t){s(this.displayRegion,t),s(this.canvas,t),s(this.element,t)},update:function(e){var n,r,i,o,s,a;if(n=t.getElementSize(this.viewer.element),this._resizeWithViewer&&n.x&&n.y&&!n.equals(this.oldViewerSize)&&(this.oldViewerSize=n,this.maintainSizeRatio||!this.elementArea?(r=n.x*this.sizeRatio,i=n.y*this.sizeRatio):(r=Math.sqrt(this.elementArea*(n.x/n.y)),i=this.elementArea/r),this.element.style.width=Math.round(r)+"px",this.element.style.height=Math.round(i)+"px",this.elementArea||(this.elementArea=r*i),this.updateSize()),e&&this.viewport){o=e.getBoundsNoRotate(!0),s=this.viewport.pixelFromPointNoRotate(o.getTopLeft(),!1),a=this.viewport.pixelFromPointNoRotate(o.getBottomRight(),!1).minus(this.totalBorderWidths);var c=this.displayRegion.style;c.display=this.world.getItemCount()?"block":"none",c.top=Math.round(s.y)+"px",c.left=Math.round(s.x)+"px";var l=Math.abs(s.x-a.x),u=Math.abs(s.y-a.y);c.width=Math.round(Math.max(l,0))+"px",c.height=Math.round(Math.max(u,0))+"px"}},addTiledImage:function(e){var n=this,r=e.originalTiledImage;delete e.original;var i=t.extend({},e,{success:function(t){var e=t.item;function i(){n._matchBounds(e,r)}function o(){n._matchOpacity(e,r)}function s(){n._matchCompositeOperation(e,r)}e._originalForNavigator=r,n._matchBounds(e,r,!0),r.addHandler("bounds-change",i),r.addHandler("clip-change",i),r.addHandler("opacity-change",o),r.addHandler("composite-operation-change",s)}});return t.Viewer.prototype.addTiledImage.apply(this,[i])},_getMatchingItem:function(t){for(var e,n=this.world.getItemCount(),r=0;r<n;r++)if(e=this.world.getItemAt(r),e._originalForNavigator===t)return e;return null},_matchBounds:function(t,e,n){var r=e.getBoundsNoRotate();t.setPosition(r.getTopLeft(),n),t.setWidth(r.width,n),t.setRotation(e.getRotation(),n),t.setClip(e.getClip())},_matchOpacity:function(t,e){t.setOpacity(e.opacity)},_matchCompositeOperation:function(t,e){t.setCompositeOperation(e.compositeOperation)}})}(OpenSeadragon),function(t){var e={Errors:{Dzc:"Sorry, we don't support Deep Zoom Collections!",Dzi:"Hmm, this doesn't appear to be a valid Deep Zoom Image.",Xml:"Hmm, this doesn't appear to be a valid Deep Zoom Image.",ImageFormat:"Sorry, we don't support {0}-based Deep Zoom Images.",Security:"It looks like a security restriction stopped us from loading this Deep Zoom Image.",Status:"This space unintentionally left blank ({0} {1}).",OpenFailed:"Unable to open {0}: {1}"},Tooltips:{FullPage:"Toggle full page",Home:"Go home",ZoomIn:"Zoom in",ZoomOut:"Zoom out",NextPage:"Next page",PreviousPage:"Previous page",RotateLeft:"Rotate left",RotateRight:"Rotate right",Flip:"Flip Horizontally"}};t.extend(t,{getString:function(n){var r,i=n.split("."),o=null,s=arguments,a=e;for(r=0;r<i.length-1;r++)a=a[i[r]]||{};return o=a[i[r]],"string"!=typeof o&&(t.console.log("Untranslated source string:",n),o=""),o.replace(/\{\d+\}/g,(function(t){var e=parseInt(t.match(/\d+/),10)+1;return e<s.length?s[e]:""}))},setString:function(t,n){var r,i=t.split("."),o=e;for(r=0;r<i.length-1;r++)o[i[r]]||(o[i[r]]={}),o=o[i[r]];o[i[r]]=n}})}(OpenSeadragon),function(t){t.Point=function(t,e){this.x="number"==typeof t?t:0,this.y="number"==typeof e?e:0},t.Point.prototype={clone:function(){return new t.Point(this.x,this.y)},plus:function(e){return new t.Point(this.x+e.x,this.y+e.y)},minus:function(e){return new t.Point(this.x-e.x,this.y-e.y)},times:function(e){return new t.Point(this.x*e,this.y*e)},divide:function(e){return new t.Point(this.x/e,this.y/e)},negate:function(){return new t.Point(-this.x,-this.y)},distanceTo:function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},squaredDistanceTo:function(t){return Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2)},apply:function(e){return new t.Point(e(this.x),e(this.y))},equals:function(e){return e instanceof t.Point&&this.x===e.x&&this.y===e.y},rotate:function(e,n){var r,i;if(n=n||new t.Point(0,0),e%90===0){var o=t.positiveModulo(e,360);switch(o){case 0:r=1,i=0;break;case 90:r=0,i=1;break;case 180:r=-1,i=0;break;case 270:r=0,i=-1;break}}else{var s=e*Math.PI/180;r=Math.cos(s),i=Math.sin(s)}var a=r*(this.x-n.x)-i*(this.y-n.y)+n.x,c=i*(this.x-n.x)+r*(this.y-n.y)+n.y;return new t.Point(a,c)},toString:function(){return"("+Math.round(100*this.x)/100+","+Math.round(100*this.y)/100+")"}}}(OpenSeadragon),function(t){function e(e){var n,r,i=e.responseText,o=e.status;if(!e)throw new Error(t.getString("Errors.Security"));if(200!==e.status&&0!==e.status)throw o=e.status,n=404==o?"Not Found":e.statusText,new Error(t.getString("Errors.Status",o,n));if(i.match(/\s*<.*/))try{r=e.responseXML&&e.responseXML.documentElement?e.responseXML:t.parseXml(i)}catch(s){r=e.responseText}else if(i.match(/\s*[\{\[].*/))try{r=t.parseJSON(i)}catch(s){r=i}else r=i;return r}t.TileSource=function(e,n,r,i,o,s){var a,c,l=this,u=arguments;if(a=t.isPlainObject(e)?e:{width:u[0],height:u[1],tileSize:u[2],tileOverlap:u[3],minLevel:u[4],maxLevel:u[5]},t.EventSource.call(this),t.extend(!0,this,a),!this.success)for(c=0;c<arguments.length;c++)if(t.isFunction(arguments[c])){this.success=arguments[c];break}this.success&&this.addHandler("ready",(function(t){l.success(t)})),"string"==t.type(arguments[0])&&(this.url=arguments[0]),this.url?(this.aspectRatio=1,this.dimensions=new t.Point(10,10),this._tileWidth=0,this._tileHeight=0,this.tileOverlap=0,this.minLevel=0,this.maxLevel=0,this.ready=!1,this.getImageInfo(this.url)):(this.ready=!0,this.aspectRatio=a.width&&a.height?a.width/a.height:1,this.dimensions=new t.Point(a.width,a.height),this.tileSize?(this._tileWidth=this._tileHeight=this.tileSize,delete this.tileSize):(this.tileWidth?(this._tileWidth=this.tileWidth,delete this.tileWidth):this._tileWidth=0,this.tileHeight?(this._tileHeight=this.tileHeight,delete this.tileHeight):this._tileHeight=0),this.tileOverlap=a.tileOverlap?a.tileOverlap:0,this.minLevel=a.minLevel?a.minLevel:0,this.maxLevel=void 0!==a.maxLevel&&null!==a.maxLevel?a.maxLevel:a.width&&a.height?Math.ceil(Math.log(Math.max(a.width,a.height))/Math.log(2)):0,this.success&&t.isFunction(this.success)&&this.success(this))},t.TileSource.prototype={getTileSize:function(e){return t.console.error("[TileSource.getTileSize] is deprecated. Use TileSource.getTileWidth() and TileSource.getTileHeight() instead"),this._tileWidth},getTileWidth:function(t){return this._tileWidth?this._tileWidth:this.getTileSize(t)},getTileHeight:function(t){return this._tileHeight?this._tileHeight:this.getTileSize(t)},getLevelScale:function(t){var e,n={};for(e=0;e<=this.maxLevel;e++)n[e]=1/Math.pow(2,this.maxLevel-e);return this.getLevelScale=function(t){return n[t]},this.getLevelScale(t)},getNumTiles:function(e){var n=this.getLevelScale(e),r=Math.ceil(n*this.dimensions.x/this.getTileWidth(e)),i=Math.ceil(n*this.dimensions.y/this.getTileHeight(e));return new t.Point(r,i)},getPixelRatio:function(e){var n=this.dimensions.times(this.getLevelScale(e)),r=1/n.x,i=1/n.y;return new t.Point(r,i)},getClosestLevel:function(){var t,e;for(t=this.minLevel+1;t<=this.maxLevel;t++)if(e=this.getNumTiles(t),e.x>1||e.y>1)break;return t-1},getTileAtPoint:function(e,n){var r=n.x>=0&&n.x<=1&&n.y>=0&&n.y<=1/this.aspectRatio;t.console.assert(r,"[TileSource.getTileAtPoint] must be called with a valid point.");var i=this.dimensions.x*this.getLevelScale(e),o=n.x*i,s=n.y*i,a=Math.floor(o/this.getTileWidth(e)),c=Math.floor(s/this.getTileHeight(e));n.x>=1&&(a=this.getNumTiles(e).x-1);var l=1e-15;return n.y>=1/this.aspectRatio-l&&(c=this.getNumTiles(e).y-1),new t.Point(a,c)},getTileBounds:function(e,n,r,i){var o=this.dimensions.times(this.getLevelScale(e)),s=this.getTileWidth(e),a=this.getTileHeight(e),c=0===n?0:s*n-this.tileOverlap,l=0===r?0:a*r-this.tileOverlap,u=s+(0===n?1:2)*this.tileOverlap,h=a+(0===r?1:2)*this.tileOverlap,f=1/o.x;return u=Math.min(u,o.x-c),h=Math.min(h,o.y-l),i?new t.Rect(0,0,u,h):new t.Rect(c*f,l*f,u*f,h*f)},getImageInfo:function(n){var r,i,o,s,a,c,l,u=this;n&&(a=n.split("/"),c=a[a.length-1],l=c.lastIndexOf("."),l>-1&&(a[a.length-1]=c.slice(0,l))),i=function(e){"string"===typeof e&&(e=t.parseXml(e));var r=t.TileSource.determineType(u,e,n);r?(s=r.prototype.configure.apply(u,[e,n]),void 0===s.ajaxWithCredentials&&(s.ajaxWithCredentials=u.ajaxWithCredentials),o=new r(s),u.ready=!0,u.raiseEvent("ready",{tileSource:o})):u.raiseEvent("open-failed",{message:"Unable to load TileSource",source:n})},n.match(/\.js$/)?(r=n.split("/").pop().replace(".js",""),t.jsonp({url:n,async:!1,callbackName:r,callback:i})):t.makeAjaxRequest({url:n,withCredentials:this.ajaxWithCredentials,headers:this.ajaxHeaders,success:function(t){var n=e(t);i(n)},error:function(t,e){var r;try{r="HTTP "+t.status+" attempting to load TileSource"}catch(o){var i;i="undefined"!=typeof e&&e.toString?e.toString():"Unknown error",r=i+" attempting to load TileSource"}u.raiseEvent("open-failed",{message:r,source:n})}})},supports:function(t,e){return!1},configure:function(t,e){throw new Error("Method not implemented.")},getTileUrl:function(t,e,n){throw new Error("Method not implemented.")},getTileAjaxHeaders:function(t,e,n){return{}},tileExists:function(t,e,n){var r=this.getNumTiles(t);return t>=this.minLevel&&t<=this.maxLevel&&e>=0&&n>=0&&e<r.x&&n<r.y}},t.extend(!0,t.TileSource.prototype,t.EventSource.prototype),t.TileSource.determineType=function(e,n,r){var i;for(i in OpenSeadragon)if(i.match(/.+TileSource$/)&&t.isFunction(OpenSeadragon[i])&&t.isFunction(OpenSeadragon[i].prototype.supports)&&OpenSeadragon[i].prototype.supports.call(e,n,r))return OpenSeadragon[i];t.console.error("No TileSource was able to open %s %s",r,n)}}(OpenSeadragon),function(t){function e(e,r){if(!r||!r.documentElement)throw new Error(t.getString("Errors.Xml"));var i,o,s,a,c,l=r.documentElement,u=l.localName||l.tagName,h=r.documentElement.namespaceURI,f=null,p=[];if("Image"==u)try{if(a=l.getElementsByTagName("Size")[0],void 0===a&&(a=l.getElementsByTagNameNS(h,"Size")[0]),f={Image:{xmlns:"http://schemas.microsoft.com/deepzoom/2008",Url:l.getAttribute("Url"),Format:l.getAttribute("Format"),DisplayRect:null,Overlap:parseInt(l.getAttribute("Overlap"),10),TileSize:parseInt(l.getAttribute("TileSize"),10),Size:{Height:parseInt(a.getAttribute("Height"),10),Width:parseInt(a.getAttribute("Width"),10)}}},!t.imageFormatSupported(f.Image.Format))throw new Error(t.getString("Errors.ImageFormat",f.Image.Format.toUpperCase()));for(i=l.getElementsByTagName("DisplayRect"),void 0===i&&(i=l.getElementsByTagNameNS(h,"DisplayRect")[0]),c=0;c<i.length;c++)o=i[c],s=o.getElementsByTagName("Rect")[0],void 0===s&&(s=o.getElementsByTagNameNS(h,"Rect")[0]),p.push({Rect:{X:parseInt(s.getAttribute("X"),10),Y:parseInt(s.getAttribute("Y"),10),Width:parseInt(s.getAttribute("Width"),10),Height:parseInt(s.getAttribute("Height"),10),MinLevel:parseInt(o.getAttribute("MinLevel"),10),MaxLevel:parseInt(o.getAttribute("MaxLevel"),10)}});return p.length&&(f.Image.DisplayRect=p),n(e,f)}catch(v){throw v instanceof Error?v:new Error(t.getString("Errors.Dzi"))}else{if("Collection"==u)throw new Error(t.getString("Errors.Dzc"));if("Error"==u){var d=l.getElementsByTagName("Message")[0],g=d.firstChild.nodeValue;throw new Error(g)}}throw new Error(t.getString("Errors.Dzi"))}function n(e,n){var r,i,o=n.Image,s=o.Url,a=o.Format,c=o.Size,l=o.DisplayRect||[],u=parseInt(c.Width,10),h=parseInt(c.Height,10),f=parseInt(o.TileSize,10),p=parseInt(o.Overlap,10),d=[];for(i=0;i<l.length;i++)r=l[i].Rect,d.push(new t.DisplayRect(parseInt(r.X,10),parseInt(r.Y,10),parseInt(r.Width,10),parseInt(r.Height,10),parseInt(r.MinLevel,10),parseInt(r.MaxLevel,10)));return t.extend(!0,{width:u,height:h,tileSize:f,tileOverlap:p,minLevel:null,maxLevel:null,tilesUrl:s,fileFormat:a,displayRects:d},n)}t.DziTileSource=function(e,n,r,i,o,s,a,c,l){var u,h,f,p;if(p=t.isPlainObject(e)?e:{width:arguments[0],height:arguments[1],tileSize:arguments[2],tileOverlap:arguments[3],tilesUrl:arguments[4],fileFormat:arguments[5],displayRects:arguments[6],minLevel:arguments[7],maxLevel:arguments[8]},this._levelRects={},this.tilesUrl=p.tilesUrl,this.fileFormat=p.fileFormat,this.displayRects=p.displayRects,this.displayRects)for(u=this.displayRects.length-1;u>=0;u--)for(h=this.displayRects[u],f=h.minLevel;f<=h.maxLevel;f++)this._levelRects[f]||(this._levelRects[f]=[]),this._levelRects[f].push(h);t.TileSource.apply(this,[p])},t.extend(t.DziTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){var n;return t.Image?n=t.Image.xmlns:t.documentElement&&("Image"!=t.documentElement.localName&&"Image"!=t.documentElement.tagName||(n=t.documentElement.namespaceURI)),n=(n||"").toLowerCase(),-1!==n.indexOf("schemas.microsoft.com/deepzoom/2008")||-1!==n.indexOf("schemas.microsoft.com/deepzoom/2009")},configure:function(r,i){var o;return o=t.isPlainObject(r)?n(this,r):e(this,r),i&&!o.tilesUrl&&(o.tilesUrl=i.replace(/([^\/]+?)(\.(dzi|xml|js)?(\?[^\/]*)?)?\/?$/,"$1_files/"),-1!=i.search(/\.(dzi|xml|js)\?/)?o.queryParams=i.match(/\?.*/):o.queryParams=""),o},getTileUrl:function(t,e,n){return[this.tilesUrl,t,"/",e,"_",n,".",this.fileFormat,this.queryParams].join("")},tileExists:function(t,e,n){var r,i,o,s,a,c,l,u=this._levelRects[t];if(this.minLevel&&t<this.minLevel||this.maxLevel&&t>this.maxLevel)return!1;if(!u||!u.length)return!0;for(l=u.length-1;l>=0;l--)if(r=u[l],!(t<r.minLevel||t>r.maxLevel)&&(i=this.getLevelScale(t),o=r.x*i,s=r.y*i,a=o+r.width*i,c=s+r.height*i,o=Math.floor(o/this._tileWidth),s=Math.floor(s/this._tileWidth),a=Math.ceil(a/this._tileWidth),c=Math.ceil(c/this._tileWidth),o<=e&&e<a&&s<=n&&n<c))return!0;return!1}})}(OpenSeadragon),function(t){function e(t){var e=["http://library.stanford.edu/iiif/image-api/compliance.html#level0","http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0","http://iiif.io/api/image/2/level0.json","level0","https://iiif.io/api/image/3/level0.json"],n=Array.isArray(t.profile)?t.profile[0]:t.profile,r=-1!==e.indexOf(n),i=!1;return 2===t.version&&t.profile.length>1&&t.profile[1].supports&&(i=-1!==t.profile[1].supports.indexOf("sizeByW")),3===t.version&&t.extraFeatures&&(i=-1!==t.extraFeatures.indexOf("sizeByWh")),!r||i}function n(t){for(var e=[],n=0;n<t.sizes.length;n++)e.push({url:t["@id"]+"/full/"+t.sizes[n].width+","+(3===t.version?t.sizes[n].height:"")+"/0/default."+t.tileFormat,width:t.sizes[n].width,height:t.sizes[n].height});return e.sort((function(t,e){return t.width-e.width}))}function r(e){if(!e||!e.documentElement)throw new Error(t.getString("Errors.Xml"));var n=e.documentElement,r=n.tagName,o=null;if("info"==r)try{return o={},i(n,o),o}catch(s){throw s instanceof Error?s:new Error(t.getString("Errors.IIIF"))}throw new Error(t.getString("Errors.IIIF"))}function i(e,n,r){var o,s;if(3==e.nodeType&&r)s=e.nodeValue.trim(),s.match(/^\d*$/)&&(s=Number(s)),n[r]?(t.isArray(n[r])||(n[r]=[n[r]]),n[r].push(s)):n[r]=s;else if(1==e.nodeType)for(o=0;o<e.childNodes.length;o++)i(e.childNodes[o],n,e.nodeName)}t.IIIFTileSource=function(r){if(t.extend(!0,this,r),!(this.height&&this.width&&this["@id"]))throw new Error("IIIF required parameters not provided.");if(r.tileSizePerScaleFactor={},this.tileFormat=this.tileFormat||"jpg",this.version=r.version,this.tile_width&&this.tile_height)r.tileWidth=this.tile_width,r.tileHeight=this.tile_height;else if(this.tile_width)r.tileSize=this.tile_width;else if(this.tile_height)r.tileSize=this.tile_height;else if(this.tiles)if(1==this.tiles.length)r.tileWidth=this.tiles[0].width,r.tileHeight=this.tiles[0].height||this.tiles[0].width,this.scale_factors=this.tiles[0].scaleFactors;else{this.scale_factors=[];for(var i=0;i<this.tiles.length;i++)for(var o=0;o<this.tiles[i].scaleFactors.length;o++){var s=this.tiles[i].scaleFactors[o];this.scale_factors.push(s),r.tileSizePerScaleFactor[s]={width:this.tiles[i].width,height:this.tiles[i].height||this.tiles[i].width}}}else if(e(r)){for(var a=Math.min(this.height,this.width),c=[256,512,1024],l=[],u=0;u<c.length;u++)c[u]<=a&&l.push(c[u]);l.length>0?r.tileSize=Math.max.apply(null,l):r.tileSize=a}else this.sizes&&this.sizes.length>0?(this.emulateLegacyImagePyramid=!0,r.levels=n(this),t.extend(!0,r,{width:r.levels[r.levels.length-1].width,height:r.levels[r.levels.length-1].height,tileSize:Math.max(r.height,r.width),tileOverlap:0,minLevel:0,maxLevel:r.levels.length-1}),this.levels=r.levels):t.console.error("Nothing in the info.json to construct image pyramids from");if(!r.maxLevel&&!this.emulateLegacyImagePyramid)if(this.scale_factors){var h=Math.max.apply(null,this.scale_factors);r.maxLevel=Math.round(Math.log(h)*Math.LOG2E)}else r.maxLevel=Number(Math.ceil(Math.log(Math.max(this.width,this.height),2)));t.TileSource.apply(this,[r])},t.extend(t.IIIFTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){return!(!t.protocol||"http://iiif.io/api/image"!=t.protocol)||(!(!t["@context"]||"http://library.stanford.edu/iiif/image-api/1.1/context.json"!=t["@context"]&&"http://iiif.io/api/image/1/context.json"!=t["@context"])||(!(!t.profile||0!==t.profile.indexOf("http://library.stanford.edu/iiif/image-api/compliance.html"))||(!!(t.identifier&&t.width&&t.height)||!(!t.documentElement||"info"!=t.documentElement.tagName||"http://library.stanford.edu/iiif/image-api/ns/"!=t.documentElement.namespaceURI))))},configure:function(e,n){if(t.isPlainObject(e)){if(e["@context"]){var i=e["@context"];if(Array.isArray(i))for(var o=0;o<i.length;o++)if("string"===typeof i[o]&&(/^http:\/\/iiif\.io\/api\/image\/[1-3]\/context\.json$/.test(i[o])||"http://library.stanford.edu/iiif/image-api/1.1/context.json"===i[o])){i=i[o];break}switch(i){case"http://iiif.io/api/image/1/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/context.json":e.version=1;break;case"http://iiif.io/api/image/2/context.json":e.version=2;break;case"http://iiif.io/api/image/3/context.json":e.version=3;break;default:t.console.error("Data has a @context property which contains no known IIIF context URI.")}}else e["@context"]="http://iiif.io/api/image/1.0/context.json",e["@id"]=n.replace("/info.json",""),e.version=1;if(!e["@id"]&&e["id"]&&(e["@id"]=e["id"]),e.preferredFormats)for(var s=0;s<e.preferredFormats.length;s++)if(OpenSeadragon.imageFormatSupported(e.preferredFormats[s])){e.tileFormat=e.preferredFormats[s];break}return e}var a=r(e);return a["@context"]="http://iiif.io/api/image/1.0/context.json",a["@id"]=n.replace("/info.xml",""),a.version=1,a},getTileWidth:function(e){if(this.emulateLegacyImagePyramid)return t.TileSource.prototype.getTileWidth.call(this,e);var n=Math.pow(2,this.maxLevel-e);return this.tileSizePerScaleFactor&&this.tileSizePerScaleFactor[n]?this.tileSizePerScaleFactor[n].width:this._tileWidth},getTileHeight:function(e){if(this.emulateLegacyImagePyramid)return t.TileSource.prototype.getTileHeight.call(this,e);var n=Math.pow(2,this.maxLevel-e);return this.tileSizePerScaleFactor&&this.tileSizePerScaleFactor[n]?this.tileSizePerScaleFactor[n].height:this._tileHeight},getLevelScale:function(e){if(this.emulateLegacyImagePyramid){var n=NaN;return this.levels.length>0&&e>=this.minLevel&&e<=this.maxLevel&&(n=this.levels[e].width/this.levels[this.maxLevel].width),n}return t.TileSource.prototype.getLevelScale.call(this,e)},getNumTiles:function(e){if(this.emulateLegacyImagePyramid){var n=this.getLevelScale(e);return n?new t.Point(1,1):new t.Point(0,0)}return t.TileSource.prototype.getNumTiles.call(this,e)},getTileAtPoint:function(e,n){return this.emulateLegacyImagePyramid?new t.Point(0,0):t.TileSource.prototype.getTileAtPoint.call(this,e,n)},getTileUrl:function(t,e,n){if(this.emulateLegacyImagePyramid){var r=null;return this.levels.length>0&&t>=this.minLevel&&t<=this.maxLevel&&(r=this.levels[t].url),r}var i,o,s,a,c,l,u,h,f,p,d,g,v,m,y="0",b=Math.pow(.5,this.maxLevel-t),w=Math.ceil(this.width*b),_=Math.ceil(this.height*b);return i=this.getTileWidth(t),o=this.getTileHeight(t),s=Math.ceil(i/b),a=Math.ceil(o/b),v=1===this.version?"native."+this.tileFormat:"default."+this.tileFormat,w<i&&_<o?(p=2===this.version&&w===this.width?"max":3===this.version&&w===this.width&&_===this.height?"max":3===this.version?w+","+_:w+",",c="full"):(l=e*s,u=n*a,h=Math.min(s,this.width-l),f=Math.min(a,this.height-u),c=0===e&&0===n&&h===this.width&&f===this.height?"full":[l,u,h,f].join(","),d=Math.ceil(h*b),g=Math.ceil(f*b),p=2===this.version&&d===this.width?"max":3===this.version&&d===this.width&&g===this.height?"max":3===this.version?d+","+g:d+","),m=[this["@id"],c,p,y,v].join("/"),m},__testonly__:{canBeTiled:e,constructLevels:n}})}(OpenSeadragon),function(t){t.OsmTileSource=function(e,n,r,i,o){var s;s=t.isPlainObject(e)?e:{width:arguments[0],height:arguments[1],tileSize:arguments[2],tileOverlap:arguments[3],tilesUrl:arguments[4]},s.width&&s.height||(s.width=65572864,s.height=65572864),s.tileSize||(s.tileSize=256,s.tileOverlap=0),s.tilesUrl||(s.tilesUrl="http://tile.openstreetmap.org/"),s.minLevel=8,t.TileSource.apply(this,[s])},t.extend(t.OsmTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){return t.type&&"openstreetmaps"==t.type},configure:function(t,e){return t},getTileUrl:function(t,e,n){return this.tilesUrl+(t-8)+"/"+e+"/"+n+".png"}})}(OpenSeadragon),function(t){t.TmsTileSource=function(e,n,r,i,o){var s;s=t.isPlainObject(e)?e:{width:arguments[0],height:arguments[1],tileSize:arguments[2],tileOverlap:arguments[3],tilesUrl:arguments[4]};var a,c=256*Math.ceil(s.width/256),l=256*Math.ceil(s.height/256);a=c>l?c/256:l/256,s.maxLevel=Math.ceil(Math.log(a)/Math.log(2))-1,s.tileSize=256,s.width=c,s.height=l,t.TileSource.apply(this,[s])},t.extend(t.TmsTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){return t.type&&"tiledmapservice"==t.type},configure:function(t,e){return t},getTileUrl:function(t,e,n){var r=this.getNumTiles(t).y-1;return this.tilesUrl+t+"/"+e+"/"+(r-n)+".png"}})}(OpenSeadragon),function(t){t.ZoomifyTileSource=function(t){t.tileSize=256;var e={x:t.width,y:t.height};t.imageSizes=[{x:t.width,y:t.height}],t.gridSize=[this._getGridSize(t.width,t.height,t.tileSize)];while(parseInt(e.x,10)>t.tileSize||parseInt(e.y,10)>t.tileSize)e.x=Math.floor(e.x/2),e.y=Math.floor(e.y/2),t.imageSizes.push({x:e.x,y:e.y}),t.gridSize.push(this._getGridSize(e.x,e.y,t.tileSize));t.imageSizes.reverse(),t.gridSize.reverse(),t.minLevel=0,t.maxLevel=t.gridSize.length-1,OpenSeadragon.TileSource.apply(this,[t])},t.extend(t.ZoomifyTileSource.prototype,t.TileSource.prototype,{_getGridSize:function(t,e,n){return{x:Math.ceil(t/n),y:Math.ceil(e/n)}},_calculateAbsoluteTileNumber:function(t,e,n){for(var r=0,i={},o=0;o<t;o++)i=this.gridSize[o],r+=i.x*i.y;return i=this.gridSize[t],r+=i.x*n+e,r},supports:function(t,e){return t.type&&"zoomifytileservice"==t.type},configure:function(t,e){return t},getTileUrl:function(t,e,n){var r=0,i=this._calculateAbsoluteTileNumber(t,e,n);return r=Math.floor(i/256),this.tilesUrl+"TileGroup"+r+"/"+t+"-"+e+"-"+n+".jpg"}})}(OpenSeadragon),function(t){function e(e){var n,r,i=[];for(r=0;r<e.length;r++)n=e[r],n.height&&n.width&&n.url?i.push({url:n.url,width:Number(n.width),height:Number(n.height)}):t.console.error("Unsupported image format: %s",n.url?n.url:"<no URL>");return i.sort((function(t,e){return t.height-e.height}))}function n(e,n){if(!n||!n.documentElement)throw new Error(t.getString("Errors.Xml"));var i,o,s=n.documentElement,a=s.tagName,c=null,l=[];if("image"==a)try{for(c={type:s.getAttribute("type"),levels:[]},l=s.getElementsByTagName("level"),o=0;o<l.length;o++)i=l[o],c.levels.push({url:i.getAttribute("url"),width:parseInt(i.getAttribute("width"),10),height:parseInt(i.getAttribute("height"),10)});return r(e,c)}catch(u){throw u instanceof Error?u:new Error("Unknown error parsing Legacy Image Pyramid XML.")}else{if("collection"==a)throw new Error("Legacy Image Pyramid Collections not yet supported.");if("error"==a)throw new Error("Error: "+n)}throw new Error("Unknown element "+a)}function r(t,e){return e.levels}t.LegacyTileSource=function(n){var r,i,o;t.isArray(n)&&(r={type:"legacy-image-pyramid",levels:n}),r.levels=e(r.levels),r.levels.length>0?(i=r.levels[r.levels.length-1].width,o=r.levels[r.levels.length-1].height):(i=0,o=0,t.console.error("No supported image formats found")),t.extend(!0,r,{width:i,height:o,tileSize:Math.max(o,i),tileOverlap:0,minLevel:0,maxLevel:r.levels.length>0?r.levels.length-1:0}),t.TileSource.apply(this,[r]),this.levels=r.levels},t.extend(t.LegacyTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){return t.type&&"legacy-image-pyramid"==t.type||t.documentElement&&"legacy-image-pyramid"==t.documentElement.getAttribute("type")},configure:function(e,i){var o;return o=t.isPlainObject(e)?r(this,e):n(this,e),o},getLevelScale:function(t){var e=NaN;return this.levels.length>0&&t>=this.minLevel&&t<=this.maxLevel&&(e=this.levels[t].width/this.levels[this.maxLevel].width),e},getNumTiles:function(e){var n=this.getLevelScale(e);return n?new t.Point(1,1):new t.Point(0,0)},getTileUrl:function(t,e,n){var r=null;return this.levels.length>0&&t>=this.minLevel&&t<=this.maxLevel&&(r=this.levels[t].url),r}})}(OpenSeadragon),function(t){t.ImageTileSource=function(e){e=t.extend({buildPyramid:!0,crossOriginPolicy:!1,ajaxWithCredentials:!1,useCanvas:!0},e),t.TileSource.apply(this,[e])},t.extend(t.ImageTileSource.prototype,t.TileSource.prototype,{supports:function(t,e){return t.type&&"image"===t.type},configure:function(t,e){return t},getImageInfo:function(e){var n=this._image=new Image,r=this;this.crossOriginPolicy&&(n.crossOrigin=this.crossOriginPolicy),this.ajaxWithCredentials&&(n.useCredentials=this.ajaxWithCredentials),t.addEvent(n,"load",(function(){r.width=Object.prototype.hasOwnProperty.call(n,"naturalWidth")?n.naturalWidth:n.width,r.height=Object.prototype.hasOwnProperty.call(n,"naturalHeight")?n.naturalHeight:n.height,r.aspectRatio=r.width/r.height,r.dimensions=new t.Point(r.width,r.height),r._tileWidth=r.width,r._tileHeight=r.height,r.tileOverlap=0,r.minLevel=0,r.levels=r._buildLevels(),r.maxLevel=r.levels.length-1,r.ready=!0,r.raiseEvent("ready",{tileSource:r})})),t.addEvent(n,"error",(function(){r.raiseEvent("open-failed",{message:"Error loading image at "+e,source:e})})),n.src=e},getLevelScale:function(t){var e=NaN;return t>=this.minLevel&&t<=this.maxLevel&&(e=this.levels[t].width/this.levels[this.maxLevel].width),e},getNumTiles:function(e){var n=this.getLevelScale(e);return n?new t.Point(1,1):new t.Point(0,0)},getTileUrl:function(t,e,n){var r=null;return t>=this.minLevel&&t<=this.maxLevel&&(r=this.levels[t].url),r},getContext2D:function(t,e,n){var r=null;return t>=this.minLevel&&t<=this.maxLevel&&(r=this.levels[t].context2D),r},_buildLevels:function(){var e=[{url:this._image.src,width:Object.prototype.hasOwnProperty.call(this._image,"naturalWidth")?this._image.naturalWidth:this._image.width,height:Object.prototype.hasOwnProperty.call(this._image,"naturalHeight")?this._image.naturalHeight:this._image.height}];if(!this.buildPyramid||!t.supportsCanvas||!this.useCanvas)return delete this._image,e;var n=Object.prototype.hasOwnProperty.call(this._image,"naturalWidth")?this._image.naturalWidth:this._image.width,r=Object.prototype.hasOwnProperty.call(this._image,"naturalHeight")?this._image.naturalHeight:this._image.height,i=document.createElement("canvas"),o=i.getContext("2d");if(i.width=n,i.height=r,o.drawImage(this._image,0,0,n,r),e[0].context2D=o,delete this._image,t.isCanvasTainted(i))return e;while(n>=2&&r>=2){n=Math.floor(n/2),r=Math.floor(r/2);var s=document.createElement("canvas"),a=s.getContext("2d");s.width=n,s.height=r,a.drawImage(i,0,0,n,r),e.splice(0,0,{context2D:a,width:n,height:r}),i=s,o=a}return e}})}(OpenSeadragon),function(t){t.TileSourceCollection=function(e,n,r,i){t.console.error("TileSourceCollection is deprecated; use World instead")}}(OpenSeadragon),function(t){function e(e){t.requestAnimationFrame((function(){n(e)}))}function n(n){var r,i,o;n.shouldFade&&(r=t.now(),i=r-n.fadeBeginTime,o=1-i/n.fadeLength,o=Math.min(1,o),o=Math.max(0,o),n.imgGroup&&t.setElementOpacity(n.imgGroup,o,!0),o>0&&e(n))}function r(n){n.shouldFade=!0,n.fadeBeginTime=t.now()+n.fadeDelay,window.setTimeout((function(){e(n)}),n.fadeDelay)}function i(e){e.shouldFade=!1,e.imgGroup&&t.setElementOpacity(e.imgGroup,1,!0)}function o(e,n){e.element.disabled||(n>=t.ButtonState.GROUP&&e.currentState==t.ButtonState.REST&&(i(e),e.currentState=t.ButtonState.GROUP),n>=t.ButtonState.HOVER&&e.currentState==t.ButtonState.GROUP&&(e.imgHover&&(e.imgHover.style.visibility=""),e.currentState=t.ButtonState.HOVER),n>=t.ButtonState.DOWN&&e.currentState==t.ButtonState.HOVER&&(e.imgDown&&(e.imgDown.style.visibility=""),e.currentState=t.ButtonState.DOWN))}function s(e,n){e.element.disabled||(n<=t.ButtonState.HOVER&&e.currentState==t.ButtonState.DOWN&&(e.imgDown&&(e.imgDown.style.visibility="hidden"),e.currentState=t.ButtonState.HOVER),n<=t.ButtonState.GROUP&&e.currentState==t.ButtonState.HOVER&&(e.imgHover&&(e.imgHover.style.visibility="hidden"),e.currentState=t.ButtonState.GROUP),n<=t.ButtonState.REST&&e.currentState==t.ButtonState.GROUP&&(r(e),e.currentState=t.ButtonState.REST))}t.ButtonState={REST:0,GROUP:1,HOVER:2,DOWN:3},t.Button=function(e){var n=this;t.EventSource.call(this),t.extend(!0,this,{tooltip:null,srcRest:null,srcGroup:null,srcHover:null,srcDown:null,clickTimeThreshold:t.DEFAULT_SETTINGS.clickTimeThreshold,clickDistThreshold:t.DEFAULT_SETTINGS.clickDistThreshold,fadeDelay:0,fadeLength:2e3,onPress:null,onRelease:null,onClick:null,onEnter:null,onExit:null,onFocus:null,onBlur:null},e),this.element=e.element||t.makeNeutralElement("div"),e.element||(this.imgRest=t.makeTransparentImage(this.srcRest),this.imgGroup=t.makeTransparentImage(this.srcGroup),this.imgHover=t.makeTransparentImage(this.srcHover),this.imgDown=t.makeTransparentImage(this.srcDown),this.imgRest.alt=this.imgGroup.alt=this.imgHover.alt=this.imgDown.alt=this.tooltip,this.element.style.position="relative",t.setElementTouchActionNone(this.element),this.imgGroup.style.position=this.imgHover.style.position=this.imgDown.style.position="absolute",this.imgGroup.style.top=this.imgHover.style.top=this.imgDown.style.top="0px",this.imgGroup.style.left=this.imgHover.style.left=this.imgDown.style.left="0px",this.imgHover.style.visibility=this.imgDown.style.visibility="hidden",t.Browser.vendor==t.BROWSERS.FIREFOX&&t.Browser.version<3&&(this.imgGroup.style.top=this.imgHover.style.top=this.imgDown.style.top=""),this.element.appendChild(this.imgRest),this.element.appendChild(this.imgGroup),this.element.appendChild(this.imgHover),this.element.appendChild(this.imgDown)),this.addHandler("press",this.onPress),this.addHandler("release",this.onRelease),this.addHandler("click",this.onClick),this.addHandler("enter",this.onEnter),this.addHandler("exit",this.onExit),this.addHandler("focus",this.onFocus),this.addHandler("blur",this.onBlur),this.currentState=t.ButtonState.GROUP,this.fadeBeginTime=null,this.shouldFade=!1,this.element.style.display="inline-block",this.element.style.position="relative",this.element.title=this.tooltip,this.tracker=new t.MouseTracker({element:this.element,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,enterHandler:function(e){e.insideElementPressed?(o(n,t.ButtonState.DOWN),n.raiseEvent("enter",{originalEvent:e.originalEvent})):e.buttonDownAny||o(n,t.ButtonState.HOVER)},focusHandler:function(t){this.enterHandler(t),n.raiseEvent("focus",{originalEvent:t.originalEvent})},exitHandler:function(e){s(n,t.ButtonState.GROUP),e.insideElementPressed&&n.raiseEvent("exit",{originalEvent:e.originalEvent})},blurHandler:function(t){this.exitHandler(t),n.raiseEvent("blur",{originalEvent:t.originalEvent})},pressHandler:function(e){o(n,t.ButtonState.DOWN),n.raiseEvent("press",{originalEvent:e.originalEvent})},releaseHandler:function(e){e.insideElementPressed&&e.insideElementReleased?(s(n,t.ButtonState.HOVER),n.raiseEvent("release",{originalEvent:e.originalEvent})):e.insideElementPressed?s(n,t.ButtonState.GROUP):o(n,t.ButtonState.HOVER)},clickHandler:function(t){t.quick&&n.raiseEvent("click",{originalEvent:t.originalEvent})},keyHandler:function(t){return 13!==t.keyCode||(n.raiseEvent("click",{originalEvent:t.originalEvent}),n.raiseEvent("release",{originalEvent:t.originalEvent}),!1)}}),s(this,t.ButtonState.REST)},t.extend(t.Button.prototype,t.EventSource.prototype,{notifyGroupEnter:function(){o(this,t.ButtonState.GROUP)},notifyGroupExit:function(){s(this,t.ButtonState.REST)},disable:function(){this.notifyGroupExit(),this.element.disabled=!0,t.setElementOpacity(this.element,.2,!0)},enable:function(){this.element.disabled=!1,t.setElementOpacity(this.element,1,!0),this.notifyGroupEnter()}})}(OpenSeadragon),function(t){t.ButtonGroup=function(e){t.extend(!0,this,{buttons:[],clickTimeThreshold:t.DEFAULT_SETTINGS.clickTimeThreshold,clickDistThreshold:t.DEFAULT_SETTINGS.clickDistThreshold,labelText:""},e);var n,r=this.buttons.concat([]),i=this;if(this.element=e.element||t.makeNeutralElement("div"),!e.group)for(this.element.style.display="inline-block",n=0;n<r.length;n++)this.element.appendChild(r[n].element);t.setElementTouchActionNone(this.element),this.tracker=new t.MouseTracker({element:this.element,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,enterHandler:function(t){var e;for(e=0;e<i.buttons.length;e++)i.buttons[e].notifyGroupEnter()},exitHandler:function(t){var e;if(!t.insideElementPressed)for(e=0;e<i.buttons.length;e++)i.buttons[e].notifyGroupExit()}})},t.ButtonGroup.prototype={emulateEnter:function(){this.tracker.enterHandler({eventSource:this.tracker})},emulateExit:function(){this.tracker.exitHandler({eventSource:this.tracker})}}}(OpenSeadragon),function(t){t.Rect=function(e,n,r,i,o){var s,a;this.x="number"===typeof e?e:0,this.y="number"===typeof n?n:0,this.width="number"===typeof r?r:0,this.height="number"===typeof i?i:0,this.degrees="number"===typeof o?o:0,this.degrees=t.positiveModulo(this.degrees,360),this.degrees>=270?(s=this.getTopRight(),this.x=s.x,this.y=s.y,a=this.height,this.height=this.width,this.width=a,this.degrees-=270):this.degrees>=180?(s=this.getBottomRight(),this.x=s.x,this.y=s.y,this.degrees-=180):this.degrees>=90&&(s=this.getBottomLeft(),this.x=s.x,this.y=s.y,a=this.height,this.height=this.width,this.width=a,this.degrees-=90)},t.Rect.fromSummits=function(e,n,r){var i=e.distanceTo(n),o=e.distanceTo(r),s=n.minus(e),a=Math.atan(s.y/s.x);return s.x<0?a+=Math.PI:s.y<0&&(a+=2*Math.PI),new t.Rect(e.x,e.y,i,o,a/Math.PI*180)},t.Rect.prototype={clone:function(){return new t.Rect(this.x,this.y,this.width,this.height,this.degrees)},getAspectRatio:function(){return this.width/this.height},getTopLeft:function(){return new t.Point(this.x,this.y)},getBottomRight:function(){return new t.Point(this.x+this.width,this.y+this.height).rotate(this.degrees,this.getTopLeft())},getTopRight:function(){return new t.Point(this.x+this.width,this.y).rotate(this.degrees,this.getTopLeft())},getBottomLeft:function(){return new t.Point(this.x,this.y+this.height).rotate(this.degrees,this.getTopLeft())},getCenter:function(){return new t.Point(this.x+this.width/2,this.y+this.height/2).rotate(this.degrees,this.getTopLeft())},getSize:function(){return new t.Point(this.width,this.height)},equals:function(e){return e instanceof t.Rect&&this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height&&this.degrees===e.degrees},times:function(e){return new t.Rect(this.x*e,this.y*e,this.width*e,this.height*e,this.degrees)},translate:function(e){return new t.Rect(this.x+e.x,this.y+e.y,this.width,this.height,this.degrees)},union:function(e){var n=this.getBoundingBox(),r=e.getBoundingBox(),i=Math.min(n.x,r.x),o=Math.min(n.y,r.y),s=Math.max(n.x+n.width,r.x+r.width),a=Math.max(n.y+n.height,r.y+r.height);return new t.Rect(i,o,s-i,a-o)},intersection:function(e){var n=1e-10,r=[],i=this.getTopLeft();e.containsPoint(i,n)&&r.push(i);var o=this.getTopRight();e.containsPoint(o,n)&&r.push(o);var s=this.getBottomLeft();e.containsPoint(s,n)&&r.push(s);var a=this.getBottomRight();e.containsPoint(a,n)&&r.push(a);var c=e.getTopLeft();this.containsPoint(c,n)&&r.push(c);var l=e.getTopRight();this.containsPoint(l,n)&&r.push(l);var u=e.getBottomLeft();this.containsPoint(u,n)&&r.push(u);var h=e.getBottomRight();this.containsPoint(h,n)&&r.push(h);for(var f=this._getSegments(),p=e._getSegments(),d=0;d<f.length;d++)for(var g=f[d],v=0;v<p.length;v++){var m=p[v],y=b(g[0],g[1],m[0],m[1]);y&&r.push(y)}function b(e,r,i,o){var s=r.minus(e),a=o.minus(i),c=-a.x*s.y+s.x*a.y;if(0===c)return null;var l=(s.x*(e.y-i.y)-s.y*(e.x-i.x))/c,u=(a.x*(e.y-i.y)-a.y*(e.x-i.x))/c;return-n<=l&&l<=1-n&&-n<=u&&u<=1-n?new t.Point(e.x+u*s.x,e.y+u*s.y):null}if(0===r.length)return null;for(var w=r[0].x,_=r[0].x,x=r[0].y,S=r[0].y,T=1;T<r.length;T++){var E=r[T];E.x<w&&(w=E.x),E.x>_&&(_=E.x),E.y<x&&(x=E.y),E.y>S&&(S=E.y)}return new t.Rect(w,x,_-w,S-x)},_getSegments:function(){var t=this.getTopLeft(),e=this.getTopRight(),n=this.getBottomLeft(),r=this.getBottomRight();return[[t,e],[e,r],[r,n],[n,t]]},rotate:function(e,n){if(e=t.positiveModulo(e,360),0===e)return this.clone();n=n||this.getCenter();var r=this.getTopLeft().rotate(e,n),i=this.getTopRight().rotate(e,n),o=i.minus(r);o=o.apply((function(t){var e=1e-15;return Math.abs(t)<e?0:t}));var s=Math.atan(o.y/o.x);return o.x<0?s+=Math.PI:o.y<0&&(s+=2*Math.PI),new t.Rect(r.x,r.y,this.width,this.height,s/Math.PI*180)},getBoundingBox:function(){if(0===this.degrees)return this.clone();var e=this.getTopLeft(),n=this.getTopRight(),r=this.getBottomLeft(),i=this.getBottomRight(),o=Math.min(e.x,n.x,r.x,i.x),s=Math.max(e.x,n.x,r.x,i.x),a=Math.min(e.y,n.y,r.y,i.y),c=Math.max(e.y,n.y,r.y,i.y);return new t.Rect(o,a,s-o,c-a)},getIntegerBoundingBox:function(){var e=this.getBoundingBox(),n=Math.floor(e.x),r=Math.floor(e.y),i=Math.ceil(e.width+e.x-n),o=Math.ceil(e.height+e.y-r);return new t.Rect(n,r,i,o)},containsPoint:function(t,e){e=e||0;var n=this.getTopLeft(),r=this.getTopRight(),i=this.getBottomLeft(),o=r.minus(n),s=i.minus(n);return(t.x-n.x)*o.x+(t.y-n.y)*o.y>=-e&&(t.x-r.x)*o.x+(t.y-r.y)*o.y<=e&&(t.x-n.x)*s.x+(t.y-n.y)*s.y>=-e&&(t.x-i.x)*s.x+(t.y-i.y)*s.y<=e},toString:function(){return"["+Math.round(100*this.x)/100+", "+Math.round(100*this.y)/100+", "+Math.round(100*this.width)/100+"x"+Math.round(100*this.height)/100+", "+Math.round(100*this.degrees)/100+"deg]"}}}(OpenSeadragon),function(t){var e={};function n(e){var n=Number(this.element.style.marginLeft.replace("px","")),r=Number(this.element.style.marginTop.replace("px","")),o=Number(this.element.style.width.replace("px","")),s=Number(this.element.style.height.replace("px","")),a=t.getElementSize(this.viewer.canvas);return this.dragging=!0,this.element&&("horizontal"==this.scroll?-e.delta.x>0?n>-(o-a.x)&&(this.element.style.marginLeft=n+2*e.delta.x+"px",i(this,a.x,n+2*e.delta.x)):-e.delta.x<0&&n<0&&(this.element.style.marginLeft=n+2*e.delta.x+"px",i(this,a.x,n+2*e.delta.x)):-e.delta.y>0?r>-(s-a.y)&&(this.element.style.marginTop=r+2*e.delta.y+"px",i(this,a.y,r+2*e.delta.y)):-e.delta.y<0&&r<0&&(this.element.style.marginTop=r+2*e.delta.y+"px",i(this,a.y,r+2*e.delta.y))),!1}function r(e){var n=Number(this.element.style.marginLeft.replace("px","")),r=Number(this.element.style.marginTop.replace("px","")),o=Number(this.element.style.width.replace("px","")),s=Number(this.element.style.height.replace("px","")),a=t.getElementSize(this.viewer.canvas);return this.element&&("horizontal"==this.scroll?e.scroll>0?n>-(o-a.x)&&(this.element.style.marginLeft=n-60*e.scroll+"px",i(this,a.x,n-60*e.scroll)):e.scroll<0&&n<0&&(this.element.style.marginLeft=n-60*e.scroll+"px",i(this,a.x,n-60*e.scroll)):e.scroll<0?r>a.y-s&&(this.element.style.marginTop=r+60*e.scroll+"px",i(this,a.y,r+60*e.scroll)):e.scroll>0&&r<0&&(this.element.style.marginTop=r+60*e.scroll+"px",i(this,a.y,r+60*e.scroll))),!1}function i(e,n,r){var i,o,s,a,c,l,u;for(i="horizontal"==e.scroll?e.panelWidth:e.panelHeight,o=Math.ceil(n/i)+5,s=Math.ceil((Math.abs(r)+n)/i)+1,o=s-o,o=o<0?0:o,l=o;l<s&&l<e.panels.length;l++)if(u=e.panels[l],!u.activePanel){var h,f=e.viewer.tileSources[l];h=f.referenceStripThumbnailUrl?{type:"image",url:f.referenceStripThumbnailUrl}:f,a=new t.Viewer({id:u.id,tileSources:[h],element:u,navigatorSizeRatio:e.sizeRatio,showNavigator:!1,mouseNavEnabled:!1,showNavigationControl:!1,showSequenceControl:!1,immediateRender:!0,blendTime:0,animationTime:0,loadTilesWithAjax:e.viewer.loadTilesWithAjax,ajaxHeaders:e.viewer.ajaxHeaders,useCanvas:e.useCanvas}),a.displayRegion=t.makeNeutralElement("div"),a.displayRegion.id=u.id+"-displayregion",a.displayRegion.className="displayregion",c=a.displayRegion.style,c.position="relative",c.top="0px",c.left="0px",c.fontSize="0px",c.overflow="hidden",c.float="left",c.cssFloat="left",c.styleFloat="left",c.zIndex=999999999,c.cursor="default",c.width=e.panelWidth-4+"px",c.height=e.panelHeight-4+"px",a.displayRegion.innerTracker=new t.MouseTracker({element:a.displayRegion,startDisabled:!0}),u.getElementsByTagName("div")[0].appendChild(a.displayRegion),e.miniViewers[u.id]=a,u.activePanel=!0}}function o(t){var e=t.eventSource.element;return"horizontal"==this.scroll?e.style.marginBottom="0px":e.style.marginLeft="0px",!1}function s(e){var n=e.eventSource.element;return"horizontal"==this.scroll?n.style.marginBottom="-"+t.getElementSize(n).y/2+"px":n.style.marginLeft="-"+t.getElementSize(n).x/2+"px",!1}function a(t){if(t.preventDefaultAction||t.ctrl||t.alt||t.meta)return!0;switch(t.keyCode){case 38:return r.call(this,{eventSource:this.tracker,position:null,scroll:1,shift:null}),!1;case 40:return r.call(this,{eventSource:this.tracker,position:null,scroll:-1,shift:null}),!1;case 37:return r.call(this,{eventSource:this.tracker,position:null,scroll:-1,shift:null}),!1;case 39:return r.call(this,{eventSource:this.tracker,position:null,scroll:1,shift:null}),!1;default:return!0}}function c(t){if(t.preventDefaultAction||t.ctrl||t.alt||t.meta)return!0;switch(t.keyCode){case 61:return r.call(this,{eventSource:this.tracker,position:null,scroll:1,shift:null}),!1;case 45:return r.call(this,{eventSource:this.tracker,position:null,scroll:-1,shift:null}),!1;case 48:case 119:case 87:return r.call(this,{eventSource:this.tracker,position:null,scroll:1,shift:null}),!1;case 115:case 83:return r.call(this,{eventSource:this.tracker,position:null,scroll:-1,shift:null}),!1;case 97:return r.call(this,{eventSource:this.tracker,position:null,scroll:-1,shift:null}),!1;case 100:return r.call(this,{eventSource:this.tracker,position:null,scroll:1,shift:null}),!1;default:return!0}}t.ReferenceStrip=function(l){var u,h,f,p=this,d=l.viewer,g=t.getElementSize(d.element);for(l.id||(l.id="referencestrip-"+t.now(),this.element=t.makeNeutralElement("div"),this.element.id=l.id,this.element.className="referencestrip"),l=t.extend(!0,{sizeRatio:t.DEFAULT_SETTINGS.referenceStripSizeRatio,position:t.DEFAULT_SETTINGS.referenceStripPosition,scroll:t.DEFAULT_SETTINGS.referenceStripScroll,clickTimeThreshold:t.DEFAULT_SETTINGS.clickTimeThreshold},l,{element:this.element,showNavigator:!1,mouseNavEnabled:!1,showNavigationControl:!1,showSequenceControl:!1}),t.extend(this,l),e[this.id]={animating:!1},this.minPixelRatio=this.viewer.minPixelRatio,h=this.element.style,h.marginTop="0px",h.marginRight="0px",h.marginBottom="0px",h.marginLeft="0px",h.left="0px",h.bottom="0px",h.border="0px",h.background="#000",h.position="relative",t.setElementTouchActionNone(this.element),t.setElementOpacity(this.element,.8),this.viewer=d,this.innerTracker=new t.MouseTracker({element:this.element,dragHandler:t.delegate(this,n),scrollHandler:t.delegate(this,r),enterHandler:t.delegate(this,o),exitHandler:t.delegate(this,s),keyDownHandler:t.delegate(this,a),keyHandler:t.delegate(this,c)}),l.width&&l.height?(this.element.style.width=l.width+"px",this.element.style.height=l.height+"px",d.addControl(this.element,{anchor:t.ControlAnchor.BOTTOM_LEFT})):"horizontal"==l.scroll?(this.element.style.width=g.x*l.sizeRatio*d.tileSources.length+12*d.tileSources.length+"px",this.element.style.height=g.y*l.sizeRatio+"px",d.addControl(this.element,{anchor:t.ControlAnchor.BOTTOM_LEFT})):(this.element.style.height=g.y*l.sizeRatio*d.tileSources.length+12*d.tileSources.length+"px",this.element.style.width=g.x*l.sizeRatio+"px",d.addControl(this.element,{anchor:t.ControlAnchor.TOP_LEFT})),this.panelWidth=g.x*this.sizeRatio+8,this.panelHeight=g.y*this.sizeRatio+8,this.panels=[],this.miniViewers={},f=0;f<d.tileSources.length;f++)u=t.makeNeutralElement("div"),u.id=this.element.id+"-"+f,u.style.width=p.panelWidth+"px",u.style.height=p.panelHeight+"px",u.style.display="inline",u.style.float="left",u.style.cssFloat="left",u.style.styleFloat="left",u.style.padding="2px",t.setElementTouchActionNone(u),u.innerTracker=new t.MouseTracker({element:u,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,pressHandler:function(e){e.eventSource.dragging=t.now()},releaseHandler:function(e){var n=e.eventSource,r=n.element.id,i=Number(r.split("-")[2]),o=t.now();e.insideElementPressed&&e.insideElementReleased&&n.dragging&&o-n.dragging<n.clickTimeThreshold&&(n.dragging=null,d.goToPage(i))}}),this.element.appendChild(u),u.activePanel=!1,this.panels.push(u);i(this,"vertical"==this.scroll?g.y:g.x,0),this.setFocus(0)},t.extend(t.ReferenceStrip.prototype,t.EventSource.prototype,t.Viewer.prototype,{setFocus:function(e){var n,r=this.element.querySelector("#"+this.element.id+"-"+e),s=t.getElementSize(this.viewer.canvas),a=Number(this.element.style.width.replace("px","")),c=Number(this.element.style.height.replace("px","")),l=-Number(this.element.style.marginLeft.replace("px","")),u=-Number(this.element.style.marginTop.replace("px",""));this.currentSelected!==r&&(this.currentSelected&&(this.currentSelected.style.background="#000"),this.currentSelected=r,this.currentSelected.style.background="#999","horizontal"==this.scroll?(n=Number(e)*(this.panelWidth+3),n>l+s.x-this.panelWidth?(n=Math.min(n,a-s.x),this.element.style.marginLeft=-n+"px",i(this,s.x,-n)):n<l&&(n=Math.max(0,n-s.x/2),this.element.style.marginLeft=-n+"px",i(this,s.x,-n))):(n=Number(e)*(this.panelHeight+3),n>u+s.y-this.panelHeight?(n=Math.min(n,c-s.y),this.element.style.marginTop=-n+"px",i(this,s.y,-n)):n<u&&(n=Math.max(0,n-s.y/2),this.element.style.marginTop=-n+"px",i(this,s.y,-n))),this.currentPage=e,o.call(this,{eventSource:this.innerTracker}))},update:function(){return!!e[this.id].animating&&(t.console.log("image reference strip update"),!0)},destroy:function(){if(this.miniViewers)for(var t in this.miniViewers)this.miniViewers[t].destroy();this.element&&this.element.parentNode.removeChild(this.element)}})}(OpenSeadragon),function(t){t.DisplayRect=function(e,n,r,i,o,s){t.Rect.apply(this,[e,n,r,i]),this.minLevel=o,this.maxLevel=s},t.extend(t.DisplayRect.prototype,t.Rect.prototype)}(OpenSeadragon),function(t){function e(t,e){return(1-Math.exp(t*-e))/(1-Math.exp(-t))}t.Spring=function(e){var n=arguments;"object"!=typeof e&&(e={initial:n.length&&"number"==typeof n[0]?n[0]:void 0,springStiffness:n.length>1?n[1].springStiffness:5,animationTime:n.length>1?n[1].animationTime:1.5}),t.console.assert("number"===typeof e.springStiffness&&0!==e.springStiffness,"[OpenSeadragon.Spring] options.springStiffness must be a non-zero number"),t.console.assert("number"===typeof e.animationTime&&e.animationTime>=0,"[OpenSeadragon.Spring] options.animationTime must be a number greater than or equal to 0"),e.exponential&&(this._exponential=!0,delete e.exponential),t.extend(!0,this,e),this.current={value:"number"==typeof this.initial?this.initial:this._exponential?0:1,time:t.now()},t.console.assert(!this._exponential||0!==this.current.value,"[OpenSeadragon.Spring] value must be non-zero for exponential springs"),this.start={value:this.current.value,time:this.current.time},this.target={value:this.current.value,time:this.current.time},this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},t.Spring.prototype={resetTo:function(e){t.console.assert(!this._exponential||0!==e,"[OpenSeadragon.Spring.resetTo] target must be non-zero for exponential springs"),this.start.value=this.target.value=this.current.value=e,this.start.time=this.target.time=this.current.time=t.now(),this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},springTo:function(e){t.console.assert(!this._exponential||0!==e,"[OpenSeadragon.Spring.springTo] target must be non-zero for exponential springs"),this.start.value=this.current.value,this.start.time=this.current.time,this.target.value=e,this.target.time=this.start.time+1e3*this.animationTime,this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value))},shiftBy:function(e){this.start.value+=e,this.target.value+=e,this._exponential&&(t.console.assert(0!==this.target.value&&0!==this.start.value,"[OpenSeadragon.Spring.shiftBy] spring value must be non-zero for exponential springs"),this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value))},setExponential:function(e){this._exponential=e,this._exponential&&(t.console.assert(0!==this.current.value&&0!==this.target.value&&0!==this.start.value,"[OpenSeadragon.Spring.setExponential] spring value must be non-zero for exponential springs"),this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},update:function(){var n,r;this.current.time=t.now(),this._exponential?(n=this.start._logValue,r=this.target._logValue):(n=this.start.value,r=this.target.value);var i=this.current.time>=this.target.time?r:n+(r-n)*e(this.springStiffness,(this.current.time-this.start.time)/(this.target.time-this.start.time)),o=this.current.value;return this._exponential?this.current.value=Math.exp(i):this.current.value=i,o!=this.current.value},isAtTargetValue:function(){return this.current.value===this.target.value}}}(OpenSeadragon),function(t){function e(e){t.extend(!0,this,{timeout:t.DEFAULT_SETTINGS.timeout,jobId:null},e),this.image=null}function n(t,e,n){var r;t.jobsInProgress--,(!t.jobLimit||t.jobsInProgress<t.jobLimit)&&t.jobQueue.length>0&&(r=t.jobQueue.shift(),r.start(),t.jobsInProgress++),n(e.image,e.errorMsg,e.request)}e.prototype={errorMsg:null,start:function(){var e=this,n=this.abort;this.image=new Image,this.image.onload=function(){e.finish(!0)},this.image.onabort=this.image.onerror=function(){e.errorMsg="Image load aborted",e.finish(!1)},this.jobId=window.setTimeout((function(){e.errorMsg="Image load exceeded timeout ("+e.timeout+" ms)",e.finish(!1)}),this.timeout),this.loadWithAjax?(this.request=t.makeAjaxRequest({url:this.src,withCredentials:this.ajaxWithCredentials,headers:this.ajaxHeaders,responseType:"arraybuffer",success:function(t){var n;try{n=new window.Blob([t.response])}catch(s){var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;if("TypeError"===s.name&&r){var i=new r;i.append(t.response),n=i.getBlob()}}0===n.size&&(e.errorMsg="Empty image response.",e.finish(!1));var o=(window.URL||window.webkitURL).createObjectURL(n);e.image.src=o},error:function(t){e.errorMsg="Image load aborted - XHR error",e.finish(!1)}}),this.abort=function(){e.request.abort(),"function"===typeof n&&n()}):(!1!==this.crossOriginPolicy&&(this.image.crossOrigin=this.crossOriginPolicy),this.image.src=this.src)},finish:function(t){this.image.onload=this.image.onerror=this.image.onabort=null,t||(this.image=null),this.jobId&&window.clearTimeout(this.jobId),this.callback(this)}},t.ImageLoader=function(e){t.extend(!0,this,{jobLimit:t.DEFAULT_SETTINGS.imageLoaderLimit,timeout:t.DEFAULT_SETTINGS.timeout,jobQueue:[],jobsInProgress:0},e)},t.ImageLoader.prototype={addJob:function(t){var r=this,i=function(e){n(r,e,t.callback)},o={src:t.src,loadWithAjax:t.loadWithAjax,ajaxHeaders:t.loadWithAjax?t.ajaxHeaders:null,crossOriginPolicy:t.crossOriginPolicy,ajaxWithCredentials:t.ajaxWithCredentials,callback:i,abort:t.abort,timeout:this.timeout},s=new e(o);!this.jobLimit||this.jobsInProgress<this.jobLimit?(s.start(),this.jobsInProgress++):this.jobQueue.push(s)},clear:function(){for(var t=0;t<this.jobQueue.length;t++){var e=this.jobQueue[t];"function"===typeof e.abort&&e.abort()}this.jobQueue=[]}}}(OpenSeadragon),function(t){t.Tile=function(t,e,n,r,i,o,s,a,c,l){this.level=t,this.x=e,this.y=n,this.bounds=r,this.sourceBounds=l,this.exists=i,this.url=o,this.context2D=s,this.loadWithAjax=a,this.ajaxHeaders=c,this.ajaxHeaders?this.cacheKey=this.url+"+"+JSON.stringify(this.ajaxHeaders):this.cacheKey=this.url,this.loaded=!1,this.loading=!1,this.element=null,this.imgElement=null,this.image=null,this.style=null,this.position=null,this.size=null,this.blendStart=null,this.opacity=null,this.squaredDistance=null,this.visibility=null,this.beingDrawn=!1,this.lastTouchTime=0,this.isRightMost=!1,this.isBottomMost=!1},t.Tile.prototype={toString:function(){return this.level+"/"+this.x+"_"+this.y},_hasTransparencyChannel:function(){return!!this.context2D||this.url.match(".png")},drawHTML:function(e){this.cacheImageRecord?this.loaded?(this.element||(this.element=t.makeNeutralElement("div"),this.imgElement=this.cacheImageRecord.getImage().cloneNode(),this.imgElement.style.msInterpolationMode="nearest-neighbor",this.imgElement.style.width="100%",this.imgElement.style.height="100%",this.style=this.element.style,this.style.position="absolute"),this.element.parentNode!=e&&e.appendChild(this.element),this.imgElement.parentNode!=this.element&&this.element.appendChild(this.imgElement),this.style.top=this.position.y+"px",this.style.left=this.position.x+"px",this.style.height=this.size.y+"px",this.style.width=this.size.x+"px",t.setElementOpacity(this.element,this.opacity)):t.console.warn("Attempting to draw tile %s when it's not yet loaded.",this.toString()):t.console.warn("[Tile.drawHTML] attempting to draw tile %s when it's not cached",this.toString())},drawCanvas:function(e,n,r,i){var o,s,a,c=this.position.times(t.pixelDensityRatio),l=this.size.times(t.pixelDensityRatio);this.context2D||this.cacheImageRecord?(o=this.context2D||this.cacheImageRecord.getRenderedContext(),this.loaded&&o?(e.save(),e.globalAlpha=this.opacity,"number"===typeof r&&1!==r&&(c=c.times(r),l=l.times(r)),i instanceof t.Point&&(c=c.plus(i)),1===e.globalAlpha&&this._hasTransparencyChannel()&&e.clearRect(c.x,c.y,l.x,l.y),n({context:e,tile:this,rendered:o}),this.sourceBounds?(s=Math.min(this.sourceBounds.width,o.canvas.width),a=Math.min(this.sourceBounds.height,o.canvas.height)):(s=o.canvas.width,a=o.canvas.height),e.drawImage(o.canvas,0,0,s,a,c.x,c.y,l.x,l.y),e.restore()):t.console.warn("Attempting to draw tile %s when it's not yet loaded.",this.toString())):t.console.warn("[Tile.drawCanvas] attempting to draw tile %s when it's not cached",this.toString())},getScaleForEdgeSmoothing:function(){var e;if(this.cacheImageRecord)e=this.cacheImageRecord.getRenderedContext();else{if(!this.context2D)return t.console.warn("[Tile.drawCanvas] attempting to get tile scale %s when tile's not cached",this.toString()),1;e=this.context2D}return e.canvas.width/(this.size.x*t.pixelDensityRatio)},getTranslationForEdgeSmoothing:function(e,n,r){var i=Math.max(1,Math.ceil((r.x-n.x)/2)),o=Math.max(1,Math.ceil((r.y-n.y)/2));return new t.Point(i,o).minus(this.position.times(t.pixelDensityRatio).times(e||1).apply((function(t){return t%1})))},unload:function(){this.imgElement&&this.imgElement.parentNode&&this.imgElement.parentNode.removeChild(this.imgElement),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.imgElement=null,this.loaded=!1,this.loading=!1}}}(OpenSeadragon),function(t){t.OverlayPlacement=t.Placement,t.OverlayRotationMode=t.freezeObject({NO_ROTATION:1,EXACT:2,BOUNDING_BOX:3}),t.Overlay=function(e,n,r){var i;i=t.isPlainObject(e)?e:{element:e,location:n,placement:r},this.element=i.element,this.style=i.element.style,this._init(i)},t.Overlay.prototype={_init:function(e){this.location=e.location,this.placement=void 0===e.placement?t.Placement.TOP_LEFT:e.placement,this.onDraw=e.onDraw,this.checkResize=void 0===e.checkResize||e.checkResize,this.width=void 0===e.width?null:e.width,this.height=void 0===e.height?null:e.height,this.rotationMode=e.rotationMode||t.OverlayRotationMode.EXACT,this.location instanceof t.Rect&&(this.width=this.location.width,this.height=this.location.height,this.location=this.location.getTopLeft(),this.placement=t.Placement.TOP_LEFT),this.scales=null!==this.width&&null!==this.height,this.bounds=new t.Rect(this.location.x,this.location.y,this.width,this.height),this.position=this.location},adjust:function(e,n){var r=t.Placement.properties[this.placement];r&&(r.isHorizontallyCentered?e.x-=n.x/2:r.isRight&&(e.x-=n.x),r.isVerticallyCentered?e.y-=n.y/2:r.isBottom&&(e.y-=n.y))},destroy:function(){var e=this.element,n=this.style;e.parentNode&&(e.parentNode.removeChild(e),e.prevElementParent&&(n.display="none",document.body.appendChild(e))),this.onDraw=null,n.top="",n.left="",n.position="",null!==this.width&&(n.width=""),null!==this.height&&(n.height="");var r=t.getCssPropertyWithVendorPrefix("transformOrigin"),i=t.getCssPropertyWithVendorPrefix("transform");r&&i&&(n[r]="",n[i]="")},drawHTML:function(e,n){var r=this.element;r.parentNode!==e&&(r.prevElementParent=r.parentNode,r.prevNextSibling=r.nextSibling,e.appendChild(r),this.style.position="absolute",this.size=t.getElementSize(r));var i=this._getOverlayPositionAndSize(n),o=i.position,s=this.size=i.size,a=i.rotate;if(this.onDraw)this.onDraw(o,s,this.element);else{var c=this.style;c.left=o.x+"px",c.top=o.y+"px",null!==this.width&&(c.width=s.x+"px"),null!==this.height&&(c.height=s.y+"px");var l=t.getCssPropertyWithVendorPrefix("transformOrigin"),u=t.getCssPropertyWithVendorPrefix("transform");l&&u&&(a?(c[l]=this._getTransformOrigin(),c[u]="rotate("+a+"deg)"):(c[l]="",c[u]="")),"none"!==c.display&&(c.display="block")}},_getOverlayPositionAndSize:function(e){var n=e.pixelFromPoint(this.location,!0),r=this._getSizeInPixels(e);this.adjust(n,r);var i=0;if(e.degrees&&this.rotationMode!==t.OverlayRotationMode.NO_ROTATION)if(this.rotationMode===t.OverlayRotationMode.BOUNDING_BOX&&null!==this.width&&null!==this.height){var o=new t.Rect(n.x,n.y,r.x,r.y),s=this._getBoundingBox(o,e.degrees);n=s.getTopLeft(),r=s.getSize()}else i=e.degrees;return{position:n,size:r,rotate:i}},_getSizeInPixels:function(e){var n=this.size.x,r=this.size.y;if(null!==this.width||null!==this.height){var i=e.deltaPixelsFromPointsNoRotate(new t.Point(this.width||0,this.height||0),!0);null!==this.width&&(n=i.x),null!==this.height&&(r=i.y)}if(this.checkResize&&(null===this.width||null===this.height)){var o=this.size=t.getElementSize(this.element);null===this.width&&(n=o.x),null===this.height&&(r=o.y)}return new t.Point(n,r)},_getBoundingBox:function(t,e){var n=this._getPlacementPoint(t);return t.rotate(e,n).getBoundingBox()},_getPlacementPoint:function(e){var n=new t.Point(e.x,e.y),r=t.Placement.properties[this.placement];return r&&(r.isHorizontallyCentered?n.x+=e.width/2:r.isRight&&(n.x+=e.width),r.isVerticallyCentered?n.y+=e.height/2:r.isBottom&&(n.y+=e.height)),n},_getTransformOrigin:function(){var e="",n=t.Placement.properties[this.placement];return n?(n.isLeft?e="left":n.isRight&&(e="right"),n.isTop?e+=" top":n.isBottom&&(e+=" bottom"),e):e},update:function(e,n){var r=t.isPlainObject(e)?e:{location:e,placement:n};this._init({location:r.location||this.location,placement:void 0!==r.placement?r.placement:this.placement,onDraw:r.onDraw||this.onDraw,checkResize:r.checkResize||this.checkResize,width:void 0!==r.width?r.width:this.width,height:void 0!==r.height?r.height:this.height,rotationMode:r.rotationMode||this.rotationMode})},getBounds:function(e){t.console.assert(e,"A viewport must now be passed to Overlay.getBounds.");var n=this.width,r=this.height;if(null===n||null===r){var i=e.deltaPointsFromPixelsNoRotate(this.size,!0);null===n&&(n=i.x),null===r&&(r=i.y)}var o=this.location.clone();return this.adjust(o,new t.Point(n,r)),this._adjustBoundsForRotation(e,new t.Rect(o.x,o.y,n,r))},_adjustBoundsForRotation:function(e,n){if(!e||0===e.degrees||this.rotationMode===t.OverlayRotationMode.EXACT)return n;if(this.rotationMode===t.OverlayRotationMode.BOUNDING_BOX){if(null===this.width||null===this.height)return n;var r=this._getOverlayPositionAndSize(e);return e.viewerElementToViewportRectangle(new t.Rect(r.position.x,r.position.y,r.size.x,r.size.y))}return n.rotate(-e.degrees,this._getPlacementPoint(n))}}}(OpenSeadragon),function(t){t.Drawer=function(e){t.console.assert(e.viewer,"[Drawer] options.viewer is required");var n=arguments;if(t.isPlainObject(e)||(e={source:n[0],viewport:n[1],element:n[2]}),t.console.assert(e.viewport,"[Drawer] options.viewport is required"),t.console.assert(e.element,"[Drawer] options.element is required"),e.source&&t.console.error("[Drawer] options.source is no longer accepted; use TiledImage instead"),this.viewer=e.viewer,this.viewport=e.viewport,this.debugGridColor="string"===typeof e.debugGridColor?[e.debugGridColor]:e.debugGridColor||t.DEFAULT_SETTINGS.debugGridColor,e.opacity&&t.console.error("[Drawer] options.opacity is no longer accepted; set the opacity on the TiledImage instead"),this.useCanvas=t.supportsCanvas&&(!this.viewer||this.viewer.useCanvas),this.container=t.getElement(e.element),this.canvas=t.makeNeutralElement(this.useCanvas?"canvas":"div"),this.context=this.useCanvas?this.canvas.getContext("2d"):null,this.sketchCanvas=null,this.sketchContext=null,this.element=this.container,this.container.dir="ltr",this.useCanvas){var r=this._calculateCanvasSize();this.canvas.width=r.x,this.canvas.height=r.y}this.canvas.style.width="100%",this.canvas.style.height="100%",this.canvas.style.position="absolute",t.setElementOpacity(this.canvas,this.opacity,!0),this.container.style.textAlign="left",this.container.appendChild(this.canvas),this._imageSmoothingEnabled=!0},t.Drawer.prototype={addOverlay:function(e,n,r,i){return t.console.error("drawer.addOverlay is deprecated. Use viewer.addOverlay instead."),this.viewer.addOverlay(e,n,r,i),this},updateOverlay:function(e,n,r){return t.console.error("drawer.updateOverlay is deprecated. Use viewer.updateOverlay instead."),this.viewer.updateOverlay(e,n,r),this},removeOverlay:function(e){return t.console.error("drawer.removeOverlay is deprecated. Use viewer.removeOverlay instead."),this.viewer.removeOverlay(e),this},clearOverlays:function(){return t.console.error("drawer.clearOverlays is deprecated. Use viewer.clearOverlays instead."),this.viewer.clearOverlays(),this},viewportCoordToDrawerCoord:function(e){var n=this.viewport.pixelFromPointNoRotate(e,!0);return new t.Point(n.x*t.pixelDensityRatio,n.y*t.pixelDensityRatio)},clipWithPolygons:function(t,e){if(this.useCanvas){var n=this._getContext(e);n.beginPath(),t.forEach((function(t){t.forEach((function(t,e){n[0===e?"moveTo":"lineTo"](t.x,t.y)}))})),n.clip()}},setOpacity:function(e){t.console.error("drawer.setOpacity is deprecated. Use tiledImage.setOpacity instead.");for(var n=this.viewer.world,r=0;r<n.getItemCount();r++)n.getItemAt(r).setOpacity(e);return this},getOpacity:function(){t.console.error("drawer.getOpacity is deprecated. Use tiledImage.getOpacity instead.");for(var e=this.viewer.world,n=0,r=0;r<e.getItemCount();r++){var i=e.getItemAt(r).getOpacity();i>n&&(n=i)}return n},needsUpdate:function(){return t.console.error("[Drawer.needsUpdate] this function is deprecated. Use World.needsDraw instead."),this.viewer.world.needsDraw()},numTilesLoaded:function(){return t.console.error("[Drawer.numTilesLoaded] this function is deprecated. Use TileCache.numTilesLoaded instead."),this.viewer.tileCache.numTilesLoaded()},reset:function(){return t.console.error("[Drawer.reset] this function is deprecated. Use World.resetItems instead."),this.viewer.world.resetItems(),this},update:function(){return t.console.error("[Drawer.update] this function is deprecated. Use Drawer.clear and World.draw instead."),this.clear(),this.viewer.world.draw(),this},canRotate:function(){return this.useCanvas},destroy:function(){this.canvas.width=1,this.canvas.height=1,this.sketchCanvas=null,this.sketchContext=null},clear:function(){if(this.canvas.innerHTML="",this.useCanvas){var t=this._calculateCanvasSize();if((this.canvas.width!=t.x||this.canvas.height!=t.y)&&(this.canvas.width=t.x,this.canvas.height=t.y,this._updateImageSmoothingEnabled(this.context),null!==this.sketchCanvas)){var e=this._calculateSketchCanvasSize();this.sketchCanvas.width=e.x,this.sketchCanvas.height=e.y,this._updateImageSmoothingEnabled(this.sketchContext)}this._clear()}},_clear:function(t,e){if(this.useCanvas){var n=this._getContext(t);if(e)n.clearRect(e.x,e.y,e.width,e.height);else{var r=n.canvas;n.clearRect(0,0,r.width,r.height)}}},viewportToDrawerRectangle:function(e){var n=this.viewport.pixelFromPointNoRotate(e.getTopLeft(),!0),r=this.viewport.deltaPixelsFromPointsNoRotate(e.getSize(),!0);return new t.Rect(n.x*t.pixelDensityRatio,n.y*t.pixelDensityRatio,r.x*t.pixelDensityRatio,r.y*t.pixelDensityRatio)},drawTile:function(e,n,r,i,o){if(t.console.assert(e,"[Drawer.drawTile] tile is required"),t.console.assert(n,"[Drawer.drawTile] drawingHandler is required"),this.useCanvas){var s=this._getContext(r);i=i||1,e.drawCanvas(s,n,i,o)}else e.drawHTML(this.canvas)},_getContext:function(t){var e=this.context;if(t){if(null===this.sketchCanvas){this.sketchCanvas=document.createElement("canvas");var n=this._calculateSketchCanvasSize();if(this.sketchCanvas.width=n.x,this.sketchCanvas.height=n.y,this.sketchContext=this.sketchCanvas.getContext("2d"),0===this.viewport.getRotation()){var r=this;this.viewer.addHandler("rotate",(function t(){if(0!==r.viewport.getRotation()){r.viewer.removeHandler("rotate",t);var e=r._calculateSketchCanvasSize();r.sketchCanvas.width=e.x,r.sketchCanvas.height=e.y}}))}this._updateImageSmoothingEnabled(this.sketchContext)}e=this.sketchContext}return e},saveContext:function(t){this.useCanvas&&this._getContext(t).save()},restoreContext:function(t){this.useCanvas&&this._getContext(t).restore()},setClip:function(t,e){if(this.useCanvas){var n=this._getContext(e);n.beginPath(),n.rect(t.x,t.y,t.width,t.height),n.clip()}},drawRectangle:function(t,e,n){if(this.useCanvas){var r=this._getContext(n);r.save(),r.fillStyle=e,r.fillRect(t.x,t.y,t.width,t.height),r.restore()}},blendSketch:function(e,n,r,i){var o=e;if(t.isPlainObject(o)||(o={opacity:e,scale:n,translate:r,compositeOperation:i}),this.useCanvas&&this.sketchCanvas){e=o.opacity,i=o.compositeOperation;var s=o.bounds;if(this.context.save(),this.context.globalAlpha=e,i&&(this.context.globalCompositeOperation=i),s)s.x<0&&(s.width+=s.x,s.x=0),s.x+s.width>this.canvas.width&&(s.width=this.canvas.width-s.x),s.y<0&&(s.height+=s.y,s.y=0),s.y+s.height>this.canvas.height&&(s.height=this.canvas.height-s.y),this.context.drawImage(this.sketchCanvas,s.x,s.y,s.width,s.height,s.x,s.y,s.width,s.height);else{n=o.scale||1,r=o.translate;var a=r instanceof t.Point?r:new t.Point(0,0),c=0,l=0;if(r){var u=this.sketchCanvas.width-this.canvas.width,h=this.sketchCanvas.height-this.canvas.height;c=Math.round(u/2),l=Math.round(h/2)}this.context.drawImage(this.sketchCanvas,a.x-c*n,a.y-l*n,(this.canvas.width+2*c)*n,(this.canvas.height+2*l)*n,-c,-l,this.canvas.width+2*c,this.canvas.height+2*l)}this.context.restore()}},drawDebugInfo:function(e,n,r,i){if(this.useCanvas){var o=this.viewer.world.getIndexOfItem(i)%this.debugGridColor.length,s=this.context;s.save(),s.lineWidth=2*t.pixelDensityRatio,s.font="small-caps bold "+13*t.pixelDensityRatio+"px arial",s.strokeStyle=this.debugGridColor[o],s.fillStyle=this.debugGridColor[o],0!==this.viewport.degrees&&this._offsetForRotation({degrees:this.viewport.degrees}),i.getRotation(!0)%360!==0&&this._offsetForRotation({degrees:i.getRotation(!0),point:i.viewport.pixelFromPointNoRotate(i._getRotationPoint(!0),!0)}),0===i.viewport.degrees&&i.getRotation(!0)%360===0&&i._drawer.viewer.viewport.getFlip()&&i._drawer._flip(),s.strokeRect(e.position.x*t.pixelDensityRatio,e.position.y*t.pixelDensityRatio,e.size.x*t.pixelDensityRatio,e.size.y*t.pixelDensityRatio);var a=(e.position.x+e.size.x/2)*t.pixelDensityRatio,c=(e.position.y+e.size.y/2)*t.pixelDensityRatio;s.translate(a,c),s.rotate(Math.PI/180*-this.viewport.degrees),s.translate(-a,-c),0===e.x&&0===e.y&&(s.fillText("Zoom: "+this.viewport.getZoom(),e.position.x*t.pixelDensityRatio,(e.position.y-30)*t.pixelDensityRatio),s.fillText("Pan: "+this.viewport.getBounds().toString(),e.position.x*t.pixelDensityRatio,(e.position.y-20)*t.pixelDensityRatio)),s.fillText("Level: "+e.level,(e.position.x+10)*t.pixelDensityRatio,(e.position.y+20)*t.pixelDensityRatio),s.fillText("Column: "+e.x,(e.position.x+10)*t.pixelDensityRatio,(e.position.y+30)*t.pixelDensityRatio),s.fillText("Row: "+e.y,(e.position.x+10)*t.pixelDensityRatio,(e.position.y+40)*t.pixelDensityRatio),s.fillText("Order: "+r+" of "+n,(e.position.x+10)*t.pixelDensityRatio,(e.position.y+50)*t.pixelDensityRatio),s.fillText("Size: "+e.size.toString(),(e.position.x+10)*t.pixelDensityRatio,(e.position.y+60)*t.pixelDensityRatio),s.fillText("Position: "+e.position.toString(),(e.position.x+10)*t.pixelDensityRatio,(e.position.y+70)*t.pixelDensityRatio),0!==this.viewport.degrees&&this._restoreRotationChanges(),i.getRotation(!0)%360!==0&&this._restoreRotationChanges(),0===i.viewport.degrees&&i.getRotation(!0)%360===0&&i._drawer.viewer.viewport.getFlip()&&i._drawer._flip(),s.restore()}},debugRect:function(e){if(this.useCanvas){var n=this.context;n.save(),n.lineWidth=2*t.pixelDensityRatio,n.strokeStyle=this.debugGridColor[0],n.fillStyle=this.debugGridColor[0],n.strokeRect(e.x*t.pixelDensityRatio,e.y*t.pixelDensityRatio,e.width*t.pixelDensityRatio,e.height*t.pixelDensityRatio),n.restore()}},setImageSmoothingEnabled:function(t){this.useCanvas&&(this._imageSmoothingEnabled=t,this._updateImageSmoothingEnabled(this.context),this.viewer.forceRedraw())},_updateImageSmoothingEnabled:function(t){t.msImageSmoothingEnabled=this._imageSmoothingEnabled,t.imageSmoothingEnabled=this._imageSmoothingEnabled},getCanvasSize:function(e){var n=this._getContext(e).canvas;return new t.Point(n.width,n.height)},getCanvasCenter:function(){return new t.Point(this.canvas.width/2,this.canvas.height/2)},_offsetForRotation:function(e){var n=e.point?e.point.times(t.pixelDensityRatio):this.getCanvasCenter(),r=this._getContext(e.useSketch);r.save(),r.translate(n.x,n.y),this.viewer.viewport.flipped?(r.rotate(Math.PI/180*-e.degrees),r.scale(-1,1)):r.rotate(Math.PI/180*e.degrees),r.translate(-n.x,-n.y)},_flip:function(e){e=e||{};var n=e.point?e.point.times(t.pixelDensityRatio):this.getCanvasCenter(),r=this._getContext(e.useSketch);r.translate(n.x,0),r.scale(-1,1),r.translate(-n.x,0)},_restoreRotationChanges:function(t){var e=this._getContext(t);e.restore()},_calculateCanvasSize:function(){var e=t.pixelDensityRatio,n=this.viewport.getContainerSize();return{x:Math.round(n.x*e),y:Math.round(n.y*e)}},_calculateSketchCanvasSize:function(){var t=this._calculateCanvasSize();if(0===this.viewport.getRotation())return t;var e=Math.ceil(Math.sqrt(t.x*t.x+t.y*t.y));return{x:e,y:e}}}}(OpenSeadragon),function(t){t.Viewport=function(e){var n=arguments;n.length&&n[0]instanceof t.Point&&(e={containerSize:n[0],contentSize:n[1],config:n[2]}),e.config&&(t.extend(!0,e,e.config),delete e.config),this._margins=t.extend({left:0,top:0,right:0,bottom:0},e.margins||{}),delete e.margins,t.extend(!0,this,{containerSize:null,contentSize:null,zoomPoint:null,viewer:null,springStiffness:t.DEFAULT_SETTINGS.springStiffness,animationTime:t.DEFAULT_SETTINGS.animationTime,minZoomImageRatio:t.DEFAULT_SETTINGS.minZoomImageRatio,maxZoomPixelRatio:t.DEFAULT_SETTINGS.maxZoomPixelRatio,visibilityRatio:t.DEFAULT_SETTINGS.visibilityRatio,wrapHorizontal:t.DEFAULT_SETTINGS.wrapHorizontal,wrapVertical:t.DEFAULT_SETTINGS.wrapVertical,defaultZoomLevel:t.DEFAULT_SETTINGS.defaultZoomLevel,minZoomLevel:t.DEFAULT_SETTINGS.minZoomLevel,maxZoomLevel:t.DEFAULT_SETTINGS.maxZoomLevel,degrees:t.DEFAULT_SETTINGS.degrees,flipped:t.DEFAULT_SETTINGS.flipped,homeFillsViewer:t.DEFAULT_SETTINGS.homeFillsViewer},e),this._updateContainerInnerSize(),this.centerSpringX=new t.Spring({initial:0,springStiffness:this.springStiffness,animationTime:this.animationTime}),this.centerSpringY=new t.Spring({initial:0,springStiffness:this.springStiffness,animationTime:this.animationTime}),this.zoomSpring=new t.Spring({exponential:!0,initial:1,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._oldCenterX=this.centerSpringX.current.value,this._oldCenterY=this.centerSpringY.current.value,this._oldZoom=this.zoomSpring.current.value,this._setContentBounds(new t.Rect(0,0,1,1),1),this.goHome(!0),this.update()},t.Viewport.prototype={resetContentSize:function(e){return t.console.assert(e,"[Viewport.resetContentSize] contentSize is required"),t.console.assert(e instanceof t.Point,"[Viewport.resetContentSize] contentSize must be an OpenSeadragon.Point"),t.console.assert(e.x>0,"[Viewport.resetContentSize] contentSize.x must be greater than 0"),t.console.assert(e.y>0,"[Viewport.resetContentSize] contentSize.y must be greater than 0"),this._setContentBounds(new t.Rect(0,0,1,e.y/e.x),e.x),this},setHomeBounds:function(e,n){t.console.error("[Viewport.setHomeBounds] this function is deprecated; The content bounds should not be set manually."),this._setContentBounds(e,n)},_setContentBounds:function(e,n){t.console.assert(e,"[Viewport._setContentBounds] bounds is required"),t.console.assert(e instanceof t.Rect,"[Viewport._setContentBounds] bounds must be an OpenSeadragon.Rect"),t.console.assert(e.width>0,"[Viewport._setContentBounds] bounds.width must be greater than 0"),t.console.assert(e.height>0,"[Viewport._setContentBounds] bounds.height must be greater than 0"),this._contentBoundsNoRotate=e.clone(),this._contentSizeNoRotate=this._contentBoundsNoRotate.getSize().times(n),this._contentBounds=e.rotate(this.degrees).getBoundingBox(),this._contentSize=this._contentBounds.getSize().times(n),this._contentAspectRatio=this._contentSize.x/this._contentSize.y,this.viewer&&this.viewer.raiseEvent("reset-size",{contentSize:this._contentSizeNoRotate.clone(),contentFactor:n,homeBounds:this._contentBoundsNoRotate.clone(),contentBounds:this._contentBounds.clone()})},getHomeZoom:function(){if(this.defaultZoomLevel)return this.defaultZoomLevel;var t,e=this._contentAspectRatio/this.getAspectRatio();return t=this.homeFillsViewer?e>=1?e:1:e>=1?1:e,t/this._contentBounds.width},getHomeBounds:function(){return this.getHomeBoundsNoRotate().rotate(-this.getRotation())},getHomeBoundsNoRotate:function(){var e=this._contentBounds.getCenter(),n=1/this.getHomeZoom(),r=n/this.getAspectRatio();return new t.Rect(e.x-n/2,e.y-r/2,n,r)},goHome:function(t){return this.viewer&&this.viewer.raiseEvent("home",{immediately:t}),this.fitBounds(this.getHomeBounds(),t)},getMinZoom:function(){var t=this.getHomeZoom(),e=this.minZoomLevel?this.minZoomLevel:this.minZoomImageRatio*t;return e},getMaxZoom:function(){var t=this.maxZoomLevel;return t||(t=this._contentSize.x*this.maxZoomPixelRatio/this._containerInnerSize.x,t/=this._contentBounds.width),Math.max(t,this.getHomeZoom())},getAspectRatio:function(){return this._containerInnerSize.x/this._containerInnerSize.y},getContainerSize:function(){return new t.Point(this.containerSize.x,this.containerSize.y)},getMargins:function(){return t.extend({},this._margins)},setMargins:function(e){t.console.assert("object"===t.type(e),"[Viewport.setMargins] margins must be an object"),this._margins=t.extend({left:0,top:0,right:0,bottom:0},e),this._updateContainerInnerSize(),this.viewer&&this.viewer.forceRedraw()},getBounds:function(t){return this.getBoundsNoRotate(t).rotate(-this.getRotation())},getBoundsNoRotate:function(e){var n=this.getCenter(e),r=1/this.getZoom(e),i=r/this.getAspectRatio();return new t.Rect(n.x-r/2,n.y-i/2,r,i)},getBoundsWithMargins:function(t){return this.getBoundsNoRotateWithMargins(t).rotate(-this.getRotation(),this.getCenter(t))},getBoundsNoRotateWithMargins:function(t){var e=this.getBoundsNoRotate(t),n=this._containerInnerSize.x*this.getZoom(t);return e.x-=this._margins.left/n,e.y-=this._margins.top/n,e.width+=(this._margins.left+this._margins.right)/n,e.height+=(this._margins.top+this._margins.bottom)/n,e},getCenter:function(e){var n,r,i,o,s,a,c,l,u=new t.Point(this.centerSpringX.current.value,this.centerSpringY.current.value),h=new t.Point(this.centerSpringX.target.value,this.centerSpringY.target.value);return e?u:this.zoomPoint?(n=this.pixelFromPoint(this.zoomPoint,!0),r=this.getZoom(),i=1/r,o=i/this.getAspectRatio(),s=new t.Rect(u.x-i/2,u.y-o/2,i,o),a=this._pixelFromPoint(this.zoomPoint,s),c=a.minus(n),l=c.divide(this._containerInnerSize.x*r),h.plus(l)):h},getZoom:function(t){return t?this.zoomSpring.current.value:this.zoomSpring.target.value},_applyZoomConstraints:function(t){return Math.max(Math.min(t,this.getMaxZoom()),this.getMinZoom())},_applyBoundaryConstraints:function(e){var n=new t.Rect(e.x,e.y,e.width,e.height);if(this.wrapHorizontal);else{var r=this.visibilityRatio*n.width,i=n.x+n.width,o=this._contentBoundsNoRotate.x+this._contentBoundsNoRotate.width,s=this._contentBoundsNoRotate.x-i+r,a=o-n.x-r;r>this._contentBoundsNoRotate.width?n.x+=(s+a)/2:a<0?n.x+=a:s>0&&(n.x+=s)}if(this.wrapVertical);else{var c=this.visibilityRatio*n.height,l=n.y+n.height,u=this._contentBoundsNoRotate.y+this._contentBoundsNoRotate.height,h=this._contentBoundsNoRotate.y-l+c,f=u-n.y-c;c>this._contentBoundsNoRotate.height?n.y+=(h+f)/2:f<0?n.y+=f:h>0&&(n.y+=h)}return n},_raiseConstraintsEvent:function(t){this.viewer&&this.viewer.raiseEvent("constrain",{immediately:t})},applyConstraints:function(t){var e=this.getZoom(),n=this._applyZoomConstraints(e);e!==n&&this.zoomTo(n,this.zoomPoint,t);var r=this.getBoundsNoRotate(),i=this._applyBoundaryConstraints(r);return this._raiseConstraintsEvent(t),(r.x!==i.x||r.y!==i.y||t)&&this.fitBounds(i.rotate(-this.getRotation()),t),this},ensureVisible:function(t){return this.applyConstraints(t)},_fitBounds:function(e,n){n=n||{};var r=n.immediately||!1,i=n.constraints||!1,o=this.getAspectRatio(),s=e.getCenter(),a=new t.Rect(e.x,e.y,e.width,e.height,e.degrees+this.getRotation()).getBoundingBox();a.getAspectRatio()>=o?a.height=a.width/o:a.width=a.height*o,a.x=s.x-a.width/2,a.y=s.y-a.height/2;var c=1/a.width;if(i){var l=a.getAspectRatio(),u=this._applyZoomConstraints(c);c!==u&&(c=u,a.width=1/c,a.x=s.x-a.width/2,a.height=a.width/l,a.y=s.y-a.height/2),a=this._applyBoundaryConstraints(a),s=a.getCenter(),this._raiseConstraintsEvent(r)}if(r)return this.panTo(s,!0),this.zoomTo(c,null,!0);this.panTo(this.getCenter(!0),!0),this.zoomTo(this.getZoom(!0),null,!0);var h=this.getBounds(),f=this.getZoom();if(0===f||Math.abs(c/f-1)<1e-8)return this.zoomTo(c,!0),this.panTo(s,r);a=a.rotate(-this.getRotation());var p=a.getTopLeft().times(c).minus(h.getTopLeft().times(f)).divide(c-f);return this.zoomTo(c,p,r)},fitBounds:function(t,e){return this._fitBounds(t,{immediately:e,constraints:!1})},fitBoundsWithConstraints:function(t,e){return this._fitBounds(t,{immediately:e,constraints:!0})},fitVertically:function(e){var n=new t.Rect(this._contentBounds.x+this._contentBounds.width/2,this._contentBounds.y,0,this._contentBounds.height);return this.fitBounds(n,e)},fitHorizontally:function(e){var n=new t.Rect(this._contentBounds.x,this._contentBounds.y+this._contentBounds.height/2,this._contentBounds.width,0);return this.fitBounds(n,e)},getConstrainedBounds:function(t){var e,n;return e=this.getBounds(t),n=this._applyBoundaryConstraints(e),n},panBy:function(e,n){var r=new t.Point(this.centerSpringX.target.value,this.centerSpringY.target.value);return this.panTo(r.plus(e),n)},panTo:function(t,e){return e?(this.centerSpringX.resetTo(t.x),this.centerSpringY.resetTo(t.y)):(this.centerSpringX.springTo(t.x),this.centerSpringY.springTo(t.y)),this.viewer&&this.viewer.raiseEvent("pan",{center:t,immediately:e}),this},zoomBy:function(t,e,n){return this.zoomTo(this.zoomSpring.target.value*t,e,n)},zoomTo:function(e,n,r){var i=this;return this.zoomPoint=n instanceof t.Point&&!isNaN(n.x)&&!isNaN(n.y)?n:null,r?this._adjustCenterSpringsForZoomPoint((function(){i.zoomSpring.resetTo(e)})):this.zoomSpring.springTo(e),this.viewer&&this.viewer.raiseEvent("zoom",{zoom:e,refPoint:n,immediately:r}),this},setRotation:function(e){return this.viewer&&this.viewer.drawer.canRotate()?(this.degrees=t.positiveModulo(e,360),this._setContentBounds(this.viewer.world.getHomeBounds(),this.viewer.world.getContentFactor()),this.viewer.forceRedraw(),this.viewer.raiseEvent("rotate",{degrees:e}),this):this},getRotation:function(){return this.degrees},resize:function(t,e){var n,r=this.getBoundsNoRotate(),i=r;return this.containerSize.x=t.x,this.containerSize.y=t.y,this._updateContainerInnerSize(),e&&(n=t.x/this.containerSize.x,i.width=r.width*n,i.height=i.width/this.getAspectRatio()),this.viewer&&this.viewer.raiseEvent("resize",{newContainerSize:t,maintain:e}),this.fitBounds(i,!0)},_updateContainerInnerSize:function(){this._containerInnerSize=new t.Point(Math.max(1,this.containerSize.x-(this._margins.left+this._margins.right)),Math.max(1,this.containerSize.y-(this._margins.top+this._margins.bottom)))},update:function(){var t=this;this._adjustCenterSpringsForZoomPoint((function(){t.zoomSpring.update()})),this.centerSpringX.update(),this.centerSpringY.update();var e=this.centerSpringX.current.value!==this._oldCenterX||this.centerSpringY.current.value!==this._oldCenterY||this.zoomSpring.current.value!==this._oldZoom;return this._oldCenterX=this.centerSpringX.current.value,this._oldCenterY=this.centerSpringY.current.value,this._oldZoom=this.zoomSpring.current.value,e},_adjustCenterSpringsForZoomPoint:function(t){if(this.zoomPoint){var e=this.pixelFromPoint(this.zoomPoint,!0);t();var n=this.pixelFromPoint(this.zoomPoint,!0),r=n.minus(e),i=this.deltaPointsFromPixels(r,!0);this.centerSpringX.shiftBy(i.x),this.centerSpringY.shiftBy(i.y),this.zoomSpring.isAtTargetValue()&&(this.zoomPoint=null)}else t()},deltaPixelsFromPointsNoRotate:function(t,e){return t.times(this._containerInnerSize.x*this.getZoom(e))},deltaPixelsFromPoints:function(t,e){return this.deltaPixelsFromPointsNoRotate(t.rotate(this.getRotation()),e)},deltaPointsFromPixelsNoRotate:function(t,e){return t.divide(this._containerInnerSize.x*this.getZoom(e))},deltaPointsFromPixels:function(t,e){return this.deltaPointsFromPixelsNoRotate(t,e).rotate(-this.getRotation())},pixelFromPointNoRotate:function(t,e){return this._pixelFromPointNoRotate(t,this.getBoundsNoRotate(e))},pixelFromPoint:function(t,e){return this._pixelFromPoint(t,this.getBoundsNoRotate(e))},_pixelFromPointNoRotate:function(e,n){return e.minus(n.getTopLeft()).times(this._containerInnerSize.x/n.width).plus(new t.Point(this._margins.left,this._margins.top))},_pixelFromPoint:function(t,e){return this._pixelFromPointNoRotate(t.rotate(this.getRotation(),this.getCenter(!0)),e)},pointFromPixelNoRotate:function(e,n){var r=this.getBoundsNoRotate(n);return e.minus(new t.Point(this._margins.left,this._margins.top)).divide(this._containerInnerSize.x/r.width).plus(r.getTopLeft())},pointFromPixel:function(t,e){return this.pointFromPixelNoRotate(t,e).rotate(-this.getRotation(),this.getCenter(!0))},_viewportToImageDelta:function(e,n){var r=this._contentBoundsNoRotate.width;return new t.Point(e*this._contentSizeNoRotate.x/r,n*this._contentSizeNoRotate.x/r)},viewportToImageCoordinates:function(e,n){if(e instanceof t.Point)return this.viewportToImageCoordinates(e.x,e.y);if(this.viewer){var r=this.viewer.world.getItemCount();if(r>1)t.console.error("[Viewport.viewportToImageCoordinates] is not accurate with multi-image; use TiledImage.viewportToImageCoordinates instead.");else if(1===r){var i=this.viewer.world.getItemAt(0);return i.viewportToImageCoordinates(e,n,!0)}}return this._viewportToImageDelta(e-this._contentBoundsNoRotate.x,n-this._contentBoundsNoRotate.y)},_imageToViewportDelta:function(e,n){var r=this._contentBoundsNoRotate.width;return new t.Point(e/this._contentSizeNoRotate.x*r,n/this._contentSizeNoRotate.x*r)},imageToViewportCoordinates:function(e,n){if(e instanceof t.Point)return this.imageToViewportCoordinates(e.x,e.y);if(this.viewer){var r=this.viewer.world.getItemCount();if(r>1)t.console.error("[Viewport.imageToViewportCoordinates] is not accurate with multi-image; use TiledImage.imageToViewportCoordinates instead.");else if(1===r){var i=this.viewer.world.getItemAt(0);return i.imageToViewportCoordinates(e,n,!0)}}var o=this._imageToViewportDelta(e,n);return o.x+=this._contentBoundsNoRotate.x,o.y+=this._contentBoundsNoRotate.y,o},imageToViewportRectangle:function(e,n,r,i){var o=e;if(o instanceof t.Rect||(o=new t.Rect(e,n,r,i)),this.viewer){var s=this.viewer.world.getItemCount();if(s>1)t.console.error("[Viewport.imageToViewportRectangle] is not accurate with multi-image; use TiledImage.imageToViewportRectangle instead.");else if(1===s){var a=this.viewer.world.getItemAt(0);return a.imageToViewportRectangle(e,n,r,i,!0)}}var c=this.imageToViewportCoordinates(o.x,o.y),l=this._imageToViewportDelta(o.width,o.height);return new t.Rect(c.x,c.y,l.x,l.y,o.degrees)},viewportToImageRectangle:function(e,n,r,i){var o=e;if(o instanceof t.Rect||(o=new t.Rect(e,n,r,i)),this.viewer){var s=this.viewer.world.getItemCount();if(s>1)t.console.error("[Viewport.viewportToImageRectangle] is not accurate with multi-image; use TiledImage.viewportToImageRectangle instead.");else if(1===s){var a=this.viewer.world.getItemAt(0);return a.viewportToImageRectangle(e,n,r,i,!0)}}var c=this.viewportToImageCoordinates(o.x,o.y),l=this._viewportToImageDelta(o.width,o.height);return new t.Rect(c.x,c.y,l.x,l.y,o.degrees)},viewerElementToImageCoordinates:function(t){var e=this.pointFromPixel(t,!0);return this.viewportToImageCoordinates(e)},imageToViewerElementCoordinates:function(t){var e=this.imageToViewportCoordinates(t);return this.pixelFromPoint(e,!0)},windowToImageCoordinates:function(e){t.console.assert(this.viewer,"[Viewport.windowToImageCoordinates] the viewport must have a viewer.");var n=e.minus(t.getElementPosition(this.viewer.element));return this.viewerElementToImageCoordinates(n)},imageToWindowCoordinates:function(e){t.console.assert(this.viewer,"[Viewport.imageToWindowCoordinates] the viewport must have a viewer.");var n=this.imageToViewerElementCoordinates(e);return n.plus(t.getElementPosition(this.viewer.element))},viewerElementToViewportCoordinates:function(t){return this.pointFromPixel(t,!0)},viewportToViewerElementCoordinates:function(t){return this.pixelFromPoint(t,!0)},viewerElementToViewportRectangle:function(e){return t.Rect.fromSummits(this.pointFromPixel(e.getTopLeft(),!0),this.pointFromPixel(e.getTopRight(),!0),this.pointFromPixel(e.getBottomLeft(),!0))},viewportToViewerElementRectangle:function(e){return t.Rect.fromSummits(this.pixelFromPoint(e.getTopLeft(),!0),this.pixelFromPoint(e.getTopRight(),!0),this.pixelFromPoint(e.getBottomLeft(),!0))},windowToViewportCoordinates:function(e){t.console.assert(this.viewer,"[Viewport.windowToViewportCoordinates] the viewport must have a viewer.");var n=e.minus(t.getElementPosition(this.viewer.element));return this.viewerElementToViewportCoordinates(n)},viewportToWindowCoordinates:function(e){t.console.assert(this.viewer,"[Viewport.viewportToWindowCoordinates] the viewport must have a viewer.");var n=this.viewportToViewerElementCoordinates(e);return n.plus(t.getElementPosition(this.viewer.element))},viewportToImageZoom:function(e){if(this.viewer){var n=this.viewer.world.getItemCount();if(n>1)t.console.error("[Viewport.viewportToImageZoom] is not accurate with multi-image.");else if(1===n){var r=this.viewer.world.getItemAt(0);return r.viewportToImageZoom(e)}}var i=this._contentSizeNoRotate.x,o=this._containerInnerSize.x,s=this._contentBoundsNoRotate.width,a=o/i*s;return e*a},imageToViewportZoom:function(e){if(this.viewer){var n=this.viewer.world.getItemCount();if(n>1)t.console.error("[Viewport.imageToViewportZoom] is not accurate with multi-image.");else if(1===n){var r=this.viewer.world.getItemAt(0);return r.imageToViewportZoom(e)}}var i=this._contentSizeNoRotate.x,o=this._containerInnerSize.x,s=this._contentBoundsNoRotate.width,a=i/o/s;return e*a},toggleFlip:function(){return this.setFlip(!this.getFlip()),this},getFlip:function(){return this.flipped},setFlip:function(t){return this.flipped===t?this:(this.flipped=t,this.viewer.navigator&&this.viewer.navigator.setFlip(this.getFlip()),this.viewer.forceRedraw(),this.viewer.raiseEvent("flip",{flipped:t}),this)}}}(OpenSeadragon),function(t){function e(t,e,r,i,o,s,a,c,l){var u=a.getBoundingBox().getTopLeft(),h=a.getBoundingBox().getBottomRight();t.viewer&&t.viewer.raiseEvent("update-level",{tiledImage:t,havedrawn:e,level:i,opacity:o,visibility:s,drawArea:a,topleft:u,bottomright:h,currenttime:c,best:l}),f(t.coverage,i),f(t.loadingCoverage,i);for(var p=t._getCornerTiles(i,u,h),d=p.topLeft,g=p.bottomRight,v=t.source.getNumTiles(i),m=t.viewport.pixelFromPoint(t.viewport.getCenter()),y=d.x;y<=g.x;y++)for(var b=d.y;b<=g.y;b++){if(!t.wrapHorizontal&&!t.wrapVertical){var w=t.source.getTileBounds(i,y,b);if(null===a.intersection(w))continue}l=n(t,r,e,y,b,i,o,s,m,v,c,l)}return l}function n(t,e,n,i,o,l,f,d,g,v,m,y){var b=r(i,o,l,t,t.source,t.tilesMatrix,m,v,t._worldWidthCurrent,t._worldHeightCurrent),w=n;t.viewer&&t.viewer.raiseEvent("update-tile",{tiledImage:t,tile:b}),h(t.coverage,l,i,o,!1);var _=b.loaded||b.loading||u(t.loadingCoverage,l,i,o);if(h(t.loadingCoverage,l,i,o,_),!b.exists)return y;if(e&&!w&&(u(t.coverage,l,i,o)?h(t.coverage,l,i,o,!0):w=!0),!w)return y;if(a(b,t.source.tileOverlap,t.viewport,g,d,t),!b.loaded)if(b.context2D)s(t,b);else{var x=t._tileCache.getImageRecord(b.cacheKey);if(x){var S=x.getImage();s(t,b,S)}}if(b.loaded){var T=c(t,b,i,o,l,f,m);T&&(t._needsDraw=!0)}else b.loading?t._tilesLoading++:_||(y=p(y,b));return y}function r(e,n,r,i,o,s,a,c,l,u){var h,f,p,d,g,v,m,y,b;return s[r]||(s[r]={}),s[r][e]||(s[r][e]={}),s[r][e][n]||(h=(c.x+e%c.x)%c.x,f=(c.y+n%c.y)%c.y,p=o.getTileBounds(r,h,f),d=o.getTileBounds(r,h,f,!0),g=o.tileExists(r,h,f),v=o.getTileUrl(r,h,f),i.loadTilesWithAjax?(m=o.getTileAjaxHeaders(r,h,f),t.isPlainObject(i.ajaxHeaders)&&(m=t.extend({},i.ajaxHeaders,m))):m=null,y=o.getContext2D?o.getContext2D(r,h,f):void 0,p.x+=(e-h)/c.x,p.y+=u/l*((n-f)/c.y),b=new t.Tile(r,e,n,p,g,v,y,i.loadTilesWithAjax,m,d),h===c.x-1&&(b.isRightMost=!0),f===c.y-1&&(b.isBottomMost=!0),s[r][e][n]=b),b=s[r][e][n],b.lastTouchTime=a,b}function i(t,e,n){e.loading=!0,t._imageLoader.addJob({src:e.url,loadWithAjax:e.loadWithAjax,ajaxHeaders:e.ajaxHeaders,crossOriginPolicy:t.crossOriginPolicy,ajaxWithCredentials:t.ajaxWithCredentials,callback:function(r,i,s){o(t,e,n,r,i,s)},abort:function(){e.loading=!1}})}function o(e,n,r,i,o,a){if(!i)return t.console.log("Tile %s failed to load: %s - error: %s",n,n.url,o),e.viewer.raiseEvent("tile-load-failed",{tile:n,tiledImage:e,time:r,message:o,tileRequest:a}),n.loading=!1,void(n.exists=!1);if(r<e.lastResetTime)return t.console.log("Ignoring tile %s loaded before reset: %s",n,n.url),void(n.loading=!1);var c=function(){var t=e.source.getClosestLevel();s(e,n,i,t,a)};e._midDraw?window.setTimeout(c,1):c()}function s(t,e,n,r,i){var o=0;function s(){return o++,a}function a(){o--,0===o&&(e.loading=!1,e.loaded=!0,e.context2D||t._tileCache.cacheTile({image:n,tile:e,cutoff:r,tiledImage:t}),t._needsDraw=!0)}t.viewer.raiseEvent("tile-loaded",{tile:e,tiledImage:t,tileRequest:i,image:n,getCompletionCallback:s}),s()()}function a(e,n,r,i,o,s){var a=e.bounds.getTopLeft();a.x*=s._scaleSpring.current.value,a.y*=s._scaleSpring.current.value,a.x+=s._xSpring.current.value,a.y+=s._ySpring.current.value;var c=e.bounds.getSize();c.x*=s._scaleSpring.current.value,c.y*=s._scaleSpring.current.value;var l=r.pixelFromPointNoRotate(a,!0),u=r.pixelFromPointNoRotate(a,!1),h=r.deltaPixelsFromPointsNoRotate(c,!0),f=r.deltaPixelsFromPointsNoRotate(c,!1),p=u.plus(f.divide(2)),d=i.squaredDistanceTo(p);n||(h=h.plus(new t.Point(1,1))),e.isRightMost&&s.wrapHorizontal&&(h.x+=.75),e.isBottomMost&&s.wrapVertical&&(h.y+=.75),e.position=l,e.size=h,e.squaredDistance=d,e.visibility=o}function c(t,e,n,r,i,o,s){var a,c,l=1e3*t.blendTime;if(e.blendStart||(e.blendStart=s),a=s-e.blendStart,c=l?Math.min(1,a/l):1,t.alwaysBlend&&(c*=o),e.opacity=c,t.lastDrawn.push(e),1===c)h(t.coverage,i,n,r,!0),t._hasOpaqueTile=!0;else if(a<l)return!0;return!1}function l(t,e,n,r){var i,o,s,a;if(!t[e])return!1;if(void 0===n||void 0===r){for(s in i=t[e],i)if(Object.prototype.hasOwnProperty.call(i,s))for(a in o=i[s],o)if(Object.prototype.hasOwnProperty.call(o,a)&&!o[a])return!1;return!0}return void 0===t[e][n]||void 0===t[e][n][r]||!0===t[e][n][r]}function u(t,e,n,r){return void 0===n||void 0===r?l(t,e+1):l(t,e+1,2*n,2*r)&&l(t,e+1,2*n,2*r+1)&&l(t,e+1,2*n+1,2*r)&&l(t,e+1,2*n+1,2*r+1)}function h(e,n,r,i,o){e[n]?(e[n][r]||(e[n][r]={}),e[n][r][i]=o):t.console.warn("Setting coverage for a tile before its level's coverage has been reset: %s",n)}function f(t,e){t[e]={}}function p(t,e){return t?e.visibility>t.visibility?e:e.visibility==t.visibility&&e.squaredDistance<t.squaredDistance?e:t:e}function d(e,n){if(0!==e.opacity&&(0!==n.length||e.placeholderFillStyle)){var r,i,o,s=n[0];s&&(r=e.opacity<1||e.compositeOperation&&"source-over"!==e.compositeOperation||!e._isBottomItem()&&s._hasTransparencyChannel());var a,c=e.viewport.getZoom(!0),l=e.viewportToImageZoom(c);n.length>1&&l>e.smoothTileEdgesMinZoom&&!e.iOSDevice&&e.getRotation(!0)%360===0&&t.supportsCanvas&&(r=!0,i=s.getScaleForEdgeSmoothing(),o=s.getTranslationForEdgeSmoothing(i,e._drawer.getCanvasSize(!1),e._drawer.getCanvasSize(!0))),r&&(i||(a=e.viewport.viewportToViewerElementRectangle(e.getClippedBounds(!0)).getIntegerBoundingBox(),e._drawer.viewer.viewport.getFlip()&&(0===e.viewport.degrees&&e.getRotation(!0)%360===0||(a.x=e._drawer.viewer.container.clientWidth-(a.x+a.width))),a=a.times(t.pixelDensityRatio)),e._drawer._clear(!0,a)),i||(0!==e.viewport.degrees&&e._drawer._offsetForRotation({degrees:e.viewport.degrees,useSketch:r}),e.getRotation(!0)%360!==0&&e._drawer._offsetForRotation({degrees:e.getRotation(!0),point:e.viewport.pixelFromPointNoRotate(e._getRotationPoint(!0),!0),useSketch:r}),0===e.viewport.degrees&&e.getRotation(!0)%360===0&&e._drawer.viewer.viewport.getFlip()&&e._drawer._flip());var u=!1;if(e._clip){e._drawer.saveContext(r);var h=e.imageToViewportRectangle(e._clip,!0);h=h.rotate(-e.getRotation(!0),e._getRotationPoint(!0));var f=e._drawer.viewportToDrawerRectangle(h);i&&(f=f.times(i)),o&&(f=f.translate(o)),e._drawer.setClip(f,r),u=!0}if(e._croppingPolygons){e._drawer.saveContext(r);try{var p=e._croppingPolygons.map((function(t){return t.map((function(t){var n=e.imageToViewportCoordinates(t.x,t.y,!0).rotate(-e.getRotation(!0),e._getRotationPoint(!0)),r=e._drawer.viewportCoordToDrawerCoord(n);return i&&(r=r.times(i)),r}))}));e._drawer.clipWithPolygons(p,r)}catch(y){t.console.error(y)}u=!0}if(e.placeholderFillStyle&&!1===e._hasOpaqueTile){var d=e._drawer.viewportToDrawerRectangle(e.getBounds(!0));i&&(d=d.times(i)),o&&(d=d.translate(o));var v=null;v="function"===typeof e.placeholderFillStyle?e.placeholderFillStyle(e,e._drawer.context):e.placeholderFillStyle,e._drawer.drawRectangle(d,v,r)}for(var m=n.length-1;m>=0;m--)s=n[m],e._drawer.drawTile(s,e._drawingHandler,r,i,o),s.beingDrawn=!0,e.viewer&&e.viewer.raiseEvent("tile-drawn",{tiledImage:e,tile:s});u&&e._drawer.restoreContext(r),i||(e.getRotation(!0)%360!==0&&e._drawer._restoreRotationChanges(r),0!==e.viewport.degrees&&e._drawer._restoreRotationChanges(r)),r&&(i&&(0!==e.viewport.degrees&&e._drawer._offsetForRotation({degrees:e.viewport.degrees,useSketch:!1}),e.getRotation(!0)%360!==0&&e._drawer._offsetForRotation({degrees:e.getRotation(!0),point:e.viewport.pixelFromPointNoRotate(e._getRotationPoint(!0),!0),useSketch:!1})),e._drawer.blendSketch({opacity:e.opacity,scale:i,translate:o,compositeOperation:e.compositeOperation,bounds:a}),i&&(e.getRotation(!0)%360!==0&&e._drawer._restoreRotationChanges(!1),0!==e.viewport.degrees&&e._drawer._restoreRotationChanges(!1))),i||0===e.viewport.degrees&&e.getRotation(!0)%360===0&&e._drawer.viewer.viewport.getFlip()&&e._drawer._flip(),g(e,n)}}function g(e,n){if(e.debugMode)for(var r=n.length-1;r>=0;r--){var i=n[r];try{e._drawer.drawDebugInfo(i,n.length,r,e)}catch(o){t.console.error(o)}}}t.TiledImage=function(e){var n=this;t.console.assert(e.tileCache,"[TiledImage] options.tileCache is required"),t.console.assert(e.drawer,"[TiledImage] options.drawer is required"),t.console.assert(e.viewer,"[TiledImage] options.viewer is required"),t.console.assert(e.imageLoader,"[TiledImage] options.imageLoader is required"),t.console.assert(e.source,"[TiledImage] options.source is required"),t.console.assert(!e.clip||e.clip instanceof t.Rect,"[TiledImage] options.clip must be an OpenSeadragon.Rect if present"),t.EventSource.call(this),this._tileCache=e.tileCache,delete e.tileCache,this._drawer=e.drawer,delete e.drawer,this._imageLoader=e.imageLoader,delete e.imageLoader,e.clip instanceof t.Rect&&(this._clip=e.clip.clone()),delete e.clip;var r=e.x||0;delete e.x;var i=e.y||0;delete e.y,this.normHeight=e.source.dimensions.y/e.source.dimensions.x,this.contentAspectX=e.source.dimensions.x/e.source.dimensions.y;var o=1;e.width?(o=e.width,delete e.width,e.height&&(t.console.error("specifying both width and height to a tiledImage is not supported"),delete e.height)):e.height&&(o=e.height/this.normHeight,delete e.height);var s=e.fitBounds;delete e.fitBounds;var a=e.fitBoundsPlacement||OpenSeadragon.Placement.CENTER;delete e.fitBoundsPlacement;var c=e.degrees||0;delete e.degrees,t.extend(!0,this,{viewer:null,tilesMatrix:{},coverage:{},loadingCoverage:{},lastDrawn:[],lastResetTime:0,_midDraw:!1,_needsDraw:!0,_hasOpaqueTile:!1,_tilesLoading:0,springStiffness:t.DEFAULT_SETTINGS.springStiffness,animationTime:t.DEFAULT_SETTINGS.animationTime,minZoomImageRatio:t.DEFAULT_SETTINGS.minZoomImageRatio,wrapHorizontal:t.DEFAULT_SETTINGS.wrapHorizontal,wrapVertical:t.DEFAULT_SETTINGS.wrapVertical,immediateRender:t.DEFAULT_SETTINGS.immediateRender,blendTime:t.DEFAULT_SETTINGS.blendTime,alwaysBlend:t.DEFAULT_SETTINGS.alwaysBlend,minPixelRatio:t.DEFAULT_SETTINGS.minPixelRatio,smoothTileEdgesMinZoom:t.DEFAULT_SETTINGS.smoothTileEdgesMinZoom,iOSDevice:t.DEFAULT_SETTINGS.iOSDevice,debugMode:t.DEFAULT_SETTINGS.debugMode,crossOriginPolicy:t.DEFAULT_SETTINGS.crossOriginPolicy,ajaxWithCredentials:t.DEFAULT_SETTINGS.ajaxWithCredentials,placeholderFillStyle:t.DEFAULT_SETTINGS.placeholderFillStyle,opacity:t.DEFAULT_SETTINGS.opacity,preload:t.DEFAULT_SETTINGS.preload,compositeOperation:t.DEFAULT_SETTINGS.compositeOperation},e),this._preload=this.preload,delete this.preload,this._fullyLoaded=!1,this._xSpring=new t.Spring({initial:r,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._ySpring=new t.Spring({initial:i,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._scaleSpring=new t.Spring({initial:o,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._degreesSpring=new t.Spring({initial:c,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._updateForScale(),s&&this.fitBounds(s,a,!0),this._drawingHandler=function(e){n.viewer.raiseEvent("tile-drawing",t.extend({tiledImage:n},e))}},t.extend(t.TiledImage.prototype,t.EventSource.prototype,{needsDraw:function(){return this._needsDraw},getFullyLoaded:function(){return this._fullyLoaded},_setFullyLoaded:function(t){t!==this._fullyLoaded&&(this._fullyLoaded=t,this.raiseEvent("fully-loaded-change",{fullyLoaded:this._fullyLoaded}))},reset:function(){this._tileCache.clearTilesFor(this),this.lastResetTime=t.now(),this._needsDraw=!0},update:function(){var t=this._xSpring.update(),e=this._ySpring.update(),n=this._scaleSpring.update(),r=this._degreesSpring.update();return!!(t||e||n||r)&&(this._updateForScale(),this._needsDraw=!0,!0)},draw:function(){0!==this.opacity||this._preload?(this._midDraw=!0,this._updateViewport(),this._midDraw=!1):this._needsDraw=!1},destroy:function(){this.reset()},getBounds:function(t){return this.getBoundsNoRotate(t).rotate(this.getRotation(t),this._getRotationPoint(t))},getBoundsNoRotate:function(e){return e?new t.Rect(this._xSpring.current.value,this._ySpring.current.value,this._worldWidthCurrent,this._worldHeightCurrent):new t.Rect(this._xSpring.target.value,this._ySpring.target.value,this._worldWidthTarget,this._worldHeightTarget)},getWorldBounds:function(){return t.console.error("[TiledImage.getWorldBounds] is deprecated; use TiledImage.getBounds instead"),this.getBounds()},getClippedBounds:function(e){var n=this.getBoundsNoRotate(e);if(this._clip){var r=e?this._worldWidthCurrent:this._worldWidthTarget,i=r/this.source.dimensions.x,o=this._clip.times(i);n=new t.Rect(n.x+o.x,n.y+o.y,o.width,o.height)}return n.rotate(this.getRotation(e),this._getRotationPoint(e))},getContentSize:function(){return new t.Point(this.source.dimensions.x,this.source.dimensions.y)},_viewportToImageDelta:function(e,n,r){var i=r?this._scaleSpring.current.value:this._scaleSpring.target.value;return new t.Point(e*(this.source.dimensions.x/i),n*(this.source.dimensions.y*this.contentAspectX/i))},viewportToImageCoordinates:function(e,n,r){var i;return e instanceof t.Point?(r=n,i=e):i=new t.Point(e,n),i=i.rotate(-this.getRotation(r),this._getRotationPoint(r)),r?this._viewportToImageDelta(i.x-this._xSpring.current.value,i.y-this._ySpring.current.value):this._viewportToImageDelta(i.x-this._xSpring.target.value,i.y-this._ySpring.target.value)},_imageToViewportDelta:function(e,n,r){var i=r?this._scaleSpring.current.value:this._scaleSpring.target.value;return new t.Point(e/this.source.dimensions.x*i,n/this.source.dimensions.y/this.contentAspectX*i)},imageToViewportCoordinates:function(e,n,r){e instanceof t.Point&&(r=n,n=e.y,e=e.x);var i=this._imageToViewportDelta(e,n);return r?(i.x+=this._xSpring.current.value,i.y+=this._ySpring.current.value):(i.x+=this._xSpring.target.value,i.y+=this._ySpring.target.value),i.rotate(this.getRotation(r),this._getRotationPoint(r))},imageToViewportRectangle:function(e,n,r,i,o){var s=e;s instanceof t.Rect?o=n:s=new t.Rect(e,n,r,i);var a=this.imageToViewportCoordinates(s.getTopLeft(),o),c=this._imageToViewportDelta(s.width,s.height,o);return new t.Rect(a.x,a.y,c.x,c.y,s.degrees+this.getRotation(o))},viewportToImageRectangle:function(e,n,r,i,o){var s=e;e instanceof t.Rect?o=n:s=new t.Rect(e,n,r,i);var a=this.viewportToImageCoordinates(s.getTopLeft(),o),c=this._viewportToImageDelta(s.width,s.height,o);return new t.Rect(a.x,a.y,c.x,c.y,s.degrees-this.getRotation(o))},viewerElementToImageCoordinates:function(t){var e=this.viewport.pointFromPixel(t,!0);return this.viewportToImageCoordinates(e)},imageToViewerElementCoordinates:function(t){var e=this.imageToViewportCoordinates(t);return this.viewport.pixelFromPoint(e,!0)},windowToImageCoordinates:function(t){var e=t.minus(OpenSeadragon.getElementPosition(this.viewer.element));return this.viewerElementToImageCoordinates(e)},imageToWindowCoordinates:function(t){var e=this.imageToViewerElementCoordinates(t);return e.plus(OpenSeadragon.getElementPosition(this.viewer.element))},_viewportToTiledImageRectangle:function(e){var n=this._scaleSpring.current.value;return e=e.rotate(-this.getRotation(!0),this._getRotationPoint(!0)),new t.Rect((e.x-this._xSpring.current.value)/n,(e.y-this._ySpring.current.value)/n,e.width/n,e.height/n,e.degrees)},viewportToImageZoom:function(t){var e=this._scaleSpring.current.value*this.viewport._containerInnerSize.x/this.source.dimensions.x;return e*t},imageToViewportZoom:function(t){var e=this._scaleSpring.current.value*this.viewport._containerInnerSize.x/this.source.dimensions.x;return t/e},setPosition:function(t,e){var n=this._xSpring.target.value===t.x&&this._ySpring.target.value===t.y;if(e){if(n&&this._xSpring.current.value===t.x&&this._ySpring.current.value===t.y)return;this._xSpring.resetTo(t.x),this._ySpring.resetTo(t.y),this._needsDraw=!0}else{if(n)return;this._xSpring.springTo(t.x),this._ySpring.springTo(t.y),this._needsDraw=!0}n||this._raiseBoundsChange()},setWidth:function(t,e){this._setScale(t,e)},setHeight:function(t,e){this._setScale(t/this.normHeight,e)},setCroppingPolygons:function(e){var n=function(e){return e instanceof t.Point||"number"===typeof e.x&&"number"===typeof e.y},r=function(t){return t.map((function(t){try{if(n(t))return{x:t.x,y:t.y};throw new Error}catch(e){throw new Error("A Provided cropping polygon point is not supported")}}))};try{if(!t.isArray(e))throw new Error("Provided cropping polygon is not an array");this._croppingPolygons=e.map((function(t){return r(t)}))}catch(i){t.console.error("[TiledImage.setCroppingPolygons] Cropping polygon format not supported"),t.console.error(i),this._croppingPolygons=null}},resetCroppingPolygons:function(){this._croppingPolygons=null},fitBounds:function(e,n,r){n=n||t.Placement.CENTER;var i=t.Placement.properties[n],o=this.contentAspectX,s=0,a=0,c=1,l=1;if(this._clip&&(o=this._clip.getAspectRatio(),c=this._clip.width/this.source.dimensions.x,l=this._clip.height/this.source.dimensions.y,e.getAspectRatio()>o?(s=this._clip.x/this._clip.height*e.height,a=this._clip.y/this._clip.height*e.height):(s=this._clip.x/this._clip.width*e.width,a=this._clip.y/this._clip.width*e.width)),e.getAspectRatio()>o){var u=e.height/l,h=0;i.isHorizontallyCentered?h=(e.width-e.height*o)/2:i.isRight&&(h=e.width-e.height*o),this.setPosition(new t.Point(e.x-s+h,e.y-a),r),this.setHeight(u,r)}else{var f=e.width/c,p=0;i.isVerticallyCentered?p=(e.height-e.width/o)/2:i.isBottom&&(p=e.height-e.width/o),this.setPosition(new t.Point(e.x-s,e.y-a+p),r),this.setWidth(f,r)}},getClip:function(){return this._clip?this._clip.clone():null},setClip:function(e){t.console.assert(!e||e instanceof t.Rect,"[TiledImage.setClip] newClip must be an OpenSeadragon.Rect or null"),e instanceof t.Rect?this._clip=e.clone():this._clip=null,this._needsDraw=!0,this.raiseEvent("clip-change")},getOpacity:function(){return this.opacity},setOpacity:function(t){t!==this.opacity&&(this.opacity=t,this._needsDraw=!0,this.raiseEvent("opacity-change",{opacity:this.opacity}))},getPreload:function(){return this._preload},setPreload:function(t){this._preload=!!t,this._needsDraw=!0},getRotation:function(t){return t?this._degreesSpring.current.value:this._degreesSpring.target.value},setRotation:function(t,e){this._degreesSpring.target.value===t&&this._degreesSpring.isAtTargetValue()||(e?this._degreesSpring.resetTo(t):this._degreesSpring.springTo(t),this._needsDraw=!0,this._raiseBoundsChange())},_getRotationPoint:function(t){return this.getBoundsNoRotate(t).getCenter()},getCompositeOperation:function(){return this.compositeOperation},setCompositeOperation:function(t){t!==this.compositeOperation&&(this.compositeOperation=t,this._needsDraw=!0,this.raiseEvent("composite-operation-change",{compositeOperation:this.compositeOperation}))},_setScale:function(t,e){var n=this._scaleSpring.target.value===t;if(e){if(n&&this._scaleSpring.current.value===t)return;this._scaleSpring.resetTo(t),this._updateForScale(),this._needsDraw=!0}else{if(n)return;this._scaleSpring.springTo(t),this._updateForScale(),this._needsDraw=!0}n||this._raiseBoundsChange()},_updateForScale:function(){this._worldWidthTarget=this._scaleSpring.target.value,this._worldHeightTarget=this.normHeight*this._scaleSpring.target.value,this._worldWidthCurrent=this._scaleSpring.current.value,this._worldHeightCurrent=this.normHeight*this._scaleSpring.current.value},_raiseBoundsChange:function(){this.raiseEvent("bounds-change")},_isBottomItem:function(){return this.viewer.world.getItemAt(0)===this},_getLevelsInterval:function(){var t=Math.max(this.source.minLevel,Math.floor(Math.log(this.minZoomImageRatio)/Math.log(2))),e=this.viewport.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(0),!0).x*this._scaleSpring.current.value,n=Math.min(Math.abs(this.source.maxLevel),Math.abs(Math.floor(Math.log(e/this.minPixelRatio)/Math.log(2))));return n=Math.max(n,this.source.minLevel||0),t=Math.min(t,n),{lowestLevel:t,highestLevel:n}},_updateViewport:function(){this._needsDraw=!1,this._tilesLoading=0,this.loadingCoverage={};while(this.lastDrawn.length>0){var n=this.lastDrawn.pop();n.beingDrawn=!1}var r=this.viewport,o=this._viewportToTiledImageRectangle(r.getBoundsWithMargins(!0));if(!this.wrapHorizontal&&!this.wrapVertical){var s=this._viewportToTiledImageRectangle(this.getClippedBounds(!0));if(o=o.intersection(s),null===o)return}for(var a=this._getLevelsInterval(),c=a.lowestLevel,u=a.highestLevel,h=null,f=!1,p=t.now(),g=u;g>=c;g--){var v=!1,m=r.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(g),!0).x*this._scaleSpring.current.value;if(g===c||!f&&m>=this.minPixelRatio)v=!0,f=!0;else if(!f)continue;var y=r.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(g),!1).x*this._scaleSpring.current.value,b=r.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(Math.max(this.source.getClosestLevel(),0)),!1).x*this._scaleSpring.current.value,w=this.immediateRender?1:b,_=Math.min(1,(m-.5)/.5),x=w/Math.abs(w-y);if(h=e(this,f,v,g,_,x,o,p,h),l(this.coverage,g))break}d(this,this.lastDrawn),h&&!h.context2D?(i(this,h,p),this._needsDraw=!0,this._setFullyLoaded(!1)):this._setFullyLoaded(0===this._tilesLoading)},_getCornerTiles:function(e,n,r){var i,o,s,a;this.wrapHorizontal?(i=t.positiveModulo(n.x,1),o=t.positiveModulo(r.x,1)):(i=Math.max(0,n.x),o=Math.min(1,r.x));var c=1/this.source.aspectRatio;this.wrapVertical?(s=t.positiveModulo(n.y,c),a=t.positiveModulo(r.y,c)):(s=Math.max(0,n.y),a=Math.min(c,r.y));var l=this.source.getTileAtPoint(e,new t.Point(i,s)),u=this.source.getTileAtPoint(e,new t.Point(o,a)),h=this.source.getNumTiles(e);return this.wrapHorizontal&&(l.x+=h.x*Math.floor(n.x),u.x+=h.x*Math.floor(r.x)),this.wrapVertical&&(l.y+=h.y*Math.floor(n.y/c),u.y+=h.y*Math.floor(r.y/c)),{topLeft:l,bottomRight:u}}})}(OpenSeadragon),function(t){var e=function(e){t.console.assert(e,"[TileCache.cacheTile] options is required"),t.console.assert(e.tile,"[TileCache.cacheTile] options.tile is required"),t.console.assert(e.tiledImage,"[TileCache.cacheTile] options.tiledImage is required"),this.tile=e.tile,this.tiledImage=e.tiledImage},n=function(e){t.console.assert(e,"[ImageRecord] options is required"),t.console.assert(e.image,"[ImageRecord] options.image is required"),this._image=e.image,this._tiles=[]};n.prototype={destroy:function(){this._image=null,this._renderedContext=null,this._tiles=null},getImage:function(){return this._image},getRenderedContext:function(){if(!this._renderedContext){var t=document.createElement("canvas");t.width=this._image.width,t.height=this._image.height,this._renderedContext=t.getContext("2d"),this._renderedContext.drawImage(this._image,0,0),this._image=null}return this._renderedContext},setRenderedContext:function(e){t.console.error("ImageRecord.setRenderedContext is deprecated. The rendered context should be created by the ImageRecord itself when calling ImageRecord.getRenderedContext."),this._renderedContext=e},addTile:function(e){t.console.assert(e,"[ImageRecord.addTile] tile is required"),this._tiles.push(e)},removeTile:function(e){for(var n=0;n<this._tiles.length;n++)if(this._tiles[n]===e)return void this._tiles.splice(n,1);t.console.warn("[ImageRecord.removeTile] trying to remove unknown tile",e)},getTileCount:function(){return this._tiles.length}},t.TileCache=function(e){e=e||{},this._maxImageCacheCount=e.maxImageCacheCount||t.DEFAULT_SETTINGS.maxImageCacheCount,this._tilesLoaded=[],this._imagesLoaded=[],this._imagesLoadedCount=0},t.TileCache.prototype={numTilesLoaded:function(){return this._tilesLoaded.length},cacheTile:function(r){t.console.assert(r,"[TileCache.cacheTile] options is required"),t.console.assert(r.tile,"[TileCache.cacheTile] options.tile is required"),t.console.assert(r.tile.cacheKey,"[TileCache.cacheTile] options.tile.cacheKey is required"),t.console.assert(r.tiledImage,"[TileCache.cacheTile] options.tiledImage is required");var i=r.cutoff||0,o=this._tilesLoaded.length,s=this._imagesLoaded[r.tile.cacheKey];if(s||(t.console.assert(r.image,"[TileCache.cacheTile] options.image is required to create an ImageRecord"),s=this._imagesLoaded[r.tile.cacheKey]=new n({image:r.image}),this._imagesLoadedCount++),s.addTile(r.tile),r.tile.cacheImageRecord=s,this._imagesLoadedCount>this._maxImageCacheCount){for(var a,c,l,u,h,f,p=null,d=-1,g=null,v=this._tilesLoaded.length-1;v>=0;v--)f=this._tilesLoaded[v],a=f.tile,a.level<=i||a.beingDrawn||(p?(u=a.lastTouchTime,c=p.lastTouchTime,h=a.level,l=p.level,(u<c||u==c&&h>l)&&(p=a,d=v,g=f)):(p=a,d=v,g=f));p&&d>=0&&(this._unloadTile(g),o=d)}this._tilesLoaded[o]=new e({tile:r.tile,tiledImage:r.tiledImage})},clearTilesFor:function(e){var n;t.console.assert(e,"[TileCache.clearTilesFor] tiledImage is required");for(var r=0;r<this._tilesLoaded.length;++r)n=this._tilesLoaded[r],n.tiledImage===e&&(this._unloadTile(n),this._tilesLoaded.splice(r,1),r--)},getImageRecord:function(e){return t.console.assert(e,"[TileCache.getImageRecord] cacheKey is required"),this._imagesLoaded[e]},_unloadTile:function(e){t.console.assert(e,"[TileCache._unloadTile] tileRecord is required");var n=e.tile,r=e.tiledImage;n.unload(),n.cacheImageRecord=null;var i=this._imagesLoaded[n.cacheKey];i.removeTile(n),i.getTileCount()||(i.destroy(),delete this._imagesLoaded[n.cacheKey],this._imagesLoadedCount--),r.viewer.raiseEvent("tile-unloaded",{tile:n,tiledImage:r})}}}(OpenSeadragon),function(t){t.World=function(e){var n=this;t.console.assert(e.viewer,"[World] options.viewer is required"),t.EventSource.call(this),this.viewer=e.viewer,this._items=[],this._needsDraw=!1,this._autoRefigureSizes=!0,this._needsSizesFigured=!1,this._delegatedFigureSizes=function(t){n._autoRefigureSizes?n._figureSizes():n._needsSizesFigured=!0},this._figureSizes()},t.extend(t.World.prototype,t.EventSource.prototype,{addItem:function(e,n){if(t.console.assert(e,"[World.addItem] item is required"),t.console.assert(e instanceof t.TiledImage,"[World.addItem] only TiledImages supported at this time"),n=n||{},void 0!==n.index){var r=Math.max(0,Math.min(this._items.length,n.index));this._items.splice(r,0,e)}else this._items.push(e);this._autoRefigureSizes?this._figureSizes():this._needsSizesFigured=!0,this._needsDraw=!0,e.addHandler("bounds-change",this._delegatedFigureSizes),e.addHandler("clip-change",this._delegatedFigureSizes),this.raiseEvent("add-item",{item:e})},getItemAt:function(e){return t.console.assert(void 0!==e,"[World.getItemAt] index is required"),this._items[e]},getIndexOfItem:function(e){return t.console.assert(e,"[World.getIndexOfItem] item is required"),t.indexOf(this._items,e)},getItemCount:function(){return this._items.length},setItemIndex:function(e,n){t.console.assert(e,"[World.setItemIndex] item is required"),t.console.assert(void 0!==n,"[World.setItemIndex] index is required");var r=this.getIndexOfItem(e);if(n>=this._items.length)throw new Error("Index bigger than number of layers.");n!==r&&-1!==r&&(this._items.splice(r,1),this._items.splice(n,0,e),this._needsDraw=!0,this.raiseEvent("item-index-change",{item:e,previousIndex:r,newIndex:n}))},removeItem:function(e){t.console.assert(e,"[World.removeItem] item is required");var n=t.indexOf(this._items,e);-1!==n&&(e.removeHandler("bounds-change",this._delegatedFigureSizes),e.removeHandler("clip-change",this._delegatedFigureSizes),e.destroy(),this._items.splice(n,1),this._figureSizes(),this._needsDraw=!0,this._raiseRemoveItem(e))},removeAll:function(){var t,e;for(this.viewer._cancelPendingImages(),e=0;e<this._items.length;e++)t=this._items[e],t.removeHandler("bounds-change",this._delegatedFigureSizes),t.removeHandler("clip-change",this._delegatedFigureSizes),t.destroy();var n=this._items;for(this._items=[],this._figureSizes(),this._needsDraw=!0,e=0;e<n.length;e++)t=n[e],this._raiseRemoveItem(t)},resetItems:function(){for(var t=0;t<this._items.length;t++)this._items[t].reset()},update:function(){for(var t=!1,e=0;e<this._items.length;e++)t=this._items[e].update()||t;return t},draw:function(){for(var t=0;t<this._items.length;t++)this._items[t].draw();this._needsDraw=!1},needsDraw:function(){for(var t=0;t<this._items.length;t++)if(this._items[t].needsDraw())return!0;return this._needsDraw},getHomeBounds:function(){return this._homeBounds.clone()},getContentFactor:function(){return this._contentFactor},setAutoRefigureSizes:function(t){this._autoRefigureSizes=t,t&this._needsSizesFigured&&(this._figureSizes(),this._needsSizesFigured=!1)},arrange:function(e){e=e||{};var n,r=e.immediately||!1,i=e.layout||t.DEFAULT_SETTINGS.collectionLayout,o=e.rows||t.DEFAULT_SETTINGS.collectionRows,s=e.columns||t.DEFAULT_SETTINGS.collectionColumns,a=e.tileSize||t.DEFAULT_SETTINGS.collectionTileSize,c=e.tileMargin||t.DEFAULT_SETTINGS.collectionTileMargin,l=a+c;n=!e.rows&&s?s:Math.ceil(this._items.length/o);var u,h,f,p,d,g=0,v=0;this.setAutoRefigureSizes(!1);for(var m=0;m<this._items.length;m++)m&&m%n===0&&("horizontal"===i?(v+=l,g=0):(g+=l,v=0)),u=this._items[m],h=u.getBounds(),f=h.width>h.height?a:a*(h.width/h.height),p=f*(h.height/h.width),d=new t.Point(g+(a-f)/2,v+(a-p)/2),u.setPosition(d,r),u.setWidth(f,r),"horizontal"===i?g+=l:v+=l;this.setAutoRefigureSizes(!0)},_figureSizes:function(){var e=this._homeBounds?this._homeBounds.clone():null,n=this._contentSize?this._contentSize.clone():null,r=this._contentFactor||0;if(this._items.length){var i=this._items[0],o=i.getBounds();this._contentFactor=i.getContentSize().x/o.width;for(var s=i.getClippedBounds().getBoundingBox(),a=s.x,c=s.y,l=s.x+s.width,u=s.y+s.height,h=1;h<this._items.length;h++)i=this._items[h],o=i.getBounds(),this._contentFactor=Math.max(this._contentFactor,i.getContentSize().x/o.width),s=i.getClippedBounds().getBoundingBox(),a=Math.min(a,s.x),c=Math.min(c,s.y),l=Math.max(l,s.x+s.width),u=Math.max(u,s.y+s.height);this._homeBounds=new t.Rect(a,c,l-a,u-c),this._contentSize=new t.Point(this._homeBounds.width*this._contentFactor,this._homeBounds.height*this._contentFactor)}else this._homeBounds=new t.Rect(0,0,1,1),this._contentSize=new t.Point(1,1),this._contentFactor=1;this._contentFactor===r&&this._homeBounds.equals(e)&&this._contentSize.equals(n)||this.raiseEvent("metrics-change",{})},_raiseRemoveItem:function(t){this.raiseEvent("remove-item",{item:t})}})}(OpenSeadragon)},ab36:function(t,e,n){n("753b"),t.exports=n("a06f").String.padStart},ab8c:function(t,e,n){"use strict";var r=n("b460"),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},ab90:function(t,e,n){var r=n("0d63"),i=n("ff35"),o=Math.exp;r(r.S+r.F*n("b460")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},abf9:function(t,e,n){"use strict";var r=n("4cec"),i=n("388d"),o="Set";t.exports=n("aef6")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},ad06:function(t,e,n){var r=n("7e33"),i=n("37ff"),o=n("c831")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},ad2b:function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,l=9007199254740991,u="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",m="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/^\./,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,V={};V[A]=V[O]=V[P]=V[R]=V[L]=V[I]=V[M]=V[j]=V[B]=!0,V[u]=V[h]=V[C]=V[f]=V[k]=V[p]=V[d]=V[g]=V[m]=V[y]=V[b]=V[_]=V[x]=V[S]=V[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,Z=W||G||Function("return this")(),X=e&&!e.nodeType&&e,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,K=Y&&Y.exports===X,J=K&&W.process,Q=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function nt(t){return function(e){return null==e?void 0:e[t]}}function rt(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function it(t){return function(e){return t(e)}}function ot(t,e){return null==t?void 0:t[e]}function st(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function at(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ct(t,e){return function(n){return t(e(n))}}function lt(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ut=Array.prototype,ht=Function.prototype,ft=Object.prototype,pt=Z["__core-js_shared__"],dt=function(){var t=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),gt=ht.toString,vt=ft.hasOwnProperty,mt=ft.toString,yt=RegExp("^"+gt.call(vt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=Z.Symbol,wt=Z.Uint8Array,_t=ft.propertyIsEnumerable,xt=ut.splice,St=ct(Object.keys,Object),Tt=Fe(Z,"DataView"),Et=Fe(Z,"Map"),Ct=Fe(Z,"Promise"),kt=Fe(Z,"Set"),At=Fe(Z,"WeakMap"),Ot=Fe(Object,"create"),Pt=Je(Tt),Rt=Je(Et),Lt=Je(Ct),It=Je(kt),Mt=Je(At),jt=bt?bt.prototype:void 0,Bt=jt?jt.valueOf:void 0,Dt=jt?jt.toString:void 0;function Nt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ft(){this.__data__=Ot?Ot(null):{}}function Ht(t){return this.has(t)&&delete this.__data__[t]}function zt(t){var e=this.__data__;if(Ot){var n=e[t];return n===o?void 0:n}return vt.call(e,t)?e[t]:void 0}function $t(t){var e=this.__data__;return Ot?void 0!==e[t]:vt.call(e,t)}function Ut(t,e){var n=this.__data__;return n[t]=Ot&&void 0===e?o:e,this}function qt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Vt(){this.__data__=[]}function Wt(t){var e=this.__data__,n=fe(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():xt.call(e,n,1),!0}function Gt(t){var e=this.__data__,n=fe(e,t);return n<0?void 0:e[n][1]}function Zt(t){return fe(this.__data__,t)>-1}function Xt(t,e){var n=this.__data__,r=fe(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Yt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Kt(){this.__data__={hash:new Nt,map:new(Et||qt),string:new Nt}}function Jt(t){return De(this,t)["delete"](t)}function Qt(t){return De(this,t).get(t)}function te(t){return De(this,t).has(t)}function ee(t,e){return De(this,t).set(t,e),this}function ne(t){var e=-1,n=t?t.length:0;this.__data__=new Yt;while(++e<n)this.add(t[e])}function re(t){return this.__data__.set(t,o),this}function ie(t){return this.__data__.has(t)}function oe(t){this.__data__=new qt(t)}function se(){this.__data__=new qt}function ae(t){return this.__data__["delete"](t)}function ce(t){return this.__data__.get(t)}function le(t){return this.__data__.has(t)}function ue(t,e){var n=this.__data__;if(n instanceof qt){var i=n.__data__;if(!Et||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Yt(i)}return n.set(t,e),this}function he(t,e){var n=rn(t)||nn(t)?rt(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!vt.call(t,o)||i&&("length"==o||$e(o,r))||n.push(o);return n}function fe(t,e){var n=t.length;while(n--)if(en(t[n][0],e))return n;return-1}Nt.prototype.clear=Ft,Nt.prototype["delete"]=Ht,Nt.prototype.get=zt,Nt.prototype.has=$t,Nt.prototype.set=Ut,qt.prototype.clear=Vt,qt.prototype["delete"]=Wt,qt.prototype.get=Gt,qt.prototype.has=Zt,qt.prototype.set=Xt,Yt.prototype.clear=Kt,Yt.prototype["delete"]=Jt,Yt.prototype.get=Qt,Yt.prototype.has=te,Yt.prototype.set=ee,ne.prototype.add=ne.prototype.push=re,ne.prototype.has=ie,oe.prototype.clear=se,oe.prototype["delete"]=ae,oe.prototype.get=ce,oe.prototype.has=le,oe.prototype.set=ue;var pe=Le(ge),de=Ie();function ge(t,e){return t&&de(t,e,vn)}function ve(t,e){e=qe(e,t)?[e]:Re(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ke(e[n++])];return n&&n==r?t:void 0}function me(t){return mt.call(t)}function ye(t,e){return null!=t&&e in Object(t)}function be(t,e,n,r,i){return t===e||(null==t||null==e||!ln(t)&&!un(e)?t!==t&&e!==e:we(t,e,be,n,r,i))}function we(t,e,n,r,i,o){var s=rn(t),c=rn(e),l=h,f=h;s||(l=He(t),l=l==u?b:l),c||(f=He(e),f=f==u?b:f);var p=l==b&&!st(t),d=f==b&&!st(e),g=l==f;if(g&&!p)return o||(o=new oe),s||fn(t)?Me(t,e,n,r,i,o):je(t,e,l,n,r,i,o);if(!(i&a)){var v=p&&vt.call(t,"__wrapped__"),m=d&&vt.call(e,"__wrapped__");if(v||m){var y=v?t.value():t,w=m?e.value():e;return o||(o=new oe),n(y,w,r,i,o)}}return!!g&&(o||(o=new oe),Be(t,e,n,r,i,o))}function _e(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var l=n[i];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++i<o){l=n[i];var u=l[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new oe;if(r)var d=r(h,f,u,t,e,p);if(!(void 0===d?be(f,h,r,s|a,p):d))return!1}}return!0}function xe(t){if(!ln(t)||We(t))return!1;var e=an(t)||st(t)?yt:U;return e.test(Je(t))}function Se(t){return un(t)&&cn(t.length)&&!!V[mt.call(t)]}function Te(t){return"function"==typeof t?t:null==t?mn:"object"==typeof t?rn(t)?ke(t[0],t[1]):Ce(t):yn(t)}function Ee(t){if(!Ge(t))return St(t);var e=[];for(var n in Object(t))vt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ce(t){var e=Ne(t);return 1==e.length&&e[0][2]?Xe(e[0][0],e[0][1]):function(n){return n===t||_e(n,t,e)}}function ke(t,e){return qe(t)&&Ze(e)?Xe(Ke(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?gn(n,t):be(e,r,void 0,s|a)}}function Ae(t){return function(e){return ve(e,t)}}function Oe(t,e){var n;return pe(t,(function(t,r,i){return n=e(t,r,i),!n})),!!n}function Pe(t){if("string"==typeof t)return t;if(hn(t))return Dt?Dt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Re(t){return rn(t)?t:Ye(t)}function Le(t,e){return function(n,r){if(null==n)return n;if(!on(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Ie(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function Me(t,e,n,r,i,o){var c=i&a,l=t.length,u=e.length;if(l!=u&&!(c&&u>l))return!1;var h=o.get(t);if(h&&o.get(e))return h==e;var f=-1,p=!0,d=i&s?new ne:void 0;o.set(t,e),o.set(e,t);while(++f<l){var g=t[f],v=e[f];if(r)var m=c?r(v,g,f,e,t,o):r(g,v,f,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!et(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function je(t,e,n,r,i,o,c){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new wt(t),new wt(e)));case f:case p:case y:return en(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case S:return t==e+"";case m:var l=at;case x:var u=o&a;if(l||(l=lt),t.size!=e.size&&!u)return!1;var h=c.get(t);if(h)return h==e;o|=s,c.set(t,e);var g=Me(l(t),l(e),r,i,o,c);return c["delete"](t),g;case T:if(Bt)return Bt.call(t)==Bt.call(e)}return!1}function Be(t,e,n,r,i,o){var s=i&a,c=vn(t),l=c.length,u=vn(e),h=u.length;if(l!=h&&!s)return!1;var f=l;while(f--){var p=c[f];if(!(s?p in e:vt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++f<l){p=c[f];var m=t[p],y=e[p];if(r)var b=s?r(y,m,p,e,t,o):r(m,y,p,t,e,o);if(!(void 0===b?m===y||n(m,y,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,_=e.constructor;w!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return o["delete"](t),o["delete"](e),g}function De(t,e){var n=t.__data__;return Ve(e)?n["string"==typeof e?"string":"hash"]:n.map}function Ne(t){var e=vn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function Fe(t,e){var n=ot(t,e);return xe(n)?n:void 0}var He=me;function ze(t,e,n){e=qe(e,t)?[e]:Re(e);var r,i=-1,o=e.length;while(++i<o){var s=Ke(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&cn(o)&&$e(s,o)&&(rn(t)||nn(t))}function $e(t,e){return e=null==e?l:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function Ue(t,e,n){if(!ln(n))return!1;var r=typeof e;return!!("number"==r?on(n)&&$e(e,n.length):"string"==r&&e in n)&&en(n[e],t)}function qe(t,e){if(rn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hn(t))||(N.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function We(t){return!!dt&&dt in t}function Ge(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ft;return t===n}function Ze(t){return t===t&&!ln(t)}function Xe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Tt&&He(new Tt(new ArrayBuffer(1)))!=k||Et&&He(new Et)!=m||Ct&&He(Ct.resolve())!=w||kt&&He(new kt)!=x||At&&He(new At)!=E)&&(He=function(t){var e=mt.call(t),n=e==b?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Pt:return k;case Rt:return m;case Lt:return w;case It:return x;case Mt:return E}return e});var Ye=tn((function(t){t=pn(t);var e=[];return F.test(t)&&e.push(""),t.replace(H,(function(t,n,r,i){e.push(r?i.replace($,"$1"):n||t)})),e}));function Ke(t){if("string"==typeof t||hn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return gt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Qe(t,e,n){var r=rn(t)?et:Oe;return n&&Ue(t,e,n)&&(e=void 0),r(t,Te(e,3))}function tn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(tn.Cache||Yt),n}function en(t,e){return t===e||t!==t&&e!==e}function nn(t){return sn(t)&&vt.call(t,"callee")&&(!_t.call(t,"callee")||mt.call(t)==u)}tn.Cache=Yt;var rn=Array.isArray;function on(t){return null!=t&&cn(t.length)&&!an(t)}function sn(t){return un(t)&&on(t)}function an(t){var e=ln(t)?mt.call(t):"";return e==g||e==v}function cn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=l}function ln(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function hn(t){return"symbol"==typeof t||un(t)&&mt.call(t)==T}var fn=tt?it(tt):Se;function pn(t){return null==t?"":Pe(t)}function dn(t,e,n){var r=null==t?void 0:ve(t,e);return void 0===r?n:r}function gn(t,e){return null!=t&&ze(t,e,ye)}function vn(t){return on(t)?he(t):Ee(t)}function mn(t){return t}function yn(t){return qe(t)?nt(Ke(t)):Ae(t)}n.exports=Qe}).call(this,n("c8ba"),n("62e4")(t))},aef6:function(t,e,n){"use strict";var r=n("255a"),i=n("0d63"),o=n("bd47"),s=n("e603"),a=n("bded"),c=n("3032"),l=n("4b13"),u=n("cdf9"),h=n("b460"),f=n("3b9e"),p=n("617f"),d=n("887c");t.exports=function(t,e,n,g,v,m){var y=r[t],b=y,w=v?"set":"add",_=b&&b.prototype,x={},S=function(t){var e=_[t];o(_,t,"delete"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||_.forEach&&!h((function(){(new b).entries().next()})))){var T=new b,E=T[w](m?{}:-0,1)!=T,C=h((function(){T.has(1)})),k=f((function(t){new b(t)})),A=!m&&h((function(){var t=new b,e=5;while(e--)t[w](e,e);return!t.has(-0)}));k||(b=e((function(e,n){l(e,b,t);var r=d(new y,e,b);return void 0!=n&&c(n,v,r[w],r),r})),b.prototype=_,_.constructor=b),(C||A)&&(S("delete"),S("has"),v&&S("get")),(A||E)&&S(w),m&&_.clear&&delete _.clear}else b=g.getConstructor(e,t,v,w),s(b.prototype,n),a.NEED=!0;return p(b,t),x[t]=b,i(i.G+i.W+i.F*(b!=y),x),m||g.setStrong(b,t,v),b}},af33:function(t,e,n){var r=n("42ee"),i=n("2035"),o=n("afae"),s=n("c831")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("2551")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("ef15").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),l=t.F;while(r--)delete l[c][o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},afae:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},b03c:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},b0ed:function(t,e,n){var r=n("0d63"),i=n("af33"),o=n("7480"),s=n("42ee"),a=n("cdf9"),c=n("b460"),l=n("b66c"),u=(n("255a").Reflect||{}).construct,h=c((function(){function t(){}return!(u((function(){}),[],t)instanceof t)})),f=!c((function(){u((function(){}))}));r(r.S+r.F*(h||f),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(f&&!h)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}var c=n.prototype,p=i(a(c)?c:Object.prototype),d=Function.apply.call(t,p,e);return a(d)?d:p}})},b460:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},b464:function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(4);r(r.P+r.F*!n("60a1")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},b506:function(t,e,n){var r=n("255a").parseFloat,i=n("b92f").trim;t.exports=1/r(n("5cb8")+"-0")!==-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("7aac"),s=n("30b5"),a=n("83b9"),c=n("c345"),l=n("3934"),u=n("2d83");t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers;r.isFormData(h)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(d+":"+g)}var v=a(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),s(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o=t.responseType&&"text"!==t.responseType?p.response:p.responseText,s={data:o,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,s),p=null}},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var m=(t.withCredentials||l(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;m&&(f[t.xsrfHeaderName]=m)}if("setRequestHeader"in p&&r.forEach(f,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),h||(h=null),p.send(h)}))}},b514:function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},b53a:function(t,e,n){var r=n("0d63");r(r.S+r.F,"Object",{assign:n("4dc6")})},b639:function(t,e,n){"use strict";(function(t){
  /*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <http://feross.org>
   * @license  MIT
   */
  var r=n("1fb5"),i=n("9152"),o=n("e3db");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?v(t,e,n,r):"string"===typeof e?d(t,e,n):m(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,n,r){return h(e),e<=0?c(t,e):void 0!==n?"string"===typeof r?c(t,e).fill(n,r):c(t,e).fill(n):c(t,e)}function p(t,e){if(h(e),t=c(t,e<0?0:0|y(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|w(e,n);t=c(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function g(t,e){var n=e.length<0?0:0|y(e.length);t=c(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function v(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=g(t,e),t}function m(t,e){if(l.isBuffer(e)){var n=0|y(e.length);return t=c(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?c(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),l.alloc(+t)}function w(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(r)return Y(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return L(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return B(this,e,n);case"base64":return R(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function x(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function S(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:T(t,e,n,r,i);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):T(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function T(t,e,n,r,i){var o,s=1,a=t.length,c=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=n;o<a;o++)if(l(t,o)===l(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var h=!0,f=0;f<c;f++)if(l(t,o+f)!==l(e,f)){h=!1;break}if(h)return o}return-1}function E(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function C(t,e,n,r){return tt(Y(e,t.length-n),t,n,r)}function k(t,e,n,r){return tt(K(e),t,n,r)}function A(t,e,n,r){return k(t,e,n,r)}function O(t,e,n,r){return tt(Q(e),t,n,r)}function P(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function R(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function L(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var o,s,a,c,l=t[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:o=t[i+1],128===(192&o)&&(c=(31&l)<<6|63&o,c>127&&(u=c));break;case 3:o=t[i+1],s=t[i+2],128===(192&o)&&128===(192&s)&&(c=(15&l)<<12|(63&o)<<6|63&s,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(c=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return M(r)}e.Buffer=l,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return f(null,t,e,n)},l.allocUnsafe=function(t){return p(null,t)},l.allocUnsafeSlow=function(t){return p(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},l.byteLength=w,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)x(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)x(this,e,e+3),x(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)x(this,e,e+7),x(this,e+1,e+6),x(this,e+2,e+5),x(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?L(this,0,t):_.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,a=Math.min(o,s),c=this.slice(r,i),u=t.slice(e,n),h=0;h<a;++h)if(c[h]!==u[h]){o=c[h],s=u[h];break}return o<s?-1:s<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return S(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return S(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return k(this,t,e,n);case"latin1":case"binary":return A(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function M(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var n="",r=0;while(r<e)n+=String.fromCharCode.apply(String,t.slice(r,r+=I));return n}function j(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function B(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=X(t[o]);return i}function N(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function H(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function z(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function $(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(t,e,n,r,o){return o||U(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function V(t,e,n,r,o){return o||U(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;H(this,t,e,n,i,0)}var o=1,s=0;this[e]=255&t;while(++s<n&&(o*=256))this[e+s]=t/o&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;H(this,t,e,n,i,0)}var o=n-1,s=1;this[e+o]=255&t;while(--o>=0&&(s*=256))this[e+o]=t/s&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):$(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);H(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;this[e]=255&t;while(++o<n&&(s*=256))t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);H(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):$(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return q(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return q(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return V(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return V(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=l.isBuffer(t)?t:Y(new l(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function G(t){if(t=Z(t).replace(W,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function Z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,r,i,o=[],s=0;s<t.length;++s){if((e-=2)<0)break;n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function Q(t){return r.toByteArray(G(t))}function tt(t,e,n,r){for(var i=0;i<r;++i){if(i+n>=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},b66c:function(t,e,n){"use strict";var r=n("7480"),i=n("cdf9"),o=n("e2b0"),s=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?c(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},b70b:function(t,e,n){n("672b"),t.exports=n("5a30").f("asyncIterator")},b7e2:function(t,e,n){var r=n("cc80"),i=n("afae");t.exports=Object.keys||function(t){return r(t,i)}},b7e25:function(t,e,n){"use strict";n("c7c1")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},b83a:function(t,e,n){var r=n("0d63"),i=n("ff35"),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},b864:function(t,e,n){"use strict";n("c7c1")("sub",(function(t){return function(){return t(this,"sub","","")}}))},b8bd:function(t,e,n){var r=n("4691");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},b92f:function(t,e,n){var r=n("0d63"),i=n("6744"),o=n("b460"),s=n("5cb8"),a="["+s+"]",c="​",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var i={},a=o((function(){return!!s[t]()||c[t]()!=c})),l=i[t]=a?e(f):s[t];n&&(i[n]=l),r(r.P+r.F*a,"String",i)},f=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},ba5b:function(t,e,n){var r=n("0d63"),i=n("b506");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},bc3a:function(t,e,n){t.exports=n("cee4")},bc48:function(t,e,n){var r=n("dfa5");t.exports=Array.isArray||function(t){return"Array"==r(t)}},bd47:function(t,e,n){var r=n("255a"),i=n("c3fa"),o=n("7e33"),s=n("a909")("src"),a=n("c811"),c="toString",l=(""+a).split(c);n("a06f").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},bd48:function(t,e,n){"use strict";var r=n("0d63"),i=n("ceb6"),o=n("d8b2"),s=n("58d1"),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n("60a1")(a)),"Array",{lastIndexOf:function(t){if(c)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},bd7d:function(t,e,n){function r(t){this._cbs=t||{}}t.exports=r;var i=n("852e").EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,r.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,r.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,r.prototype[t]=function(e,n){this._cbs[t]&&this._cbs[t](e,n)}}}))},bdd5:function(t,e,n){var r=n("0d63"),i=n("5051")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},bded:function(t,e,n){var r=n("a909")("meta"),i=n("cdf9"),o=n("7e33"),s=n("0f26").f,a=0,c=Object.isExtensible||function(){return!0},l=!n("b460")((function(){return c(Object.preventExtensions({}))})),u=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[r].i},f=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[r].w},p=function(t){return l&&d.NEED&&c(t)&&!o(t,r)&&u(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:h,getWeak:f,onFreeze:p}},be58:function(t,e,n){"use strict";var r=n("0d63"),i=n("a06f"),o=n("255a"),s=n("0a7d"),a=n("c50d");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},bf45:function(t,e,n){n("933e")("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},c044:function(t,e,n){"use strict";n("c7c1")("italics",(function(t){return function(){return t(this,"i","","")}}))},c345:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},c3fa:function(t,e,n){var r=n("0f26"),i=n("154b");t.exports=n("6739")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c491:function(t,e,n){"use strict";var r=n("37ff"),i=n("51ac"),o=n("58d1");t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),c=i(e,s),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?s:i(l,s))-c,s-a),h=1;c<a&&a<c+u&&(h=-1,c+=u-1,a+=u-1);while(u-- >0)c in n?n[a]=n[c]:delete n[a],a+=h,c+=h;return n}},c4d3:function(t,e,n){var r=n("0d63"),i=n("30c9");i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},c50d:function(t,e,n){var r=n("42ee"),i=n("cdf9"),o=n("978e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return"undefined"===typeof t}function a(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function l(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function f(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function d(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===i.call(t)}function v(t){return"[object File]"===i.call(t)}function m(t){return"[object Blob]"===i.call(t)}function y(t){return"[object Function]"===i.call(t)}function b(t){return p(t)&&y(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function _(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function T(){var t={};function e(e,n){d(t[n])&&d(e)?t[n]=T(t[n],e):d(e)?t[n]=T({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],e);return t}function E(t,e,n){return S(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}function C(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:a,isFormData:l,isArrayBufferView:u,isString:h,isNumber:f,isObject:p,isPlainObject:d,isUndefined:s,isDate:g,isFile:v,isBlob:m,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:S,merge:T,extend:E,trim:_,stripBOM:C}},c63d:function(t,e,n){n("8820"),t.exports=n("a06f").Object.getOwnPropertyDescriptors},c669:function(t,e,n){"use strict";var r=n("42ee");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},c6a1:function(t,e,n){var r=n("0d63");r(r.S,"Object",{create:n("af33")})},c750:function(t,e,n){var r=n("0d63"),i=n("ff35");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},c7a3:function(t,e,n){"use strict";var r=n("0f26"),i=n("154b");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},c7c1:function(t,e,n){var r=n("0d63"),i=n("b460"),o=n("6744"),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,"&quot;")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},c811:function(t,e,n){t.exports=n("94e4")("native-function-to-string",Function.toString)},c831:function(t,e,n){var r=n("94e4")("keys"),i=n("a909");t.exports=function(t){return r[t]||(r[t]=i(t))}},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c914:function(t,e,n){var r,i,o,s=n("d401"),a=n("e2b0"),c=n("ef15"),l=n("2551"),u=n("255a"),h=u.process,f=u.setImmediate,p=u.clearImmediate,d=u.MessageChannel,g=u.Dispatch,v=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){b.call(t.data)};f&&p||(f=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},p=function(t){delete m[t]},"process"==n("dfa5")(h)?r=function(t){h.nextTick(s(b,t,1))}:g&&g.now?r=function(t){g.now(s(b,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=w,r=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",w,!1)):r=y in l("script")?function(t){c.appendChild(l("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:f,clear:p}},c9eb:function(t,e){try{t.exports="undefined"!==typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){t.exports=!1}},ca99:function(t,e){t.exports=function(t,e,n){var r=t.byteLength;if(e=e||0,n=n||r,t.slice)return t.slice(e,n);if(e<0&&(e+=r),n<0&&(n+=r),n>r&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var i=new Uint8Array(t),o=new Uint8Array(n-e),s=e,a=0;s<n;s++,a++)o[a]=i[s];return o.buffer}},cae4:function(t,e,n){"use strict";var r=n("0d63"),i=n("ceb6"),o=[].join;r(r.P+r.F*(n("2635")!=Object||!n("60a1")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},cb03:function(t,e,n){var r=n("ceb6"),i=n("58d1"),o=n("51ac");t.exports=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},cb57:function(t,e){t.exports=r;var n=/^([+\-]?\d*n)?\s*(?:([+\-]?)\s*(\d+))?$/;function r(t){if(t=t.trim().toLowerCase(),"even"===t)return[2,0];if("odd"===t)return[2,1];var e,r=t.match(n);if(!r)throw new SyntaxError("n-th rule couldn't be parsed ('"+t+"')");return r[1]?(e=parseInt(r[1],10),isNaN(e)&&(e="-"===r[1].charAt(0)?-1:1)):e=0,[e,r[3]?parseInt((r[2]||"")+r[3],10):0]}},cbe6:function(t,e,n){var r=n("0d63");r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},cc80:function(t,e,n){var r=n("7e33"),i=n("ceb6"),o=n("cb03")(!1),s=n("c831")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},cc9e:function(t,e,n){var r=n("5317"),i=n("34eb")("socket.io-client:url");function o(t,e){var n=t;e=e||"undefined"!==typeof location&&location,null==t&&(t=e.protocol+"//"+e.host),"string"===typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\/\//.test(t)||(i("protocol-less url %s",t),t="undefined"!==typeof e?e.protocol+"//"+t:"https://"+t),i("parse %s",t),n=r(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var o=-1!==n.host.indexOf(":"),s=o?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+s+":"+n.port,n.href=n.protocol+"://"+s+(e&&e.port===n.port?"":":"+n.port),n}t.exports=o},ccc1:function(t,e){function n(t,e,n){var i=!1;return n=n||r,o.count=t,0===t?e():o;function o(t,r){if(o.count<=0)throw new Error("after called too many times");--o.count,t?(i=!0,e(t),e=n):0!==o.count||i||e(null,r)}}function r(){}t.exports=n},cdf9:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},ceb6:function(t,e,n){var r=n("2635"),i=n("6744");t.exports=function(t){return r(i(t))}},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),s=n("4a7b"),a=n("2444");function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var l=c(a);l.Axios=o,l.create=function(t){return c(s(l.defaults,t))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(t){return Promise.all(t)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),t.exports=l,t.exports.default=l},cfdc:function(t,e,n){n("933e")("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},d106:function(t,e,n){var r=n("0d63"),i=n("ceb6"),o=n("58d1");r(r.S,"String",{raw:function(t){var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;while(n>a)s.push(String(e[a++])),a<r&&s.push(String(arguments[a]));return s.join("")}})},d116:function(t,e,n){var r=n("1880"),i=n("7909"),o=n("72ce"),s={merge:n("da81"),defaults:n("13ca")};function a(t,e,n){if(e)"string"===typeof e&&(e=i(e,t._root,n));else{if(!t._root||!t._root.children)return"";e=t._root.children}return r(e,n)}e.load=function(t,r){var i=n("53a3");r=s.defaults(r||{},i.prototype.options);var a=o(t,r),c=function(t,e,n,o){return this instanceof c?(o=s.defaults(o||{},r),i.call(this,t,e,n||a,o)):new c(t,e,n,o)};return c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.fn=c.prototype,c.prototype._originalRoot=a,s.merge(c,e),c._root=a,c._options=r,c},e.html=function(t,e){var r=n("53a3");return"[object Object]"!==Object.prototype.toString.call(t)||e||"length"in t||"type"in t||(e=t,t=void 0),e=s.defaults(e||{},this._options,r.prototype.options),a(this,t,e)},e.xml=function(t){var e=s.defaults({xmlMode:!0},this._options);return a(this,t,e)},e.text=function(t){t||(t=this.root());for(var n,r="",i=t.length,o=0;o<i;o++)n=t[o],"text"===n.type?r+=n.data:n.children&&"comment"!==n.type&&(r+=e.text(n.children));return r},e.parseHTML=function(t,e,n){var r;return t&&"string"===typeof t?("boolean"===typeof e&&(n=e),r=this.load(t),n||r("script").remove(),r.root()[0].children.slice()):null},e.root=function(){return this(this._root)},e.contains=function(t,e){if(e===t)return!1;while(e&&e!==e.parent)if(e=e.parent,e===t)return!0;return!1}},d171:function(t,e,n){var r=n("0d63"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},d1e8:function(t,e,n){t.exports=i;var r=n("8769");function i(t){r.call(this,new o(this),t)}function o(t){this.scope=t}n("3fb5")(i,r),i.prototype.readable=!0;var s=n("852e").EVENTS;Object.keys(s).forEach((function(t){if(0===s[t])o.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===s[t])o.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==s[t])throw Error("wrong number of arguments!");o.prototype["on"+t]=function(e,n){this.scope.emit(t,e,n)}}}))},d1f1:function(t,e,n){function r(t){this._cbs=t||{},this.events=[]}t.exports=r;var i=n("852e").EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,r.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,r.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,r.prototype[t]=function(e,n){this.events.push([t,e,n]),this._cbs[t]&&this._cbs[t](e,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var n=this.events[t].length;1===n?this._cbs[this.events[t][0]]():2===n?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},d302:function(t,e,n){n("933e")("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},d33e:function(t,e,n){var r=n("01d3"),i=n("0949"),o=n("d4c9"),s=n("62fa"),a=n("34eb")("engine.io-client:polling-xhr"),c=n("d941");function l(){}function u(t){if(i.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!==typeof location){var e="https:"===location.protocol,n=location.port;n||(n=e?443:80),this.xd="undefined"!==typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function h(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(t.exports=u,t.exports.Request=h,s(u,i),u.prototype.supportsBinary=!0,u.prototype.request=function(t){return t=t||{},t.uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new h(t)},u.prototype.doWrite=function(t,e){var n="string"!==typeof t&&void 0!==t,r=this.request({method:"POST",data:t,isBinary:n}),i=this;r.on("success",e),r.on("error",(function(t){i.onError("xhr post error",t)})),this.sendXhr=r},u.prototype.doPoll=function(){a("xhr poll");var t=this.request(),e=this;t.on("data",(function(t){e.onData(t)})),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t},o(h.prototype),h.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new r(t),n=this;try{a("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&e.setRequestHeader(i,this.extraHeaders[i])}catch(o){}if("POST"===this.method)try{this.isBinary?e.setRequestHeader("Content-type","application/octet-stream"):e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(o){}try{e.setRequestHeader("Accept","*/*")}catch(o){}"withCredentials"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader("Content-Type");(n.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(e.responseType="arraybuffer")}catch(o){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError("number"===typeof e.status?e.status:0)}),0))},a("xhr data %s",this.data),e.send(this.data)}catch(o){return void setTimeout((function(){n.onError(o)}),0)}"undefined"!==typeof document&&(this.index=h.requestsCount++,h.requests[this.index]=this)},h.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},h.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},h.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},h.prototype.cleanup=function(t){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,t)try{this.xhr.abort()}catch(e){}"undefined"!==typeof document&&delete h.requests[this.index],this.xhr=null}},h.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch(n){}t=("application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},h.prototype.hasXDR=function(){return"undefined"!==typeof XDomainRequest&&!this.xs&&this.enablesXDR},h.prototype.abort=function(){this.cleanup()},h.requestsCount=0,h.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",p);else if("function"===typeof addEventListener){var f="onpagehide"in c?"pagehide":"unload";addEventListener(f,p,!1)}function p(){for(var t in h.requests)h.requests.hasOwnProperty(t)&&h.requests[t].abort()}},d376:function(t,e,n){var r=n("0d63");r(r.S,"Number",{isNaN:function(t){return t!=t}})},d38c:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},d401:function(t,e,n){var r=n("7480");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d4c9:function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if(n=r[i],n===e||n.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);r=0;for(var i=n.length;r<i;++r)n[r].apply(this,e)}return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},d6b9:function(t,e,n){var r=n("255a"),i=n("c914").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("dfa5")(s);t.exports=function(){var t,e,n,l=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var h=!0,f=document.createTextNode("");new o(l).observe(f,{characterData:!0}),n=function(){f.data=h=!h}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},d76b:function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,l=9007199254740991,u="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",m="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/,F=/^\./,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,V={};V[A]=V[O]=V[P]=V[R]=V[L]=V[I]=V[M]=V[j]=V[B]=!0,V[u]=V[h]=V[C]=V[f]=V[k]=V[p]=V[d]=V[g]=V[m]=V[y]=V[b]=V[_]=V[x]=V[S]=V[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,Z=W||G||Function("return this")(),X=e&&!e.nodeType&&e,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,K=Y&&Y.exports===X,J=K&&W.process,Q=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function st(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lt(t,e){return function(n){return t(e(n))}}function ut(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ht=Array.prototype,ft=Function.prototype,pt=Object.prototype,dt=Z["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=ft.toString,mt=pt.hasOwnProperty,yt=pt.toString,bt=RegExp("^"+vt.call(mt).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wt=Z.Symbol,_t=Z.Uint8Array,xt=pt.propertyIsEnumerable,St=ht.splice,Tt=lt(Object.keys,Object),Et=He(Z,"DataView"),Ct=He(Z,"Map"),kt=He(Z,"Promise"),At=He(Z,"Set"),Ot=He(Z,"WeakMap"),Pt=He(Object,"create"),Rt=Je(Et),Lt=Je(Ct),It=Je(kt),Mt=Je(At),jt=Je(Ot),Bt=wt?wt.prototype:void 0,Dt=Bt?Bt.valueOf:void 0,Nt=Bt?Bt.toString:void 0;function Ft(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ht(){this.__data__=Pt?Pt(null):{}}function zt(t){return this.has(t)&&delete this.__data__[t]}function $t(t){var e=this.__data__;if(Pt){var n=e[t];return n===o?void 0:n}return mt.call(e,t)?e[t]:void 0}function Ut(t){var e=this.__data__;return Pt?void 0!==e[t]:mt.call(e,t)}function qt(t,e){var n=this.__data__;return n[t]=Pt&&void 0===e?o:e,this}function Vt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Gt(t){var e=this.__data__,n=pe(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():St.call(e,n,1),!0}function Zt(t){var e=this.__data__,n=pe(e,t);return n<0?void 0:e[n][1]}function Xt(t){return pe(this.__data__,t)>-1}function Yt(t,e){var n=this.__data__,r=pe(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Kt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Jt(){this.__data__={hash:new Ft,map:new(Ct||Vt),string:new Ft}}function Qt(t){return Ne(this,t)["delete"](t)}function te(t){return Ne(this,t).get(t)}function ee(t){return Ne(this,t).has(t)}function ne(t,e){return Ne(this,t).set(t,e),this}function re(t){var e=-1,n=t?t.length:0;this.__data__=new Kt;while(++e<n)this.add(t[e])}function ie(t){return this.__data__.set(t,o),this}function oe(t){return this.__data__.has(t)}function se(t){this.__data__=new Vt(t)}function ae(){this.__data__=new Vt}function ce(t){return this.__data__["delete"](t)}function le(t){return this.__data__.get(t)}function ue(t){return this.__data__.has(t)}function he(t,e){var n=this.__data__;if(n instanceof Vt){var i=n.__data__;if(!Ct||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Kt(i)}return n.set(t,e),this}function fe(t,e){var n=rn(t)||nn(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function pe(t,e){var n=t.length;while(n--)if(en(t[n][0],e))return n;return-1}Ft.prototype.clear=Ht,Ft.prototype["delete"]=zt,Ft.prototype.get=$t,Ft.prototype.has=Ut,Ft.prototype.set=qt,Vt.prototype.clear=Wt,Vt.prototype["delete"]=Gt,Vt.prototype.get=Zt,Vt.prototype.has=Xt,Vt.prototype.set=Yt,Kt.prototype.clear=Jt,Kt.prototype["delete"]=Qt,Kt.prototype.get=te,Kt.prototype.has=ee,Kt.prototype.set=ne,re.prototype.add=re.prototype.push=ie,re.prototype.has=oe,se.prototype.clear=ae,se.prototype["delete"]=ce,se.prototype.get=le,se.prototype.has=ue,se.prototype.set=he;var de=Ie(me);function ge(t,e){var n=[];return de(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}var ve=Me();function me(t,e){return t&&ve(t,e,vn)}function ye(t,e){e=qe(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ke(e[n++])];return n&&n==r?t:void 0}function be(t){return yt.call(t)}function we(t,e){return null!=t&&e in Object(t)}function _e(t,e,n,r,i){return t===e||(null==t||null==e||!ln(t)&&!un(e)?t!==t&&e!==e:xe(t,e,_e,n,r,i))}function xe(t,e,n,r,i,o){var s=rn(t),c=rn(e),l=h,f=h;s||(l=ze(t),l=l==u?b:l),c||(f=ze(e),f=f==u?b:f);var p=l==b&&!at(t),d=f==b&&!at(e),g=l==f;if(g&&!p)return o||(o=new se),s||fn(t)?je(t,e,n,r,i,o):Be(t,e,l,n,r,i,o);if(!(i&a)){var v=p&&mt.call(t,"__wrapped__"),m=d&&mt.call(e,"__wrapped__");if(v||m){var y=v?t.value():t,w=m?e.value():e;return o||(o=new se),n(y,w,r,i,o)}}return!!g&&(o||(o=new se),De(t,e,n,r,i,o))}function Se(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var l=n[i];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++i<o){l=n[i];var u=l[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new se;if(r)var d=r(h,f,u,t,e,p);if(!(void 0===d?_e(f,h,r,s|a,p):d))return!1}}return!0}function Te(t){if(!ln(t)||We(t))return!1;var e=an(t)||at(t)?bt:U;return e.test(Je(t))}function Ee(t){return un(t)&&cn(t.length)&&!!V[yt.call(t)]}function Ce(t){return"function"==typeof t?t:null==t?mn:"object"==typeof t?rn(t)?Oe(t[0],t[1]):Ae(t):yn(t)}function ke(t){if(!Ge(t))return Tt(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ae(t){var e=Fe(t);return 1==e.length&&e[0][2]?Xe(e[0][0],e[0][1]):function(n){return n===t||Se(n,t,e)}}function Oe(t,e){return qe(t)&&Ze(e)?Xe(Ke(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?gn(n,t):_e(e,r,void 0,s|a)}}function Pe(t){return function(e){return ye(e,t)}}function Re(t){if("string"==typeof t)return t;if(hn(t))return Nt?Nt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return rn(t)?t:Ye(t)}function Ie(t,e){return function(n,r){if(null==n)return n;if(!on(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Me(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,l=t.length,u=e.length;if(l!=u&&!(c&&u>l))return!1;var h=o.get(t);if(h&&o.get(e))return h==e;var f=-1,p=!0,d=i&s?new re:void 0;o.set(t,e),o.set(e,t);while(++f<l){var g=t[f],v=e[f];if(r)var m=c?r(v,g,f,e,t,o):r(g,v,f,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!nt(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function Be(t,e,n,r,i,o,c){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new _t(t),new _t(e)));case f:case p:case y:return en(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case S:return t==e+"";case m:var l=ct;case x:var u=o&a;if(l||(l=ut),t.size!=e.size&&!u)return!1;var h=c.get(t);if(h)return h==e;o|=s,c.set(t,e);var g=je(l(t),l(e),r,i,o,c);return c["delete"](t),g;case T:if(Dt)return Dt.call(t)==Dt.call(e)}return!1}function De(t,e,n,r,i,o){var s=i&a,c=vn(t),l=c.length,u=vn(e),h=u.length;if(l!=h&&!s)return!1;var f=l;while(f--){var p=c[f];if(!(s?p in e:mt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++f<l){p=c[f];var m=t[p],y=e[p];if(r)var b=s?r(y,m,p,e,t,o):r(m,y,p,t,e,o);if(!(void 0===b?m===y||n(m,y,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,_=e.constructor;w!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return o["delete"](t),o["delete"](e),g}function Ne(t,e){var n=t.__data__;return Ve(e)?n["string"==typeof e?"string":"hash"]:n.map}function Fe(t){var e=vn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function He(t,e){var n=st(t,e);return Te(n)?n:void 0}var ze=be;function $e(t,e,n){e=qe(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=Ke(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&cn(o)&&Ue(s,o)&&(rn(t)||nn(t))}function Ue(t,e){return e=null==e?l:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function qe(t,e){if(rn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hn(t))||(N.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function We(t){return!!gt&&gt in t}function Ge(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||pt;return t===n}function Ze(t){return t===t&&!ln(t)}function Xe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Et&&ze(new Et(new ArrayBuffer(1)))!=k||Ct&&ze(new Ct)!=m||kt&&ze(kt.resolve())!=w||At&&ze(new At)!=x||Ot&&ze(new Ot)!=E)&&(ze=function(t){var e=yt.call(t),n=e==b?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Rt:return k;case Lt:return m;case It:return w;case Mt:return x;case jt:return E}return e});var Ye=tn((function(t){t=pn(t);var e=[];return F.test(t)&&e.push(""),t.replace(H,(function(t,n,r,i){e.push(r?i.replace($,"$1"):n||t)})),e}));function Ke(t){if("string"==typeof t||hn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Qe(t,e){var n=rn(t)?et:ge;return n(t,Ce(e,3))}function tn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(tn.Cache||Kt),n}function en(t,e){return t===e||t!==t&&e!==e}function nn(t){return sn(t)&&mt.call(t,"callee")&&(!xt.call(t,"callee")||yt.call(t)==u)}tn.Cache=Kt;var rn=Array.isArray;function on(t){return null!=t&&cn(t.length)&&!an(t)}function sn(t){return un(t)&&on(t)}function an(t){var e=ln(t)?yt.call(t):"";return e==g||e==v}function cn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=l}function ln(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function hn(t){return"symbol"==typeof t||un(t)&&yt.call(t)==T}var fn=tt?ot(tt):Ee;function pn(t){return null==t?"":Re(t)}function dn(t,e,n){var r=null==t?void 0:ye(t,e);return void 0===r?n:r}function gn(t,e){return null!=t&&$e(t,e,we)}function vn(t){return on(t)?fe(t):ke(t)}function mn(t){return t}function yn(t){return qe(t)?rt(Ke(t)):Pe(t)}n.exports=Qe}).call(this,n("c8ba"),n("62e4")(t))},d780:function(t,e){var n="undefined"!==typeof n?n:"undefined"!==typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!==typeof MSBlobBuilder?MSBlobBuilder:"undefined"!==typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{var t=new Blob(["hi"]);return 2===t.size}catch(e){return!1}}(),i=r&&function(){try{var t=new Blob([new Uint8Array([1,2])]);return 2===t.size}catch(e){return!1}}(),o=n&&n.prototype.append&&n.prototype.getBlob;function s(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function a(t,e){e=e||{};var r=new n;return s(t).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function c(t,e){return new Blob(s(t),e||{})}"undefined"!==typeof Blob&&(a.prototype=Blob.prototype,c.prototype=Blob.prototype),t.exports=function(){return r?i?Blob:c:o?a:void 0}()},d7bd:function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(1);r(r.P+r.F*!n("60a1")([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},d838:function(t,e){function n(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}t.exports=n},d8b2:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d941:function(t,e){t.exports=function(){return"undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")()}()},d9ad:function(t,e,n){"use strict";var r=n("0d63"),i=n("9e2d")(2);r(r.P+r.F*!n("60a1")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},d9bf:function(t,e,n){var r=n("0d63");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},da81:function(t,e,n){(function(t,n){var r=200,i="__lodash_hash_undefined__",o=800,s=16,a=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",h="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",g="[object GeneratorFunction]",v="[object Map]",m="[object Number]",y="[object Null]",b="[object Object]",w="[object Proxy]",_="[object RegExp]",x="[object Set]",S="[object String]",T="[object Undefined]",E="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",L="[object Int32Array]",I="[object Uint8Array]",M="[object Uint8ClampedArray]",j="[object Uint16Array]",B="[object Uint32Array]",D=/[\\^$.*+?()[\]{}|]/g,N=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,H={};H[A]=H[O]=H[P]=H[R]=H[L]=H[I]=H[M]=H[j]=H[B]=!0,H[c]=H[l]=H[C]=H[h]=H[k]=H[f]=H[p]=H[d]=H[v]=H[m]=H[b]=H[_]=H[x]=H[S]=H[E]=!1;var z="object"==typeof t&&t&&t.Object===Object&&t,$="object"==typeof self&&self&&self.Object===Object&&self,U=z||$||Function("return this")(),q=e&&!e.nodeType&&e,V=q&&"object"==typeof n&&n&&!n.nodeType&&n,W=V&&V.exports===q,G=W&&z.process,Z=function(){try{var t=V&&V.require&&V.require("util").types;return t||G&&G.binding&&G.binding("util")}catch(e){}}(),X=Z&&Z.isTypedArray;function Y(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function K(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function J(t){return function(e){return t(e)}}function Q(t,e){return null==t?void 0:t[e]}function tt(t,e){return function(n){return t(e(n))}}var et=Array.prototype,nt=Function.prototype,rt=Object.prototype,it=U["__core-js_shared__"],ot=nt.toString,st=rt.hasOwnProperty,at=function(){var t=/[^.]+$/.exec(it&&it.keys&&it.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ct=rt.toString,lt=ot.call(Object),ut=RegExp("^"+ot.call(st).replace(D,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ht=W?U.Buffer:void 0,ft=U.Symbol,pt=U.Uint8Array,dt=ht?ht.allocUnsafe:void 0,gt=tt(Object.getPrototypeOf,Object),vt=Object.create,mt=rt.propertyIsEnumerable,yt=et.splice,bt=ft?ft.toStringTag:void 0,wt=function(){try{var t=we(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),_t=ht?ht.isBuffer:void 0,xt=Math.max,St=Date.now,Tt=we(U,"Map"),Et=we(Object,"create"),Ct=function(){function t(){}return function(e){if(!Ue(e))return{};if(vt)return vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function kt(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function At(){this.__data__=Et?Et(null):{},this.size=0}function Ot(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Pt(t){var e=this.__data__;if(Et){var n=e[t];return n===i?void 0:n}return st.call(e,t)?e[t]:void 0}function Rt(t){var e=this.__data__;return Et?void 0!==e[t]:st.call(e,t)}function Lt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Et&&void 0===e?i:e,this}function It(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Mt(){this.__data__=[],this.size=0}function jt(t){var e=this.__data__,n=te(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():yt.call(e,n,1),--this.size,!0}function Bt(t){var e=this.__data__,n=te(e,t);return n<0?void 0:e[n][1]}function Dt(t){return te(this.__data__,t)>-1}function Nt(t,e){var n=this.__data__,r=te(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Ft(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ht(){this.size=0,this.__data__={hash:new kt,map:new(Tt||It),string:new kt}}function zt(t){var e=be(this,t)["delete"](t);return this.size-=e?1:0,e}function $t(t){return be(this,t).get(t)}function Ut(t){return be(this,t).has(t)}function qt(t,e){var n=be(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Vt(t){var e=this.__data__=new It(t);this.size=e.size}function Wt(){this.__data__=new It,this.size=0}function Gt(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function Zt(t){return this.__data__.get(t)}function Xt(t){return this.__data__.has(t)}function Yt(t,e){var n=this.__data__;if(n instanceof It){var i=n.__data__;if(!Tt||i.length<r-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ft(i)}return n.set(t,e),this.size=n.size,this}function Kt(t,e){var n=De(t),r=!n&&Be(t),i=!n&&!r&&He(t),o=!n&&!r&&!i&&We(t),s=n||r||i||o,a=s?K(t.length,String):[],c=a.length;for(var l in t)!e&&!st.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Se(l,c))||a.push(l);return a}function Jt(t,e,n){(void 0===n||je(t[e],n))&&(void 0!==n||e in t)||ee(t,e,n)}function Qt(t,e,n){var r=t[e];st.call(t,e)&&je(r,n)&&(void 0!==n||e in t)||ee(t,e,n)}function te(t,e){var n=t.length;while(n--)if(je(t[n][0],e))return n;return-1}function ee(t,e,n){"__proto__"==e&&wt?wt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}kt.prototype.clear=At,kt.prototype["delete"]=Ot,kt.prototype.get=Pt,kt.prototype.has=Rt,kt.prototype.set=Lt,It.prototype.clear=Mt,It.prototype["delete"]=jt,It.prototype.get=Bt,It.prototype.has=Dt,It.prototype.set=Nt,Ft.prototype.clear=Ht,Ft.prototype["delete"]=zt,Ft.prototype.get=$t,Ft.prototype.has=Ut,Ft.prototype.set=qt,Vt.prototype.clear=Wt,Vt.prototype["delete"]=Gt,Vt.prototype.get=Zt,Vt.prototype.has=Xt,Vt.prototype.set=Yt;var ne=ye();function re(t){return null==t?void 0===t?T:y:bt&&bt in Object(t)?_e(t):Oe(t)}function ie(t){return qe(t)&&re(t)==c}function oe(t){if(!Ue(t)||Ce(t))return!1;var e=ze(t)?ut:N;return e.test(Me(t))}function se(t){return qe(t)&&$e(t.length)&&!!H[re(t)]}function ae(t){if(!Ue(t))return Ae(t);var e=ke(t),n=[];for(var r in t)("constructor"!=r||!e&&st.call(t,r))&&n.push(r);return n}function ce(t,e,n,r,i){t!==e&&ne(e,(function(o,s){if(i||(i=new Vt),Ue(o))le(t,e,s,n,ce,r,i);else{var a=r?r(Re(t,s),o,s+"",t,e,i):void 0;void 0===a&&(a=o),Jt(t,s,a)}}),Ze)}function le(t,e,n,r,i,o,s){var a=Re(t,n),c=Re(e,n),l=s.get(c);if(l)Jt(t,n,l);else{var u=o?o(a,c,n+"",t,e,s):void 0,h=void 0===u;if(h){var f=De(c),p=!f&&He(c),d=!f&&!p&&We(c);u=c,f||p||d?De(a)?u=a:Fe(a)?u=ge(a):p?(h=!1,u=fe(c,!0)):d?(h=!1,u=de(c,!0)):u=[]:Ve(c)||Be(c)?(u=a,Be(a)?u=Ge(a):Ue(a)&&!ze(a)||(u=xe(c))):h=!1}h&&(s.set(c,u),i(u,c,r,o,s),s["delete"](c)),Jt(t,n,u)}}function ue(t,e){return Le(Pe(t,e,Ke),t+"")}var he=wt?function(t,e){return wt(t,"toString",{configurable:!0,enumerable:!1,value:Ye(e),writable:!0})}:Ke;function fe(t,e){if(e)return t.slice();var n=t.length,r=dt?dt(n):new t.constructor(n);return t.copy(r),r}function pe(t){var e=new t.constructor(t.byteLength);return new pt(e).set(new pt(t)),e}function de(t,e){var n=e?pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ge(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}function ve(t,e,n,r){var i=!n;n||(n={});var o=-1,s=e.length;while(++o<s){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),i?ee(n,a,c):Qt(n,a,c)}return n}function me(t){return ue((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&Te(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);while(++r<i){var a=n[r];a&&t(e,a,r,o)}return e}))}function ye(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function be(t,e){var n=t.__data__;return Ee(e)?n["string"==typeof e?"string":"hash"]:n.map}function we(t,e){var n=Q(t,e);return oe(n)?n:void 0}function _e(t){var e=st.call(t,bt),n=t[bt];try{t[bt]=void 0;var r=!0}catch(o){}var i=ct.call(t);return r&&(e?t[bt]=n:delete t[bt]),i}function xe(t){return"function"!=typeof t.constructor||ke(t)?{}:Ct(gt(t))}function Se(t,e){var n=typeof t;return e=null==e?a:e,!!e&&("number"==n||"symbol"!=n&&F.test(t))&&t>-1&&t%1==0&&t<e}function Te(t,e,n){if(!Ue(n))return!1;var r=typeof e;return!!("number"==r?Ne(n)&&Se(e,n.length):"string"==r&&e in n)&&je(n[e],t)}function Ee(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ce(t){return!!at&&at in t}function ke(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||rt;return t===n}function Ae(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function Oe(t){return ct.call(t)}function Pe(t,e,n){return e=xt(void 0===e?t.length-1:e,0),function(){var r=arguments,i=-1,o=xt(r.length-e,0),s=Array(o);while(++i<o)s[i]=r[e+i];i=-1;var a=Array(e+1);while(++i<e)a[i]=r[i];return a[e]=n(s),Y(t,this,a)}}function Re(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Le=Ie(he);function Ie(t){var e=0,n=0;return function(){var r=St(),i=s-(r-n);if(n=r,i>0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Me(t){if(null!=t){try{return ot.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function je(t,e){return t===e||t!==t&&e!==e}var Be=ie(function(){return arguments}())?ie:function(t){return qe(t)&&st.call(t,"callee")&&!mt.call(t,"callee")},De=Array.isArray;function Ne(t){return null!=t&&$e(t.length)&&!ze(t)}function Fe(t){return qe(t)&&Ne(t)}var He=_t||Je;function ze(t){if(!Ue(t))return!1;var e=re(t);return e==d||e==g||e==u||e==w}function $e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function Ue(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function qe(t){return null!=t&&"object"==typeof t}function Ve(t){if(!qe(t)||re(t)!=b)return!1;var e=gt(t);if(null===e)return!0;var n=st.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ot.call(n)==lt}var We=X?J(X):se;function Ge(t){return ve(t,Ze(t))}function Ze(t){return Ne(t)?Kt(t,!0):ae(t)}var Xe=me((function(t,e,n){ce(t,e,n)}));function Ye(t){return function(){return t}}function Ke(t){return t}function Je(){return!1}n.exports=Xe}).call(this,n("c8ba"),n("62e4")(t))},da92:function(t,e,n){var r=n("6a44"),i=n("d4c9"),o=n("34eb")("engine.io-client:socket"),s=n("ee34"),a=n("5a6e"),c=n("5317"),l=n("4f2a");function u(t,e){if(!(this instanceof u))return new u(t,e);e=e||{},t&&"object"===typeof t&&(e=t,t=null),t?(t=c(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=c(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!==typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!==typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!==typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"===typeof this.query&&(this.query=l.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"===typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function h(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}t.exports=u,u.priorWebsocketSuccess=!1,i(u.prototype),u.protocol=a.protocol,u.Socket=u,u.Transport=n("19b7"),u.transports=n("6a44"),u.parser=n("5a6e"),u.prototype.createTransport=function(t){o('creating transport "%s"',t);var e=h(this.query);e.EIO=a.protocol,e.transport=t;var n=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var i=new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative});return i},u.prototype.open=function(){var t;if(this.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},u.prototype.setTransport=function(t){o("setting transport %s",t.name);var e=this;this.transport&&(o("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},u.prototype.probe=function(t){o('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function i(){if(r.onlyBinaryUpgrades){var i=!this.supportsBinary&&r.transport.supportsBinary;n=n||i}n||(o('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(i){if(!n)if("pong"===i.type&&"probe"===i.data){if(o('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",e),!e)return;u.priorWebsocketSuccess="websocket"===e.name,o('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(o("changing transport and sending upgrade packet"),f(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}))}else{o('probe transport "%s" failed',t);var s=new Error("probe error");s.transport=e.name,r.emit("upgradeError",s)}})))}function s(){n||(n=!0,f(),e.close(),e=null)}function a(n){var i=new Error("probe error: "+n);i.transport=e.name,s(),o('probe transport "%s" failed because of error: %s',t,n),r.emit("upgradeError",i)}function c(){a("transport closed")}function l(){a("socket closed")}function h(t){e&&t.name!==e.name&&(o('"%s" works - aborting "%s"',t.name,e.name),s())}function f(){e.removeListener("open",i),e.removeListener("error",a),e.removeListener("close",c),r.removeListener("close",l),r.removeListener("upgrading",h)}u.priorWebsocketSuccess=!1,e.once("open",i),e.once("error",a),e.once("close",c),this.once("close",l),this.once("upgrading",h),e.open()},u.prototype.onOpen=function(){if(o("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){o("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},u.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(o('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data);break}else o('packet received with socket readyState "%s"',this.readyState)},u.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},u.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout((function(){"closed"!==e.readyState&&e.onClose("ping timeout")}),t||e.pingInterval+e.pingTimeout)},u.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){o("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},u.prototype.ping=function(){var t=this;this.sendPacket("ping",(function(){t.emit("ping")}))},u.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},u.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(o("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},u.prototype.write=u.prototype.send=function(t,e,n){return this.sendPacket("message",t,e,n),this},u.prototype.sendPacket=function(t,e,n,r){if("function"===typeof e&&(r=e,e=void 0),"function"===typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){n=n||{},n.compress=!1!==n.compress;var i={type:t,data:e,options:n};this.emit("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}},u.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():e()})):this.upgrading?r():e()}function e(){t.onClose("forced close"),o("socket closing - telling transport to close"),t.transport.close()}function n(){t.removeListener("upgrade",n),t.removeListener("upgradeError",n),e()}function r(){t.once("upgrade",n),t.once("upgradeError",n)}return this},u.prototype.onError=function(t){o("socket error %j",t),u.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},u.prototype.onClose=function(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){o('socket close with reason: "%s"',t);var n=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),n.writeBuffer=[],n.prevBufferLen=0}},u.prototype.filterUpgrades=function(t){for(var e=[],n=0,r=t.length;n<r;n++)~s(this.transports,t[n])&&e.push(t[n]);return e}},db04:function(t,e,n){var r=n("0d63");r(r.P,"Array",{fill:n("8d29")}),n("7671")("fill")},db1a:function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if(n=r[i],n===e||n.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);r=0;for(var i=n.length;r<i;++r)n[r].apply(this,e)}return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},dbc5:function(t,e,n){"use strict";var r=n("255a"),i=n("0f26"),o=n("6739"),s=n("9336")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},dceb:function(t,e,n){"use strict";n("3601");var r=n("42ee"),i=n("c669"),o=n("6739"),s="toString",a=/./[s],c=function(t){n("bd47")(RegExp.prototype,s,t,!0)};n("b460")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},dde4:function(t,e,n){var r=n("0d63");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},df29:function(t,e,n){n("6397")("getOwnPropertyNames",(function(){return n("ec47").f}))},df8c:function(t,e,n){"use strict";var r=n("0d63"),i=n("b460"),o=n("8e85"),s=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==s.call(1,void 0)}))||!i((function(){s.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},df9d:function(t,e,n){var r=n("0d63"),i=n("b03c"),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},dfa5:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},e038:function(t,e){e.f=Object.getOwnPropertySymbols},e070:function(t,e,n){var r=n("0d63"),i=n("a036");r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},e08c:function(t,e,n){var r=n("3ade");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},e175:function(t,e,n){var r=n("0d63"),i=n("b506");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},e1a6:function(t,e,n){"use strict";var r=n("42ee"),i=n("58d1"),o=n("9b0c"),s=n("e5bc");n("ebca")("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=r(t),l=String(this);if(!c.global)return s(c,l);var u=c.unicode;c.lastIndex=0;var h,f=[],p=0;while(null!==(h=s(c,l))){var d=String(h[0]);f[p]=d,""===d&&(c.lastIndex=o(l,i(c.lastIndex),u)),p++}return 0===p?null:f}]}))},e245:function(t,e,n){n("dbc5")("Array")},e282:function(t,e,n){var r=n("051a"),i=n("a16e");e.decode=function(t,e){return(!e||e<=0?i.XML:i.HTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?i.XML:i.HTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?r.XML:r.HTML)(t)},e.encodeXML=r.XML,e.encodeHTML4=e.encodeHTML5=e.encodeHTML=r.HTML,e.decodeXML=e.decodeXMLStrict=i.XML,e.decodeHTML4=e.decodeHTML5=e.decodeHTML=i.HTML,e.decodeHTML4Strict=e.decodeHTML5Strict=e.decodeHTMLStrict=i.HTMLStrict,e.escape=r.escape},e2b0:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e5bc:function(t,e,n){"use strict";var r=n("e860"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},e5da:function(t,e,n){"use strict";var r=n("0d63"),i=n("37ff"),o=n("1bfb");r(r.P+r.F*n("b460")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},e603:function(t,e,n){var r=n("bd47");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6b5:function(t,e,n){var r=n("0d63"),i=Math.imul;r(r.S+r.F*n("b460")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},e700:function(t){t.exports=JSON.parse('{"universal":50,"tag":30,"attribute":1,"pseudo":0,"descendant":-1,"child":-1,"parent":-1,"sibling":-1,"adjacent":-1}')},e792:function(t,e,n){"use strict";n("8366");var r=i(n("1d9f"));function i(t){return t&&t.__esModule?t:{default:t}}r["default"]._babelPolyfill&&"undefined"!==typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r["default"]._babelPolyfill=!0},e82e:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e860:function(t,e,n){var r=n("dfa5"),i=n("9336")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},ea05:function(t,e,n){var r=n("9a27"),i=n("154b"),o=n("ceb6"),s=n("1bfb"),a=n("7e33"),c=n("ea28"),l=Object.getOwnPropertyDescriptor;e.f=n("6739")?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},ea28:function(t,e,n){t.exports=!n("6739")&&!n("b460")((function(){return 7!=Object.defineProperty(n("2551")("div"),"a",{get:function(){return 7}}).a}))},ea9b:function(t,e,n){var r=n("255a"),i=n("887c"),o=n("0f26").f,s=n("993b").f,a=n("169a"),c=n("c669"),l=r.RegExp,u=l,h=l.prototype,f=/a/g,p=/a/g,d=new l(f)!==f;if(n("6739")&&(!d||n("b460")((function(){return p[n("9336")("match")]=!1,l(f)!=f||l(p)==p||"/a/i"!=l(f,"i")})))){l=function(t,e){var n=this instanceof l,r=a(t),o=void 0===e;return!n&&r&&t.constructor===l&&o?t:i(d?new u(r&&!o?t.source:t,e):u((r=t instanceof l)?t.source:t,r&&o?c.call(t):e),n?this:h,l)};for(var g=function(t){t in l||o(l,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},v=s(u),m=0;v.length>m;)g(v[m++]);h.constructor=l,l.prototype=h,n("bd47")(r,"RegExp",l)}n("dbc5")("RegExp")},eaf3:function(t,e,n){"use strict";var r=n("0d63"),i=n("65e5"),o=n("37ff"),s=n("58d1"),a=n("7480"),c=n("10cf");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("7671")("flatMap")},eb3d:function(t,e,n){"use strict";var r=n("f041"),i=n.n(r);i.a},ebca:function(t,e,n){"use strict";n("3a89");var r=n("bd47"),i=n("c3fa"),o=n("b460"),s=n("6744"),a=n("9336"),c=n("12c1"),l=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=a(t),p=!o((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),d=p?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[f](""),!e})):void 0;if(!p||!d||"replace"===t&&!u||"split"===t&&!h){var g=/./[f],v=n(s,f,""[t],(function(t,e,n,r,i){return e.exec===c?p&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=v[0],y=v[1];r(String.prototype,t,m),i(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},ec26:function(t,e,n){var r=n("7480"),i=n("37ff"),o=n("2635"),s=n("58d1");t.exports=function(t,e,n,a,c){r(e);var l=i(t),u=o(l),h=s(l.length),f=c?h-1:0,p=c?-1:1;if(n<2)for(;;){if(f in u){a=u[f],f+=p;break}if(f+=p,c?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:h>f;f+=p)f in u&&(a=e(a,u[f],f,l));return a}},ec47:function(t,e,n){var r=n("ceb6"),i=n("993b").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},ecb4:function(t,e,n){var r=n("0d63"),i=n("ad06"),o=n("42ee");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},ed0d:function(t,e,n){var r=n("cdf9");n("6397")("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},ee34:function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1}},ee38:function(t,e,n){"use strict";n("c7c1")("fixed",(function(t){return function(){return t(this,"tt","","")}}))},eec3:function(t,e,n){"use strict";var r=n("03e6"),i=n.n(r);i.a},ef15:function(t,e,n){var r=n("255a").document;t.exports=r&&r.documentElement},ef8a:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(L){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),s=new O(r||[]);return o._invoke=E(t,n,s),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=l;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",g={};function v(){}function m(){}function y(){}var b={};b[o]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==n&&r.call(_,o)&&(b=_);var x=y.prototype=v.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(i,o,s,a){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"===typeof h&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,s,a)}),(function(t){n("throw",t,s,a)})):e.resolve(h).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,a)}))}a(c.arg)}var i;function o(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function E(t,e,n){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return R()}n.method=i,n.arg=o;while(1){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}function C(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=u(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function k(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,s=function n(){while(++i<t.length)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return s.next=s}}return{next:R}}function R(){return{value:e,done:!0}}return m.prototype=x.constructor=y,y.constructor=m,m.displayName=c(y,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,a,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},S(T.prototype),T.prototype[s]=function(){return this},t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new T(l(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},S(x),c(x,a,"Generator"),x[o]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=P,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var c=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(c&&l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},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),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},efbb:function(t,e,n){"use strict";var r=n("0d63"),i=n("d8b2"),o=n("8e85"),s=n("6d89"),a=1..toFixed,c=Math.floor,l=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",h="0",f=function(t,e){var n=-1,r=e;while(++n<6)r+=t*l[n],l[n]=r%1e7,r=c(r/1e7)},p=function(t){var e=6,n=0;while(--e>=0)n+=l[e],l[e]=c(n/t),n=n%t*1e7},d=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==l[t]){var n=String(l[t]);e=""===e?n:e+s.call(h,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("b460")((function(){a.call({})}))),"Number",{toFixed:function(t){var e,n,r,a,c=o(this,u),l=i(t),m="",y=h;if(l<0||l>20)throw RangeError(u);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(e=v(c*g(2,69,1))-69,n=e<0?c*g(2,-e,1):c/g(2,e,1),n*=4503599627370496,e=52-e,e>0){f(0,n),r=l;while(r>=7)f(1e7,0),r-=7;f(g(10,r,1),0),r=e-1;while(r>=23)p(1<<23),r-=23;p(1<<r),f(1,1),p(2),y=d()}else f(0,n),f(1<<-e,0),y=d()+s.call(h,l);return l>0?(a=y.length,y=m+(a<=l?"0."+s.call(h,l-a)+y:y.slice(0,a-l)+"."+y.slice(a-l))):y=m+y,y}})},f026:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},f041:function(t,e,n){},f0f2:function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},f278:function(t,e,n){"use strict";n("c7c1")("big",(function(t){return function(){return t(this,"big","","")}}))},f28c:function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function c(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(t){r=s}})();var l,u=[],h=!1,f=-1;function p(){h&&l&&(h=!1,l.length?u=l.concat(u):f=-1,u.length&&d())}function d(){if(!h){var t=a(p);h=!0;var e=u.length;while(e){l=u,u=[];while(++f<e)l&&l[f].run();f=-1,e=u.length}l=null,h=!1,c(t)}}function g(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new g(t,e)),1!==u.length||h||a(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},f3d1:function(t,e,n){var r=n("ceb6"),i=n("ea05").f;n("6397")("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},f49a:function(t,e,n){var r=n("169a"),i=n("6744");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},f67e:function(t,e){e.removeSubsets=function(t){var e,n,r,i=t.length;while(--i>-1){e=n=t[i],t[i]=null,r=!0;while(n){if(t.indexOf(n)>-1){r=!1,t.splice(i,1);break}n=n.parent}r&&(t[i]=e)}return t};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=e.compareDocumentPosition=function(t,e){var r,i,o,s,a,c,l=[],u=[];if(t===e)return 0;r=t;while(r)l.unshift(r),r=r.parent;r=e;while(r)u.unshift(r),r=r.parent;c=0;while(l[c]===u[c])c++;return 0===c?n.DISCONNECTED:(i=l[c-1],o=i.children,s=l[c],a=u[c],o.indexOf(s)>o.indexOf(a)?i===e?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:i===t?n.PRECEDING|n.CONTAINS:n.PRECEDING)};e.uniqueSort=function(t){var e,i,o=t.length;t=t.slice();while(--o>-1)e=t[o],i=t.indexOf(e),i>-1&&i<o&&t.splice(o,1);return t.sort((function(t,e){var i=r(t,e);return i&n.PRECEDING?-1:i&n.FOLLOWING?1:0})),t}},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f72b:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},f84c:function(t,e,n){var r=n("7909"),i=n("4a1c"),o=i.domEach,s=n("852e").DomUtils.uniqueSort,a=i.isTag,c={bind:n("fe69"),forEach:n("aa6f"),reject:n("0db4"),filter:n("d76b"),reduce:n("4840")};e.find=function(t){var e,n=c.reduce(this,(function(t,e){return t.concat(c.filter(e.children,a))}),[]),i=this.constructor.contains;if(t&&"string"!==typeof t)return e=t.cheerio?t.get():[t],this._make(e.filter((function(t){var e,n;for(e=0,n=this.length;e<n;++e)if(i(this[e],t))return!0}),this));var o={__proto__:this.options,context:this.toArray()};return this._make(r(t,n,o))},e.parent=function(t){var n=[];return o(this,(function(t,e){var r=e.parent;r&&n.indexOf(r)<0&&n.push(r)})),arguments.length&&(n=e.filter.call(n,t,this)),this._make(n)},e.parents=function(t){var e=[];return this.get().reverse().forEach((function(n){u(this,n.parent,t,1/0).forEach((function(t){-1===e.indexOf(t)&&e.push(t)}))}),this),this._make(e)},e.parentsUntil=function(t,e){var n,i,o=[];return"string"===typeof t?n=r(t,this.parents().toArray(),this.options)[0]:t&&t.cheerio?i=t.toArray():t&&(n=t),this.toArray().reverse().forEach((function(t){while(t=t.parent){if(!(n&&t!==n||i&&-1===i.indexOf(t)||!n&&!i))break;a(t)&&-1===o.indexOf(t)&&o.push(t)}}),this),this._make(e?r(e,o,this.options):o)},e.closest=function(t){var e=[];return t?(o(this,function(n,r){var i=u(this,r,t,1)[0];i&&e.indexOf(i)<0&&e.push(i)}.bind(this)),this._make(e)):this._make(e)},e.next=function(t){if(!this[0])return this;var n=[];return c.forEach(this,(function(t){while(t=t.next)if(a(t))return void n.push(t)})),t?e.filter.call(n,t,this):this._make(n)},e.nextAll=function(t){if(!this[0])return this;var n=[];return c.forEach(this,(function(t){while(t=t.next)a(t)&&-1===n.indexOf(t)&&n.push(t)})),t?e.filter.call(n,t,this):this._make(n)},e.nextUntil=function(t,n){if(!this[0])return this;var i,o,s=[];return"string"===typeof t?i=r(t,this.nextAll().get(),this.options)[0]:t&&t.cheerio?o=t.get():t&&(i=t),c.forEach(this,(function(t){while(t=t.next){if(!(i&&t!==i||o&&-1===o.indexOf(t)||!i&&!o))break;a(t)&&-1===s.indexOf(t)&&s.push(t)}})),n?e.filter.call(s,n,this):this._make(s)},e.prev=function(t){if(!this[0])return this;var n=[];return c.forEach(this,(function(t){while(t=t.prev)if(a(t))return void n.push(t)})),t?e.filter.call(n,t,this):this._make(n)},e.prevAll=function(t){if(!this[0])return this;var n=[];return c.forEach(this,(function(t){while(t=t.prev)a(t)&&-1===n.indexOf(t)&&n.push(t)})),t?e.filter.call(n,t,this):this._make(n)},e.prevUntil=function(t,n){if(!this[0])return this;var i,o,s=[];return"string"===typeof t?i=r(t,this.prevAll().get(),this.options)[0]:t&&t.cheerio?o=t.get():t&&(i=t),c.forEach(this,(function(t){while(t=t.prev){if(!(i&&t!==i||o&&-1===o.indexOf(t)||!i&&!o))break;a(t)&&-1===s.indexOf(t)&&s.push(t)}})),n?e.filter.call(s,n,this):this._make(s)},e.siblings=function(t){var n=this.parent(),r=c.filter(n?n.children():this.siblingsAndMe(),c.bind((function(t){return a(t)&&!this.is(t)}),this));return void 0!==t?e.filter.call(r,t,this):this._make(r)},e.children=function(t){var n=c.reduce(this,(function(t,e){return t.concat(c.filter(e.children,a))}),[]);return void 0===t?this._make(n):e.filter.call(n,t,this)},e.contents=function(){return this._make(c.reduce(this,(function(t,e){return t.push.apply(t,e.children),t}),[]))},e.each=function(t){var e=0,n=this.length;while(e<n&&!1!==t.call(this[e],e,this[e]))++e;return this},e.map=function(t){return this._make(c.reduce(this,(function(e,n,r){var i=t.call(n,r,n);return null==i?e:e.concat(i)}),[]))};var l=function(t){return function(e,n){var i;return n=n||this,i="string"===typeof e?r.compile(e,n.options):"function"===typeof e?function(t,n){return e.call(t,n,t)}:e.cheerio?e.is.bind(e):function(t){return e===t},n._make(t(this,i))}};function u(t,n,r,i){var o=[];while(n&&o.length<i)r&&!e.filter.call([n],r,t).length||o.push(n),n=n.parent;return o}e.filter=l(c.filter),e.not=l(c.reject),e.has=function(t){var n=this;return e.filter.call(this,(function(){return n._make(this).find(t).length>0}))},e.first=function(){return this.length>1?this._make(this[0]):this},e.last=function(){return this.length>1?this._make(this[this.length-1]):this},e.eq=function(t){return t=+t,0===t&&this.length<=1?this:(t<0&&(t=this.length+t),this[t]?this._make(this[t]):this._make([]))},e.get=function(t){return null==t?Array.prototype.slice.call(this):this[t<0?this.length+t:t]},e.index=function(t){var e,n;return 0===arguments.length?(e=this.parent().children(),n=this[0]):"string"===typeof t?(e=this._make(t),n=this[0]):(e=this,n=t.cheerio?t[0]:t),e.get().indexOf(n)},e.slice=function(){return this._make([].slice.apply(this,arguments))},e.end=function(){return this.prevObject||this._make([])},e.add=function(t,e){for(var n=this._make(t,e),r=s(n.get().concat(this.get())),i=0;i<r.length;++i)n[i]=r[i];return n.length=r.length,n},e.addBack=function(t){return this.add(arguments.length?this.prevObject.filter(t):this.prevObject)}},f8ce:function(t,e,n){var r=n("ff02"),i=n("f72b");t.exports=n("a32c")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},f922:function(t,e,n){(function(e){t.exports=o;var n="function"===typeof e&&"function"===typeof e.isBuffer,r="function"===typeof ArrayBuffer,i=function(t){return"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer};function o(t){return n&&e.isBuffer(t)||r&&(t instanceof ArrayBuffer||i(t))}}).call(this,n("b639").Buffer)},f96c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=[["Serbian","српски језик","sr","srp","srp"],["Romanian, Moldavian, Moldovan","Română","ro","ron","rum"],["Sichuan Yi, Nuosu","ꆈꌠ꒿ Nuosuhxop","ii","iii","iii"],["Tahitian","Reo Tahiti","ty","tah","tah"],["Tagalog","Wikang Tagalog","tl","tgl","tgl"],["Yiddish","ייִדיש","yi","yid","yid"],["Akan","Akan","ak","aka","aka"],["Malay","Bahasa Melayu, بهاس ملايو‎","ms","msa","may"],["Arabic","العربية","ar","ara","ara"],["Norwegian","Norsk","no","nor","nor"],["Ojibwa","ᐊᓂᔑᓈᐯᒧᐎᓐ","oj","oji","oji"],["Fulah","Fulfulde, Pulaar, Pular","ff","ful","ful"],["Persian","فارسی","fa","fas","per"],["Albanian","Shqip","sq","sqi","alb"],["Aymara","aymar aru","ay","aym","aym"],["Azerbaijani","azərbaycan dili","az","aze","aze"],["Chinese","中文 (Zhōngwén), 汉语, 漢語","zh","zho","chi"],["Cree","ᓀᐦᐃᔭᐍᐏᐣ","cr","cre","cre"],["Estonian","eesti, eesti keel","et","est","est"],["Guaraní","Avañe'ẽ","gn","grn","grn"],["Inupiaq","Iñupiaq, Iñupiatun","ik","ipk","ipk"],["Inuktitut","ᐃᓄᒃᑎᑐᑦ","iu","iku","iku"],["Kanuri","Kanuri","kr","kau","kau"],["Komi","коми кыв","kv","kom","kom"],["Kongo","Kikongo","kg","kon","kon"],["Kurdish","Kurdî, کوردی‎","ku","kur","kur"],["Latvian","latviešu valoda","lv","lav","lav"],["Malagasy","fiteny malagasy","mg","mlg","mlg"],["Mongolian","Монгол хэл","mn","mon","mon"],["Oromo","Afaan Oromoo","om","orm","orm"],["Pashto, Pushto","پښتو","ps","pus","pus"],["Quechua","Runa Simi, Kichwa","qu","que","que"],["Sardinian","sardu","sc","srd","srd"],["Swahili","Kiswahili","sw","swa","swa"],["Uzbek","Oʻzbek, Ўзбек, أۇزبېك‎","uz","uzb","uzb"],["Zhuang, Chuang","Saɯ cueŋƅ, Saw cuengh","za","zha","zha"],["Bislama","Bislama","bi","bis","bis"],["Norwegian Bokmål","Norsk Bokmål","nb","nob","nob"],["Norwegian Nynorsk","Norsk Nynorsk","nn","nno","nno"],["Indonesian","Bahasa Indonesia","id","ind","ind"],["Twi","Twi","tw","twi","twi"],["Esperanto","Esperanto","eo","epo","epo"],["Interlingua","Interlingua","ia","ina","ina"],["Interlingue","Originally called Occidental; then Interlingue after WWII","ie","ile","ile"],["Ido","Ido","io","ido","ido"],["Volapük","Volapük","vo","vol","vol"],["Bihari languages","भोजपुरी","bh","bih","bih"],["Hebrew (modern)","עברית","he","heb","heb"],["Sanskrit","संस्कृतम्","sa","san","san"],["Church Slavic, Church Slavonic, Old Church Slavonic, Old Slavonic, Old Bulgarian","ѩзыкъ словѣньскъ","cu","chu","chu"],["Pali","पाऴि","pi","pli","pli"],["Avestan","avesta","ae","ave","ave"],["Latin","latine, lingua latina","la","lat","lat"],["Armenian","Հայերեն","hy","hye","arm"],["Swati","SiSwati","ss","ssw","ssw"],["Tibetan","བོད་ཡིག","bo","bod","tib"],["South Ndebele","isiNdebele","nr","nbl","nbl"],["Slovene","Slovenski Jezik, Slovenščina","sl","slv","slv"],["Oriya","ଓଡ଼ିଆ","or","ori","ori"],["North Ndebele","isiNdebele","nd","nde","nde"],["Nauru","Dorerin Naoero","na","nau","nau"],["Maori","te reo Māori","mi","mri","mao"],["Marathi","मराठी","mr","mar","mar"],["Luba-Katanga","Kiluba","lu","lub","lub"],["Rundi","Ikirundi","rn","run","run"],["Central Khmer","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ","km","khm","khm"],["Western Frisian","Frysk","fy","fry","fry"],["Bengali","বাংলা","bn","ben","ben"],["Avaric","авар мацӀ, магӀарул мацӀ","av","ava","ava"],["Abkhazian","аҧсуа бызшәа, аҧсшәа","ab","abk","abk"],["Afar","Afaraf","aa","aar","aar"],["Afrikaans","Afrikaans","af","afr","afr"],["Amharic","አማርኛ","am","amh","amh"],["Aragonese","aragonés","an","arg","arg"],["Assamese","অসমীয়া","as","asm","asm"],["Bambara","bamanankan","bm","bam","bam"],["Bashkir","башҡорт теле","ba","bak","bak"],["Basque","euskara, euskera","eu","eus","baq"],["Belarusian","беларуская мова","be","bel","bel"],["Bosnian","bosanski jezik","bs","bos","bos"],["Breton","brezhoneg","br","bre","bre"],["Bulgarian","български език","bg","bul","bul"],["Burmese","ဗမာစာ","my","mya","bur"],["Catalan, Valencian","català, valencià","ca","cat","cat"],["Chamorro","Chamoru","ch","cha","cha"],["Chechen","нохчийн мотт","ce","che","che"],["Chichewa, Chewa, Nyanja","chiCheŵa, chinyanja","ny","nya","nya"],["Chuvash","чӑваш чӗлхи","cv","chv","chv"],["Cornish","Kernewek","kw","cor","cor"],["Corsican","corsu, lingua corsa","co","cos","cos"],["Croatian","hrvatski jezik","hr","hrv","hrv"],["Czech","čeština, český jazyk","cs","ces","cze"],["Danish","dansk","da","dan","dan"],["Divehi, Dhivehi, Maldivian","ދިވެހި","dv","div","div"],["Dutch, Flemish","Nederlands, Vlaams","nl","nld","dut"],["Dzongkha","རྫོང་ཁ","dz","dzo","dzo"],["English","English","en","eng","eng"],["Ewe","Eʋegbe","ee","ewe","ewe"],["Faroese","føroyskt","fo","fao","fao"],["Fijian","vosa Vakaviti","fj","fij","fij"],["Finnish","suomi, suomen kieli","fi","fin","fin"],["French","français, langue française","fr","fra","fre"],["Galician","Galego","gl","glg","glg"],["Georgian","ქართული","ka","kat","geo"],["German","Deutsch","de","deu","ger"],["Greek (modern)","ελληνικά","el","ell","gre"],["Gujarati","ગુજરાતી","gu","guj","guj"],["Haitian, Haitian Creole","Kreyòl ayisyen","ht","hat","hat"],["Hausa","(Hausa) هَوُسَ","ha","hau","hau"],["Herero","Otjiherero","hz","her","her"],["Hindi","हिन्दी, हिंदी","hi","hin","hin"],["Hiri Motu","Hiri Motu","ho","hmo","hmo"],["Hungarian","magyar","hu","hun","hun"],["Irish","Gaeilge","ga","gle","gle"],["Igbo","Asụsụ Igbo","ig","ibo","ibo"],["Icelandic","Íslenska","is","isl","ice"],["Italian","Italiano","it","ita","ita"],["Japanese","日本語 (にほんご)","ja","jpn","jpn"],["Javanese","ꦧꦱꦗꦮ, Basa Jawa","jv","jav","jav"],["Kalaallisut, Greenlandic","kalaallisut, kalaallit oqaasii","kl","kal","kal"],["Kannada","ಕನ್ನಡ","kn","kan","kan"],["Kashmiri","कश्मीरी, كشميري‎","ks","kas","kas"],["Kazakh","қазақ тілі","kk","kaz","kaz"],["Kikuyu, Gikuyu","Gĩkũyũ","ki","kik","kik"],["Kinyarwanda","Ikinyarwanda","rw","kin","kin"],["Kirghiz, Kyrgyz","Кыргызча, Кыргыз тили","ky","kir","kir"],["Korean","한국어","ko","kor","kor"],["Kuanyama, Kwanyama","Kuanyama","kj","kua","kua"],["Luxembourgish, Letzeburgesch","Lëtzebuergesch","lb","ltz","ltz"],["Ganda","Luganda","lg","lug","lug"],["Limburgan, Limburger, Limburgish","Limburgs","li","lim","lim"],["Lingala","Lingála","ln","lin","lin"],["Lao","ພາສາລາວ","lo","lao","lao"],["Lithuanian","lietuvių kalba","lt","lit","lit"],["Manx","Gaelg, Gailck","gv","glv","glv"],["Macedonian","македонски јазик","mk","mkd","mac"],["Malayalam","മലയാളം","ml","mal","mal"],["Maltese","Malti","mt","mlt","mlt"],["Marshallese","Kajin M̧ajeļ","mh","mah","mah"],["Navajo, Navaho","Diné bizaad","nv","nav","nav"],["Nepali","नेपाली","ne","nep","nep"],["Ndonga","Owambo","ng","ndo","ndo"],["Occitan","occitan, lenga d'òc","oc","oci","oci"],["Ossetian, Ossetic","ирон æвзаг","os","oss","oss"],["Panjabi, Punjabi","ਪੰਜਾਬੀ","pa","pan","pan"],["Polish","język polski, polszczyzna","pl","pol","pol"],["Portuguese","Português","pt","por","por"],["Romansh","Rumantsch Grischun","rm","roh","roh"],["Russian","русский","ru","rus","rus"],["Sindhi","सिन्धी, سنڌي، سندھی‎","sd","snd","snd"],["Northern Sami","Davvisámegiella","se","sme","sme"],["Samoan","gagana fa'a Samoa","sm","smo","smo"],["Sango","yângâ tî sängö","sg","sag","sag"],["Gaelic, Scottish Gaelic","Gàidhlig","gd","gla","gla"],["Shona","chiShona","sn","sna","sna"],["Sinhala, Sinhalese","සිංහල","si","sin","sin"],["Slovak","Slovenčina, Slovenský Jazyk","sk","slk","slo"],["Somali","Soomaaliga, af Soomaali","so","som","som"],["Southern Sotho","Sesotho","st","sot","sot"],["Spanish, Castilian","Español","es","spa","spa"],["Sundanese","Basa Sunda","su","sun","sun"],["Swedish","Svenska","sv","swe","swe"],["Tamil","தமிழ்","ta","tam","tam"],["Telugu","తెలుగు","te","tel","tel"],["Tajik","тоҷикӣ, toçikī, تاجیکی‎","tg","tgk","tgk"],["Thai","ไทย","th","tha","tha"],["Tigrinya","ትግርኛ","ti","tir","tir"],["Turkmen","Türkmen, Түркмен","tk","tuk","tuk"],["Tswana","Setswana","tn","tsn","tsn"],["Tongan (Tonga Islands)","Faka Tonga","to","ton","ton"],["Turkish","Türkçe","tr","tur","tur"],["Tsonga","Xitsonga","ts","tso","tso"],["Tatar","татар теле, tatar tele","tt","tat","tat"],["Uighur, Uyghur","ئۇيغۇرچە‎, Uyghurche","ug","uig","uig"],["Ukrainian","Українська","uk","ukr","ukr"],["Urdu","اردو","ur","urd","urd"],["Venda","Tshivenḓa","ve","ven","ven"],["Vietnamese","Tiếng Việt","vi","vie","vie"],["Walloon","Walon","wa","wln","wln"],["Welsh","Cymraeg","cy","cym","wel"],["Wolof","Wollof","wo","wol","wol"],["Xhosa","isiXhosa","xh","xho","xho"],["Yoruba","Yorùbá","yo","yor","yor"],["Zulu","isiZulu","zu","zul","zul"]];e["default"]=r},faa1:function(t,e,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};function s(t){console&&console.warn&&console.warn(t)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function c(){c.init.call(this)}t.exports=c,t.exports.once=w,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?c.defaultMaxListeners:t._maxListeners}function f(t,e,n,r){var i,o,a;if(u(n),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"===typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),i=h(t),i>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,s(c)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function g(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?b(i):m(i,i.length)}function v(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function y(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function b(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function w(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}x(t,e,o,{once:!0}),"error"!==e&&_(t,i,{once:!0})}))}function _(t,e,n){"function"===typeof t.on&&x(t,"error",e,n)}function x(t,e,n,r){if("function"===typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");l=t}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},c.prototype.getMaxListeners=function(){return h(this)},c.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=i[t];if(void 0===c)return!1;if("function"===typeof c)o(c,this,e);else{var l=c.length,u=m(c,l);for(n=0;n<l;++n)o(u[n],this,e)}return!0},c.prototype.addListener=function(t,e){return f(this,t,e,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(t,e){return f(this,t,e,!0)},c.prototype.once=function(t,e){return u(e),this.on(t,d(this,t,e)),this},c.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,d(this,t,e)),this},c.prototype.removeListener=function(t,e){var n,r,i,o,s;if(u(e),r=this._events,void 0===r)return this;if(n=r[t],void 0===n)return this;if(n===e||n.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():y(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(t){var e,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=n[t],"function"===typeof e)this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},c.prototype.listeners=function(t){return g(this,t,!0)},c.prototype.rawListeners=function(t){return g(this,t,!1)},c.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):v.call(t,e)},c.prototype.listenerCount=v,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},fc9e:function(t,e,n){var r=n("0d63"),i=n("255a").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},fce4:function(t,e,n){var r=n("0f94"),i=r.isTag,o=r.getParent,s=r.getChildren,a=r.getSiblings,c=r.getName;t.exports={__proto__:null,attribute:n("55da").compile,pseudo:n("9ebc").compile,tag:function(t,e){var n=e.name;return function(e){return c(e)===n&&t(e)}},descendant:function(t,e,n,r,i){return function(e){if(i&&t(e))return!0;var n=!1;while(!n&&(e=o(e)))n=t(e);return n}},parent:function(t,e,n){if(n&&n.strict)throw SyntaxError("Parent selector isn't part of CSS3");return function(t){return s(t).some(r)};function r(e){return i(e)&&t(e)}},child:function(t){return function(e){var n=o(e);return!!n&&t(n)}},sibling:function(t){return function(e){for(var n=a(e),r=0;r<n.length;r++)if(i(n[r])){if(n[r]===e)break;if(t(n[r]))return!0}return!1}},adjacent:function(t){return function(e){for(var n,r=a(e),o=0;o<r.length;o++)if(i(r[o])){if(r[o]===e)break;n=r[o]}return!!n&&t(n)}},universal:function(t){return t}}},fcef:function(t,e,n){var r=n("0d63");r(r.S,"Array",{isArray:n("bc48")})},fda5:function(t,e,n){"use strict";n("6d75"),n("be58"),t.exports=n("a06f").Promise["finally"]},fe69:function(t,e,n){(function(e){var n="Expected a function",r="__lodash_placeholder__",i=1,o=2,s=4,a=8,c=16,l=32,u=64,h=128,f=256,p=512,d=1/0,g=9007199254740991,v=17976931348623157e292,m=NaN,y=[["ary",h],["bind",i],["bindKey",o],["curry",a],["curryRight",c],["flip",p],["partial",l],["partialRight",u],["rearg",f]],b="[object Function]",w="[object GeneratorFunction]",_="[object Symbol]",x=/[\\^$.*+?()[\]{}|]/g,S=/^\s+|\s+$/g,T=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E=/\{\n\/\* \[wrapped with (.+)\] \*/,C=/,? & /,k=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,O=/^\[object .+?Constructor\]$/,P=/^0o[0-7]+$/i,R=/^(?:0|[1-9]\d*)$/,L=parseInt,I="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,j=I||M||Function("return this")();function B(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function D(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(!1===e(t[n],n,t))break;return t}function N(t,e){var n=t?t.length:0;return!!n&&H(t,e,0)>-1}function F(t,e,n,r){var i=t.length,o=n+(r?1:-1);while(r?o--:++o<i)if(e(t[o],o,t))return o;return-1}function H(t,e,n){if(e!==e)return F(t,z,n);var r=n-1,i=t.length;while(++r<i)if(t[r]===e)return r;return-1}function z(t){return t!==t}function $(t,e){var n=t.length,r=0;while(n--)t[n]===e&&r++;return r}function U(t,e){return null==t?void 0:t[e]}function q(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function V(t,e){var n=-1,i=t.length,o=0,s=[];while(++n<i){var a=t[n];a!==e&&a!==r||(t[n]=r,s[o++]=n)}return s}var W=Function.prototype,G=Object.prototype,Z=j["__core-js_shared__"],X=function(){var t=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Y=W.toString,K=G.hasOwnProperty,J=G.toString,Q=RegExp("^"+Y.call(K).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tt=Object.create,et=Math.max,nt=Math.min,rt=function(){var t=yt(Object,"defineProperty"),e=yt.name;return e&&e.length>2?t:void 0}();function it(t){return Ot(t)?tt(t):{}}function ot(t){if(!Ot(t)||xt(t))return!1;var e=At(t)||q(t)?Q:O;return e.test(Et(t))}function st(t,e){return e=et(void 0===e?t.length-1:e,0),function(){var n=arguments,r=-1,i=et(n.length-e,0),o=Array(i);while(++r<i)o[r]=n[e+r];r=-1;var s=Array(e+1);while(++r<e)s[r]=n[r];return s[e]=o,B(t,this,s)}}function at(t,e,n,r){var i=-1,o=t.length,s=n.length,a=-1,c=e.length,l=et(o-s,0),u=Array(c+l),h=!r;while(++a<c)u[a]=e[a];while(++i<s)(h||i<o)&&(u[n[i]]=t[i]);while(l--)u[a++]=t[i++];return u}function ct(t,e,n,r){var i=-1,o=t.length,s=-1,a=n.length,c=-1,l=e.length,u=et(o-a,0),h=Array(u+l),f=!r;while(++i<u)h[i]=t[i];var p=i;while(++c<l)h[p+c]=e[c];while(++s<a)(f||i<o)&&(h[p+n[s]]=t[i++]);return h}function lt(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}function ut(t,e,n){var r=e&i,o=ht(t);function s(){var e=this&&this!==j&&this instanceof s?o:t;return e.apply(r?n:this,arguments)}return s}function ht(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=it(t.prototype),r=t.apply(n,e);return Ot(r)?r:n}}function ft(t,e,n){var r=ht(t);function i(){var o=arguments.length,s=Array(o),a=o,c=mt(i);while(a--)s[a]=arguments[a];var l=o<3&&s[0]!==c&&s[o-1]!==c?[]:V(s,c);if(o-=l.length,o<n)return gt(t,e,pt,i.placeholder,void 0,s,l,void 0,void 0,n-o);var u=this&&this!==j&&this instanceof i?r:t;return B(u,this,s)}return i}function pt(t,e,n,r,s,l,u,f,d,g){var v=e&h,m=e&i,y=e&o,b=e&(a|c),w=e&p,_=y?void 0:ht(t);function x(){var i=arguments.length,o=Array(i),a=i;while(a--)o[a]=arguments[a];if(b)var c=mt(x),h=$(o,c);if(r&&(o=at(o,r,s,b)),l&&(o=ct(o,l,u,b)),i-=h,b&&i<g){var p=V(o,c);return gt(t,e,pt,x.placeholder,n,o,p,f,d,g-i)}var S=m?n:this,T=y?S[t]:t;return i=o.length,f?o=St(o,f):w&&i>1&&o.reverse(),v&&d<i&&(o.length=d),this&&this!==j&&this instanceof x&&(T=_||ht(T)),T.apply(S,o)}return x}function dt(t,e,n,r){var o=e&i,s=ht(t);function a(){var e=-1,i=arguments.length,c=-1,l=r.length,u=Array(l+i),h=this&&this!==j&&this instanceof a?s:t;while(++c<l)u[c]=r[c];while(i--)u[c++]=arguments[++e];return B(h,o?n:this,u)}return a}function gt(t,e,n,r,c,h,f,p,d,g){var v=e&a,m=v?f:void 0,y=v?void 0:f,b=v?h:void 0,w=v?void 0:h;e|=v?l:u,e&=~(v?u:l),e&s||(e&=~(i|o));var _=n(t,e,c,b,m,w,y,p,d,g);return _.placeholder=r,Tt(_,t,e)}function vt(t,e,r,s,h,f,p,d){var g=e&o;if(!g&&"function"!=typeof t)throw new TypeError(n);var v=s?s.length:0;if(v||(e&=~(l|u),s=h=void 0),p=void 0===p?p:et(It(p),0),d=void 0===d?d:It(d),v-=h?h.length:0,e&u){var m=s,y=h;s=h=void 0}var b=[t,e,r,s,h,m,y,f,p,d];if(t=b[0],e=b[1],r=b[2],s=b[3],h=b[4],d=b[9]=null==b[9]?g?0:t.length:et(b[9]-v,0),!d&&e&(a|c)&&(e&=~(a|c)),e&&e!=i)w=e==a||e==c?ft(t,e,d):e!=l&&e!=(i|l)||h.length?pt.apply(void 0,b):dt(t,e,r,s);else var w=ut(t,e,r);return Tt(w,t,e)}function mt(t){var e=t;return e.placeholder}function yt(t,e){var n=U(t,e);return ot(n)?n:void 0}function bt(t){var e=t.match(E);return e?e[1].split(C):[]}function wt(t,e){var n=e.length,r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(T,"{\n/* [wrapped with "+e+"] */\n")}function _t(t,e){return e=null==e?g:e,!!e&&("number"==typeof t||R.test(t))&&t>-1&&t%1==0&&t<e}function xt(t){return!!X&&X in t}function St(t,e){var n=t.length,r=nt(e.length,n),i=lt(t);while(r--){var o=e[r];t[r]=_t(o,n)?i[o]:void 0}return t}var Tt=rt?function(t,e,n){var r=e+"";return rt(t,"toString",{configurable:!0,enumerable:!1,value:jt(wt(r,Ct(bt(r),n)))})}:Bt;function Et(t){if(null!=t){try{return Y.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ct(t,e){return D(y,(function(n){var r="_."+n[0];e&n[1]&&!N(t,r)&&t.push(r)})),t.sort()}var kt=st((function(t,e,n){var r=i;if(n.length){var o=V(n,mt(kt));r|=l}return vt(t,r,e,n,o)}));function At(t){var e=Ot(t)?J.call(t):"";return e==b||e==w}function Ot(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Pt(t){return!!t&&"object"==typeof t}function Rt(t){return"symbol"==typeof t||Pt(t)&&J.call(t)==_}function Lt(t){if(!t)return 0===t?t:0;if(t=Mt(t),t===d||t===-d){var e=t<0?-1:1;return e*v}return t===t?t:0}function It(t){var e=Lt(t),n=e%1;return e===e?n?e-n:e:0}function Mt(t){if("number"==typeof t)return t;if(Rt(t))return m;if(Ot(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ot(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(S,"");var n=A.test(t);return n||P.test(t)?L(t.slice(2),n?2:8):k.test(t)?m:+t}function jt(t){return function(){return t}}function Bt(t){return t}kt.placeholder={},t.exports=kt}).call(this,n("c8ba"))},ff02:function(t,e,n){var r=n("b8bd"),i=n("69ce"),o=n("6317"),s=Object.defineProperty;e.f=n("a32c")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},ff35:function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},ff5f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=e.by639_2B=e.by639_2T=e.by639_1=e.codes=void 0;var r=i(n("f96c"));function i(t){return t&&t.__esModule?t:{default:t}}var o=[],s={},a={},c={};e.by639_2B=c,e.by639_2T=a,e.by639_1=s,e.codes=o,r["default"].forEach((function(t){var e={name:t[0],nativeName:t[1],iso639_1:t[2],iso639_2T:t[3],iso639_2B:t[4]};s[t[2]]=a[t[3]]=c[t[4]]=e,o.push(e)}));var l=o;e["default"]=l}});
  //# sourceMappingURL=rangestoryboard.js.map