jekyll-theme-hydejack 7.4.1 → 7.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/_includes/body/scripts.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/head/meta.html +1 -1
- data/_includes/head/styles.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts/load-disqus.js +15 -0
- data/_includes/scripts/load-js-deferred.js +15 -0
- data/_includes/styles/inline.scss +20 -0
- data/_includes/styles/style.scss +20 -0
- data/_includes/templates.html +1 -1
- data/_layouts/about.html +20 -0
- data/_layouts/base.html +20 -0
- data/_layouts/blog.html +20 -0
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +20 -0
- data/_layouts/home.html +20 -0
- data/_layouts/list.html +20 -0
- data/_layouts/not-found.html +20 -0
- data/_layouts/page.html +20 -0
- data/_layouts/post.html +20 -0
- data/_layouts/redirect.html +20 -0
- data/_sass/_mixins.scss +15 -10
- data/_sass/_spinner.scss +15 -10
- data/_sass/_variables.scss +15 -10
- data/_sass/hydejack/__inline/_avatar.scss +15 -10
- data/_sass/hydejack/__inline/_base.scss +15 -11
- data/_sass/hydejack/__inline/_break-layout.scss +15 -10
- data/_sass/hydejack/__inline/_content.scss +15 -10
- data/_sass/hydejack/__inline/_footer.scss +15 -10
- data/_sass/hydejack/__inline/_katex.scss +15 -10
- data/_sass/hydejack/__inline/_mark-external.scss +15 -10
- data/_sass/hydejack/__inline/_menu.scss +15 -10
- data/_sass/hydejack/__inline/_sidebar.scss +15 -10
- data/_sass/hydejack/__inline/_social.scss +15 -10
- data/_sass/hydejack/__link/_avatar.scss +15 -10
- data/_sass/hydejack/__link/_base.scss +15 -10
- data/_sass/hydejack/__link/_break-layout.scss +15 -10
- data/_sass/hydejack/__link/_content.scss +15 -10
- data/_sass/hydejack/__link/_footer.scss +19 -10
- data/_sass/hydejack/__link/_katex.scss +15 -10
- data/_sass/hydejack/__link/_mark-external.scss +15 -10
- data/_sass/hydejack/__link/_menu.scss +15 -10
- data/_sass/hydejack/__link/_sidebar.scss +15 -10
- data/_sass/hydejack/__link/_social.scss +15 -10
- data/_sass/hydejack/_avatar.pre.scss +15 -10
- data/_sass/hydejack/_base.pre.scss +15 -11
- data/_sass/hydejack/_break-layout.pre.scss +15 -10
- data/_sass/hydejack/_content.pre.scss +15 -10
- data/_sass/hydejack/_footer.pre.scss +19 -10
- data/_sass/hydejack/_katex.pre.scss +15 -10
- data/_sass/hydejack/_mark-external.pre.scss +15 -10
- data/_sass/hydejack/_menu.pre.scss +15 -10
- data/_sass/hydejack/_sidebar.pre.scss +15 -10
- data/_sass/hydejack/_social.pre.scss +15 -10
- data/_sass/pooleparty/__inline/_base.scss +15 -10
- data/_sass/pooleparty/__inline/_code.scss +15 -11
- data/_sass/pooleparty/__inline/_footer.scss +15 -10
- data/_sass/pooleparty/__inline/_footnotes.scss +15 -10
- data/_sass/pooleparty/__inline/_message.scss +15 -10
- data/_sass/pooleparty/__inline/_pagination.scss +15 -10
- data/_sass/pooleparty/__inline/_posts.scss +15 -10
- data/_sass/pooleparty/__inline/_related.scss +15 -10
- data/_sass/pooleparty/__inline/_table.scss +15 -10
- data/_sass/pooleparty/__inline/_type.scss +15 -11
- data/_sass/pooleparty/__link/_base.scss +15 -10
- data/_sass/pooleparty/__link/_code.scss +15 -11
- data/_sass/pooleparty/__link/_footer.scss +15 -10
- data/_sass/pooleparty/__link/_footnotes.scss +15 -10
- data/_sass/pooleparty/__link/_message.scss +15 -10
- data/_sass/pooleparty/__link/_pagination.scss +15 -10
- data/_sass/pooleparty/__link/_posts.scss +15 -10
- data/_sass/pooleparty/__link/_related.scss +15 -10
- data/_sass/pooleparty/__link/_table.scss +15 -10
- data/_sass/pooleparty/__link/_type.scss +17 -11
- data/_sass/pooleparty/_base.pre.scss +15 -10
- data/_sass/pooleparty/_code.pre.scss +15 -11
- data/_sass/pooleparty/_footer.pre.scss +15 -10
- data/_sass/pooleparty/_footnotes.pre.scss +15 -10
- data/_sass/pooleparty/_message.pre.scss +15 -10
- data/_sass/pooleparty/_pagination.pre.scss +15 -10
- data/_sass/pooleparty/_posts.pre.scss +15 -10
- data/_sass/pooleparty/_related.pre.scss +15 -10
- data/_sass/pooleparty/_table.pre.scss +15 -10
- data/_sass/pooleparty/_type.pre.scss +17 -11
- data/assets/css/{hydejack-7.4.1.css → hydejack-7.4.2.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +2 -0
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +185 -113
- data/assets/icomoon/style.css +11 -5
- data/assets/js/hydejack-7.4.2.js +14 -0
- data/assets/version.json +1 -1
- data/licenses/MIT.md +1 -1
- metadata +4 -4
- data/assets/js/hydejack-7.4.1.js +0 -14
data/assets/icomoon/style.css
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'icomoon';
|
3
|
-
src: url('fonts/icomoon.eot?
|
4
|
-
src: url('fonts/icomoon.eot?
|
5
|
-
url('fonts/icomoon.ttf?
|
6
|
-
url('fonts/icomoon.woff?
|
7
|
-
url('fonts/icomoon.svg?
|
3
|
+
src: url('fonts/icomoon.eot?api3md');
|
4
|
+
src: url('fonts/icomoon.eot?api3md#iefix') format('embedded-opentype'),
|
5
|
+
url('fonts/icomoon.ttf?api3md') format('truetype'),
|
6
|
+
url('fonts/icomoon.woff?api3md') format('woff'),
|
7
|
+
url('fonts/icomoon.svg?api3md#icomoon') format('svg');
|
8
8
|
font-weight: normal;
|
9
9
|
font-style: normal;
|
10
10
|
}
|
@@ -261,3 +261,9 @@
|
|
261
261
|
.icon-arrow-left2:before {
|
262
262
|
content: "\2190";
|
263
263
|
}
|
264
|
+
.icon-home3:before {
|
265
|
+
content: "\e902";
|
266
|
+
}
|
267
|
+
.icon-mail2:before {
|
268
|
+
content: "\ea84";
|
269
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v7.4.2 <https://qwtel.com/hydejack/>
|
13
|
+
*/
|
14
|
+
!function t(e,r,n){function o(s,a){if(!r[s]){if(!e[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return o(r||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){"use strict";var n="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(t,e,r){function o(t,e){return(void 0===t?"undefined":n(t))===e}function i(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,r){return e+r.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):_?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function a(t,r,n,o){var i,a,c,u,l="modernizr",f=s("div"),p=function(){var t=e.body;return t||((t=s(_?"svg":"body")).fake=!0),t}();if(parseInt(n,10))for(;n--;)(c=s("div")).id=o?o[n]:l+(n+1),f.appendChild(c);return i=s("style"),i.type="text/css",i.id="s"+l,(p.fake?p:f).appendChild(i),p.appendChild(f),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(e.createTextNode(t)),f.id=l,p.fake&&(p.style.background="",p.style.overflow="hidden",u=g.style.overflow,g.style.overflow="hidden",g.appendChild(p)),a=r(f,t),p.fake?(p.parentNode.removeChild(p),g.style.overflow=u,g.offsetHeight):f.parentNode.removeChild(f),!!a}function c(t,e){return!!~(""+t).indexOf(e)}function u(t,e){return function(){return t.apply(e,arguments)}}function l(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(e,n){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(l(e[o]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var i=[];o--;)i.push("("+l(e[o])+":"+n+")");return i=i.join(" or "),a("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"==function(e,r,n){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,e,r);var i=t.console;null!==o?n&&(o=o.getPropertyValue(n)):i&&i[i.error?"error":"log"].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!r&&e.currentStyle&&e.currentStyle[n];return o}(e,null,"position")})}return r}function p(t,e,n,a,l){var p=t.charAt(0).toUpperCase()+t.slice(1),h=(t+" "+x.join(p+" ")+p).split(" ");return o(e,"string")||o(e,"undefined")?function(t,e,n,a){function u(){p&&(delete E.style,delete E.modElem)}if(a=!o(a,"undefined")&&a,!o(n,"undefined")){var l=f(t,n);if(!o(l,"undefined"))return l}for(var p,h,d,b,y,m=["modernizr","tspan","samp"];!E.style&&m.length;)p=!0,E.modElem=s(m.shift()),E.style=E.modElem.style;for(d=t.length,h=0;h<d;h++)if(b=t[h],y=E.style[b],c(b,"-")&&(b=i(b)),E.style[b]!==r){if(a||o(n,"undefined"))return u(),"pfx"!=e||b;try{E.style[b]=n}catch(t){}if(E.style[b]!=y)return u(),"pfx"!=e||b}return u(),!1}(h,e,a,l):(h=(t+" "+O.join(p+" ")+p).split(" "),function(t,e,r){var n;for(var i in t)if(t[i]in e)return!1===r?t[i]:(n=e[t[i]],o(n,"function")?u(n,r||e):n);return!1}(h,e,n))}function h(t,e,n){return p(t,r,r,e,n)}var d=[],b={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!1},_q:[],on:function(t,e){var r=this;setTimeout(function(){e(r[t])},0)},addTest:function(t,e,r){d.push({name:t,fn:e,options:r})},addAsyncTest:function(t){d.push({name:null,fn:t})}},y=function(){};y.prototype=b,(y=new y).addTest("customevent","CustomEvent"in t&&"function"==typeof t.CustomEvent),y.addTest("eventlistener","addEventListener"in t),y.addTest("history",function(){var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history)}),y.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e),y.addTest("promises",function(){return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),"function"==typeof e}()});var m=[],v=b._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];b._prefixes=v;var g=e.documentElement;y.addTest("classlist","classList"in g),y.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in g});var _="svg"===g.nodeName.toLowerCase();y.addTest("opacity",function(){var t=s("a").style;return t.cssText=v.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),y.addTest("csspointerevents",function(){var t=s("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),y.addTest("cssremunit",function(){var t=s("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)});var w=b.testStyles=a;y.addTest("touchevents",function(){var r;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)r=!0;else{var n=["@media (",v.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");w(n,function(t){r=9===t.offsetTop})}return r});var x=b._config.usePrefixes?"Moz O ms Webkit".split(" "):[];b._cssomPrefixes=x;var S=function(e){var n,o=v.length,i=t.CSSRule;if(void 0===i)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in i)return"@"+e;for(var s=0;s<o;s++){var a=v[s];if(a.toUpperCase()+"_"+n in i)return"@-"+a.toLowerCase()+"-"+e}return!1};b.atRule=S;var O=b._config.usePrefixes?"Moz O ms Webkit".toLowerCase().split(" "):[];b._domPrefixes=O;var j={elem:s("modernizr")};y._q.push(function(){delete j.elem});var E={style:j.elem.style};y._q.unshift(function(){delete E.style}),b.testAllProps=p;var T=b.prefixed=function(t,e,r){return 0===t.indexOf("@")?S(t):(-1!=t.indexOf("-")&&(t=i(t)),e?p(t,e,r):p(t,"pfx"))};y.addTest("requestanimationframe",!!T("requestAnimationFrame",t),{aliases:["raf"]}),y.addTest("matchmedia",!!T("matchMedia",t)),b.testAllProps=h,y.addTest("cssanimations",h("animationName","a",!0)),y.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&h("transform","scale(1)",!0)}),function(){var t,e,r,n,i,s;for(var a in d)if(d.hasOwnProperty(a)){if(t=[],(e=d[a]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(r=0;r<e.options.aliases.length;r++)t.push(e.options.aliases[r].toLowerCase());for(n=o(e.fn,"function")?e.fn():e.fn,i=0;i<t.length;i++)1===(s=t[i].split(".")).length?y[s[0]]=n:(!y[s[0]]||y[s[0]]instanceof Boolean||(y[s[0]]=new Boolean(y[s[0]])),y[s[0]][s[1]]=n),m.push((n?"":"no-")+s.join("-"))}}(),delete b.addTest,delete b.addAsyncTest;for(var k=0;k<y._q.length;k++)y._q[k]();t.Modernizr=y}(window,document)},{}],2:[function(t,e,r){"use strict";if(!("content"in document.createElement("template")))for(var n=document.getElementsByTagName("template"),o=n.length,i=0;i<o;++i){for(var s=n[i],a=s.childNodes,c=document.createDocumentFragment();a[0];)c.appendChild(a[0]);s.content=c}},{}],3:[function(t,e,r){"use strict";console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v7.4.2 <https://qwtel.com/hydejack/>")},{}],4:[function(t,e,r){(function(e){"use strict";function n(){this.style.display="",this.style.visibility=""}Object.defineProperty(r,"__esModule",{value:!0}),r.unhide=r.isFirefoxIOS=r.isUCBrowser=r.isMobileSafari=r.isSafari=void 0,r.hasFeatures=function(t){var r=!0;return t.forEach(function(t){var n=window.Modernizr[t];!n&&e.env.DEBUG&&console.warn("Feature '"+t+"' missing!"),r=r&&n}),r},r.show=function(){this.style.display="block",this.style.visibility="visible"},r.hide=function(){this.style.display="none",this.style.visibility="hidden"},r.unshow=n,r.empty=function(){for(;this.firstChild;)this.removeChild(this.firstChild)},r.animate=function(t,e,r){return o.Observable.create(function(n){var o=t.animate(e,r);return o.addEventListener("finish",function(t){n.next(t),requestAnimationFrame(n.complete.bind(n))}),function(){"finished"!==o.playState&&o.cancel()}})},r.getResolvablePromise=function(){var t=void 0,e=void 0,r=new Promise(function(r,n){t=r,e=n});return r.resolve=t,r.reject=e,r},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=navigator.userAgent.toLowerCase(),s=r.isSafari=i.indexOf("safari")>0&&i.indexOf("chrome")<0;r.isMobileSafari=s&&i.indexOf("mobile")>0,r.isUCBrowser=i.indexOf("ucbrowser")>0,r.isFirefoxIOS=i.indexOf("fxios")>0&&i.indexOf("safari")>0,r.unhide=n}).call(this,t("_process"))},{_process:141,"core-js/fn/function/bind":26,"rxjs/Observable":144}],5:[function(t,e,r){"use strict";if(window.ga&&!navigator.CookiesOK&&(!localStorage||!localStorage.getItem("hy:cookiesOK"))){var n=document.getElementById("_cookies-banner-template");if(n){var o=document.getElementsByTagName("hy-push-state")[0];o.insertBefore(document.importNode(n.content,!0),o.firstChild),document.getElementById("_cookies-ok").addEventListener("click",function(){localStorage&&localStorage.setItem("hy:cookiesOK",!0);var t=document.getElementById("_cookies-banner");t.parentNode.removeChild(t),window.ga(function(t){window.ga("set","anonymizeIp",void 0),localStorage&&localStorage.setItem("ga:clientId",t.get("clientId"))})},{once:!0})}}},{}],6:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.background,r=t.color,n=t.image,o=t.overlay;return""+r+(n||e)+(""===o?"overlay":"")}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/find"),t("core-js/fn/function/bind");var a=n(t("color")),c=t("rxjs/Observable"),u=t("rxjs/observable/empty"),l=t("rxjs/observable/fromEvent"),f=t("rxjs/observable/of"),p=t("rxjs/operator/finally"),h=t("rxjs/operator/take"),d=t("rxjs/operator/map"),b=n(t("elem-dataset")),y=t("./common"),m=Array.prototype.find,v=.8,g=function(){function t(e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=document.getElementById("_main"),i=document.getElementById("_pageStyle"),s=(r=document.styleSheets,m).call(r,function(t){return t.ownerNode===i})||{};this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.rules=s.cssRules||s.rules,this.prevHash=o((0,b.default)(n)),this.themeColor=document.querySelector('meta[name="theme-color"]')}return s(t,[{key:"fetchImage",value:function(t){var e,r=(0,b.default)(t),n=r.background,i=r.color,s=r.image,a=r.overlay,y=o(r);return y===this.prevHash?u.empty.call(c.Observable):(e=function(t){var e,r=t.background,n=t.image;if(r||!n||""===n||"none"===n||n===this.prevImage)return f.of.call(c.Observable,{});var o=new Image,i=(e=(e=l.fromEvent.call(c.Observable,o,"load"),h.take).call(e,1),p._finally).call(e,function(){o.src=""});return o.src=n,i}.call(this,r),d.map).call(e,function(){var t=document.createElement("div");return t.classList.add("sidebar-bg"),"none"!==s&&""===a&&t.classList.add("sidebar-overlay"),n?t.style.background=n:(t.style.backgroundColor=i,""!==s&&"none"!==s&&(t.style.backgroundImage="url("+s+")")),[t,r,y]})}},{key:"fade",value:function(t,e){var r,n=i(t,1)[0],o=i(e,3),s=o[0],c=o[1],u=o[2];return n.parentNode.insertBefore(s,n.nextElementSibling),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.color,r=void 0===e?"#4fb1ba":e,n=t.themeColor;if(this.themeColor&&(this.themeColor.content=n||r),this.rules)try{var o=(0,a.default)(r),i=o.darken(.1);this.rules[0].style.color=r,this.rules[0].style.borderColor=o.fade(v).string(),this.rules[1].style.borderColor=r,this.rules[2].style.outlineColor=r,this.rules[3].style.backgroundColor=r,this.rules[3].style.borderColor=r,this.rules[4].style.boxShadow="0 0 0 3px "+o.fade(.5),this.rules[5].style.backgroundColor=i,this.rules[5].style.borderColor=i,this.rules[6].style.backgroundColor=r,this.rules[6].style.borderColor=r,this.rules[7].style.backgroundColor=i,this.rules[7].style.borderColor=i,this.rules[this.rules.length-1].style.backgroundColor=r}catch(t){console.error(t)}}.call(this,c),this.prevHash=u,(r=(0,y.animate)(s,[{opacity:0},{opacity:1}],{duration:this.fadeDuration}),p._finally).call(r,function(){return n.parentNode.removeChild(n)})}}]),t}();r.default=g},{"./common":4,color:17,"core-js/fn/array/find":21,"core-js/fn/function/bind":26,"elem-dataset":121,"rxjs/Observable":144,"rxjs/observable/empty":169,"rxjs/observable/fromEvent":171,"rxjs/observable/of":174,"rxjs/operator/finally":183,"rxjs/operator/map":184,"rxjs/operator/take":197}],7:[function(t,e,r){"use strict";function n(){return u.isMobileSafari&&!navigator.standalone?[35,135]:[0,150]}t("core-js/fn/function/bind");var o=t("hy-drawer/src/common"),i=t("hy-drawer/src/vanilla"),s=t("hy-drawer/src/webcomponent"),a=t("rxjs/Observable"),c=t("rxjs/observable/fromEvent"),u=t("./common"),l=new o.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(i.VANILLA_FEATURE_TESTS),["cssremunit","classlist","eventlistener","matchmedia"])),f="(min-width: 64em)";if(!window._noDrawer&&(0,u.hasFeatures)(l)&&!u.isUCBrowser){var p=document.getElementsByTagName("hy-drawer")[0],h=document.getElementById("_menu");window._isDesktop=window.matchMedia(f).matches,window._drawer="customElements"in window&&"attachShadow"in Element.prototype?function(t){return window._isDesktop&&t.setAttribute("opened",""),window._isDesktop&&t.setAttribute("persistent",""),t.setAttribute("align","left"),t.setAttribute("range",n().join(",")),t.setAttribute("threshold",u.isSafari?0:10),t.setAttribute("prevent-default",""),customElements.define("hy-drawer",s.HTMLDrawerElement),t}(p):function(t){return new i.Drawer(t,{opened:window._isDesktop,persistent:window._isDesktop,align:"left",range:n(),threshold:u.isSafari?0:10,preventDefault:!0})}(p),p.classList.add("loaded"),h.addEventListener("click",function(t){window._isDesktop||(t.preventDefault(),window._drawer.toggle())}),c.fromEvent.call(a.Observable,window,"resize",{passive:!0}).subscribe(function(){var t=window.matchMedia(f).matches;window._isDesktop!==t&&(window._isDesktop=t,window._drawer.persistent=t,window._drawer.opened=t)})}},{"./common":4,"core-js/fn/function/bind":26,"hy-drawer/src/common":129,"hy-drawer/src/vanilla":132,"hy-drawer/src/webcomponent":133,"rxjs/Observable":144,"rxjs/observable/fromEvent":171}],8:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e,r,n){var l=s.filter.call(t,function(t){var e=t.flipType;return!u.includes(e)});return i.merge.call(o.Observable,(0,a.default)(t,e,r,n),(0,c.default)(t,e,r,n),l)},t("core-js/fn/array/includes"),t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/merge"),s=t("rxjs/operator/filter"),a=n(t("./title")),c=n(t("./project")),u=["title","projects"]},{"./project":9,"./title":10,"core-js/fn/array/includes":24,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/merge":172,"rxjs/operator/filter":182}],9:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.default=function(t,e,r,d){var b,y=this,m=d.animationMain,v=d.settings;if(!m)return t;var g=(b=u.filter.call(t,function(t){return"project"===t.flipType}),l.switchMap).call(b,function(t){var e,r=t.anchor,n=r.querySelector(".project-card-img");if(!r||!n)return s.of.call(o.Observable,{});var i=m.querySelector(".page");if(!i)return s.of.call(o.Observable,{});var c=r.parentNode.querySelector(".project-card-title"),u=c&&c.textContent||"|",l=document.createElement("h1");l.classList.add("page-title"),l.style.opacity=0,l.textContent=u;var f=document.createElement("div");f.classList.add("post-date"),f.classList.add("heading"),f.style.opacity=0,f.textContent="|",h.empty.call(i),i.appendChild(l),i.appendChild(f);var p=document.createElement("div");p.classList.add("sixteen-nine"),n.parentNode.insertBefore(p,n),n.classList.add("lead"),n.style.transformOrigin="left top",i.appendChild(n),m.style.position="fixed",m.style.opacity=1;var d=p.getBoundingClientRect(),b=n.getBoundingClientRect(),y=[{transform:"translate3d("+(d.left-b.left)+"px, "+(d.top-b.top)+"px, 0) scale("+d.width/b.width+")"},{transform:"translate3d(0, 0, 0) scale(1)"}];return(e=(0,h.animate)(n,y,v),a._do).call(e,{complete:function(){m.style.position="absolute"}})});return l.switchMap.call(t,function(t){var d,b=t.flipType;return(d=u.filter.call(e,function(){return"project"===b}),l.switchMap).call(d,function(t){var e,u=n(t.replaceEls,1)[0].querySelector(".img");if(!u)return s.of.call(o.Observable,{});u.style.opacity=0;var d=u.querySelector("img");return(e=(e=(e=(e=function(t){var e;if(!t)return s.of.call(o.Observable,{});var r=new Image,n=(e=(e=i.fromEvent.call(o.Observable,r,"load"),f.take).call(e,1),c._finally).call(e,function(){r.src=""});return r.src=t.currentSrc||t.src,n}.call(y,d),p.zipProto).call(e,r),a._do).call(e,function(){u.style.opacity=1,m.style.opacity=0}),l.switchMap).call(e,function(){return d?(0,h.animate)(m,[{opacity:1},{opacity:0}],{duration:500}):s.of.call(o.Observable,{})}),c._finally).call(e,function(){m.style.opacity=0})})}).subscribe(),g},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/fromEvent"),s=t("rxjs/observable/of"),a=t("rxjs/operator/do"),c=t("rxjs/operator/finally"),u=t("rxjs/operator/filter"),l=t("rxjs/operator/switchMap"),f=t("rxjs/operator/take"),p=t("rxjs/operator/zip"),h=t("../common")},{"../common":4,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/fromEvent":171,"rxjs/observable/of":174,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/finally":183,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/zip":202}],10:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.default=function(t,e,r,d){var b,y=d.animationMain,m=d.settings;if(!y)return t;var v=(b=c.filter.call(t,function(t){return"title"===t.flipType}),l.switchMap).call(b,function(t){var e,r=t.anchor;if(!r)return i.of.call(o.Observable,{});var n=document.createElement("h1");n.classList.add("page-title"),n.textContent=r.textContent,n.style.transformOrigin="left top";var a=y.querySelector(".page");if(!a)return i.of.call(o.Observable,{});p.empty.call(a),a.appendChild(n),y.style.position="fixed",y.style.opacity=1;var c=r.getBoundingClientRect(),u=n.getBoundingClientRect(),l=parseInt(getComputedStyle(r).fontSize,10),f=parseInt(getComputedStyle(n).fontSize,10),h=c.left-u.left,d=c.top-u.top,b=l/f;r.style.opacity=0;var v=[{transform:"translate3d("+h+"px, "+d+"px, 0) scale("+b+")"},{transform:"translate3d(0, 0, 0) scale(1)"}];return(e=(0,p.animate)(n,v,m),s._do).call(e,{complete:function(){y.style.position="absolute"}})});return l.switchMap.call(t,function(t){var o,i=t.flipType;return(o=(o=(o=(o=c.filter.call(e,function(){return"title"===i}),u.map).call(o,function(t){var e=n(t.replaceEls,1)[0].querySelector(h);return e&&(e.style.opacity=0),e}),f.zipProto).call(o,r,function(t){return t}),s._do).call(o,function(t){t&&(t.style.opacity=1),y.style.opacity=0}),a._finally).call(o,function(){y.style.opacity=0})}).subscribe(),v},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/of"),s=t("rxjs/operator/do"),a=t("rxjs/operator/finally"),c=t("rxjs/operator/filter"),u=t("rxjs/operator/map"),l=t("rxjs/operator/switchMap"),f=t("rxjs/operator/zip"),p=t("../common"),h=".page-title, .post-title"},{"../common":4,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/of":174,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/finally":183,"rxjs/operator/map":184,"rxjs/operator/switchMap":196,"rxjs/operator/zip":202}],11:[function(t,e,r){"use strict";t("web-animations-js"),t("../lib/modernizr-custom"),t("../lib/version"),t("../lib/template-polyfill"),t("./cookies-banner"),t("./katex"),t("./drawer"),t("./push-state")},{"../lib/modernizr-custom":1,"../lib/template-polyfill":2,"../lib/version":3,"./cookies-banner":5,"./drawer":7,"./katex":12,"./push-state":13,"web-animations-js":266}],12:[function(t,e,r){"use strict";function n(t,e){try{var r=t.previousElementSibling;!function(t,e){t.outerHTML=window.katex.renderToString(e,{displayMode:"math/tex; mode=display"===t.type})}(t,e),r&&r.classList&&r.classList.contains("MathJax_Preview")&&i.hide.call(r)}catch(t){console.error(t)}finally{t.style.willChange=""}}function o(){if(a){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&(c&&u?function(t){s.call(t,function(t){n(t,t.textContent.replace("% <![CDATA[","").replace("%]]>",""))})}(t):(loadJSDeferred(document.getElementById("_katexJS").href,function(){(c=!0)&&u&&o()}),loadCSS(document.getElementById("_katexCSS").href).onload=function(){u=!0,c&&u&&o()}))}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=o,t("core-js/fn/array/for-each");var i=t("./common"),s=Array.prototype.forEach,a=(0,i.hasFeatures)(["classlist","eventlistener","queryselector"]),c=!1,u=!1;o()},{"./common":4,"core-js/fn/array/for-each":22}],13:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e="#"+t.id,r=document.createElement("a"),n=document.createElement("span");n.textContent="Permalink",n.classList.add("sr-only"),r.appendChild(n),r.href=e,r.classList.add("permalink"),t.appendChild(r)}function i(t,e,r){var n;return(n=g._do.call(this,{error:(n=console).error.bind(n)}),v._catch).call(n,function(t,e){return e}).subscribe(t,e,r)}function s(t){return"push"===t||navigator.standalone||!N.isSafari}function a(){return!N.isSafari||!!navigator.standalone}var c=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t("core-js/fn/array/for-each"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign"),t("core-js/fn/string/includes");var u=t("hy-push-state/src/common"),l=t("hy-push-state/src/vanilla"),f=t("hy-push-state/src/webcomponent"),p=t("rxjs/Observable"),h=t("rxjs/scheduler/animationFrame"),d=t("rxjs/observable/fromEvent"),b=t("rxjs/observable/merge"),y=t("rxjs/observable/of"),m=t("rxjs/observable/timer"),v=t("rxjs/operator/catch"),g=t("rxjs/operator/do"),_=t("rxjs/operator/debounceTime"),w=t("rxjs/operator/filter"),x=t("rxjs/operator/map"),S=t("rxjs/operator/mapTo"),O=t("rxjs/operator/mergeMap"),j=t("rxjs/operator/observeOn"),E=t("rxjs/operator/pairwise"),T=t("rxjs/operator/share"),k=t("rxjs/operator/startWith"),A=t("rxjs/operator/exhaustMap"),M=t("rxjs/operator/switchMap"),P=t("rxjs/operator/takeUntil"),C=t("rxjs/operator/zip"),N=t("./common"),R=n(t("./cross-fader")),F=n(t("./katex")),L=n(t("./flip")),I=new u.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(l.VANILLA_FEATURE_TESTS),["classlist","cssanimations","cssremunit","documentfragment","eventlistener","history","matchmedia","opacity","queryselector","requestanimationframe"])),D="_main",U="a[href]:not(.external):not(.no-push-state)",q='script:not([type^="math/tex"])',z=/^((?!(\/assets\/)).)*$/,B=250,H=[{opacity:1},{opacity:0}],W=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],X={duration:B,easing:"cubic-bezier(0,0,0.32,1)"},V=Array.prototype.forEach,$=Object.assign.bind(Object);if(!window._noPushState&&(0,N.hasFeatures)(I)&&!N.isFirefoxIOS){var G,Y=!!navigator.standalone||window.matchMedia("(display-mode: standalone)").matches,K=document.getElementsByTagName("hy-push-state")[0],J=document.querySelector(".navbar .content .nav-btn-bar"),Z=function(t){var e=document.getElementById("_animation-template"),r=document.importNode(e.content,!0);return t.parentNode.insertBefore(r,t),t.previousElementSibling}(K),Q=function(t){var e=document.getElementById("_loading-template"),r=document.importNode(e.content,!0);return t.appendChild(r),t.lastElementChild}(document.querySelector(".navbar .content"));Y&&function(t,e,r){var n=document.getElementById(e),o=document.importNode(n.content,!0);o.querySelector(".nav-btn").addEventListener("click",r),t.appendChild(o),t.lastElementChild}(J,"_back-template",function(){return window.history.back()});var tt=document.getElementById("_main");(G=tt.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),V).call(G,o),tt.classList.remove("fade-in");var et=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-start"),x.map).call(G,function(t){var e=t.detail;return $(e,{flipType:function(t){return t&&t.classList?t.classList.contains("flip-title")?"title":t.classList.contains("flip-project")?"project":t.getAttribute&&t.getAttribute("data-flip"):null}(e.anchor)})}),T.share).call(G),rt=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-ready"),x.map).call(G,function(t){return t.detail}),T.share).call(G),nt=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-after"),x.map).call(G,function(t){return t.detail}),T.share).call(G),ot=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-progress"),x.map).call(G,function(t){return t.detail}),T.share).call(G),it=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-networkerror"),x.map).call(G,function(t){return t.detail}),T.share).call(G),st=(G=(G=(G=(G=x.map.call(et,function(t){return $(t,{main:document.getElementById("_main")})}),g._do).call(G,function(t){var e=t.type,r=t.main;!window._isDesktop&&window._drawer&&window._drawer.opened&&window._drawer.close(),s(e)&&(r.style.pointerEvents="none",r.style.opacity=0)}),A.exhaustMap).call(G,function(t){var e,r=t.type,n=t.main;return s(r)?(e=(0,N.animate)(n,H,X),S.mapTo).call(e,{main:n}):y.of.call(p.Observable,{main:n})}),g._do).call(G,function(t){var e=t.main;N.empty.call(e),window.scroll(window.pageXOffset,0)}),T.share).call(G);i.call(ot,function(){Q.style.display="block"}),i.call(rt,function(t){var e,r=c(t.replaceEls,1)[0];Q.style.display="none",r.classList.remove("fade-in"),(e=r.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),V).call(e,o),r.style.pointerEvents="none"});var at=(G=(G=M.switchMap.call(nt,function(t){var e,r=t.type,n=c(t.replaceEls,1)[0],o=t.flipType;return s(r)?(e=(0,N.animate)(n,W,X),S.mapTo).call(e,{main:n,flipType:o}):y.of.call(p.Observable,{main:n,flipType:o})}),g._do).call(G,function(t){t.main.style.pointerEvents=""}),T.share).call(G),ct=(G=(0,L.default)(et,rt,b.merge.call(p.Observable,at,it),{animationMain:Z,settings:X}),T.share).call(G);(G=(G=x.map.call(et,function(t){var e=(0,N.getResolvablePromise)();return t.waitUntil(e),e}),M.switchMap).call(G,function(t){var e;return(e=m.timer.call(p.Observable,B),C.zipProto).call(e,st,ct,function(){return t})}),i).call(G,function(t){return t.resolve()}),i.call(st),i.call(ct);var ut=new R.default(600);if((G=(G=(G=(G=M.switchMap.call(nt,function(t){var e,r=c(t.replaceEls,1)[0];return(e=(e=ut.fetchImage(r),C.zipProto).call(e,at,function(t){return t}),P.takeUntil).call(e,et)}),k.startWith).call(G,[document.querySelector(".sidebar-bg")]),E.pairwise).call(G),O.mergeMap).call(G,function(t){var e=c(t,2),r=e[0],n=e[1];return ut.fade(r,n)}),i).call(G),(G=(G=(G=g._do.call(at,F.default),w.filter).call(G,function(){return!!window.ga}),_.debounceTime).call(G,500),i).call(G,function(){window.ga("set","page",window.location.pathname),window.ga("send","pageview")}),i.call(it,function(t){var e,r=t.url;Q.style.display="none",(e=Z.querySelector(".page"),N.empty).call(e);var n=document.getElementById("_main");N.empty.call(n),n.style.pointerEvents="",n.style.opacity="",function(t,e){var r=e.pathname,n=document.getElementById("_error-template"),o=document.importNode(n.content,!0),i=o.querySelector(".this-link");i&&(i.href=r,i.textContent=r),t.appendChild(o),t.lastElementChild}(n,r)}),N.isSafari&&!navigator.standalone){var lt;(lt=(lt=d.fromEvent.call(p.Observable,window,"popstate"),w.filter).call(lt,function(){return window.history.state&&window.history.state["hy-push-state"]&&!window.history.state["hy-push-state"].hash}),i).call(lt,function(){var t=window.history.state["hy-push-state"].scrollHeight;document.body.style.minHeight=t+"px"}),(lt=(lt=b.merge.call(p.Observable,nt,ot,it),j.observeOn).call(lt,h.animationFrame),i).call(lt,function(){document.body.style.minHeight=""})}window._pushState="customElements"in window?function(t){return t.setAttribute("replace-ids",D),t.setAttribute("link-selector",U),t.setAttribute("duration",B),a()&&t.setAttribute("scroll-restoration",""),t.setAttribute("_href-regex",z),t.setAttribute("_script-selector",q),customElements.define("hy-push-state",f.HTMLPushStateElement),t}(K):function(t){return new l.PushState(t,{replaceIds:D.split(","),linkSelector:U,duration:B,scrollRestoration:a(),_hrefRegex:z,_scriptSelector:q})}(K)}},{"./common":4,"./cross-fader":6,"./flip":8,"./katex":12,"core-js/fn/array/for-each":22,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"core-js/fn/string/includes":33,"hy-push-state/src/common":135,"hy-push-state/src/vanilla":138,"hy-push-state/src/webcomponent":139,"rxjs/Observable":144,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/of":174,"rxjs/observable/timer":175,"rxjs/operator/catch":176,"rxjs/operator/debounceTime":178,"rxjs/operator/do":180,"rxjs/operator/exhaustMap":181,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/mergeMap":187,"rxjs/operator/observeOn":188,"rxjs/operator/pairwise":189,"rxjs/operator/share":193,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/takeUntil":198,"rxjs/operator/zip":202,"rxjs/scheduler/animationFrame":239}],14:[function(t,e,r){"use strict";var n=[],o=function(t,e){var r=document.head||document.getElementsByTagName("head")[0],o=n[n.length-1];if(e=e||{},e.insertAt=e.insertAt||"bottom","top"===e.insertAt)o?o.nextSibling?r.insertBefore(t,o.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),n.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}};e.exports={createLink:function(t,e){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("link");n.href=t,n.rel="stylesheet";for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];n.setAttribute("data-"+o,i)}r.appendChild(n)},createStyle:function(t,e,r){r=r||{};var n=document.createElement("style");n.type="text/css";for(var i in e)if(e.hasOwnProperty(i)){var s=e[i];n.setAttribute("data-"+i,s)}n.sheet?(n.innerHTML=t,n.sheet.cssText=t,o(n,{insertAt:r.insertAt})):n.styleSheet?(o(n,{insertAt:r.insertAt}),n.styleSheet.cssText=t):(n.appendChild(document.createTextNode(t)),o(n,{insertAt:r.insertAt}))}}},{}],15:[function(t,e,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],16:[function(t,e,r){function n(t,e,r){return Math.min(Math.max(e,t),r)}function o(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var i=t("color-name"),s=t("simple-swizzle"),a={};for(var c in i)i.hasOwnProperty(c)&&(a[i[c]]=c);var u=e.exports={to:{}};u.get=function(t){var e,r;switch(t.substring(0,3).toLowerCase()){case"hsl":e=u.get.hsl(t),r="hsl";break;case"hwb":e=u.get.hwb(t),r="hwb";break;default:e=u.get.rgb(t),r="rgb"}return e?{model:r,value:e}:null},u.get.rgb=function(t){if(!t)return null;var e,r,o,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=e[2],e=e[1],r=0;r<3;r++){var a=2*r;s[r]=parseInt(e.slice(a,a+2),16)}o&&(s[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(e=e[1])[3],r=0;r<3;r++)s[r]=parseInt(e[r]+e[r],16);o&&(s[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)s[r]=parseInt(e[r+1],0);e[4]&&(s[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(s=i[e[1]])?(s[3]=1,s):null:null;for(r=0;r<3;r++)s[r]=Math.round(2.55*parseFloat(e[r+1]));e[4]&&(s[3]=parseFloat(e[4]))}for(r=0;r<3;r++)s[r]=n(s[r],0,255);return s[3]=n(s[3],0,1),s},u.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},u.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},u.to.hex=function(){var t=s(arguments);return"#"+o(t[0])+o(t[1])+o(t[2])+(t[3]<1?o(Math.round(255*t[3])):"")},u.to.rgb=function(){var t=s(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},u.to.rgb.percent=function(){var t=s(arguments),e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+n+"%)":"rgba("+e+"%, "+r+"%, "+n+"%, "+t[3]+")"},u.to.hsl=function(){var t=s(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},u.to.hwb=function(){var t=s(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},u.to.keyword=function(t){return a[t.slice(0,3)]}},{"color-name":15,"simple-swizzle":265}],17:[function(t,e,r){"use strict";function n(t,e){if(!(this instanceof n))return new n(t,e);if(e&&e in f&&(e=null),e&&!(e in u))throw new Error("Unknown model: "+e);var r,o;if(t)if(t instanceof n)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var i=c.get(t);if(null===i)throw new Error("Unable to parse color from string: "+t);this.model=i.model,o=u[this.model].channels,this.color=i.value.slice(0,o),this.valpha="number"==typeof i.value[o]?i.value[o]:1}else if(t.length){this.model=e||"rgb",o=u[this.model].channels;var s=l.call(t,0,o);this.color=a(s,o),this.valpha="number"==typeof t[o]?t[o]:1}else if("number"==typeof t)t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var d=Object.keys(t);"alpha"in t&&(d.splice(d.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var b=d.sort().join("");if(!(b in p))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=p[b];var y=u[this.model].labels,m=[];for(r=0;r<y.length;r++)m.push(t[y[r]]);this.color=a(m)}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(h[this.model])for(o=u[this.model].channels,r=0;r<o;r++){var v=h[this.model][r];v&&(this.color[r]=v(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function o(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function i(t,e,r){return(t=Array.isArray(t)?t:[t]).forEach(function(t){(h[t]||(h[t]=[]))[e]=r}),t=t[0],function(n){var o;return arguments.length?(r&&(n=r(n)),o=this[t](),o.color[e]=n,o):(o=this[t]().color[e],r&&(o=r(o)),o)}}function s(t){return function(e){return Math.max(0,Math.min(t,e))}}function a(t,e){for(var r=0;r<e;r++)"number"!=typeof t[r]&&(t[r]=0);return t}var c=t("color-string"),u=t("color-convert"),l=[].slice,f=["keyword","gray","hex"],p={};Object.keys(u).forEach(function(t){p[l.call(u[t].labels).sort().join("")]=t});var h={};n.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in c.to?this:this.rgb(),r=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return c.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return c.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=u[this.model].channels,r=u[this.model].labels,n=0;n<e;n++)t[r[n]]=this.color[n];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new n(this.color.map(o(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new n(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:i("rgb",0,s(255)),green:i("rgb",1,s(255)),blue:i("rgb",2,s(255)),hue:i(["hsl","hsv","hsl","hwb","hcg"],0,function(t){return(t%360+360)%360}),saturationl:i("hsl",1,s(100)),lightness:i("hsl",2,s(100)),saturationv:i("hsv",1,s(100)),value:i("hsv",2,s(100)),chroma:i("hcg",1,s(100)),gray:i("hcg",2,s(100)),white:i("hwb",1,s(100)),wblack:i("hwb",2,s(100)),cyan:i("cmyk",0,s(100)),magenta:i("cmyk",1,s(100)),yellow:i("cmyk",2,s(100)),black:i("cmyk",3,s(100)),x:i("xyz",0,s(100)),y:i("xyz",1,s(100)),z:i("xyz",2,s(100)),l:i("lab",0,s(100)),a:i("lab",1),b:i("lab",2),keyword:function(t){return arguments.length?new n(t):u[this.model].keyword(this.color)},hex:function(t){return arguments.length?new n(t):c.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity:function(){for(var t=this.rgb().color,e=[],r=0;r<t.length;r++){var n=t[r]/255;e[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return n.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),r=e.color[0];return r=(r+t)%360,r=r<0?360+r:r,e.color[0]=r,e},mix:function(t,e){var r=t.rgb(),o=this.rgb(),i=void 0===e?.5:e,s=2*i-1,a=r.alpha()-o.alpha(),c=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,u=1-c;return n.rgb(c*r.red()+u*o.red(),c*r.green()+u*o.green(),c*r.blue()+u*o.blue(),r.alpha()*i+o.alpha()*(1-i))}},Object.keys(u).forEach(function(t){if(-1===f.indexOf(t)){var e=u[t].channels;n.prototype[t]=function(){if(this.model===t)return new n(this);if(arguments.length)return new n(arguments,t);var r="number"==typeof arguments[e]?e:this.valpha;return new n(function(t){return Array.isArray(t)?t:[t]}(u[this.model][t].raw(this.color)).concat(r),t)},n[t]=function(r){return"number"==typeof r&&(r=a(l.call(arguments),e)),new n(r,t)}}}),e.exports=n},{"color-convert":19,"color-string":16}],18:[function(t,e,r){function n(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var o=t("color-name"),i={};for(var s in o)o.hasOwnProperty(s)&&(i[o[s]]=s);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var u=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:u}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(t){var e,r,n,o=t[0]/255,i=t[1]/255,s=t[2]/255,a=Math.min(o,i,s),c=Math.max(o,i,s),u=c-a;return c===a?e=0:o===c?e=(i-s)/u:i===c?e=2+(s-o)/u:s===c&&(e=4+(o-i)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+c)/2,r=c===a?0:n<=.5?u/(c+a):u/(2-c-a),[e,100*r,100*n]},a.rgb.hsv=function(t){var e,r,n,o=t[0],i=t[1],s=t[2],a=Math.min(o,i,s),c=Math.max(o,i,s),u=c-a;return r=0===c?0:u/c*1e3/10,c===a?e=0:o===c?e=(i-s)/u:i===c?e=2+(s-o)/u:s===c&&(e=4+(o-i)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=c/255*1e3/10,[e,r,n]},a.rgb.hwb=function(t){var e=t[0],r=t[1],n=t[2],o=a.rgb.hsl(t)[0],i=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[o,100*i,100*n]},a.rgb.cmyk=function(t){var e,r,n,o,i=t[0]/255,s=t[1]/255,a=t[2]/255;return o=Math.min(1-i,1-s,1-a),e=(1-i-o)/(1-o)||0,r=(1-s-o)/(1-o)||0,n=(1-a-o)/(1-o)||0,[100*e,100*r,100*n,100*o]},a.rgb.keyword=function(t){var e=i[t];if(e)return e;var r,s=1/0;for(var a in o)if(o.hasOwnProperty(a)){var c=n(t,o[a]);c<s&&(s=c,r=a)}return r},a.keyword.rgb=function(t){return o[t]},a.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*r+.0722*n),100*(.0193*e+.1192*r+.9505*n)]},a.rgb.lab=function(t){var e,r,n,o=a.rgb.xyz(t),i=o[0],s=o[1],c=o[2];return i/=95.047,s/=100,c/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,e=116*s-16,r=500*(i-s),n=200*(s-c),[e,r,n]},a.hsl.rgb=function(t){var e,r,n,o,i,s=t[0]/360,a=t[1]/100,c=t[2]/100;if(0===a)return i=255*c,[i,i,i];e=2*c-(r=c<.5?c*(1+a):c+a-c*a),o=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?e+6*(r-e)*n:2*n<1?r:3*n<2?e+(r-e)*(2/3-n)*6:e,o[u]=255*i;return o},a.hsl.hsv=function(t){var e,r,n=t[0],o=t[1]/100,i=t[2]/100,s=o,a=Math.max(i,.01);return i*=2,o*=i<=1?i:2-i,s*=a<=1?a:2-a,r=(i+o)/2,e=0===i?2*s/(a+s):2*o/(i+o),[n,100*e,100*r]},a.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,o=Math.floor(e)%6,i=e-Math.floor(e),s=255*n*(1-r),a=255*n*(1-r*i),c=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,c,s];case 1:return[a,n,s];case 2:return[s,n,c];case 3:return[s,a,n];case 4:return[c,s,n];case 5:return[n,s,a]}},a.hsv.hsl=function(t){var e,r,n,o=t[0],i=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return n=(2-i)*s,e=(2-i)*a,r=i*a,r/=e<=1?e:2-e,r=r||0,n/=2,[o,100*r,100*n]},a.hwb.rgb=function(t){var e,r,n,o,i=t[0]/360,s=t[1]/100,a=t[2]/100,c=s+a;c>1&&(s/=c,a/=c),r=1-a,n=6*i-(e=Math.floor(6*i)),0!=(1&e)&&(n=1-n),o=s+n*(r-s);var u,l,f;switch(e){default:case 6:case 0:u=r,l=o,f=s;break;case 1:u=o,l=r,f=s;break;case 2:u=s,l=r,f=o;break;case 3:u=s,l=o,f=r;break;case 4:u=o,l=s,f=r;break;case 5:u=r,l=s,f=o}return[255*u,255*l,255*f]},a.cmyk.rgb=function(t){var e,r,n,o=t[0]/100,i=t[1]/100,s=t[2]/100,a=t[3]/100;return e=1-Math.min(1,o*(1-a)+a),r=1-Math.min(1,i*(1-a)+a),n=1-Math.min(1,s*(1-a)+a),[255*e,255*r,255*n]},a.xyz.rgb=function(t){var e,r,n,o=t[0]/100,i=t[1]/100,s=t[2]/100;return e=3.2406*o+-1.5372*i+-.4986*s,r=-.9689*o+1.8758*i+.0415*s,n=.0557*o+-.204*i+1.057*s,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,e=Math.min(Math.max(0,e),1),r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),[255*e,255*r,255*n]},a.xyz.lab=function(t){var e,r,n,o=t[0],i=t[1],s=t[2];return o/=95.047,i/=100,s/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*i-16,r=500*(o-i),n=200*(i-s),[e,r,n]},a.lab.xyz=function(t){var e,r,n,o=t[0];e=t[1]/500+(r=(o+16)/116),n=r-t[2]/200;var i=Math.pow(r,3),s=Math.pow(e,3),a=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,e*=95.047,r*=100,n*=108.883,[e,r,n]},a.lab.lch=function(t){var e,r,n,o=t[0],i=t[1],s=t[2];return e=Math.atan2(s,i),(r=360*e/2/Math.PI)<0&&(r+=360),n=Math.sqrt(i*i+s*s),[o,n,r]},a.lch.lab=function(t){var e,r,n,o=t[0],i=t[1];return n=t[2]/360*2*Math.PI,e=i*Math.cos(n),r=i*Math.sin(n),[o,e,r]},a.rgb.ansi16=function(t){var e=t[0],r=t[1],n=t[2],o=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];if(e===r&&r===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var r;return[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var r=e[0];3===e[0].length&&(r=r.split("").map(function(t){return t+t}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(t){var e,r,n=t[0]/255,o=t[1]/255,i=t[2]/255,s=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=s-a;return e=c<1?a/(1-c):0,r=c<=0?0:s===n?(o-i)/c%6:s===o?2+(i-n)/c:4+(n-o)/c+4,r/=6,r%=1,[360*r,100*c,100*e]},a.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1,o=0;return(n=r<.5?2*e*r:2*e*(1-r))<1&&(o=(r-.5*n)/(1-n)),[t[0],100*n,100*o]},a.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},a.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(0===r)return[255*n,255*n,255*n];var o=[0,0,0],i=e%1*6,s=i%1,a=1-s,c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-r)*n,[255*(r*o[0]+c),255*(r*o[1]+c),255*(r*o[2]+c)]},a.hcg.hsv=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e),n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},a.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100*(1-e)+.5*e,n=0;return r>0&&r<.5?n=e/(2*r):r>=.5&&r<1&&(n=e/(2*(1-r))),[t[0],100*n,100*r]},a.hcg.hwb=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e);return[t[0],100*(r-e),100*(1-r)]},a.hwb.hcg=function(t){var e=t[1]/100,r=1-t[2]/100,n=r-e,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},{"color-name":15}],19:[function(t,e,r){var n=t("./conversions"),o=t("./route"),i={};Object.keys(n).forEach(function(t){i[t]={},Object.defineProperty(i[t],"channels",{value:n[t].channels}),Object.defineProperty(i[t],"labels",{value:n[t].labels});var e=o(t);Object.keys(e).forEach(function(r){var n=e[r];i[t][r]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=t(e);if("object"==typeof r)for(var n=r.length,o=0;o<n;o++)r[o]=Math.round(r[o]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(n),i[t][r].raw=function(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(n)})}),e.exports=i},{"./conversions":18,"./route":20}],20:[function(t,e,r){function n(t){var e=function(){for(var t={},e=Object.keys(s),r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),o=Object.keys(s[n]),i=o.length,a=0;a<i;a++){var c=o[a],u=e[c];-1===u.distance&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(c))}return e}function o(t,e){return function(r){return e(t(r))}}function i(t,e){for(var r=[e[t].parent,t],n=s[e[t].parent][t],i=e[t].parent;e[i].parent;)r.unshift(e[i].parent),n=o(s[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}var s=t("./conversions");e.exports=function(t){for(var e=n(t),r={},o=Object.keys(e),s=o.length,a=0;a<s;a++){var c=o[a];null!==e[c].parent&&(r[c]=i(c,e))}return r}},{"./conversions":18}],21:[function(t,e,r){t("../../modules/es6.array.find"),e.exports=t("../../modules/_core").Array.find},{"../../modules/_core":45,"../../modules/es6.array.find":105}],22:[function(t,e,r){t("../../modules/es6.array.for-each"),e.exports=t("../../modules/_core").Array.forEach},{"../../modules/_core":45,"../../modules/es6.array.for-each":106}],23:[function(t,e,r){t("../../modules/es6.string.iterator"),t("../../modules/es6.array.from"),e.exports=t("../../modules/_core").Array.from},{"../../modules/_core":45,"../../modules/es6.array.from":107,"../../modules/es6.string.iterator":117}],24:[function(t,e,r){t("../../modules/es7.array.includes"),e.exports=t("../../modules/_core").Array.includes},{"../../modules/_core":45,"../../modules/es7.array.includes":119}],25:[function(t,e,r){t("../../modules/es6.array.map"),e.exports=t("../../modules/_core").Array.map},{"../../modules/_core":45,"../../modules/es6.array.map":108}],26:[function(t,e,r){t("../../modules/es6.function.bind"),e.exports=t("../../modules/_core").Function.bind},{"../../modules/_core":45,"../../modules/es6.function.bind":109}],27:[function(t,e,r){t("../../modules/es6.number.constructor"),e.exports=Number},{"../../modules/es6.number.constructor":110}],28:[function(t,e,r){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":45,"../../modules/es6.object.assign":111}],29:[function(t,e,r){t("../../modules/es6.object.define-property");var n=t("../../modules/_core").Object;e.exports=function(t,e,r){return n.defineProperty(t,e,r)}},{"../../modules/_core":45,"../../modules/es6.object.define-property":112}],30:[function(t,e,r){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":45,"../../modules/es6.object.keys":113}],31:[function(t,e,r){t("../../modules/es6.object.set-prototype-of"),e.exports=t("../../modules/_core").Object.setPrototypeOf},{"../../modules/_core":45,"../../modules/es6.object.set-prototype-of":114}],32:[function(t,e,r){t("../../modules/es6.reflect.construct"),e.exports=t("../../modules/_core").Reflect.construct},{"../../modules/_core":45,"../../modules/es6.reflect.construct":115}],33:[function(t,e,r){t("../../modules/es6.string.includes"),e.exports=t("../../modules/_core").String.includes},{"../../modules/_core":45,"../../modules/es6.string.includes":116}],34:[function(t,e,r){t("../../modules/es6.string.trim"),e.exports=t("../../modules/_core").String.trim},{"../../modules/_core":45,"../../modules/es6.string.trim":118}],35:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],36:[function(t,e,r){var n=t("./_wks")("unscopables"),o=Array.prototype;void 0==o[n]&&t("./_hide")(o,n,{}),e.exports=function(t){o[n][t]=!0}},{"./_hide":57,"./_wks":103}],37:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":65}],38:[function(t,e,r){var n=t("./_to-iobject"),o=t("./_to-length"),i=t("./_to-absolute-index");e.exports=function(t){return function(e,r,s){var a,c=n(e),u=o(c.length),l=i(s,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}}},{"./_to-absolute-index":96,"./_to-iobject":98,"./_to-length":99}],39:[function(t,e,r){var n=t("./_ctx"),o=t("./_iobject"),i=t("./_to-object"),s=t("./_to-length"),a=t("./_array-species-create");e.exports=function(t,e){var r=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,h=e||a;return function(e,a,d){for(var b,y,m=i(e),v=o(m),g=n(a,d,3),_=s(v.length),w=0,x=r?h(e,_):c?h(e,0):void 0;_>w;w++)if((p||w in v)&&(b=v[w],y=g(b,w,m),t))if(r)x[w]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:x.push(b)}else if(l)return!1;return f?-1:u||l?l:x}}},{"./_array-species-create":41,"./_ctx":47,"./_iobject":62,"./_to-length":99,"./_to-object":100}],40:[function(t,e,r){var n=t("./_is-object"),o=t("./_is-array"),i=t("./_wks")("species");e.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},{"./_is-array":64,"./_is-object":65,"./_wks":103}],41:[function(t,e,r){var n=t("./_array-species-constructor");e.exports=function(t,e){return new(n(t))(e)}},{"./_array-species-constructor":40}],42:[function(t,e,r){"use strict";var n=t("./_a-function"),o=t("./_is-object"),i=t("./_invoke"),s=[].slice,a={};e.exports=Function.bind||function(t){var e=n(this),r=s.call(arguments,1),c=function(){var n=r.concat(s.call(arguments));return this instanceof c?function(t,e,r){if(!(e in a)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";a[e]=Function("F,a","return new F("+n.join(",")+")")}return a[e](t,r)}(e,n.length,n):i(e,n,t)};return o(e.prototype)&&(c.prototype=e.prototype),c}},{"./_a-function":35,"./_invoke":61,"./_is-object":65}],43:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":44,"./_wks":103}],44:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],45:[function(t,e,r){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},{}],46:[function(t,e,r){"use strict";var n=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},{"./_object-dp":75,"./_property-desc":85}],47:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":35}],48:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],49:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":54}],50:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":55,"./_is-object":65}],51:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],52:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_hide"),s=t("./_redefine"),a=t("./_ctx"),c=function(t,e,r){var u,l,f,p,h=t&c.F,d=t&c.G,b=t&c.S,y=t&c.P,m=t&c.B,v=d?n:b?n[e]||(n[e]={}):(n[e]||{}).prototype,g=d?o:o[e]||(o[e]={}),_=g.prototype||(g.prototype={});d&&(r=e);for(u in r)f=((l=!h&&v&&void 0!==v[u])?v:r)[u],p=m&&l?a(f,n):y&&"function"==typeof f?a(Function.call,f):f,v&&s(v,u,f,t&c.U),g[u]!=f&&i(g,u,p),y&&_[u]!=f&&(_[u]=f)};n.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},{"./_core":45,"./_ctx":47,"./_global":55,"./_hide":57,"./_redefine":86}],53:[function(t,e,r){var n=t("./_wks")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},{"./_wks":103}],54:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],55:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],56:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],57:[function(t,e,r){var n=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":49,"./_object-dp":75,"./_property-desc":85}],58:[function(t,e,r){var n=t("./_global").document;e.exports=n&&n.documentElement},{"./_global":55}],59:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":49,"./_dom-create":50,"./_fails":54}],60:[function(t,e,r){var n=t("./_is-object"),o=t("./_set-proto").set;e.exports=function(t,e,r){var i,s=e.constructor;return s!==r&&"function"==typeof s&&(i=s.prototype)!==r.prototype&&n(i)&&o&&o(t,i),t}},{"./_is-object":65,"./_set-proto":87}],61:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],62:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":44}],63:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":71,"./_wks":103}],64:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":44}],65:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],66:[function(t,e,r){var n=t("./_is-object"),o=t("./_cof"),i=t("./_wks")("match");e.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},{"./_cof":44,"./_is-object":65,"./_wks":103}],67:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},{"./_an-object":37}],68:[function(t,e,r){"use strict";var n=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),s={};t("./_hide")(s,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_hide":57,"./_object-create":74,"./_property-desc":85,"./_set-to-string-tag":88,"./_wks":103}],69:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),s=t("./_hide"),a=t("./_has"),c=t("./_iterators"),u=t("./_iter-create"),l=t("./_set-to-string-tag"),f=t("./_object-gpo"),p=t("./_wks")("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(t,e,r,b,y,m,v){u(r,e,b);var g,_,w,x=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=e+" Iterator",O="values"==y,j=!1,E=t.prototype,T=E[p]||E["@@iterator"]||y&&E[y],k=T||x(y),A=y?O?x("entries"):k:void 0,M="Array"==e?E.entries||T:T;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(l(w,S,!0),n||a(w,p)||s(w,p,d)),O&&T&&"values"!==T.name&&(j=!0,k=function(){return T.call(this)}),n&&!v||!h&&!j&&E[p]||s(E,p,k),c[e]=k,c[S]=d,y)if(g={values:O?k:x("values"),keys:m?k:x("keys"),entries:A},v)for(_ in g)_ in E||i(E,_,g[_]);else o(o.P+o.F*(h||j),e,g);return g}},{"./_export":52,"./_has":56,"./_hide":57,"./_iter-create":68,"./_iterators":71,"./_library":72,"./_object-gpo":80,"./_redefine":86,"./_set-to-string-tag":88,"./_wks":103}],70:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},t(i)}catch(t){}return r}},{"./_wks":103}],71:[function(t,e,r){e.exports={}},{}],72:[function(t,e,r){e.exports=!1},{}],73:[function(t,e,r){"use strict";var n=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie"),s=t("./_to-object"),a=t("./_iobject"),c=Object.assign;e.exports=!c||t("./_fails")(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=c({},t)[r]||Object.keys(c({},e)).join("")!=n})?function(t,e){for(var r=s(t),c=arguments.length,u=1,l=o.f,f=i.f;c>u;)for(var p,h=a(arguments[u++]),d=l?n(h).concat(l(h)):n(h),b=d.length,y=0;b>y;)f.call(h,p=d[y++])&&(r[p]=h[p]);return r}:c},{"./_fails":54,"./_iobject":62,"./_object-gops":79,"./_object-keys":82,"./_object-pie":83,"./_to-object":100}],74:[function(t,e,r){var n=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),s=t("./_shared-key")("IE_PROTO"),a=function(){},c=function(){var e,r=t("./_dom-create")("iframe"),n=i.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",(e=r.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c.prototype[i[n]];return c()};e.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{"./_an-object":37,"./_dom-create":50,"./_enum-bug-keys":51,"./_html":58,"./_object-dps":76,"./_shared-key":89}],75:[function(t,e,r){var n=t("./_an-object"),o=t("./_ie8-dom-define"),i=t("./_to-primitive"),s=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":37,"./_descriptors":49,"./_ie8-dom-define":59,"./_to-primitive":101}],76:[function(t,e,r){var n=t("./_object-dp"),o=t("./_an-object"),i=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var r,s=i(e),a=s.length,c=0;a>c;)n.f(t,r=s[c++],e[r]);return t}},{"./_an-object":37,"./_descriptors":49,"./_object-dp":75,"./_object-keys":82}],77:[function(t,e,r){var n=t("./_object-pie"),o=t("./_property-desc"),i=t("./_to-iobject"),s=t("./_to-primitive"),a=t("./_has"),c=t("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;r.f=t("./_descriptors")?u:function(t,e){if(t=i(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},{"./_descriptors":49,"./_has":56,"./_ie8-dom-define":59,"./_object-pie":83,"./_property-desc":85,"./_to-iobject":98,"./_to-primitive":101}],78:[function(t,e,r){var n=t("./_object-keys-internal"),o=t("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},{"./_enum-bug-keys":51,"./_object-keys-internal":81}],79:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],80:[function(t,e,r){var n=t("./_has"),o=t("./_to-object"),i=t("./_shared-key")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},{"./_has":56,"./_shared-key":89,"./_to-object":100}],81:[function(t,e,r){var n=t("./_has"),o=t("./_to-iobject"),i=t("./_array-includes")(!1),s=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,a=o(t),c=0,u=[];for(r in a)r!=s&&n(a,r)&&u.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~i(u,r)||u.push(r));return u}},{"./_array-includes":38,"./_has":56,"./_shared-key":89,"./_to-iobject":98}],82:[function(t,e,r){var n=t("./_object-keys-internal"),o=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,o)}},{"./_enum-bug-keys":51,"./_object-keys-internal":81}],83:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],84:[function(t,e,r){var n=t("./_export"),o=t("./_core"),i=t("./_fails");e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},{"./_core":45,"./_export":52,"./_fails":54}],85:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],86:[function(t,e,r){var n=t("./_global"),o=t("./_hide"),i=t("./_has"),s=t("./_uid")("src"),a=Function.toString,c=(""+a).split("toString");t("./_core").inspectSource=function(t){return a.call(t)},(e.exports=function(t,e,r,a){var u="function"==typeof r;u&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(u&&(i(r,s)||o(r,s,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},{"./_core":45,"./_global":55,"./_has":56,"./_hide":57,"./_uid":102}],87:[function(t,e,r){var n=t("./_is-object"),o=t("./_an-object"),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,n){try{(n=t("./_ctx")(Function.call,t("./_object-gopd").f(Object.prototype,"__proto__").set,2))(e,[]),r=!(e instanceof Array)}catch(t){r=!0}return function(t,e){return i(t,e),r?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:i}},{"./_an-object":37,"./_ctx":47,"./_is-object":65,"./_object-gopd":77}],88:[function(t,e,r){var n=t("./_object-dp").f,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},{"./_has":56,"./_object-dp":75,"./_wks":103}],89:[function(t,e,r){var n=t("./_shared")("keys"),o=t("./_uid");e.exports=function(t){return n[t]||(n[t]=o(t))}},{"./_shared":90,"./_uid":102}],90:[function(t,e,r){var n=t("./_global"),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(t){return o[t]||(o[t]={})}},{"./_global":55}],91:[function(t,e,r){"use strict";var n=t("./_fails");e.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},{"./_fails":54}],92:[function(t,e,r){var n=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,r){var i,s,a=String(o(e)),c=n(r),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}}},{"./_defined":48,"./_to-integer":97}],93:[function(t,e,r){var n=t("./_is-regexp"),o=t("./_defined");e.exports=function(t,e,r){if(n(e))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},{"./_defined":48,"./_is-regexp":66}],94:[function(t,e,r){var n=t("./_export"),o=t("./_defined"),i=t("./_fails"),s=t("./_string-ws"),a="["+s+"]",c=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),l=function(t,e,r){var o={},a=i(function(){return!!s[t]()||"
"!="
"[t]()}),c=o[t]=a?e(f):s[t];r&&(o[r]=c),n(n.P+n.F*a,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=l},{"./_defined":48,"./_export":52,"./_fails":54,"./_string-ws":95}],95:[function(t,e,r){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],96:[function(t,e,r){var n=t("./_to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},{"./_to-integer":97}],97:[function(t,e,r){var n=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},{}],98:[function(t,e,r){var n=t("./_iobject"),o=t("./_defined");e.exports=function(t){return n(o(t))}},{"./_defined":48,"./_iobject":62}],99:[function(t,e,r){var n=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(n(t),9007199254740991):0}},{"./_to-integer":97}],100:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":48}],101:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":65}],102:[function(t,e,r){var n=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},{}],103:[function(t,e,r){var n=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,s="function"==typeof i;(e.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=n},{"./_global":55,"./_shared":90,"./_uid":102}],104:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},{"./_classof":43,"./_core":45,"./_iterators":71,"./_wks":103}],105:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),n(n.P+n.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("find")},{"./_add-to-unscopables":36,"./_array-methods":39,"./_export":52}],106:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(0),i=t("./_strict-method")([].forEach,!0);n(n.P+n.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},{"./_array-methods":39,"./_export":52,"./_strict-method":91}],107:[function(t,e,r){"use strict";var n=t("./_ctx"),o=t("./_export"),i=t("./_to-object"),s=t("./_iter-call"),a=t("./_is-array-iter"),c=t("./_to-length"),u=t("./_create-property"),l=t("./core.get-iterator-method");o(o.S+o.F*!t("./_iter-detect")(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,f,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,b=d>1?arguments[1]:void 0,y=void 0!==b,m=0,v=l(p);if(y&&(b=n(b,d>2?arguments[2]:void 0,2)),void 0==v||h==Array&&a(v))for(r=new h(e=c(p.length));e>m;m++)u(r,m,y?b(p[m],m):p[m]);else for(f=v.call(p),r=new h;!(o=f.next()).done;m++)u(r,m,y?s(f,b,[o.value,m],!0):o.value);return r.length=m,r}})},{"./_create-property":46,"./_ctx":47,"./_export":52,"./_is-array-iter":63,"./_iter-call":67,"./_iter-detect":70,"./_to-length":99,"./_to-object":100,"./core.get-iterator-method":104}],108:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(1);n(n.P+n.F*!t("./_strict-method")([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},{"./_array-methods":39,"./_export":52,"./_strict-method":91}],109:[function(t,e,r){var n=t("./_export");n(n.P,"Function",{bind:t("./_bind")})},{"./_bind":42,"./_export":52}],110:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_has"),i=t("./_cof"),s=t("./_inherit-if-required"),a=t("./_to-primitive"),c=t("./_fails"),u=t("./_object-gopn").f,l=t("./_object-gopd").f,f=t("./_object-dp").f,p=t("./_string-trim").trim,h=n.Number,d=h,b=h.prototype,y="Number"==i(t("./_object-create")(b)),m="trim"in String.prototype,v=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var r,n,o,i=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if((s=c.charCodeAt(u))<48||s>o)return NaN;return parseInt(c,n)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof h&&(y?c(function(){b.valueOf.call(r)}):"Number"!=i(r))?s(new d(v(e)),r,h):v(e)};for(var g,_=t("./_descriptors")?u(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(d,g=_[w])&&!o(h,g)&&f(h,g,l(d,g));h.prototype=b,b.constructor=h,t("./_redefine")(n,"Number",h)}},{"./_cof":44,"./_descriptors":49,"./_fails":54,"./_global":55,"./_has":56,"./_inherit-if-required":60,"./_object-create":74,"./_object-dp":75,"./_object-gopd":77,"./_object-gopn":78,"./_redefine":86,"./_string-trim":94,"./_to-primitive":101}],111:[function(t,e,r){var n=t("./_export");n(n.S+n.F,"Object",{assign:t("./_object-assign")})},{"./_export":52,"./_object-assign":73}],112:[function(t,e,r){var n=t("./_export");n(n.S+n.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":49,"./_export":52,"./_object-dp":75}],113:[function(t,e,r){var n=t("./_to-object"),o=t("./_object-keys");t("./_object-sap")("keys",function(){return function(t){return o(n(t))}})},{"./_object-keys":82,"./_object-sap":84,"./_to-object":100}],114:[function(t,e,r){var n=t("./_export");n(n.S,"Object",{setPrototypeOf:t("./_set-proto").set})},{"./_export":52,"./_set-proto":87}],115:[function(t,e,r){var n=t("./_export"),o=t("./_object-create"),i=t("./_a-function"),s=t("./_an-object"),a=t("./_is-object"),c=t("./_fails"),u=t("./_bind"),l=(t("./_global").Reflect||{}).construct,f=c(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),p=!c(function(){l(function(){})});n(n.S+n.F*(f||p),"Reflect",{construct:function(t,e){i(t),s(e);var r=arguments.length<3?t:i(arguments[2]);if(p&&!f)return l(t,e,r);if(t==r){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 n=[null];return n.push.apply(n,e),new(u.apply(t,n))}var c=r.prototype,h=o(a(c)?c:Object.prototype),d=Function.apply.call(t,h,e);return a(d)?d:h}})},{"./_a-function":35,"./_an-object":37,"./_bind":42,"./_export":52,"./_fails":54,"./_global":55,"./_is-object":65,"./_object-create":74}],116:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_string-context");n(n.P+n.F*t("./_fails-is-regexp")("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},{"./_export":52,"./_fails-is-regexp":53,"./_string-context":93}],117:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":69,"./_string-at":92}],118:[function(t,e,r){"use strict";t("./_string-trim")("trim",function(t){return function(){return t(this,3)}})},{"./_string-trim":94}],119:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-includes")(!0);n(n.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":36,"./_array-includes":38,"./_export":52}],120:[function(t,e,r){"use strict";e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("Expected a string");return e=void 0===e?"_":e,t.replace(/([a-z\d])([A-Z])/g,"$1"+e+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+e+"$2").toLowerCase()}},{}],121:[function(t,e,r){"use strict";e.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?function(t){return t.dataset}:function(t){function e(){return this.value}function r(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var n={},o=t.attributes,i=0,s=o.length;i<s;i++){var a=o[i];if(a){var c=a.name;if(0===c.indexOf("data-")){var u=c.slice(5).replace(/-./g,function(t){return t.charAt(1).toUpperCase()}),l=a.value;Object.defineProperty(n,u,{enumerable:!0,get:e.bind({value:l||""}),set:r.bind(t,c)})}}}return n}},{}],122:[function(t,e,r){"use strict";e.exports=function(t){if(0===(t=arguments.length>1?Array.from(arguments).map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim()).length)return"";if(1===t.length)return t.toLowerCase();if(/^[a-z0-9]+$/.test(t))return t;return t!==t.toLowerCase()&&(t=function(t){for(var e=!1,r=!1,n=!1,o=0;o<t.length;o++){var i=t[o];e&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.substr(0,o)+"-"+t.substr(o),e=!1,n=r,r=!0,o++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.substr(0,o-1)+"-"+t.substr(o-1),n=r,r=!1,e=!0):(e=i.toLowerCase()===i,n=r,r=i.toUpperCase()===i)}return t}(t)),t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()})}},{}],123:[function(t,e,r){(function(e){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.Set=r.string=r.regex=r.number=r.bool=r.arrayOf=r.array=void 0;var o="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return void 0===t?"undefined":n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":n(t)};r.simpleType=function(t,e,r){return t&&t===i.bool?t(r):t?r?t(r):e:"boolean"==typeof e?(0,i.bool)(r):"number"==typeof e?r?(0,i.number)(r):e:"object"===(void 0===e?"undefined":o(e))&&e?r?(0,i.array)(r):e:"string"==typeof e?r?(0,i.string)(r):e:void 0};var i=t("./types");r.array=i.array,r.arrayOf=i.arrayOf,r.bool=i.bool,r.number=i.number,r.regex=i.regex,r.string=i.string;r.Set=e.Set&&1===new e.Set([1]).size?e.Set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t=t.filter(function(e,r){return r===t.indexOf(e)}),t.size=t.length,t.has=function(e){return t.indexOf(e)>-1},t.add=function(e){return t.has(e)||(t.size++,t.push(e)),t},t.delete=function(e){var r=void 0;return(r=t.has(e))&&(t.size--,delete t[t.indexOf(e)]),r},t.keys=t.values=function(){return t[Symbol.iterator]()},t.clear=function(){for(;t.pop(););t.size=0},t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./types":127}],124:[function(t,e,r){(function(e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(){var t=this,e=this.constructor.sideEffects;Object.keys(this[f]).forEach(function(r){var n=e[r];(function(t,e){var r=this;Object.defineProperty(this,t,{get:function(){return r[f][t]},set:function(n){var o=r[f][t];r[c.sSetState](t,n),e&&e.call(r,n,o)},enumerable:!0,configurable:!0})}).call(t,r,n)})}var i="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};Object.defineProperty(r,"__esModule",{value:!0}),r.COMPONENT_FEATURE_TESTS=void 0;var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();r.componentMixin=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(e){function r(){return n(this,r),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(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)}(r,t),s(r,[{key:c.sSetup,value:function(t,e){var r=this.constructor.defaults;return this[f]=Object.assign({},r,e),o.call(this),this[l]=this[c.sSetupDOM](t),this}},{key:c.sSetupDOM,value:function(t){return t}},{key:c.sGetRoot,value:function(){return this[l]}},{key:c.sGetEl,value:function(){return this[l]}},{key:c.sFire,value:function(t,e){var r=this.constructor.componentName,n=new CustomEvent(r+"-"+t,e);this.el.dispatchEvent(n)}},{key:c.sSetState,value:function(t,e){this[f][t]=e}},{key:"root",get:function(){return this[c.sGetRoot]()}},{key:"el",get:function(){return this[c.sGetEl]()}}]),r}()},t("core-js/fn/array/for-each"),t("core-js/fn/object/assign"),t("core-js/fn/object/define-property"),t("core-js/fn/object/keys");var a=t("./common"),c=t("./symbols"),u=(r.COMPONENT_FEATURE_TESTS=new a.Set(["customevent"]),e.Symbol||function(t){return"_"+t}),l=u("root"),f=u("state"),p=function t(){n(this,t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./common":123,"./symbols":126,"core-js/fn/array/for-each":22,"core-js/fn/object/assign":28,"core-js/fn/object/define-property":29,"core-js/fn/object/keys":30}],125:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=(0,f.default)(t,"-");r&&(b=n),!0===e?this.setAttribute(n,""):!1===e||null===e||void 0===e||"object"===(void 0===e?"undefined":u(e))&&0===e.length?this.removeAttribute(n):e&&"object"===(void 0===e?"undefined":u(e))&&e.length>0&&e.join?this.setAttribute(n,e.join(",")):"string"!=typeof e&&"number"!=typeof e||this.setAttribute(n,e)}function i(){var t="function"==typeof window.HTMLElement?window.HTMLElement:function(){};return Reflect.construct(t,[],this.__proto__.constructor)}var s="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};Object.defineProperty(r,"__esModule",{value:!0}),r.CUSTOM_ELEMENT_FEATURE_TESTS=void 0;var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},u="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":s(t)};r.customElementMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}(r,t),a(r,[{key:"connectedCallback",value:function(){this[h.sSetup]()}},{key:"attributeChangedCallback",value:function(t,e,r){if(b!==t){if(e!==r){var n=this.constructor,o=n.defaults,i=n.types,s=(0,l.default)(t),a=(0,p.simpleType)(i[s],o[s],r);null!=a&&(this[s]=a)}}else b=void 0}},{key:h.sSetup,value:function(){return c(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),h.sSetup,this).call(this,this,function(){var t=this,e=this.constructor,r=e.defaults,n=e.types,o={};return Object.keys(r).forEach(function(e){var i=(0,f.default)(e,"-"),s=t.getAttribute(i),a=(0,p.simpleType)(n[e],r[e],s);null!=a&&(o[e]=a)}),o}.call(this)),function(){var t=this,e=this.constructor.defaults;Object.keys(e).forEach(function(e){return o.call(t,e,t[e])})}.call(this),this}},{key:h.sSetState,value:function(t,e){c(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),h.sSetState,this).call(this,t,e),o.call(this,t,e,!0)}},{key:h.sSetupDOM,value:function(t){var e=this[h.sGetTemplate]();if(e){if("attachShadow"in Element.prototype)return t.attachShadow({mode:"open"}),t.shadowRoot.appendChild(e),t.shadowRoot;throw Error("ShadowDOM API not supported")}return t}},{key:h.sGetEl,value:function(){return this}},{key:h.sGetTemplate,value:function(){var t=this.constructor.componentName;return document.querySelector('link[href$="'+t+'.html"]').import.querySelector("#"+t+"-template").content.cloneNode(!0)}}],[{key:"getObservedAttributes",value:function(){var t=this.defaults;return Object.keys(t).map(function(t){return(0,f.default)(t,"-")})}}]),r}()},r.CustomElement=i,r.fragmentFromString=function(t){return document.createRange().createContextualFragment(t)},t("core-js/fn/array/for-each"),t("core-js/fn/array/map"),t("core-js/fn/number/constructor"),t("core-js/fn/object/keys"),t("core-js/fn/object/set-prototype-of"),t("core-js/fn/reflect/construct"),t("core-js/fn/string/trim");var l=n(t("camelcase")),f=n(t("decamelize")),p=t("./common"),h=t("./symbols"),d=t("./component"),b=(r.CUSTOM_ELEMENT_FEATURE_TESTS=new p.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(d.COMPONENT_FEATURE_TESTS),["template","customelements"])),void 0);Object.setPrototypeOf&&(Object.setPrototypeOf(i.prototype,HTMLElement.prototype),Object.setPrototypeOf(i,HTMLElement))},{"./common":123,"./component":124,"./symbols":126,camelcase:122,"core-js/fn/array/for-each":22,"core-js/fn/array/map":25,"core-js/fn/number/constructor":27,"core-js/fn/object/keys":30,"core-js/fn/object/set-prototype-of":31,"core-js/fn/reflect/construct":32,"core-js/fn/string/trim":34,decamelize:120}],126:[function(t,e,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=t.Symbol||function(t){return"_"+t};r.sSetup=e("setup"),r.sSetupDOM=e("setupDOM"),r.sGetRoot=e("getRoot"),r.sGetEl=e("getElement"),r.sFire=e("fire"),r.sSetState=e("setState"),r.sGetTemplate=e("getTemplate")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],127:[function(t,e,r){"use strict";function n(t){return t.trim().replace(/^\[?(.*?)\]?$/,"$1").split(",").map(function(t){return t.trim()})}Object.defineProperty(r,"__esModule",{value:!0}),r.array=n,r.arrayOf=function(t){return function(e){return n(e).map(t)}},r.string=function(t){return t},r.bool=function(t){return!0===t||"true"===t||!1!==t&&"false"!==t&&null!=t},r.number=function(t){return Number(t)},r.regex=function(t){var e=t.match(/^\/?(.*?)(\/([gimy]*))?$/);return new RegExp(e[1],e[3])},r.oneOf=function(t){return function(e){var r=t.indexOf(e);return r>-1?t[r]:null}}},{}],128:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sSetupDOM=r.sSetup=r.VanillaComponent=void 0;var n=t("./symbols");r.VanillaComponent=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this[n.sSetup](e,r)};r.sSetup=n.sSetup,r.sSetupDOM=n.sSetupDOM},{"./symbols":126}],129:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Set=void 0,r.createTween=function(t,e,r,o,i){return n.Observable.create(function(n){var s=void 0,a=requestAnimationFrame(function c(u){var l=u-(s=s||u);l<o?(n.next(t(l,e,r,o,i)),a=requestAnimationFrame(c)):(n.next(t(o,e,r,o,i)),a=requestAnimationFrame(function(){return n.complete()}))});return function(){a&&cancelAnimationFrame(a)}})},r.easeOutSine=function(t,e,r,n){return r*Math.sin(t/n*(Math.PI/2))+e};var n=t("rxjs/Observable"),o=t("hy-component/src/common");r.Set=o.Set},{"hy-component/src/common":123,"rxjs/Observable":144}],130:[function(t,e,r){(function(e){"use strict";function n(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0===r.length){var o;return(o=(o=I.withLatestFrom.call(this,t),O.filter).call(o,function(t){return p(t,2)[1]}),j.map).call(o,function(t){return p(t,1)[0]})}var i;return(i=(i=I.withLatestFrom.call.apply(I.withLatestFrom,[this,t].concat(r)),O.filter).call(i,function(t){return function(t){return Array.isArray(t)?t:Array.from(t)}(t).slice(1).every(function(t){return t})}),j.map).call(i,function(t){return p(t,1)[0]})}function o(t){var e=this;return N.switchMap.call(t,function(t){return t?e:x.never.call(y.Observable)})}function i(){this[Z].style.willChange="transform",this[J].style.willChange="opacity",this[Z].classList.remove("hy-drawer-opened"),this[d.sFire]("prepare")}function s(){return this.el.id||this.constructor.componentName}function a(t){if(this[J].style.willChange="",this[Z].style.willChange="",t?(this[J].style.pointerEvents="all",this[Z].classList.add("hy-drawer-opened")):(this[J].style.pointerEvents="",this[Z].classList.remove("hy-drawer-opened")),this._backButton){var e=s.call(this),r="#"+e+"--opened";t&&window.location.hash!==r&&window.history.pushState(function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},e,!0),document.title,r),!t&&window.history.state&&window.history.state[s.call(this)]&&""!==window.location.hash&&window.history.back()}this[d.sFire]("transitioned",{detail:t})}function c(){var t,e=this;this[H]=new m.Subject,this[W]=new m.Subject,this[X]=new m.Subject,this[V]=new m.Subject,this[$]=new m.Subject,this[G]=new m.Subject,this[Y]=new m.Subject;(t=(t=_.fromEvent.call(y.Observable,window,"resize",{passive:!0}),M.share).call(t),C.startWith).call(t,{}).subscribe(function(){e.opened&&e[Z].classList.remove("hy-drawer-opened"),e[K]=function(){return-parseFloat(getComputedStyle(this[Z])[this.align])}.call(e),e.opened&&e[Z].classList.add("hy-drawer-opened")});var r=(t=(t=this[X],j.map).call(t,function(t){return!t}),M.share).call(t),c={},u=(t=(t=function(){var t;return(t=this[$],N.switchMap).call(t,function(t){var e,r=(e=(e=_.fromEvent.call(y.Observable,document,"touchstart",{passive:!0}),O.filter).call(e,function(t){return 1===t.touches.length}),j.map).call(e,function(t){return t.touches[0]});if(!t)return r;var n=(e=_.fromEvent.call(y.Observable,document,"mousedown"),S._do).call(e,function(t){return tt(t,{event:t})});return w.merge.call(y.Observable,r,n)})}.call(this),n).call(t,r),M.share).call(t),l=g.defer.call(y.Observable,function(){var t;return(t=c.translateX$,j.map).call(t,function(t){return"left"===e.align?t>0:t<e[K]})}),f=(t=(t=(t=I.withLatestFrom.call(u,l),j.map).call(t,function(t){var r=p(t,2),n=r[0].clientX,o=r[1];return function(t,e){switch(this.align){case"left":return t>this.range[0]&&(e||t<this.range[1]);case"right":return t<window.innerWidth-this.range[0]&&(e||t>window.innerWidth-this.range[1]);default:throw Error()}}.call(e,n,o)}),S._do).call(t,function(t){t&&(e.mouseEvents&&e[Z].classList.add("hy-drawer-grabbing"),i.call(e))}),M.share).call(t),h=(t=(t=function(){var t;return(t=this[$],N.switchMap).call(t,function(t){var e,r=(e=(e=_.fromEvent.call(y.Observable,document,"touchend",{passive:!0}),O.filter).call(e,function(t){return 0===t.touches.length}),j.map).call(e,function(t){return t.changedTouches[0]});if(!t)return r;var n=_.fromEvent.call(y.Observable,document,"mouseup",{passive:!0});return w.merge.call(y.Observable,r,n)})}.call(this),n).call(t,r,f),M.share).call(t),b=(t=(t=function(t,e){var r;return(r=v.combineLatest.call(y.Observable,this[$],this[V]),N.switchMap).call(r,function(r){var n,i=p(r,2),s=i[0],a=i[1],c=(n=_.fromEvent.call(y.Observable,document,"touchmove",{passive:!a}),j.map).call(n,function(t){return tt(t.touches[0],{event:t})});if(!s)return c;var u=(n=(n=_.fromEvent.call(y.Observable,document,"mousemove",{passive:!a}),o).call(n,w.merge.call(y.Observable,E.mapTo.call(t,!0),E.mapTo.call(e,!1))),j.map).call(n,function(t){return tt(t,{event:t})});return w.merge.call(y.Observable,c,u)})}.call(this,u,h),n).call(t,r,f),M.share).call(t),B=(t=(t=(t=(t=function(t,e){var r=this;if(this.threshold){var n;return(n=(n=I.withLatestFrom.call(t,e),P.skipWhile).call(n,function(t){var e=p(t,2),n=e[0],o=n.clientX,i=n.clientY,s=e[1],a=s.clientX,c=s.clientY;return et(c-i)<r.threshold&&et(a-o)<r.threshold}),j.map).call(n,function(t){var e=p(t,2),r=e[0],n=r.clientX,o=r.clientY,i=e[1],s=i.clientX,a=i.clientY;return et(s-n)>=et(a-o)})}var o;return(o=I.withLatestFrom.call(t,e),j.map).call(o,function(t){var e=p(t,2),n=e[0],o=n.clientX,i=n.clientY,s=n.event,a=e[1],c=a.clientX,u=a.clientY,l=et(c-o)>=et(u-i);return r.preventDefault&&l&&s.preventDefault(),l})}.call(this,b,u),R.take).call(t,1),C.startWith).call(t,void 0),k.repeatWhen).call(t,function(){return h}),S._do).call(t,function(t){t&&(e[Q]&&(e[Q].style.overflow="hidden"),e[d.sFire]("slidestart",{detail:e.opened}))});c.translateX$=(t=g.defer.call(y.Observable,function(){var t;return w.merge.call(y.Observable,(t=(t=(t=n.call(b,B),S._do).call(t,function(t){var r=t.event;e.preventDefault&&r.preventDefault()}),I.withLatestFrom).call(t,u,c.startTranslateX$),j.map).call(t,function(t){var r=p(t,3),n=r[0].clientX,o=r[1].clientX,i=r[2];return function(t,e,r){switch(this.align){case"left":var n=r+(t-e);return nt(0,rt(this[K],n));case"right":var o=r+(t-e);return rt(0,nt(-this[K],o));default:throw Error()}}.call(e,n,o,i)}),c.tween$,(t=(t=v.combineLatest.call(y.Observable,e[H],e[W]),S._do).call(t,function(t){var r=p(t,1)[0];return a.call(e,r)}),j.map).call(t,function(t){var r=p(t,2),n=r[0],o=r[1];return n?e[K]*("left"===o?1:-1):0}))}),M.share).call(t),c.startTranslateX$=(t=c.translateX$,A.sample).call(t,u);var ot=(t=(t=(t=(t=(t=c.translateX$,L.timestamp).call(t),T.pairwise).call(t),O.filter).call(t,function(t){var e=p(t,2),r=e[0].timestamp;return e[1].timestamp-r>0}),j.map).call(t,function(t){var e=p(t,2),r=e[0],n=r.value,o=r.timestamp,i=e[1];return(i.value-n)/(i.timestamp-o)}),C.startWith).call(t,0),it=(t=(t=(t=(t=S._do.call(h,function(){e[Z].classList.remove("hy-drawer-grabbing")}),I.withLatestFrom).call(t,u,c.translateX$,ot),O.filter).call(t,function(t){var e=p(t,3),r=e[0].clientX,n=e[1].clientX,o=e[2];return r!==n||o>0&&o<this[K]}.bind(this)),j.map).call(t,function(t){var e=p(t,4),r=e[2],n=e[3];switch(this.align){case"left":return n>z||!(n<-z)&&r>=this[K]/2;case"right":return-n>z||!(-n<-z)&&r<=-this[K]/2;default:throw Error()}}.bind(this)),S._do).call(t,function(t){return e[d.sFire]("slideend",{detail:t})}),st=w.merge.call(y.Observable,it,(t=this[Y],S._do).call(t,i.bind(this)));if(c.tween$=(t=(t=S._do.call(st,function(t){e[d.sSetState]("opened",t),e[Q]&&!t&&(e[Q].style.overflow="")}),I.withLatestFrom).call(t,c.translateX$),N.switchMap).call(t,function(t){var r,n=p(t,2),o=n[0],i=n[1],s="left"===e.align?1:-1,a=(o?e[K]*s:0)-i,c=U+e[K]*q;return(r=(r=(r=(0,D.createTween)(D.easeOutSine,i,a,c),S._do).call(r,{complete:function(){return e[H].next(o)}}),F.takeUntil).call(r,u),F.takeUntil).call(r,e[W])}),c.translateX$.subscribe(function(t){var e="left"===this.align?1:-1,r=t/this[K]*e;this[Z].style.transform="translateX("+t+"px)",this[J].style.opacity=r,this[d.sFire]("move",{detail:r})}.bind(this)),_.fromEvent.call(y.Observable,this[J],"click").subscribe(function(){return e.close()}),r.subscribe(function(t){e[J].style.display=t?"block":"none"}),this[W].subscribe(function(t){var r="left"===t?"right":"left";e[Z].classList.remove("hy-drawer-"+r),e[Z].classList.add("hy-drawer-"+t)}),(t=_.fromEvent.call(y.Observable,window,"popstate"),o).call(t,this[G]).subscribe(function(){var t="#"+s.call(e)+"--opened",r=window.location.hash===t;r!==e.opened&&e[Y].next(r)}),(t=this[$],N.switchMap).call(t,function(t){return t?e[Z].classList.add("hy-drawer-grab"):e[Z].classList.remove("hy-drawer-grab"),t?I.withLatestFrom.call(u,f):x.never.call(y.Observable)}).subscribe(function(t){var e=p(t,2),r=e[0].event;e[1]&&r&&r.preventDefault()}),this._backButton){var at="#"+s.call(this)+"--opened";window.location.hash===at&&this[d.sSetState]("opened",!0)}this[H].next(this.opened),this[W].next(this.align),this[X].next(this.persistent),this[V].next(this.preventDefault),this[$].next(this.mouseEvents),this[G].next(this._backButton)}var u="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};Object.defineProperty(r,"__esModule",{value:!0}),r.sSetupDOM=r.sSetup=r.MIXIN_FEATURE_TESTS=void 0;var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},p=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.drawerMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":u(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":u(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)}(r,(0,h.componentMixin)(t)),l(r,[{key:d.sSetup,value:function(t,e){return f(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),d.sSetup,this).call(this,t,e),this[J]=this.root.querySelector(".hy-drawer-scrim"),this[Z]=this.root.querySelector(".hy-drawer-content"),this._hideOverflow&&(this[Q]=document.querySelector(this._hideOverflow)),this[Z].classList.add("hy-drawer-"+this.align),c.call(this),this[d.sFire]("init",{detail:this.opened}),this}},{key:"open",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!0:this[Y].next(!0)}},{key:"close",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!1:this[Y].next(!1)}},{key:"toggle",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!this.opened:this[Y].next(!this.opened)}}],[{key:"componentName",get:function(){return"hy-drawer"}},{key:"defaults",get:function(){return{opened:!1,align:"left",persistent:!1,range:[0,100],threshold:10,preventDefault:!1,mouseEvents:!1,_backButton:!1,_hideOverflow:null}}},{key:"types",get:function(){return{opened:b.bool,align:(0,b.oneOf)(["left","right"]),persistent:b.bool,range:(0,b.arrayOf)(b.number),threshold:b.number,preventDefault:b.bool,mouseEvents:b.bool,_backButton:b.bool,_hideOverflow:b.string}}},{key:"sideEffects",get:function(){return{opened:function(t){this[H].next(t)},align:function(t){this[W].next(t)},persistent:function(t){this[X].next(t)},preventDefault:function(t){this[V].next(t)},mouseEvents:function(t){this[$].next(t)},_backButton:function(t){this[G].next(t)},_hideOverflow:function(t){this[Q]&&(this[Q].style.overflow=""),this[Q]=document.querySelector(t)}}}}]),r}()},t("core-js/fn/array/from"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign");var h=t("hy-component/src/component"),d=t("hy-component/src/symbols"),b=t("hy-component/src/types"),y=t("rxjs/Observable"),m=t("rxjs/Subject"),v=t("rxjs/observable/combineLatest"),g=t("rxjs/observable/defer"),_=t("rxjs/observable/fromEvent"),w=t("rxjs/observable/merge"),x=t("rxjs/observable/never"),S=t("rxjs/operator/do"),O=t("rxjs/operator/filter"),j=t("rxjs/operator/map"),E=t("rxjs/operator/mapTo"),T=t("rxjs/operator/pairwise"),k=t("rxjs/operator/repeatWhen"),A=t("rxjs/operator/sample"),M=t("rxjs/operator/share"),P=t("rxjs/operator/skipWhile"),C=t("rxjs/operator/startWith"),N=t("rxjs/operator/switchMap"),R=t("rxjs/operator/take"),F=t("rxjs/operator/takeUntil"),L=t("rxjs/operator/timestamp"),I=t("rxjs/operator/withLatestFrom"),D=t("../common");r.MIXIN_FEATURE_TESTS=new D.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(h.COMPONENT_FEATURE_TESTS),["eventlistener","queryselector","requestanimationframe","classlist","opacity","csstransforms","csspointerevents"]));r.sSetup=d.sSetup,r.sSetupDOM=d.sSetupDOM;var U=200,q=.15,z=.15,B=e.Symbol||function(t){return"_"+t},H=B("openedObservable"),W=B("alignObservable"),X=B("persistentObservable"),V=B("preventDefaultObservable"),$=B("mouseEventsObservable"),G=B("backButtonObservable"),Y=B("animateToObservable"),K=B("drawerWidth"),J=B("scrimElement"),Z=B("contentElement"),Q=B("scrollElement"),tt=Object.assign.bind(Object),et=Math.abs.bind(Math),rt=Math.min.bind(Math),nt=Math.max.bind(Math)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":129,"core-js/fn/array/from":23,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"hy-component/src/component":124,"hy-component/src/symbols":126,"hy-component/src/types":127,"rxjs/Observable":144,"rxjs/Subject":148,"rxjs/observable/combineLatest":164,"rxjs/observable/defer":166,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/never":173,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/pairwise":189,"rxjs/operator/repeatWhen":191,"rxjs/operator/sample":192,"rxjs/operator/share":193,"rxjs/operator/skipWhile":194,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/takeUntil":198,"rxjs/operator/timestamp":199,"rxjs/operator/withLatestFrom":201}],131:[function(t,e,r){var n="@media screen {\n .hy-drawer-scrim {\n position: fixed;\n bottom: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n z-index: 2;\n opacity: 0;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.5);\n transform: translateX(0);\n -webkit-tap-highlight-color: transparent;\n }\n\n .hy-drawer-content {\n position: fixed;\n bottom: 0;\n height: 100vh;\n z-index: 3;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translateX(0);\n width: 300px;\n background: #e8e8e8;\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);\n contain: strict;\n -webkit-overflow-scrolling: touch;\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: -300px;\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: -300px;\n }\n\n .hy-drawer-content.hy-drawer-left.hy-drawer-opened {\n left: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-content.hy-drawer-right.hy-drawer-opened {\n right: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n }\n\n .hy-drawer-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n }\n}\n@media print {\n .hy-drawer-scrim {\n display: none!important;\n }\n\n .hy-drawer-content {\n transform: none!important;\n }\n}\n";t("browserify-css").createStyle(n,{href:"node_modules/hy-drawer/src/style.css"},{insertAt:"bottom"}),e.exports=n},{"browserify-css":14}],132:[function(t,e,r){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.Drawer=r.VANILLA_FEATURE_TESTS=void 0;var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var i=t("hy-component/src/vanilla"),s=t("hy-component/src/symbols"),a=t("../common"),c=t("../mixin");t("../style.css");r.VANILLA_FEATURE_TESTS=new a.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(c.MIXIN_FEATURE_TESTS),["classlist"])),r.Drawer=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":n(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":n(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)}(e,(0,c.drawerMixin)(i.VanillaComponent)),o(e,[{key:s.sSetupDOM,value:function(t){if(!t)throw Error("No element provided");var e=document.createElement("div"),r=document.createElement("div");for(e.classList.add("hy-drawer-scrim"),r.classList.add("hy-drawer-content");t.children.length>0;)r.appendChild(t.children[0]);return t.appendChild(e),t.appendChild(r),t}}]),e}()},{"../common":129,"../mixin":130,"../style.css":131,"core-js/fn/array/from":23,"hy-component/src/symbols":126,"hy-component/src/vanilla":128}],133:[function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var o="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};Object.defineProperty(r,"__esModule",{value:!0}),r.HTMLDrawerElement=r.WEBCOMPONENT_FEATURE_TESTS=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var s=t("hy-component/src/custom-element"),a=t("hy-component/src/symbols"),c=t("../common"),u=t("../mixin"),l=function(t){return t&&t.__esModule?t:{default:t}}(t("./template.html"));r.WEBCOMPONENT_FEATURE_TESTS=new c.Set([].concat(n(s.CUSTOM_ELEMENT_FEATURE_TESTS),n(u.MIXIN_FEATURE_TESTS))),r.HTMLDrawerElement=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":o(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)}(e,(0,s.customElementMixin)((0,u.drawerMixin)(s.CustomElement))),i(e,[{key:a.sGetTemplate,value:function(){return(0,s.fragmentFromString)(l.default)}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}()},{"../common":129,"../mixin":130,"./template.html":134,"core-js/fn/array/from":23,"hy-component/src/custom-element":125,"hy-component/src/symbols":126}],134:[function(t,e,r){e.exports='<div class="hy-drawer-scrim"></div>\n<div class="hy-drawer-content">\n <slot></slot>\n</div>\n\n<style>\n /* HACK: Hard-coded: ../style.css */\n @media screen {\n .hy-drawer-scrim {\n position: fixed;\n bottom: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n z-index: 2;\n opacity: 0;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.5);\n transform: translateX(0);\n -webkit-tap-highlight-color: transparent;\n }\n\n .hy-drawer-content {\n position: fixed;\n bottom: 0;\n height: 100vh;\n z-index: 3;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translateX(0);\n width: 300px;\n background: #e8e8e8;\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);\n contain: strict;\n -webkit-overflow-scrolling: touch;\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: -300px;\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: -300px;\n }\n\n .hy-drawer-content.hy-drawer-left.hy-drawer-opened {\n left: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-content.hy-drawer-right.hy-drawer-opened {\n right: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n }\n\n .hy-drawer-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n }\n }\n\n @media print {\n .hy-drawer-scrim {\n display: none!important;\n }\n\n .hy-drawer-content {\n transform: none!important;\n }\n }\n\n /* HACK: Hard-coded ./style.css */\n @media screen {\n :host {\n\n }\n\n .hy-drawer-content {\n @apply --hy-drawer-content-container;\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, #e8e8e8);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: var(--hy-drawer-z-index, 3);\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: calc(-1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)));\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: calc(-1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)));\n }\n\n .hy-drawer-scrim {\n @apply --hy-drawer-scrim-container;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-scrim-z-index, 2);\n }\n }\n</style>\n'},{}],135:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.matches=r.Set=void 0,r.matchesAncestors=function(t){for(var e=this;e!==document&&e!==document.documentElement;){var r;if((r=e,o).call(r,t))return e;e=e.parentNode}return null},r.isExternal=function(t){var e=t.protocol,r=t.host;return e!==window.location.protocol||r!==window.location.host},r.isHash=function(t){var e=t.hash,r=t.origin,n=t.pathname;return""!==e&&r===window.location.origin&&n===window.location.pathname},r.getScrollHeight=function(){var t=document.documentElement,e=document.body,r="scrollHeight";return t[r]||e[r]},r.getScrollLeft=function(){return window.pageXOffset||document.body.scrollLeft},r.getScrollTop=function(){return window.pageYOffset||document.body.scrollTop},r.fragmentFromString=function(t){return document.createRange().createContextualFragment(t)};var n=t("hy-component/src/common");r.Set=n.Set;var o=r.matches=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector},{"hy-component/src/common":123}],136:[function(t,e,r){(function(e){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){var e=this;return Q.switchMap.call(t,function(t){return t?I.never.call(M.Observable):e})}function i(t,e,r){var n,o=this;return(n=o,z._catch).call(n,function(t,e){return e}).subscribe(t,e,r)}function s(t,e){return t&&""===t.target&&(!e||-1!==t.href.search(e))}function a(){return this.el.id||this.constructor.componentName}function c(t){if(t){var e=document.getElementById(t.substr(1));e&&e.scrollIntoView()}else window.scroll(window.pageXOffset,0)}function u(){var t=a.call(this),e=window.history.state&&window.history.state[t]||{};null!=e.scrollTop?(document.body.style.minHeight=e.scrollHeight,window.scroll(window.pageXOffset,e.scrollTop)):e.hash&&c(window.location.hash)}function l(t){var e=t.type,r=t.replace,o=t.url,i=o.href,s=o.hash;if(e===ut||e===at){var c=a.call(this),u=r||i===window.location.href?"replaceState":"pushState";window.history[u](n({},c,{hash:!!s}),"",i)}}function f(){var t=function(t){var e=a.call(this);return mt(t,n({},e,mt(t[e]||{},{scrollTop:(0,st.getScrollTop)(),scrollHeight:(0,st.getScrollHeight)()})))}.call(this,window.history.state||{});window.history.replaceState(t,document.title,window.location)}function p(t){var e,r=this;return(e=(e=q.ajax.call(M.Observable,function(t){return{method:"GET",responseType:"text",url:t.url}}(t)),V.map).call(e,function(e){var r=e.response;return mt(t,{response:r})}),z._catch).call(e,function(e){return function(t,e){var r=e.status,n=e.xhr;return n&&n.response&&r>400?D.of.call(M.Observable,mt(t,{response:n.response})):D.of.call(M.Observable,mt(t,{error:e}))}.call(r,t,e)})}function h(t,e){var r,n=E(e,2),o=n[0],i=n[1];return(r=(r=function(t,e,r){return t.url.href===e.url.href&&null==e.error?D.of.call(M.Observable,e):tt.take.call(r,1)}(o,i,t),V.map).call(r,function(t){return mt(t,o)}),ot.zipProto).call(r,this[pt],function(t){return t})}function d(t){var e,r=E(t,2),n=r[0],o=r[1],i=document.write;return document.write=function(){for(var t,e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=document.createElement("noscript");i.innerHTML=r.join(),(t=i.childNodes,bt).call(t,function(t){o.parentNode.insertBefore(t,o)})},""!==n.src?M.Observable.create(function(t){n.addEventListener("load",function(e){document.write=i,t.complete(e)}),n.addEventListener("error",function(e){document.write=i,t.error(e)}),o.parentNode.insertBefore(n,o.nextElementSibling)}):(e=D.of.call(M.Observable,{}),B._do).call(e,function(){o.parentNode.insertBefore(n,o.nextElementSibling),document.write=i})}function b(t){return(t.querySelector("title")||{}).textContent}function y(t){if(this.replaceIds.length>0)return this.replaceIds.map(function(e){return t.getElementById(e)});var e=void 0;if(this.el.id)e=t.getElementById(this.el.id);else{var r,n=(r=document.getElementsByTagName(this.el.tagName),yt).call(r,this.el);e=t.querySelectorAll(this.el.tagName)[n]}return[e]}function m(t){var e=t.response,r=(0,st.fragmentFromString)(e),n=b.call(this,r),o=y.call(this,r);if(o.some(function(t){return null==t}))throw mt(t,{relaceElMissing:!0});var i=this._scriptSelector?function(t){var e=this,r=[];return t.forEach(function(t){var n;return(n=t.querySelectorAll(e._scriptSelector),bt).call(n,function(t){var e=[t,t.previousElementSibling];t.parentNode.removeChild(t),r.push(e)})}),r}.call(this,o):[];return mt(t,{title:n,replaceEls:o,scripts:i})}function v(t){this.replaceIds.length>0?function(t){this.replaceIds.map(function(t){return document.getElementById(t)}).forEach(function(e,r){e.parentNode.replaceChild(t[r],e)})}.call(this,t):function(t){var e=E(t,1)[0];this.el.innerHTML=e.innerHTML}.call(this,t)}function g(t){this[k.sFire]("load",{detail:t})}function _(t,e){return t.url.href===e.url.href&&t.error===e.error&&t.cacheNr===e.cacheNr}function w(t){var e=E(t,2),r=e[0].url.pathname,n=e[1],o=n.url,i=o.pathname,s=o.hash,a=n.type;return i===r&&(a===lt||a===ut&&""!==s)}function x(){var t,e=this,r=new P.Subject,b=new P.Subject;this[ht]=new P.Subject;var y={},x=(t=(t=X.filter.call(r,function(t){var e=t.metaKey,r=t.ctrlKey,n=t.currentTarget;return!e&&!r&&s(n,this._hrefRegex)&&!(0,st.isExternal)(n)}.bind(this)),V.map).call(t,function(t){return{type:ut,url:new it.URL(t.currentTarget.href),anchor:t.currentTarget,event:t,cacheNr:vt}}),B._do).call(t,function(t){t.event.preventDefault(),f.call(e)}),S=(t=(t=F.fromEvent.call(M.Observable,window,"popstate"),X.filter).call(t,function(){return window.history.state&&window.history.state[a.call(e)]}),V.map).call(t,function(t){return{type:lt,url:new it.URL(window.location),event:t,cacheNr:vt}}),O=(t=(t=(t=(t=L.merge.call(M.Observable,x,S,this[ht]),Z.startWith).call(t,{url:new it.URL(window.location)}),K.pairwise).call(t),J.share).call(t),Y.partition).call(t,w).map(function(t){var e;return(e=V.map.call(t,function(t){return E(t,2)[1]}),J.share).call(e)}),j=E(O,2),T=j[0],A=j[1],I=(t=(t=N.defer.call(M.Observable,function(){var t;return L.merge.call(M.Observable,$.mapTo.call(A,!0),(t=y.fetch$,$.mapTo).call(t,!1))}),Z.startWith).call(t,!1),J.share).call(t),D=(t=(t=o.call(b,I),X.filter).call(t,function(t){var e=t.currentTarget;return s(e,this._hrefRegex)&&!(0,st.isExternal)(e)&&!(0,st.isHash)(e)}.bind(this)),V.map).call(t,function(t){return{type:ct,url:new it.URL(t.currentTarget.href),anchor:t.currentTarget,event:t,cacheNr:vt}}),q=(t=(t=(t=(t=L.merge.call(M.Observable,D,A),W.distinctUntilChanged).call(t,_),Q.switchMap).call(t,p.bind(this)),Z.startWith).call(t,{url:{}}),J.share).call(t);y.fetch$=(t=(t=(t=(t=B._do.call(A,l.bind(this)),B._do).call(t,function(t){var e=this;this[pt]=U.timer.call(M.Observable,this.duration),this[k.sFire]("start",{detail:mt(t,{waitUntil:function(t){e[pt]=t}})})}.bind(this)),nt.withLatestFrom).call(t,q),Q.switchMap).call(t,h.bind(this,q)),J.share).call(t);var tt=(t=y.fetch$,Y.partition).call(t,function(t){return!t.error}),ot=E(tt,2),at=ot[0],ft=ot[1],dt=(t=(t=(t=(t=(t=(t=(t=V.map.call(at,m.bind(this)),G.observeOn).call(t,C.animationFrame),B._do).call(t,function(t){this[k.sFire]("ready",{detail:t})}.bind(this)),B._do).call(t,function(t){try{var e=t.title,r=t.replaceEls,n=t.type;document.title=e,n===ut&&window.history.replaceState(window.history.state,e,window.location),v.call(this,r)}catch(e){throw mt(t,{error:e})}}.bind(this)),B._do).call(t,function(t){this[k.sFire]("after",{detail:t})}.bind(this)),B._do).call(t,function(t){var e=t.type,r=t.url.hash;e===ut&&c(r),e===lt&&this.scrollRestoration&&u.call(this)}.bind(this)),B._do).call(t,{error:function(t){var e=t.relaceElMissing,r=t.url;e?(window.history.back(),setTimeout(function(){document.location.href=r},100)):this[k.sFire]("error",{detail:t})}.bind(this)}),z._catch).call(t,function(t,e){return e});if(this._scriptSelector){var yt;dt=(yt=(yt=(yt=dt,Q.switchMap).call(yt,function(t){var e,r=t.scripts;return(e=(e=(e=R.from.call(M.Observable,r),H.concatMap).call(e,d),z._catch).call(e,function(e){throw mt(t,{error:e})}),rt.toPromise).call(e).then(function(){return t})}.bind(this)),B._do).call(yt,{error:function(t){this[k.sFire]("error",{detail:t})}.bind(this)}),z._catch).call(yt,function(t,e){return e})}if((t=dt,i).call(t,g.bind(this)),i.call(T,function(t){var e=t.type,r=t.url,o=r.hash,i=r.href;if(e===ut){var s=a.call(this),u=mt(window.history.state,n({},s,mt(window.history.state[s],{hash:!0}))),l=n({},s,{hash:!0});window.history.replaceState(u,document.title,window.location.href),window.history.pushState(l,document.title,i)}c(o)}.bind(this)),i.call(ft,function(t){this[k.sFire]("networkerror",{detail:t})}.bind(this)),(t=Q.switchMap.call(A,function(t){var r;return(r=(r=N.defer.call(M.Observable,function(){return e[pt]}),et.takeUntil).call(r,y.fetch$),$.mapTo).call(r,t)}),i).call(t,function(t){this[k.sFire]("progress",{detail:t})}.bind(this)),"MutationObserver"in window&&"Set"in window){var gt,_t=new P.Subject,wt=new st.Set,xt=_t.next.bind(_t),St=r.next.bind(r),Ot=b.next.bind(b),jt=function(t){if(t instanceof Element){var r;(r=t.querySelectorAll(e.linkSelector),bt).call(r,function(t){wt.has(t)||(wt.add(t),t.addEventListener("click",St),t.addEventListener("mouseenter",Ot,{passive:!0}),t.addEventListener("touchstart",Ot,{passive:!0}),t.addEventListener("focus",Ot,{passive:!0}))})}},Et=new MutationObserver(function(t){return bt.call(t,xt)});(gt=o.call(_t,I),i).call(gt,function(t){var r=t.addedNodes,n=t.removedNodes;bt.call(n,function(t){if(t instanceof Element){var r;(r=t.querySelectorAll(e.linkSelector),bt).call(r,function(t){wt.delete(t),t.removeEventListener("click",St),t.removeEventListener("mouseenter",Ot,{passive:!0}),t.removeEventListener("touchstart",Ot,{passive:!0}),t.removeEventListener("focus",Ot,{passive:!0})})}}.bind(e)),bt.call(r,jt.bind(e))}),Et.observe(this.el,{childList:!0,subtree:!0}),jt.call(this,this.el)}else this.el.addEventListener("click",function(t){var n,o=(n=t.target,st.matchesAncestors).call(n,e.linkSelector);o&&o.href&&(t.currentTarget=o,r.next(t))})}var S="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};Object.defineProperty(r,"__esModule",{value:!0}),r.POP=r.PUSH=r.HINT=r.INIT=r.sSetupDOM=r.sSetup=r.MIXIN_FEATURE_TESTS=void 0;var O=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),j=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},E=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.pushStateMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":S(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":S(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)}(r,(0,T.componentMixin)(t)),O(r,[{key:k.sSetup,value:function(t,e){j(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),k.sSetup,this).call(this,t,e),"scrollRestoration"in window.history&&this.scrollRestoration&&(window.history.scrollRestoration="manual"),u.call(this),window.addEventListener("beforeunload",f.bind(this)),x.call(this);var n=new it.URL(window.location);return l.call(this,{type:at,replace:!0,url:n}),this[k.sFire]("init"),g.call(this,{type:at,title:b.call(this,document),replaceEls:y.call(this,document),url:n,cacheNr:vt}),this}},{key:k.sSetupDOM,value:function(t){return t}},{key:"assign",value:function(t){this[ht].next({type:ut,url:new it.URL(t,window.location),cacheNr:++vt})}},{key:"reload",value:function(){this[ht].next({type:ut,url:new it.URL(window.location.href),cacheNr:++vt,replace:!0})}},{key:"replace",value:function(t){this[ht].next({type:ut,url:new it.URL(t,window.location),cacheNr:++vt,replace:!0})}}],[{key:"componentName",get:function(){return"hy-push-state"}},{key:"defaults",get:function(){return{replaceIds:[],linkSelector:"a[href]:not(.no-push-state)",scrollRestoration:!1,duration:0,_hrefRegex:null,_scriptSelector:null}}},{key:"types",get:function(){return{replaceIds:A.array,linkSelector:A.string,scrollRestoration:A.bool,duration:A.number,_hrefRegex:A.regex,_scriptSelector:A.string}}},{key:"sideEffects",get:function(){return{}}}]),r}()},t("core-js/fn/array/for-each"),t("core-js/fn/array/from"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign");var T=t("hy-component/src/component"),k=t("hy-component/src/symbols"),A=t("hy-component/src/types"),M=t("rxjs/Observable"),P=t("rxjs/Subject"),C=t("rxjs/scheduler/animationFrame"),N=t("rxjs/observable/defer"),R=t("rxjs/observable/from"),F=t("rxjs/observable/fromEvent"),L=t("rxjs/observable/merge"),I=t("rxjs/observable/never"),D=t("rxjs/observable/of"),U=t("rxjs/observable/timer"),q=t("rxjs/observable/dom/ajax"),z=t("rxjs/operator/catch"),B=t("rxjs/operator/do"),H=t("rxjs/operator/concatMap"),W=t("rxjs/operator/distinctUntilChanged"),X=t("rxjs/operator/filter"),V=t("rxjs/operator/map"),$=t("rxjs/operator/mapTo"),G=t("rxjs/operator/observeOn"),Y=t("rxjs/operator/partition"),K=t("rxjs/operator/pairwise"),J=t("rxjs/operator/share"),Z=t("rxjs/operator/startWith"),Q=t("rxjs/operator/switchMap"),tt=t("rxjs/operator/take"),et=t("rxjs/operator/takeUntil"),rt=t("rxjs/operator/toPromise"),nt=t("rxjs/operator/withLatestFrom"),ot=t("rxjs/operator/zip"),it=t("../url"),st=t("../common");r.MIXIN_FEATURE_TESTS=new st.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(T.COMPONENT_FEATURE_TESTS),["documentfragment","eventlistener","history","promises","queryselector","requestanimationframe"]));r.sSetup=k.sSetup,r.sSetupDOM=k.sSetupDOM;var at=r.INIT="init",ct=r.HINT="hint",ut=r.PUSH="push",lt=r.POP="pop",ft=e.Symbol||function(t){return"_"+t},pt=ft("animPromise"),ht=ft("reloadObservable"),dt=Array.prototype,bt=dt.forEach,yt=dt.indexOf,mt=Object.assign.bind(Object);DocumentFragment.prototype.getElementById=DocumentFragment.prototype.getElementById||function(t){return this.querySelector("#"+t)};var vt=1}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":135,"../url":137,"core-js/fn/array/for-each":22,"core-js/fn/array/from":23,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"hy-component/src/component":124,"hy-component/src/symbols":126,"hy-component/src/types":127,"rxjs/Observable":144,"rxjs/Subject":148,"rxjs/observable/defer":166,"rxjs/observable/dom/ajax":168,"rxjs/observable/from":170,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/never":173,"rxjs/observable/of":174,"rxjs/observable/timer":175,"rxjs/operator/catch":176,"rxjs/operator/concatMap":177,"rxjs/operator/distinctUntilChanged":179,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/observeOn":188,"rxjs/operator/pairwise":189,"rxjs/operator/partition":190,"rxjs/operator/share":193,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/takeUntil":198,"rxjs/operator/toPromise":200,"rxjs/operator/withLatestFrom":201,"rxjs/operator/zip":202,"rxjs/scheduler/animationFrame":239}],137:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=r.URL=window.URL;if(!(n&&n.prototype&&"href"in n.prototype)){r.URL=n=function(t,e){if(!t)throw new TypeError("Invalid argument");var r=document.implementation.createHTMLDocument("");if(e){var n=r.createElement("base");n.href=e,r.head.appendChild(n)}var o=r.createElement("a");if(o.href=t,r.body.appendChild(o),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})},n.prototype={toString:function(){return this.href},get href(){return this._anchorElement.href},set href(t){this._anchorElement.href=t},get protocol(){return this._anchorElement.protocol},set protocol(t){this._anchorElement.protocol=t},get host(){return this._anchorElement.host},set host(t){this._anchorElement.host=t},get hostname(){return this._anchorElement.hostname},set hostname(t){this._anchorElement.hostname=t},get port(){return this._anchorElement.port},set port(t){this._anchorElement.port=t},get pathname(){return this._anchorElement.pathname},set pathname(t){this._anchorElement.pathname=t},get search(){return this._anchorElement.search},set search(t){this._anchorElement.search=t},get hash(){return this._anchorElement.hash},set hash(t){this._anchorElement.hash=t}};var o=window.URL||window.webkitURL||window.mozURL;n.createObjectURL=function(t){return o.createObjectURL.apply(o,arguments)},n.revokeObjectURL=function(t){return o.revokeObjectURL.apply(o,arguments)},Object.defineProperty(n.prototype,"toString",{enumerable:!1})}},{}],138:[function(t,e,r){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.PushState=r.VANILLA_FEATURE_TESTS=void 0,t("core-js/fn/array/from");var o=t("hy-component/src/vanilla"),i=t("../mixin");r.VANILLA_FEATURE_TESTS=i.MIXIN_FEATURE_TESTS,r.PushState=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":n(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":n(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)}(e,(0,i.pushStateMixin)(o.VanillaComponent)),e}()},{"../mixin":136,"core-js/fn/array/from":23,"hy-component/src/vanilla":128}],139:[function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var o="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};Object.defineProperty(r,"__esModule",{value:!0}),r.HTMLPushStateElement=r.WEBCOMPONENT_FEATURE_TESTS=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var s=t("hy-component/src/custom-element"),a=t("hy-component/src/symbols"),c=t("../common"),u=t("../mixin");r.WEBCOMPONENT_FEATURE_TESTS=new c.Set([].concat(n(s.CUSTOM_ELEMENT_FEATURE_TESTS),n(u.MIXIN_FEATURE_TESTS))),r.HTMLPushStateElement=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":o(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)}(e,(0,s.customElementMixin)((0,u.pushStateMixin)(s.CustomElement))),i(e,[{key:a.sGetTemplate,value:function(){return null}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}()},{"../common":135,"../mixin":136,"core-js/fn/array/from":23,"hy-component/src/custom-element":125,"hy-component/src/symbols":126}],140:[function(t,e,r){"use strict";e.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},{}],141:[function(t,e,r){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function s(){b&&h&&(b=!1,h.length?d=h.concat(d):y=-1,d.length&&a())}function a(){if(!b){var t=i(s);b=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,b=!1,function(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var h,d=[],b=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];d.push(new c(t,e)),1!==d.length||b||i(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],142:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r,n){t.call(this),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}return n(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(t("./Subscriber").Subscriber);r.InnerSubscriber=o},{"./Subscriber":150}],143:[function(t,e,r){"use strict";var n=t("./Observable"),o=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();r.Notification=o},{"./Observable":144}],144:[function(t,e,r){"use strict";var n=t("./util/root"),o=t("./util/toSubscriber"),i=t("./symbol/observable"),s=t("./util/pipe"),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=o.toSubscriber(t,e,r);if(n?n.call(i,this.source):i.add(this.source?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var o;o=r.subscribe(function(e){if(o)try{t(e)}catch(t){n(t),o.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var n;e.subscribe(function(t){return n=t},function(t){return r(t)},function(){return t(n)})})},t.create=function(e){return new t(e)},t}();r.Observable=a},{"./symbol/observable":242,"./util/pipe":260,"./util/root":261,"./util/toSubscriber":263}],145:[function(t,e,r){"use strict";r.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},{}],146:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(t("./Subscriber").Subscriber);r.OuterSubscriber=o},{"./Subscriber":150}],147:[function(t,e,r){"use strict";var n=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();r.Scheduler=n},{}],148:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./Observable"),i=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),c=t("./SubjectSubscription"),u=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(i.Subscriber);r.SubjectSubscriber=l;var f=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[u.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),o=0;o<r;o++)n[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),o=0;o<r;o++)n[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new c.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new o.Observable;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.Observable);r.Subject=f;var p=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.Subscription.EMPTY},e}(f);r.AnonymousSubject=p},{"./Observable":144,"./SubjectSubscription":149,"./Subscriber":150,"./Subscription":151,"./symbol/rxSubscriber":243,"./util/ObjectUnsubscribedError":246}],149:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this),this.subject=e,this.subscriber=r,this.closed=!1}return n(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(t("./Subscription").Subscription);r.SubjectSubscription=o},{"./Subscription":151}],150:[function(t,e,r){"use strict";var n="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},o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),c=t("./symbol/rxSubscriber"),u=function(t){function e(r,o,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,o,i)}}return o(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,r,n){var o=new e(t,r,n);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(s.Subscription);r.Subscriber=u;var l=function(t){function e(e,r,n,o){t.call(this),this._parentSubscriber=e;var s,c=this;i.isFunction(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==a.empty&&(c=Object.create(r),i.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=s,this._error=n,this._complete=o}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,r){try{e.call(this._context,r)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},{"./Observer":145,"./Subscription":151,"./symbol/rxSubscriber":243,"./util/isFunction":253}],151:[function(t,e,r){"use strict";function n(t){return t.reduce(function(t,e){return t.concat(e instanceof l.UnsubscriptionError?e.errors:e)},[])}var o="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},i=t("./util/isArray"),s=t("./util/isObject"),a=t("./util/isFunction"),c=t("./util/tryCatch"),u=t("./util/errorObject"),l=t("./util/UnsubscriptionError"),f=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var r=this._parent,o=this._parents,f=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,d=o?o.length:0;r;)r.remove(this),r=++h<d&&o[h]||null;if(a.isFunction(f)){(y=c.tryCatch(f).call(this))===u.errorObject&&(e=!0,t=t||(u.errorObject.e instanceof l.UnsubscriptionError?n(u.errorObject.e.errors):[u.errorObject.e]))}if(i.isArray(p))for(h=-1,d=p.length;++h<d;){var b=p[h];if(s.isObject(b)){var y=c.tryCatch(b.unsubscribe).call(b);if(y===u.errorObject){e=!0,t=t||[];var m=u.errorObject.e;m instanceof l.UnsubscriptionError?t=t.concat(n(m.errors)):t.push(m)}}}if(e)throw new l.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var r=e;switch(void 0===e?"undefined":o(e)){case"function":r=new t(e);case"object":if(r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!=typeof r._addParent){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.prototype._addParent=function(t){var e=this._parent,r=this._parents;e&&e!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();r.Subscription=f},{"./util/UnsubscriptionError":247,"./util/errorObject":248,"./util/isArray":250,"./util/isFunction":253,"./util/isObject":255,"./util/tryCatch":264}],152:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("./ScalarObservable"),s=t("./EmptyObservable"),a=function(t){function e(e,r){t.call(this),this.arrayLike=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){var n=t.length;return 0===n?new s.EmptyObservable:1===n?new i.ScalarObservable(t[0],r):new e(t,r)},e.dispatch=function(t){var e=t.arrayLike,r=t.index,n=t.length,o=t.subscriber;o.closed||(r>=n?o.complete():(o.next(e[r]),t.index=r+1,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.arrayLike,n=this.scheduler,o=r.length;if(n)return n.schedule(e.dispatch,0,{arrayLike:r,index:0,length:o,subscriber:t});for(var i=0;i<o&&!t.closed;i++)t.next(r[i]);t.complete()},e}(o.Observable);r.ArrayLikeObservable=a},{"../Observable":144,"./EmptyObservable":156,"./ScalarObservable":162}],153:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("./ScalarObservable"),s=t("./EmptyObservable"),a=t("../util/isScheduler"),c=function(t){function e(e,r){t.call(this),this.array=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){return new e(t,r)},e.of=function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var o=t.length;return o>1?new e(t,n):1===o?new i.ScalarObservable(t[0],n):new s.EmptyObservable(n)},e.dispatch=function(t){var e=t.array,r=t.index,n=t.count,o=t.subscriber;r>=n?o.complete():(o.next(e[r]),o.closed||(t.index=r+1,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.array,n=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:0,count:n,subscriber:t});for(var i=0;i<n&&!t.closed;i++)t.next(r[i]);t.complete()},e}(o.Observable);r.ArrayObservable=c},{"../Observable":144,"../util/isScheduler":257,"./EmptyObservable":156,"./ScalarObservable":162}],154:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),i=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),c=t("../operators/refCount"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}return n(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.Subscription).add(this.source.subscribe(new f(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return c.refCount()(this)},e}(i.Observable);r.ConnectableObservable=u;var l=u.prototype;r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var f=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.SubjectSubscriber),p=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new p(t,r),o=e.subscribe(n);return n.closed||(n.connection=r.connect()),o}}(),function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(s.Subscriber))},{"../Observable":144,"../Subject":148,"../Subscriber":150,"../Subscription":151,"../operators/refCount":221}],155:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/subscribeToResult"),s=t("../OuterSubscriber"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return n(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new c(t,this.observableFactory)},e}(o.Observable);r.DeferObservable=a;var c=function(t){function e(e,r){t.call(this,e),this.factory=r,this.tryDefer()}return n(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(i.subscribeToResult(this,t))},e}(s.OuterSubscriber)},{"../Observable":144,"../OuterSubscriber":146,"../util/subscribeToResult":262}],156:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e){t.call(this),this.scheduler=e}return n(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(t("../Observable").Observable);r.EmptyObservable=o},{"../Observable":144}],157:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/tryCatch"),s=t("../util/isFunction"),a=t("../util/errorObject"),c=t("../Subscription"),u=Object.prototype.toString,l=function(t){function e(e,r,n,o){t.call(this),this.sourceObj=e,this.eventName=r,this.selector=n,this.options=o}return n(e,t),e.create=function(t,r,n,o){return s.isFunction(n)&&(o=n,n=void 0),new e(t,r,o,n)},e.setupSubscription=function(t,r,n,o,i){var s;if(function(t){return!!t&&"[object NodeList]"===u.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===u.call(t)}(t))for(var a=0,l=t.length;a<l;a++)e.setupSubscription(t[a],r,n,o,i);else if(function(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var f=t;t.addEventListener(r,n,i),s=function(){return f.removeEventListener(r,n)}}else if(function(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var p=t;t.on(r,n),s=function(){return p.off(r,n)}}else{if(!function(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t))throw new TypeError("Invalid event target");var h=t;t.addListener(r,n),s=function(){return h.removeListener(r,n)}}o.add(new c.Subscription(s))},e.prototype._subscribe=function(t){var r=this.sourceObj,n=this.eventName,o=this.options,s=this.selector;e.setupSubscription(r,n,s?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=i.tryCatch(s).apply(void 0,e);n===a.errorObject?t.error(a.errorObject.e):t.next(n)}:function(e){return t.next(e)},t,o)},e}(o.Observable);r.FromEventObservable=l},{"../Observable":144,"../Subscription":151,"../util/errorObject":248,"../util/isFunction":253,"../util/tryCatch":264}],158:[function(t,e,r){"use strict";var n="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},o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/isArray"),s=t("../util/isArrayLike"),a=t("../util/isPromise"),c=t("./PromiseObservable"),u=t("./IteratorObservable"),l=t("./ArrayObservable"),f=t("./ArrayLikeObservable"),p=t("../symbol/iterator"),h=t("../Observable"),d=t("../operators/observeOn"),b=t("../symbol/observable"),y=function(t){function e(e,r){t.call(this,null),this.ish=e,this.scheduler=r}return o(e,t),e.create=function(t,r){if(null!=t){if("function"==typeof t[b.observable])return t instanceof h.Observable&&!r?t:new e(t,r);if(i.isArray(t))return new l.ArrayObservable(t,r);if(a.isPromise(t))return new c.PromiseObservable(t,r);if("function"==typeof t[p.iterator]||"string"==typeof t)return new u.IteratorObservable(t,r);if(s.isArrayLike(t))return new f.ArrayLikeObservable(t,r)}throw new TypeError((null!==t&&(void 0===t?"undefined":n(t))||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,r=this.scheduler;return null==r?e[b.observable]().subscribe(t):e[b.observable]().subscribe(new d.ObserveOnSubscriber(t,r,0))},e}(h.Observable);r.FromObservable=y},{"../Observable":144,"../operators/observeOn":218,"../symbol/iterator":241,"../symbol/observable":242,"../util/isArray":250,"../util/isArrayLike":251,"../util/isPromise":256,"./ArrayLikeObservable":152,"./ArrayObservable":153,"./IteratorObservable":159,"./PromiseObservable":161}],159:[function(t,e,r){"use strict";function n(t){var e=+t.length;return isNaN(e)?0:0!==e&&function(t){return"number"==typeof t&&i.root.isFinite(t)}(e)?(e=function(t){var e=+t;if(0===e)return e;if(isNaN(e))return e;return e<0?-1:1}(e)*Math.floor(Math.abs(e)))<=0?0:e>f?f:e:e}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/root"),s=t("../Observable"),a=t("../symbol/iterator"),c=function(t){function e(e,r){if(t.call(this),this.scheduler=r,null==e)throw new Error("iterator cannot be null.");this.iterator=function(t){var e=t[a.iterator];if(!e&&"string"==typeof t)return new u(t);if(!e&&void 0!==t.length)return new l(t);if(!e)throw new TypeError("object is not iterable");return t[a.iterator]()}(e)}return o(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.index,r=t.hasError,n=t.iterator,o=t.subscriber;if(r)o.error(t.error);else{var i=n.next();i.done?o.complete():(o.next(i.value),t.index=e+1,o.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var r=this.iterator,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var o=r.next();if(o.done){t.complete();break}if(t.next(o.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(s.Observable);r.IteratorObservable=c;var u=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=t.length),this.str=t,this.idx=e,this.len=r}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),l=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=n(t)),this.arr=t,this.idx=e,this.len=r}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),f=Math.pow(2,53)-1},{"../Observable":144,"../symbol/iterator":241,"../util/root":261}],160:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/noop"),s=function(t){function e(){t.call(this)}return n(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){i.noop()},e}(o.Observable);r.NeverObservable=s},{"../Observable":144,"../util/noop":258}],161:[function(t,e,r){"use strict";function n(t){var e=t.value,r=t.subscriber;r.closed||(r.next(e),r.complete())}function o(t){var e=t.err,r=t.subscriber;r.closed||r.error(e)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../util/root"),a=function(t){function e(e,r){t.call(this),this.promise=e,this.scheduler=r}return i(e,t),e.create=function(t,r){return new e(t,r)},e.prototype._subscribe=function(t){var e=this,r=this.promise,i=this.scheduler;if(null==i)this._isScalar?t.closed||(t.next(this.value),t.complete()):r.then(function(r){e.value=r,e._isScalar=!0,t.closed||(t.next(r),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return i.schedule(n,0,{value:this.value,subscriber:t})}else r.then(function(r){e.value=r,e._isScalar=!0,t.closed||t.add(i.schedule(n,0,{value:r,subscriber:t}))},function(e){t.closed||t.add(i.schedule(o,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(t("../Observable").Observable);r.PromiseObservable=a},{"../Observable":144,"../util/root":261}],162:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this),this.value=e,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.done,r=t.value,n=t.subscriber;e?n.complete():(n.next(r),n.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.value,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{done:!1,value:r,subscriber:t});t.next(r),t.closed||t.complete()},e}(t("../Observable").Observable);r.ScalarObservable=o},{"../Observable":144}],163:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/isNumeric"),i=t("../Observable"),s=t("../scheduler/async"),a=t("../util/isScheduler"),c=t("../util/isDate"),u=function(t){function e(e,r,n){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,o.isNumeric(r)?this.period=Number(r)<1&&1||Number(r):a.isScheduler(r)&&(n=r),a.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=c.isDate(e)?+e-this.scheduler.now():e}return n(e,t),e.create=function(t,r,n){return void 0===t&&(t=0),new e(t,r,n)},e.dispatch=function(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}},e.prototype._subscribe=function(t){var r=this.period,n=this.dueTime;return this.scheduler.schedule(e.dispatch,n,{index:0,period:r,subscriber:t})},e}(i.Observable);r.TimerObservable=u},{"../Observable":144,"../scheduler/async":240,"../util/isDate":252,"../util/isNumeric":254,"../util/isScheduler":257}],164:[function(t,e,r){"use strict";var n=t("../util/isScheduler"),o=t("../util/isArray"),i=t("./ArrayObservable"),s=t("../operators/combineLatest");r.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null,a=null;return n.isScheduler(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new i.ArrayObservable(t,a).lift(new s.CombineLatestOperator(r))}},{"../operators/combineLatest":204,"../util/isArray":250,"../util/isScheduler":257,"./ArrayObservable":153}],165:[function(t,e,r){"use strict";var n=t("../util/isScheduler"),o=t("./of"),i=t("./from"),s=t("../operators/concatAll");r.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&n.isScheduler(t[1])?i.from(t[0]):s.concatAll()(o.of.apply(void 0,t))}},{"../operators/concatAll":205,"../util/isScheduler":257,"./from":170,"./of":174}],166:[function(t,e,r){"use strict";var n=t("./DeferObservable");r.defer=n.DeferObservable.create},{"./DeferObservable":155}],167:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=null),new v({method:"GET",url:t,headers:e})}function o(t,e,r){return new v({method:"POST",url:t,body:e,headers:r})}function i(t,e){return new v({method:"DELETE",url:t,headers:e})}function s(t,e,r){return new v({method:"PUT",url:t,body:e,headers:r})}function a(t,e,r){return new v({method:"PATCH",url:t,body:e,headers:r})}function c(t,e){return m(new v({method:"GET",url:t,responseType:"json",headers:e}))}function u(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var l=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},f=t("../../util/root"),p=t("../../util/tryCatch"),h=t("../../util/errorObject"),d=t("../../Observable"),b=t("../../Subscriber"),y=t("../../operators/map");r.ajaxGet=n,r.ajaxPost=o,r.ajaxDelete=i,r.ajaxPut=s,r.ajaxPatch=a;var m=y.map(function(t,e){return t.response});r.ajaxGetJSON=c;var v=function(t){function e(e){t.call(this);var r={async:!0,createXHR:function(){return this.crossDomain?function(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;if(f.root.XDomainRequest)return new f.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}.call(this):function(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(t=e[r],new f.root.ActiveXObject(t))break}catch(t){}return new f.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);this.request=r}return l(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=n,t.post=o,t.delete=i,t.put=s,t.patch=a,t.getJSON=c,t}(),e}(d.Observable);r.AjaxObservable=v;var g=function(t){function e(e,r){t.call(this,e),this.request=r,this.done=!1;var n=r.headers=r.headers||{};r.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in n||f.root.FormData&&r.body instanceof f.root.FormData||void 0===r.body||(n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=this.serializeBody(r.body,r.headers["Content-Type"]),this.send()}return l(e,t),e.prototype.next=function(t){this.done=!0;var e=this.xhr,r=this.request,n=this.destination,o=new _(t,e,r);n.next(o)},e.prototype.send=function(){var t=this.request,e=this.request,r=e.user,n=e.method,o=e.url,i=e.async,s=e.password,a=e.headers,c=e.body,u=t.createXHR,l=p.tryCatch(u).call(t);if(l===h.errorObject)this.error(h.errorObject.e);else{this.xhr=l,this.setupEvents(l,t);if((r?p.tryCatch(l.open).call(l,n,o,i,r,s):p.tryCatch(l.open).call(l,n,o,i))===h.errorObject)return this.error(h.errorObject.e),null;if(i&&(l.timeout=t.timeout,l.responseType=t.responseType),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),this.setHeaders(l,a),(c?p.tryCatch(l.send).call(l,c):p.tryCatch(l.send).call(l))===h.errorObject)return this.error(h.errorObject.e),null}return l},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(f.root.FormData&&t instanceof f.root.FormData)return t;if(e){var r=e.indexOf(";");-1!==r&&(e=e.substring(0,r))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var r in e)e.hasOwnProperty(r)&&t.setRequestHeader(r,e[r])},e.prototype.setupEvents=function(t,e){function r(t){var e=r.subscriber,n=r.progressSubscriber,o=r.request;n&&n.error(t),e.error(new x(this,o))}function n(t){var e=n.subscriber,r=n.progressSubscriber,o=n.request;if(4===this.readyState){var i=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;0===i&&(i=s?200:0),200<=i&&i<300?(r&&r.complete(),e.next(t),e.complete()):(r&&r.error(t),e.error(new w("ajax error "+i,this,o)))}}var o=e.progressSubscriber;if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=o,t.upload&&"withCredentials"in t){if(o){var i;i=function(t){i.progressSubscriber.next(t)},f.root.XDomainRequest?t.onprogress=i:t.upload.onprogress=i,i.progressSubscriber=o}var s;s=function(t){var e=s,r=e.progressSubscriber,n=e.subscriber,o=e.request;r&&r.error(t),n.error(new w("ajax error",this,o))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=o}t.onreadystatechange=n,n.subscriber=this,n.progressSubscriber=o,n.request=e},e.prototype.unsubscribe=function(){var e=this.done,r=this.xhr;!e&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),t.prototype.unsubscribe.call(this)},e}(b.Subscriber);r.AjaxSubscriber=g;var _=function(){return function(t,e,r){this.originalEvent=t,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=u(this.responseType,e)}}();r.AjaxResponse=_;var w=function(t){function e(e,r,n){t.call(this,e),this.message=e,this.xhr=r,this.request=n,this.status=r.status,this.responseType=r.responseType||n.responseType,this.response=u(this.responseType,r)}return l(e,t),e}(Error);r.AjaxError=w;var x=function(t){function e(e,r){t.call(this,"ajax timeout",e,r)}return l(e,t),e}(w);r.AjaxTimeoutError=x},{"../../Observable":144,"../../Subscriber":150,"../../operators/map":212,"../../util/errorObject":248,"../../util/root":261,"../../util/tryCatch":264}],168:[function(t,e,r){"use strict";var n=t("./AjaxObservable");r.ajax=n.AjaxObservable.create},{"./AjaxObservable":167}],169:[function(t,e,r){"use strict";var n=t("./EmptyObservable");r.empty=n.EmptyObservable.create},{"./EmptyObservable":156}],170:[function(t,e,r){"use strict";var n=t("./FromObservable");r.from=n.FromObservable.create},{"./FromObservable":158}],171:[function(t,e,r){"use strict";var n=t("./FromEventObservable");r.fromEvent=n.FromEventObservable.create},{"./FromEventObservable":157}],172:[function(t,e,r){"use strict";var n=t("../operator/merge");r.merge=n.mergeStatic},{"../operator/merge":186}],173:[function(t,e,r){"use strict";var n=t("./NeverObservable");r.never=n.NeverObservable.create},{"./NeverObservable":160}],174:[function(t,e,r){"use strict";var n=t("./ArrayObservable");r.of=n.ArrayObservable.of},{"./ArrayObservable":153}],175:[function(t,e,r){"use strict";var n=t("./TimerObservable");r.timer=n.TimerObservable.create},{"./TimerObservable":163}],176:[function(t,e,r){"use strict";var n=t("../operators/catchError");r._catch=function(t){return n.catchError(t)(this)}},{"../operators/catchError":203}],177:[function(t,e,r){"use strict";var n=t("../operators/concatMap");r.concatMap=function(t,e){return n.concatMap(t,e)(this)}},{"../operators/concatMap":206}],178:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("../operators/debounceTime");r.debounceTime=function(t,e){return void 0===e&&(e=n.async),o.debounceTime(t,e)(this)}},{"../operators/debounceTime":207,"../scheduler/async":240}],179:[function(t,e,r){"use strict";var n=t("../operators/distinctUntilChanged");r.distinctUntilChanged=function(t,e){return n.distinctUntilChanged(t,e)(this)}},{"../operators/distinctUntilChanged":208}],180:[function(t,e,r){"use strict";var n=t("../operators/tap");r._do=function(t,e,r){return n.tap(t,e,r)(this)}},{"../operators/tap":230}],181:[function(t,e,r){"use strict";var n=t("../operators/exhaustMap");r.exhaustMap=function(t,e){return n.exhaustMap(t,e)(this)}},{"../operators/exhaustMap":209}],182:[function(t,e,r){"use strict";var n=t("../operators/filter");r.filter=function(t,e){return n.filter(t,e)(this)}},{"../operators/filter":210}],183:[function(t,e,r){"use strict";var n=t("../operators/finalize");r._finally=function(t){return n.finalize(t)(this)}},{"../operators/finalize":211}],184:[function(t,e,r){"use strict";var n=t("../operators/map");r.map=function(t,e){return n.map(t,e)(this)}},{"../operators/map":212}],185:[function(t,e,r){"use strict";var n=t("../operators/mapTo");r.mapTo=function(t){return n.mapTo(t)(this)}},{"../operators/mapTo":213}],186:[function(t,e,r){"use strict";var n=t("../operators/merge"),o=t("../operators/merge");r.mergeStatic=o.mergeStatic,r.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.merge.apply(void 0,t)(this)}},{"../operators/merge":214}],187:[function(t,e,r){"use strict";var n=t("../operators/mergeMap");r.mergeMap=function(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),n.mergeMap(t,e,r)(this)}},{"../operators/mergeMap":216}],188:[function(t,e,r){"use strict";var n=t("../operators/observeOn");r.observeOn=function(t,e){return void 0===e&&(e=0),n.observeOn(t,e)(this)}},{"../operators/observeOn":218}],189:[function(t,e,r){"use strict";var n=t("../operators/pairwise");r.pairwise=function(){return n.pairwise()(this)}},{"../operators/pairwise":219}],190:[function(t,e,r){"use strict";var n=t("../operators/partition");r.partition=function(t,e){return n.partition(t,e)(this)}},{"../operators/partition":220}],191:[function(t,e,r){"use strict";var n=t("../operators/repeatWhen");r.repeatWhen=function(t){return n.repeatWhen(t)(this)}},{"../operators/repeatWhen":222}],192:[function(t,e,r){"use strict";var n=t("../operators/sample");r.sample=function(t){return n.sample(t)(this)}},{"../operators/sample":223}],193:[function(t,e,r){"use strict";var n=t("../operators/share");r.share=function(){return n.share()(this)}},{"../operators/share":224}],194:[function(t,e,r){"use strict";var n=t("../operators/skipWhile");r.skipWhile=function(t){return n.skipWhile(t)(this)}},{"../operators/skipWhile":225}],195:[function(t,e,r){"use strict";var n=t("../operators/startWith");r.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.startWith.apply(void 0,t)(this)}},{"../operators/startWith":226}],196:[function(t,e,r){"use strict";var n=t("../operators/switchMap");r.switchMap=function(t,e){return n.switchMap(t,e)(this)}},{"../operators/switchMap":227}],197:[function(t,e,r){"use strict";var n=t("../operators/take");r.take=function(t){return n.take(t)(this)}},{"../operators/take":228}],198:[function(t,e,r){"use strict";var n=t("../operators/takeUntil");r.takeUntil=function(t){return n.takeUntil(t)(this)}},{"../operators/takeUntil":229}],199:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("../operators/timestamp");r.timestamp=function(t){return void 0===t&&(t=n.async),o.timestamp(t)(this)}},{"../operators/timestamp":231,"../scheduler/async":240}],200:[function(t,e,r){"use strict";var n=t("../Observable");r.toPromise=n.Observable.prototype.toPromise},{"../Observable":144}],201:[function(t,e,r){"use strict";var n=t("../operators/withLatestFrom");r.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.withLatestFrom.apply(void 0,t)(this)}},{"../operators/withLatestFrom":232}],202:[function(t,e,r){"use strict";var n=t("../operators/zip");r.zipProto=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.zip.apply(void 0,t)(this)}},{"../operators/zip":233}],203:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.catchError=function(t){return function(e){var r=new s(t),n=e.lift(r);return r.caught=n}};var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.selector,this.caught))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.selector=r,this.caught=n}return n(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(i.subscribeToResult(this,r))}},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],204:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../observable/ArrayObservable"),i=t("../util/isArray"),s=t("../OuterSubscriber"),a=t("../util/subscribeToResult"),c={};r.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&i.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(new o.ArrayObservable([e].concat(t)),new u(r))}};var u=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project))},t}();r.CombineLatestOperator=u;var l=function(t){function e(e,r){t.call(this,e),this.project=r,this.active=0,this.values=[],this.observables=[]}return n(e,t),e.prototype._next=function(t){this.values.push(c),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(a.subscribeToResult(this,n,n,r))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){var i=this.values,s=i[r],a=this.toRespond?s===c?--this.toRespond:this.toRespond:0;i[r]=e,0===a&&(this.project?this._tryProject(i):this.destination.next(i.slice()))},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.OuterSubscriber);r.CombineLatestSubscriber=l},{"../OuterSubscriber":146,"../observable/ArrayObservable":153,"../util/isArray":250,"../util/subscribeToResult":262}],205:[function(t,e,r){"use strict";var n=t("./mergeAll");r.concatAll=function(){return n.mergeAll(1)}},{"./mergeAll":215}],206:[function(t,e,r){"use strict";var n=t("./mergeMap");r.concatMap=function(t,e){return n.mergeMap(t,e,1)}},{"./mergeMap":216}],207:[function(t,e,r){"use strict";function n(t){t.debouncedNext()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),s=t("../scheduler/async");r.debounceTime=function(t,e){return void 0===e&&(e=s.async),function(r){return r.lift(new a(t,e))}};var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(n,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(i.Subscriber)},{"../Subscriber":150,"../scheduler/async":240}],208:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../util/tryCatch"),s=t("../util/errorObject");r.distinctUntilChanged=function(t,e){return function(r){return r.lift(new a(t,e))}};var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return n(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=i.tryCatch(this.keySelector)(t))===s.errorObject)return this.destination.error(s.errorObject.e);var r=!1;if(this.hasKey){if((r=i.tryCatch(this.compare)(this.key,e))===s.errorObject)return this.destination.error(s.errorObject.e)}else this.hasKey=!0;!1===Boolean(r)&&(this.key=e,this.destination.next(t))},e}(o.Subscriber)},{"../Subscriber":150,"../util/errorObject":248,"../util/tryCatch":264}],209:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.exhaustMap=function(t,e){return function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return n(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,r=this.destination;try{var n=this.project(t,e);this.hasSubscription=!0,this.add(i.subscribeToResult(this,n,t,e))}catch(t){r.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){var i=this.resultSelector,s=this.destination;i?this.trySelectResult(t,e,r,n):s.next(e)},e.prototype.trySelectResult=function(t,e,r,n){var o=this.resultSelector,i=this.destination;try{var s=o(t,e,r,n);i.next(s)}catch(t){i.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],210:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.filter=function(t,e){return function(r){return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,r,n){t.call(this,e),this.predicate=r,this.thisArg=n,this.count=0}return n(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(o.Subscriber)},{"../Subscriber":150}],211:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../Subscription");r.finalize=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,r){t.call(this,e),this.add(new i.Subscription(r))}return n(e,t),e}(o.Subscriber)},{"../Subscriber":150,"../Subscription":151}],212:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.map=function(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}();r.MapOperator=i;var s=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.count=0,this.thisArg=n||this}return n(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.Subscriber)},{"../Subscriber":150}],213:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.mapTo=function(t){return function(e){return e.lift(new i(t))}};var i=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,r){t.call(this,e),this.value=r}return n(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},{"../Subscriber":150}],214:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,c=t[t.length-1];return a.isScheduler(c)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof c&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:s.mergeAll(r)(new i.ArrayObservable(t,n))}var o=t("../Observable"),i=t("../observable/ArrayObservable"),s=t("./mergeAll"),a=t("../util/isScheduler");r.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(n.apply(void 0,[e].concat(t)))}},r.mergeStatic=n},{"../Observable":144,"../observable/ArrayObservable":153,"../util/isScheduler":257,"./mergeAll":215}],215:[function(t,e,r){"use strict";var n=t("./mergeMap"),o=t("../util/identity");r.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),n.mergeMap(o.identity,null,t)}},{"../util/identity":249,"./mergeMap":216}],216:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/subscribeToResult"),i=t("../OuterSubscriber");r.mergeMap=function(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return"number"==typeof e&&(r=e,e=null),n.lift(new s(t,e,r))}};var s=function(){function t(t,e,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}();r.MergeMapOperator=s;var a=function(t){function e(e,r,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=r,this.resultSelector=n,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){this.add(o.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){this.resultSelector?this._notifyResultSelector(t,e,r,n):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,r,n){var o;try{o=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);r.MergeMapSubscriber=a},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],217:[function(t,e,r){"use strict";var n=t("../observable/ConnectableObservable");r.multicast=function(t,e){return function(r){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new o(i,e));var s=Object.create(r,n.connectableObservableDescriptor);return s.source=r,s.subjectFactory=i,s}};var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),o=r(n).subscribe(t);return o.add(e.subscribe(n)),o},t}();r.MulticastOperator=o},{"../observable/ConnectableObservable":154}],218:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../Notification");r.observeOn=function(t,e){return void 0===e&&(e=0),function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}();r.ObserveOnOperator=s;var a=function(t){function e(e,r,n){void 0===n&&(n=0),t.call(this,e),this.scheduler=r,this.delay=n}return n(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(i.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(i.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(i.Notification.createComplete())},e}(o.Subscriber);r.ObserveOnSubscriber=a;var c=function(){return function(t,e){this.notification=t,this.destination=e}}();r.ObserveOnMessage=c},{"../Notification":143,"../Subscriber":150}],219:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.pairwise=function(){return function(t){return t.lift(new i)}};var i=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return n(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},{"../Subscriber":150}],220:[function(t,e,r){"use strict";var n=t("../util/not"),o=t("./filter");r.partition=function(t,e){return function(r){return[o.filter(t,e)(r),o.filter(n.not(t,e))(r)]}}},{"../util/not":259,"./filter":210}],221:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.refCount=function(){return function(t){return t.lift(new i(t))}};var i=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new s(t,r),o=e.subscribe(n);return n.closed||(n.connection=r.connect()),o},t}(),s=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(o.Subscriber)},{"../Subscriber":150}],222:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),i=t("../util/tryCatch"),s=t("../util/errorObject"),a=t("../OuterSubscriber"),c=t("../util/subscribeToResult");r.repeatWhen=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier,e))},t}(),l=function(t){function e(e,r,n){t.call(this,e),this.notifier=r,this.source=n,this.sourceIsBeingSubscribedTo=!0}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this.notifications,r=this.retries,n=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=e,this.retries=r,this.retriesSubscription=n,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=i.tryCatch(this.notifier)(this.notifications);if(e===s.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(a.OuterSubscriber)},{"../OuterSubscriber":146,"../Subject":148,"../util/errorObject":248,"../util/subscribeToResult":262,"../util/tryCatch":264}],223:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.sample=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var r=new a(t),n=e.subscribe(r);return n.add(i.subscribeToResult(r,this.notifier)),n},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return n(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,r,n,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],224:[function(t,e,r){"use strict";function n(){return new s.Subject}var o=t("./multicast"),i=t("./refCount"),s=t("../Subject");r.share=function(){return function(t){return i.refCount()(o.multicast(n)(t))}}},{"../Subject":148,"./multicast":217,"./refCount":221}],225:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.skipWhile=function(t){return function(e){return e.lift(new i(t))}};var i=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,r){t.call(this,e),this.predicate=r,this.skipping=!0,this.index=0}return n(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},{"../Subscriber":150}],226:[function(t,e,r){"use strict";var n=t("../observable/ArrayObservable"),o=t("../observable/ScalarObservable"),i=t("../observable/EmptyObservable"),s=t("../observable/concat"),a=t("../util/isScheduler");r.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var c=t.length;return 1===c?s.concat(new o.ScalarObservable(t[0],r),e):c>1?s.concat(new n.ArrayObservable(t,r),e):s.concat(new i.EmptyObservable(r),e)}}},{"../observable/ArrayObservable":153,"../observable/EmptyObservable":156,"../observable/ScalarObservable":162,"../observable/concat":165,"../util/isScheduler":257}],227:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.switchMap=function(t,e){return function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.index=0}return n(e,t),e.prototype._next=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=i.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,r,n,o){this.resultSelector?this._tryNotifyNext(t,e,r,n):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,r,n){var o;try{o=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],228:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../util/ArgumentOutOfRangeError"),s=t("../observable/EmptyObservable");r.take=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new i.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,r){t.call(this,e),this.total=r,this.count=0}return n(e,t),e.prototype._next=function(t){var e=this.total,r=++this.count;r<=e&&(this.destination.next(t),r===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},{"../Subscriber":150,"../observable/EmptyObservable":156,"../util/ArgumentOutOfRangeError":245}],229:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.takeUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,r){t.call(this,e),this.notifier=r,this.add(i.subscribeToResult(this,r))}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],230:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.tap=function(t,e,r){return function(n){return n.lift(new i(t,e,r))}};var i=function(){function t(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,r,n,i){t.call(this,e);var s=new o.Subscriber(r,n,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return n(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},{"../Subscriber":150}],231:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("./map");r.timestamp=function(t){return void 0===t&&(t=n.async),o.map(function(e){return new i(e,t.now())})};var i=function(){return function(t,e){this.value=t,this.timestamp=e}}();r.Timestamp=i},{"../scheduler/async":240,"./map":212}],232:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var r;"function"==typeof t[t.length-1]&&(r=t.pop());var n=t;return e.lift(new s(n,r))}};var s=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.observables=r,this.project=n,this.toRespond=[];var o=r.length;this.values=new Array(o);for(s=0;s<o;s++)this.toRespond.push(s);for(var s=0;s<o;s++){var a=r[s];this.add(i.subscribeToResult(this,a,a,s))}}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.values[r]=e;var i=this.toRespond;if(i.length>0){var s=i.indexOf(r);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],233:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new i.ArrayObservable(t).lift(new f(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../observable/ArrayObservable"),s=t("../util/isArray"),a=t("../Subscriber"),c=t("../OuterSubscriber"),u=t("../util/subscribeToResult"),l=t("../symbol/iterator");r.zip=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(n.apply(void 0,[e].concat(t)))}},r.zipStatic=n;var f=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.project))},t}();r.ZipOperator=f;var p=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;s.isArray(t)?e.push(new d(t)):"function"==typeof t[l.iterator]?e.push(new h(t[l.iterator]())):e.push(new b(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0!==e){this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){if("function"==typeof(s=t[n]).hasValue&&!s.hasValue())return}for(var o=!1,i=[],n=0;n<e;n++){var s=t[n],a=s.next();if(s.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.project?this._tryProject(i):r.next(i),o&&r.complete()},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.Subscriber);r.ZipSubscriber=p;var h=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),d=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),b=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[l.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return u.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":146,"../Subscriber":150,"../observable/ArrayObservable":153,"../symbol/iterator":241,"../util/isArray":250,"../util/subscribeToResult":262}],234:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this)}return n(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(t("../Subscription").Subscription);r.Action=o},{"../Subscription":151}],235:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./AsyncAction"),i=t("../util/AnimationFrame"),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r}return n(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=i.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(i.AnimationFrame.cancelAnimationFrame(r),e.scheduled=void 0)},e}(o.AsyncAction);r.AnimationFrameAction=s},{"../util/AnimationFrame":244,"./AsyncAction":237}],236:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,o=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<o&&(t=r.shift()));if(this.active=!1,e){for(;++n<o&&(t=r.shift());)t.unsubscribe();throw e}},e}(t("./AsyncScheduler").AsyncScheduler);r.AnimationFrameScheduler=o},{"./AsyncScheduler":238}],237:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/root"),i=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r,this.pending=!1}return n(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),o.root.setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){return void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(t("./Action").Action);r.AsyncAction=i},{"../util/root":261,"./Action":234}],238:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(t("../Scheduler").Scheduler);r.AsyncScheduler=o},{"../Scheduler":147}],239:[function(t,e,r){"use strict";var n=t("./AnimationFrameAction"),o=t("./AnimationFrameScheduler");r.animationFrame=new o.AnimationFrameScheduler(n.AnimationFrameAction)},{"./AnimationFrameAction":235,"./AnimationFrameScheduler":236}],240:[function(t,e,r){"use strict";var n=t("./AsyncAction"),o=t("./AsyncScheduler");r.async=new o.AsyncScheduler(n.AsyncAction)},{"./AsyncAction":237,"./AsyncScheduler":238}],241:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var o=Object.getOwnPropertyNames(n.prototype),i=0;i<o.length;++i){var s=o[i];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var o=t("../util/root");r.symbolIteratorPonyfill=n,r.iterator=n(o.root),r.$$iterator=r.iterator},{"../util/root":261}],242:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var o=t("../util/root");r.getSymbolObservable=n,r.observable=n(o.root),r.$$observable=r.observable},{"../util/root":261}],243:[function(t,e,r){"use strict";var n=t("../util/root").root.Symbol;r.rxSubscriber="function"==typeof n&&"function"==typeof n.for?n.for("rxSubscriber"):"@@rxSubscriber",r.$$rxSubscriber=r.rxSubscriber},{"../util/root":261}],244:[function(t,e,r){"use strict";var n=t("./root"),o=function(){return function(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}}();r.RequestAnimationFrameDefinition=o,r.AnimationFrame=new o(n.root)},{"./root":261}],245:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);r.ArgumentOutOfRangeError=o},{}],246:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);r.ObjectUnsubscribedError=o},{}],247:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e){t.call(this),this.errors=e;var r=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(e,t),e}(Error);r.UnsubscriptionError=o},{}],248:[function(t,e,r){"use strict";r.errorObject={e:{}}},{}],249:[function(t,e,r){"use strict";r.identity=function(t){return t}},{}],250:[function(t,e,r){"use strict";r.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},{}],251:[function(t,e,r){"use strict";r.isArrayLike=function(t){return t&&"number"==typeof t.length}},{}],252:[function(t,e,r){"use strict";r.isDate=function(t){return t instanceof Date&&!isNaN(+t)}},{}],253:[function(t,e,r){"use strict";r.isFunction=function(t){return"function"==typeof t}},{}],254:[function(t,e,r){"use strict";var n=t("../util/isArray");r.isNumeric=function(t){return!n.isArray(t)&&t-parseFloat(t)+1>=0}},{"../util/isArray":250}],255:[function(t,e,r){"use strict";var n="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};r.isObject=function(t){return null!=t&&"object"===(void 0===t?"undefined":n(t))}},{}],256:[function(t,e,r){"use strict";r.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},{}],257:[function(t,e,r){"use strict";r.isScheduler=function(t){return t&&"function"==typeof t.schedule}},{}],258:[function(t,e,r){"use strict";r.noop=function(){}},{}],259:[function(t,e,r){"use strict";r.not=function(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}},{}],260:[function(t,e,r){"use strict";function n(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:o.noop}var o=t("./noop");r.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n(t)},r.pipeFromArray=n},{"./noop":258}],261:[function(t,e,r){(function(t){"use strict";var e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=e||void 0!==t&&t||n;r.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],262:[function(t,e,r){"use strict";var n=t("./root"),o=t("./isArrayLike"),i=t("./isPromise"),s=t("./isObject"),a=t("../Observable"),c=t("../symbol/iterator"),u=t("../InnerSubscriber"),l=t("../symbol/observable");r.subscribeToResult=function(t,e,r,f){var p=new u.InnerSubscriber(t,r,f);if(p.closed)return null;if(e instanceof a.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):(p.syncErrorThrowable=!0,e.subscribe(p));if(o.isArrayLike(e)){for(var h=0,d=e.length;h<d&&!p.closed;h++)p.next(e[h]);p.closed||p.complete()}else{if(i.isPromise(e))return e.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){n.root.setTimeout(function(){throw t})}),p;if(e&&"function"==typeof e[c.iterator])for(var b=e[c.iterator]();;){var y=b.next();if(y.done){p.complete();break}if(p.next(y.value),p.closed)break}else if(e&&"function"==typeof e[l.observable]){var m=e[l.observable]();if("function"==typeof m.subscribe)return m.subscribe(new u.InnerSubscriber(t,r,f));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v="You provided "+(s.isObject(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(v))}}return null}},{"../InnerSubscriber":142,"../Observable":144,"../symbol/iterator":241,"../symbol/observable":242,"./isArrayLike":251,"./isObject":255,"./isPromise":256,"./root":261}],263:[function(t,e,r){"use strict";var n=t("../Subscriber"),o=t("../symbol/rxSubscriber"),i=t("../Observer");r.toSubscriber=function(t,e,r){if(t){if(t instanceof n.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new n.Subscriber(t,e,r):new n.Subscriber(i.empty)}},{"../Observer":145,"../Subscriber":150,"../symbol/rxSubscriber":243}],264:[function(t,e,r){"use strict";function n(){try{return o.apply(this,arguments)}catch(t){return i.errorObject.e=t,i.errorObject}}var o,i=t("./errorObject");r.tryCatch=function(t){return o=t,n}},{"./errorObject":248}],265:[function(t,e,r){"use strict";var n=t("is-arrayish"),o=Array.prototype.concat,i=Array.prototype.slice,s=e.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var a=t[r];n(a)?e=o.call(e,i.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},{"is-arrayish":140}],266:[function(t,e,r){!function(t,e){var r={},n={};!function(t,e){function r(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=p}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,n,o){var i=new r;return n&&(i.fill="both",i.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(r){if("auto"!=e[r]){if(("number"==typeof i[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==l.indexOf(e[r]))return;if("direction"==r&&-1==f.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;i[r]=e[r]}}):i.duration=e,i}function i(t,e,r,n){return t<0||t>1||r<0||r>1?p:function(o){function i(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(o<=0){var s=0;return t>0?s=e/t:!e&&r>0&&(s=n/r),s*o}if(o>=1){var a=0;return r<1?a=(n-1)/(r-1):1==r&&t<1&&(a=(e-1)/(t-1)),1+a*(o-1)}for(var c=0,u=1;c<u;){var l=(c+u)/2,f=i(t,r,l);if(Math.abs(o-f)<1e-5)return i(e,n,l);f<o?c=l:u=l}return i(e,n,l)}}function s(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function a(t){m||(m=document.createElement("div").style),m.animationTimingFunction="",m.animationTimingFunction=t;var e=m.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function c(t){if("linear"==t)return p;var e=g.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var r=_.exec(t);return r?s(Number(r[1]),{start:h,middle:d,end:b}[r[2]]):y[t]||p}function u(t,e,r){if(null==e)return w;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?x:e>=Math.min(r.delay+t,n)?S:O}var l="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),p=function(t){return t};r.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=c(a(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,d=.5,b=0,y={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":s(1,h),"step-middle":s(1,d),"step-end":s(1,b)},m=null,v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",g=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),_=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,w=0,x=1,S=2,O=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,r){return e=t.numericTimingToObject(e),o(e,r)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,r){var n=u(t,e,r),o=function(t,e,r,n,o){switch(n){case x:return"backwards"==e||"both"==e?0:null;case O:return r-o;case S:return"forwards"==e||"both"==e?t:null;case w:return null}}(t,r.fill,e,n,r.delay);if(null===o)return null;var i=function(t,e,r,n,o){var i=o;return 0===t?e!==x&&(i+=r):i+=n/t,i}(r.duration,n,r.iterations,o,r.iterationStart),s=function(t,e,r,n,o,i){var s=t===1/0?e%1:t%1;return 0!==s||r!==S||0===n||0===o&&0!==i||(s=1),s}(i,r.iterationStart,n,r.iterations,o,r.duration),a=function(t,e,r,n){return t===S&&e===1/0?1/0:1===s?Math.floor(n)-1:Math.floor(n)}(n,r.iterations,0,i),c=function(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var o=a;"alternate-reverse"===t&&(o+=1),n="normal",o!==1/0&&o%2!=0&&(n="reverse")}return"normal"===n?s:1-s}(r.direction);return r._easingFunction(c)},t.calculatePhase=u,t.normalizeEasing=a,t.parseEasingFunction=c}(r),function(t,e){function r(t,e){return t in c?c[t][e]||e:e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o){s.style[t]=e;for(var a in o){var c=o[a],u=s.style[c];n[c]=r(c,u)}}else n[t]=r(t,e)}}function o(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var o,i=n.length,s=0;s<i;s++)o={},o.offset="offset"in t?t.offset:1==i?1:s/(i-1),"easing"in t&&(o.easing=t.easing),"composite"in t&&(o.composite=t.composite),o[r]=n[s],e.push(o)}return e.sort(function(t,e){return t.offset-e.offset}),e}var i={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},s=document.createElementNS("http://www.w3.org/1999/xhtml","div"),a={thin:"1px",medium:"3px",thick:"5px"},c={borderBottomWidth:a,borderLeftWidth:a,borderRightWidth:a,borderTopWidth:a,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:a,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=o,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=o(e));for(var r=e.map(function(e){var r={};for(var o in e){var i=e[o];if("offset"==o){if(null!=i){if(i=Number(i),!isFinite(i))throw new TypeError("Keyframe offsets must be numbers.");if(i<0||i>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;n(o,i,r)}return void 0==r.offset&&(r.offset=null),void 0==r.easing&&(r.easing="linear"),r}),i=!0,s=-1/0,a=0;a<r.length;a++){var c=r[a].offset;if(null!=c){if(c<s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");s=c}else i=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),i||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,o=1;o<t;o++){var i=r[o].offset;if(null!=i){for(var s=1;s<o-e;s++)r[e+s].offset=n+(i-n)*s/(o-e);e=o,n=i}}}(),r}}(r),function(t){var e={};t.isDeprecated=function(t,r,n,o){var i=o?"are":"is",s=new Date,a=new Date(r);return a.setMonth(a.getMonth()+3),!(s<a&&(t in e||console.warn("Web Animations: "+t+" "+i+" deprecated and will stop working on "+a.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,o){var i=o?"are":"is";if(t.isDeprecated(e,r,n,o))throw new Error(e+" "+i+" no longer supported. "+n)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(r){void 0===t[r]&&(e=!0)})),!e)return}!function(t,e,r){e.convertEffectInput=function(r){var n=function(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var o={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(o)}for(var i in e){var s=e[i];if(0!=s[0].offset||1!=s[s.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(r)),o=function(r){var n=[];for(var o in r)for(var i=r[o],s=0;s<i.length-1;s++){var a=s,c=s+1,u=i[a].offset,l=i[c].offset,f=u,p=l;0==s&&(f=-1/0,0==l&&(c=a)),s==i.length-2&&(p=1/0,1==u&&(a=c)),n.push({applyFrom:f,applyTo:p,startOffset:i[a].offset,endOffset:i[c].offset,easingFunction:t.parseEasingFunction(i[a].easing),property:o,interpolation:e.propertyInterpolation(o,i[a].value,i[c].value)})}return n.sort(function(t,e){return t.startOffset-e.startOffset}),n}(n);return function(t,r){if(null!=r)o.filter(function(t){return r>=t.applyFrom&&r<t.applyTo}).forEach(function(n){var o=r-n.startOffset,i=n.endOffset-n.startOffset,s=0==i?0:n.easingFunction(o/i);e.apply(t,n.property,n.interpolation(s))});else for(var i in n)"offset"!=i&&"easing"!=i&&"composite"!=i&&e.clear(t,i)}}}(r,n),function(t,e,r){function n(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function o(t,e,r){i[r]=i[r]||[],i[r].push([t,e])}var i={};e.addPropertiesHandler=function(t,e,r){for(var i=0;i<r.length;i++)o(t,e,n(r[i]))};var s={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(r,o,a){var c=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(c=n(r)),"initial"!=o&&"initial"!=a||("initial"==o&&(o=s[c]),"initial"==a&&(a=s[c]));for(var u=o==a?[]:i[c],l=0;u&&l<u.length;l++){var f=u[l][0](o),p=u[l][0](a);if(void 0!==f&&void 0!==p){var h=u[l][1](f,p);if(h){var d=e.Interpolation.apply(null,h);return function(t){return 0==t?o:1==t?a:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?a:o})}}(r,n),function(t,e,r){e.KeyframeEffect=function(r,n,o,i){var s,a=function(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}(t.normalizeTimingInput(o)),c=e.convertEffectInput(n),u=function(){c(r,s)};return u._update=function(t){return null!==(s=a(t))},u._clear=function(){c(r,null)},u._hasSameTarget=function(t){return r===t},u._target=r,u._totalDuration=a._totalDuration,u._id=i,u}}(r,n),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(i in t||(t[i]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[i])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var r=this._style[e];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function o(t){if(!t._webAnimationsPatchedStyle){var e=new n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var i="_webAnimationsUpdateSvgTransformAttr",s={cssText:1,length:1,parentRule:1},a={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},c={removeProperty:1,setProperty:1};n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,r){this._style[e]=r,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(r)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}};for(var u in a)n.prototype[u]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(u,u in c);for(var l in document.documentElement.style)l in s||l in a||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(l);t.apply=function(e,r,n){o(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(n),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(n),function(t,e){function r(t,e,n){if("number"==typeof t&&"number"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)return n<.5?t:e;if(t.length==e.length){for(var o=[],i=0;i<t.length;i++)o.push(r(t[i],e[i],n));return o}throw"Mismatched interpolation arguments "+t+":"+e}n.Interpolation=function(t,e,n){return function(o){return n(r(t,e,o))}}}(),function(t,e){var r=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var o=0;o<4;o++)for(var i=0;i<4;i++)r[n][o]+=e[n][i]*t[i][o];return r}return function(e,r,n,o,i){for(var s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],a=0;a<4;a++)s[a][3]=i[a];for(a=0;a<3;a++)for(d=0;d<3;d++)s[3][a]+=e[d]*s[d][a];var c=o[0],u=o[1],l=o[2],f=o[3],p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];p[0][0]=1-2*(u*u+l*l),p[0][1]=2*(c*u-l*f),p[0][2]=2*(c*l+u*f),p[1][0]=2*(c*u+l*f),p[1][1]=1-2*(c*c+l*l),p[1][2]=2*(u*l-c*f),p[2][0]=2*(c*l-u*f),p[2][1]=2*(u*l+c*f),p[2][2]=1-2*(c*c+u*u),s=t(s,p);var h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(n[2]&&(h[2][1]=n[2],s=t(s,h)),n[1]&&(h[2][1]=0,h[2][0]=n[0],s=t(s,h)),n[0]&&(h[2][0]=0,h[1][0]=n[0],s=t(s,h)),a=0;a<3;a++)for(var d=0;d<3;d++)s[a][d]*=r[a];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(s)?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();t.composeMatrix=r,t.quat=function(e,r,n){var o=t.dot(e,r),i=[];if(1===(o=function(t,e,r){return Math.max(Math.min(t,r),e)}(o,-1,1)))i=e;else for(var s=Math.acos(o),a=1*Math.sin(n*s)/Math.sqrt(1-o*o),c=0;c<4;c++)i.push(e[c]*(Math.cos(n*s)-o*a)+r[c]*a);return i}}(n),function(t,e,r){t.sequenceNumber=0;e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var r=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=r&&(this.currentTime=r)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()}(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,n),function(t,e,r){function n(t){var e=u;u=[],t<y.currentTime&&(t=y.currentTime),y._animations.sort(o),y._animations=a(t,!0,y._animations)[0],e.forEach(function(e){e[1](t)}),s(),f=void 0}function o(t,e){return t._sequenceNumber-e._sequenceNumber}function i(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(t){t()}),d.length=0}function a(t,r,n){b=!0,h=!1,e.timeline.currentTime=t,p=!1;var o=[],i=[],s=[],a=[];return n.forEach(function(e){e._tick(t,r),e._inEffect?(i.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._needsTick&&(p=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):a.push(e)}),d.push.apply(d,o),d.push.apply(d,i),p&&requestAnimationFrame(function(){}),b=!1,[s,a]}var c=window.requestAnimationFrame,u=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==u.length&&c(n),u.push([e,t]),e},window.cancelAnimationFrame=function(t){u.forEach(function(e){e[0]==t&&(e[1]=function(){})})},i.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var f=void 0,p=!1,h=!1;e.restart=function(){return p||(p=!0,requestAnimationFrame(function(){}),h=!0),h},e.applyDirtiedAnimation=function(t){if(!b){t._markTarget();var r=t._targetAnimations();r.sort(o),a(e.timeline.currentTime,!1,r.slice())[1].forEach(function(t){var e=y._animations.indexOf(t);-1!==e&&y._animations.splice(e,1)}),s()}};var d=[],b=!1,y=new i;e.timeline=y}(r,n),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function o(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function i(t){switch(t.t){case"rotatex":i=o(t.d[0]);return[1,0,0,0,0,Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1];case"rotatey":i=o(t.d[0]);return[Math.cos(i),0,-Math.sin(i),0,0,1,0,0,Math.sin(i),0,Math.cos(i),0,0,0,0,1];case"rotate":case"rotatez":i=o(t.d[0]);return[Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var e=t.d[0],r=t.d[1],n=t.d[2],i=o(t.d[3]),s=e*e+r*r+n*n;if(0===s)e=1,r=0,n=0;else if(1!==s){var a=Math.sqrt(s);e/=a,r/=a,n/=a}var c=Math.sin(i/2),u=c*Math.cos(i/2),l=c*c;return[1-2*(r*r+n*n)*l,2*(e*r*l+n*u),2*(e*n*l-r*u),0,2*(e*r*l-n*u),1-2*(e*e+n*n)*l,2*(r*n*l+e*u),0,2*(e*n*l+r*u),2*(r*n*l-e*u),1-2*(e*e+r*r)*l,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=o(t.d[0]),p=o(t.d[1]);return[1,Math.tan(p),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":i=o(t.d[0]);return[1,0,0,0,Math.tan(i),1,0,0,0,0,1,0,0,0,0,1];case"skewy":i=o(t.d[0]);return[1,Math.tan(i),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,n=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,r=t.d[1].px||0,n=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function s(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(i).reduce(n)}var a=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=n(t);return[t[0]/e,t[1]/e,t[2]/e]}function n(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function o(t,e,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*e[2]]}return function(i){var s=[i.slice(0,4),i.slice(4,8),i.slice(8,12),i.slice(12,16)];if(1!==s[3][3])return null;for(var a=[],c=0;c<4;c++)a.push(s[c].slice());for(c=0;c<3;c++)a[c][3]=0;if(0===t(a))return null;var u,l=[];s[0][3]||s[1][3]||s[2][3]?(l.push(s[0][3]),l.push(s[1][3]),l.push(s[2][3]),l.push(s[3][3]),u=function(t,e){for(var r=[],n=0;n<4;n++){for(var o=0,i=0;i<4;i++)o+=t[i]*e[i][n];r.push(o)}return r}(l,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var r=1/t(e),n=e[0][0],o=e[0][1],i=e[0][2],s=e[1][0],a=e[1][1],c=e[1][2],u=e[2][0],l=e[2][1],f=e[2][2],p=[[(a*f-c*l)*r,(i*l-o*f)*r,(o*c-i*a)*r,0],[(c*u-s*f)*r,(n*f-i*u)*r,(i*s-n*c)*r,0],[(s*l-a*u)*r,(u*o-n*l)*r,(n*a-o*s)*r,0]],h=[],d=0;d<3;d++){for(var b=0,y=0;y<3;y++)b+=e[3][y]*p[y][d];h.push(b)}return h.push(1),p.push(h),p}(a)))):u=[0,0,0,1];var f=s[3].slice(0,3),p=[];p.push(s[0].slice(0,3));var h=[];h.push(n(p[0])),p[0]=e(p[0]);var d=[];p.push(s[1].slice(0,3)),d.push(r(p[0],p[1])),p[1]=o(p[1],p[0],1,-d[0]),h.push(n(p[1])),p[1]=e(p[1]),d[0]/=h[1],p.push(s[2].slice(0,3)),d.push(r(p[0],p[2])),p[2]=o(p[2],p[0],1,-d[1]),d.push(r(p[1],p[2])),p[2]=o(p[2],p[1],1,-d[2]),h.push(n(p[2])),p[2]=e(p[2]),d[1]/=h[2],d[2]/=h[2];var b=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(p[1],p[2]);if(r(p[0],b)<0)for(c=0;c<3;c++)h[c]*=-1,p[c][0]*=-1,p[c][1]*=-1,p[c][2]*=-1;var y,m,v=p[0][0]+p[1][1]+p[2][2]+1;return v>1e-4?(y=.5/Math.sqrt(v),m=[(p[2][1]-p[1][2])*y,(p[0][2]-p[2][0])*y,(p[1][0]-p[0][1])*y,.25/y]):p[0][0]>p[1][1]&&p[0][0]>p[2][2]?(y=2*Math.sqrt(1+p[0][0]-p[1][1]-p[2][2]),m=[.25*y,(p[0][1]+p[1][0])/y,(p[0][2]+p[2][0])/y,(p[2][1]-p[1][2])/y]):p[1][1]>p[2][2]?(y=2*Math.sqrt(1+p[1][1]-p[0][0]-p[2][2]),m=[(p[0][1]+p[1][0])/y,.25*y,(p[1][2]+p[2][1])/y,(p[0][2]-p[2][0])/y]):(y=2*Math.sqrt(1+p[2][2]-p[0][0]-p[1][1]),m=[(p[0][2]+p[2][0])/y,(p[1][2]+p[2][1])/y,.25*y,(p[1][0]-p[0][1])/y]),[f,h,d,m,u]}}();t.dot=r,t.makeMatrixDecomposition=function(t){return[a(s(t))]},t.transformListToMatrix=s}(n),function(t){function e(t,e){var r=t.exec(e);if(r)return r=t.ignoreCase?r[0].toLowerCase():r[0],[r,e.substr(r.length)]}function r(t,e){var r=t(e=e.replace(/^\s*/,""));if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,e,r,n,o){for(var i=[],s=[],a=[],c=function(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return r=t*e/(r+n)}(n.length,o.length),u=0;u<c;u++){var l=e(n[u%n.length],o[u%o.length]);if(!l)return;i.push(l[0]),s.push(l[1]),a.push(l[2])}return[i,s,function(e){var n=e.map(function(t,e){return a[e](t)}).join(r);return t?t(n):n}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=function(t,n,o){t=r.bind(null,t);for(var i=[];;){var s=t(o);if(!s)return[i,o];if(i.push(s[0]),o=s[1],!(s=e(n,o))||""==s[1])return[i,o];o=s[1]}},t.consumeParenthesised=function(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(0==--r&&n++,r<=0))break;var o=t(e.substr(0,n));return void 0==o?void 0:[o,e.substr(n)]},t.ignore=function(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}},t.optional=function(t,e){return function(r){return t(r)||[e,r]}},t.consumeList=function(e,r){for(var n=[],o=0;o<e.length;o++){var i=t.consumeTrimmed(e[o],r);if(!i||""==i[0])return;void 0!==i[0]&&n.push(i[0]),r=i[1]}if(""==r)return n},t.mergeNestedRepeated=n.bind(null,null),t.mergeWrappedNestedRepeated=n,t.mergeList=function(t,e,r){for(var n=[],o=[],i=[],s=0,a=0;a<r.length;a++)if("function"==typeof r[a]){var c=r[a](t[s],e[s++]);n.push(c[0]),o.push(c[1]),i.push(c[2])}else!function(t){n.push(!1),o.push(!1),i.push(function(){return r[t]})}(a);return[n,o,function(t){for(var e="",r=0;r<t.length;r++)e+=i[r](t[r]);return e}]}}(n),function(t){function e(e){var r={inset:!1,lengths:[],color:null},n=t.consumeRepeated(function(e){if(n=t.consumeToken(/^inset/i,e))return r.inset=!0,n;if(n=t.consumeLengthOrPercent(e))return r.lengths.push(n[0]),n;var n;return(n=t.consumeColor(e))?(r.color=n[0],n):void 0},/^/,e);if(n&&n[0].length)return[r,n[1]]}var r=function(e,r,n,o){function i(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var s=[],a=[],c=0;c<n.length||c<o.length;c++){var u=n[c]||i(o[c].inset),l=o[c]||i(n[c].inset);s.push(u),a.push(l)}return t.mergeNestedRepeated(e,r,s,a)}.bind(null,function(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,o=[],i=[[],0],s=[[],0],a=0;a<e.lengths.length;a++){var c=t.mergeDimensions(e.lengths[a],r.lengths[a],2==a);i[0].push(c[0]),s[0].push(c[1]),o.push(c[2])}if(e.color&&r.color){var u=t.mergeColors(e.color,r.color);i[1]=u[0],s[1]=u[1],n=u[2]}return[i,s,function(t){for(var r=e.inset?"inset ":" ",i=0;i<o.length;i++)r+=o[i](t[0][i])+" ";return n&&(r+=n(t[1])),r}]}},", ");t.addPropertiesHandler(function(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]},r,["box-shadow","text-shadow"])}(n),function(t,e){function r(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function o(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function i(t,e){return function(o,i){return[o,i,function(o){return r(n(t,e,o))}]}}function s(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var r=[],n=0;n<e.length;n++){var i=o(e[n]);if(void 0===i)return;r.push(i)}return r}}t.clamp=n,t.addPropertiesHandler(s,function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(r).join(" ")}]},["stroke-dasharray"]),t.addPropertiesHandler(o,i(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(o,i(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(o,function(t,e){if(0!=t)return i(0,1/0)(t,e)},["flex-grow","flex-shrink"]),t.addPropertiesHandler(o,function(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]},["orphans","widows"]),t.addPropertiesHandler(o,function(t,e){return[t,e,Math.round]},["z-index"]),t.parseNumber=o,t.parseNumberList=s,t.mergeNumbers=function(t,e){return[t,e,r]},t.numberToString=r}(n),function(t,e){n.addPropertiesHandler(String,function(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]},["visibility"])}(),function(t,e){function r(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var r=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){function r(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(r(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(n),function(t,e){function r(t){function e(){var e=s.exec(t);i=e?e[0]:void 0}function r(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function n(){for(var t=r();"*"===i||"/"===i;){var n=i;e();var o=r();"*"===n?t*=o:t/=o}return t}function o(){for(var t=n();"+"===i||"-"===i;){var r=i;e();var o=n();"+"===r?t+=o:t-=o}return t}var i,s=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){var n={};e=(e=e.replace(/calc\(/g,"(")).replace(t,function(t){return n[t]=null,"U"+t});for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),s=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],a=0;a<s.length;)s[a].test(i)?(i=i.replace(s[a],"$1"),a=0):a++;if("D"==i){for(var c in n){var u=r(e.replace(new RegExp("U"+c,"g"),"").replace(new RegExp(o,"g"),"*0"));if(!isFinite(u))return;n[c]=u}return n}}}function o(t,e){return i(t,e,!0)}function i(e,r,n){var o,i=[];for(o in e)i.push(o);for(o in r)i.indexOf(o)<0&&i.push(o);return e=i.map(function(t){return e[t]||0}),r=i.map(function(t){return r[t]||0}),[e,r,function(e){var r=e.map(function(r,o){return 1==e.length&&n&&(r=Math.max(r,0)),t.numberToString(r)+i[o]}).join(" + ");return e.length>1?"calc("+r+")":r}]}var s="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",a=n.bind(null,new RegExp(s,"g")),c=n.bind(null,new RegExp(s+"|%","g")),u=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=a,t.parseLengthOrPercent=c,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,c),t.parseAngle=u,t.mergeDimensions=i;var l=t.consumeParenthesised.bind(null,a),f=t.consumeRepeated.bind(void 0,l,/^/),p=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=p;var h=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler(function(t){var e=p(t);if(e&&""==e[1])return e[0]},d,["background-size"]),t.addPropertiesHandler(c,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(c,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var o=t.mergeWrappedNestedRepeated.bind(null,function(t){return"rect("+t+")"},function(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var o=n?e:r;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,r)},", ");t.parseBox=n,t.mergeBoxes=o,t.addPropertiesHandler(n,o,["clip"])}(n),function(t,e){function r(t){return function(e){var r=0;return t.map(function(t){return t===u?e[r++]:t})}}function n(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;r=n.exec(e);){if(r.index!=i)return;i=r.index+r[0].length;var s=r[1],a=p[s];if(!a)return;var c=r[2].split(","),u=a[0];if(u.length<c.length)return;for(var h=[],d=0;d<u.length;d++){var b,y=c[d],m=u[d];if(void 0===(b=y?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[m.toUpperCase()](y):{a:f,n:h[0],t:l}[m]))return;h.push(b)}if(o.push({t:s,d:h}),n.lastIndex==e.length)return o}}function i(t){return t.toFixed(6).replace(".000000","")}function s(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var o=t.makeMatrixDecomposition(r)}return null==n[0]||null==o[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),o[0].push(1),[n,o,function(e){var r=t.quat(n[0][3],o[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(i).join(",")}])}function a(t){return t.replace(/[xy]/,"")}function c(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var u=null,l={px:0},f={deg:0},p={matrix:["NNNNNN",[u,u,0,0,u,u,0,0,0,0,1,0,u,u,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([u,u,1]),n],scalex:["N",r([u,1,1]),r([u,1])],scaley:["N",r([1,u,1]),r([1,u])],scalez:["N",r([1,1,u])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([u,f])],skewy:["A",null,r([f,u])],translate:["Tt",r([u,u,l]),n],translatex:["T",r([u,l,l]),r([u,l])],translatey:["T",r([l,u,l]),r([l,u])],translatez:["L",r([l,l,u])],translate3d:["TTL",n]};t.addPropertiesHandler(o,function(e,r){var n=t.makeMatrixDecomposition&&!0,o=!1;if(!e.length||!r.length)for(e.length||(o=!0,e=r,r=[]),y=0;y<e.length;y++){var i=e[y].t,u=e[y].d,l="scale"==i.substr(0,5)?1:0;r.push({t:i,d:u.map(function(t){if("number"==typeof t)return l;var e={};for(var r in t)e[r]=l;return e})})}var f=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},h=[],d=[],b=[];if(e.length!=r.length){if(!n)return;h=[(T=s(e,r))[0]],d=[T[1]],b=[["matrix",[T[2]]]]}else for(var y=0;y<e.length;y++){var m=e[y].t,v=r[y].t,g=e[y].d,_=r[y].d,w=p[m],x=p[v];if(f(m,v)){if(!n)return;T=s([e[y]],[r[y]]),h.push(T[0]),d.push(T[1]),b.push(["matrix",[T[2]]])}else{if(m==v)i=m;else if(w[2]&&x[2]&&a(m)==a(v))i=a(m),g=w[2](g),_=x[2](_);else{if(!w[1]||!x[1]||c(m)!=c(v)){if(!n)return;h=[(T=s(e,r))[0]],d=[T[1]],b=[["matrix",[T[2]]]];break}i=c(m),g=w[1](g),_=x[1](_)}for(var S=[],O=[],j=[],E=0;E<g.length;E++){var T=("number"==typeof g[E]?t.mergeNumbers:t.mergeDimensions)(g[E],_[E]);S[E]=T[0],O[E]=T[1],j.push(T[2])}h.push(S),d.push(O),b.push([i,j])}}if(o){var k=h;h=d,d=k}return[h,d,function(t){return t.map(function(t,e){var r=t.map(function(t,r){return b[e][1][r](t)}).join(",");return"matrix"==b[e][0]&&16==r.split(",").length&&(b[e][0]="matrix3d"),b[e][0]+"("+r+")"}).join(" ")}]},["transform"]),t.transformToSvgMatrix=function(e){var r=t.transformListToMatrix(o(e));return"matrix("+i(r[0])+" "+i(r[1])+" "+i(r[4])+" "+i(r[5])+" "+i(r[12])+" "+i(r[13])+")"}}(n),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler(function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e},function(t,r){return[t,r,e]},["font-weight"])}(n),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var o=t.consumeRepeated(r,/^/,n);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var a=s[0];s[0]=s[1],s[1]=a}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map(function(t){return"object"==typeof t?t:i[t]})}}}function o(n){var o=t.consumeRepeated(r,/^/,n);if(o){for(var s=o[0],a=[{"%":50},{"%":50}],c=0,u=!1,l=0;l<s.length;l++){var f=s[l];"string"==typeof f?(u=/bottom|right/.test(f),c={left:0,right:0,center:c,top:1,bottom:1}[f],a[c]=i[f],"center"==f&&c++):(u&&(f=e(f),f["%"]=(f["%"]||0)+100),a[c]=f,c++,u=!1)}return[a,o[1]]}}var i={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var a=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler(function(e){var r=t.consumeRepeated(o,/^,/,e);if(r&&""==r[1])return r[0]},a,["background-position","object-position"])}(n),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),r=t.consumeRepeated.bind(void 0,e,/^/),n=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),o=t.mergeNestedRepeated.bind(void 0,n,",");t.addPropertiesHandler(function(n){var o=t.consumeToken(/^circle/,n);if(o&&o[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var i=t.consumeToken(/^ellipse/,n);if(i&&i[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var s=t.consumeToken(/^polygon/,n);return s&&s[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],s[1])):void 0},function(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],o,")"]):void 0},["shape-outside"])}(n),function(t,e){function r(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(n[t]=e),o[e]=t})}var n={},o={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t},t.unprefixedPropertyName=function(t){return o[t]||t}}(n)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)t=function(){return performance.now()};else var t=function(){return Date.now()};var e=window.Element.prototype.animate;window.Element.prototype.animate=function(r,n){var o=e.call(this,r,n);o._cancelHandlers=[],o.oncancel=null;var i=o.cancel;o.cancel=function(){i.call(this);var e=new function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()}(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){r.forEach(function(t){t.call(e.target,e)})},0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var a=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else a.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(r=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{r&&r.cancel()}if(!n){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,r)}}}(r),e.true={}}(0,function(){return this}())},{}]},{},[11]);
|
data/assets/version.json
CHANGED
data/licenses/MIT.md
CHANGED
@@ -3,7 +3,7 @@ layout: page
|
|
3
3
|
title: MIT License
|
4
4
|
---
|
5
5
|
|
6
|
-
Copyright \<YEAR\> \<COPYRIGHT HOLDER\>
|
6
|
+
Copyright (c) \<YEAR\> \<COPYRIGHT HOLDER\>
|
7
7
|
|
8
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
9
|
of this software and associated documentation files (the "Software"), to deal
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-hydejack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.4.
|
4
|
+
version: 7.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Klampfer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -314,7 +314,7 @@ files:
|
|
314
314
|
- assets/bower_components/webfontloader/src/modules/typekit.js
|
315
315
|
- assets/bower_components/webfontloader/webfontloader.gemspec
|
316
316
|
- assets/bower_components/webfontloader/webfontloader.js
|
317
|
-
- assets/css/hydejack-7.4.
|
317
|
+
- assets/css/hydejack-7.4.2.css
|
318
318
|
- assets/icomoon/fonts/icomoon.eot
|
319
319
|
- assets/icomoon/fonts/icomoon.svg
|
320
320
|
- assets/icomoon/fonts/icomoon.ttf
|
@@ -336,7 +336,7 @@ files:
|
|
336
336
|
- assets/img/oldschool-bg.jpg
|
337
337
|
- assets/img/pretentious-bg.jpg
|
338
338
|
- assets/img/sidebar-bg.jpg
|
339
|
-
- assets/js/hydejack-7.4.
|
339
|
+
- assets/js/hydejack-7.4.2.js
|
340
340
|
- assets/manifest.json
|
341
341
|
- assets/version.json
|
342
342
|
- licenses/Apache-2.0.md
|
data/assets/js/hydejack-7.4.1.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v7.4.1 <https://qwtel.com/hydejack/>
|
13
|
-
*/
|
14
|
-
!function t(e,r,n){function o(s,a){if(!r[s]){if(!e[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return o(r||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){"use strict";var n="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(t,e,r){function o(t,e){return(void 0===t?"undefined":n(t))===e}function i(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,r){return e+r.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):_?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function a(t,r,n,o){var i,a,c,u,l="modernizr",f=s("div"),p=function(){var t=e.body;return t||((t=s(_?"svg":"body")).fake=!0),t}();if(parseInt(n,10))for(;n--;)(c=s("div")).id=o?o[n]:l+(n+1),f.appendChild(c);return i=s("style"),i.type="text/css",i.id="s"+l,(p.fake?p:f).appendChild(i),p.appendChild(f),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(e.createTextNode(t)),f.id=l,p.fake&&(p.style.background="",p.style.overflow="hidden",u=g.style.overflow,g.style.overflow="hidden",g.appendChild(p)),a=r(f,t),p.fake?(p.parentNode.removeChild(p),g.style.overflow=u,g.offsetHeight):f.parentNode.removeChild(f),!!a}function c(t,e){return!!~(""+t).indexOf(e)}function u(t,e){return function(){return t.apply(e,arguments)}}function l(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(e,n){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(l(e[o]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var i=[];o--;)i.push("("+l(e[o])+":"+n+")");return i=i.join(" or "),a("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"==function(e,r,n){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,e,r);var i=t.console;null!==o?n&&(o=o.getPropertyValue(n)):i&&i[i.error?"error":"log"].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!r&&e.currentStyle&&e.currentStyle[n];return o}(e,null,"position")})}return r}function p(t,e,n,a,l){var p=t.charAt(0).toUpperCase()+t.slice(1),h=(t+" "+x.join(p+" ")+p).split(" ");return o(e,"string")||o(e,"undefined")?function(t,e,n,a){function u(){p&&(delete E.style,delete E.modElem)}if(a=!o(a,"undefined")&&a,!o(n,"undefined")){var l=f(t,n);if(!o(l,"undefined"))return l}for(var p,h,d,b,y,m=["modernizr","tspan","samp"];!E.style&&m.length;)p=!0,E.modElem=s(m.shift()),E.style=E.modElem.style;for(d=t.length,h=0;h<d;h++)if(b=t[h],y=E.style[b],c(b,"-")&&(b=i(b)),E.style[b]!==r){if(a||o(n,"undefined"))return u(),"pfx"!=e||b;try{E.style[b]=n}catch(t){}if(E.style[b]!=y)return u(),"pfx"!=e||b}return u(),!1}(h,e,a,l):(h=(t+" "+O.join(p+" ")+p).split(" "),function(t,e,r){var n;for(var i in t)if(t[i]in e)return!1===r?t[i]:(n=e[t[i]],o(n,"function")?u(n,r||e):n);return!1}(h,e,n))}function h(t,e,n){return p(t,r,r,e,n)}var d=[],b={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!1},_q:[],on:function(t,e){var r=this;setTimeout(function(){e(r[t])},0)},addTest:function(t,e,r){d.push({name:t,fn:e,options:r})},addAsyncTest:function(t){d.push({name:null,fn:t})}},y=function(){};y.prototype=b,(y=new y).addTest("customevent","CustomEvent"in t&&"function"==typeof t.CustomEvent),y.addTest("eventlistener","addEventListener"in t),y.addTest("history",function(){var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history)}),y.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e),y.addTest("promises",function(){return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),"function"==typeof e}()});var m=[],v=b._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];b._prefixes=v;var g=e.documentElement;y.addTest("classlist","classList"in g),y.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in g});var _="svg"===g.nodeName.toLowerCase();y.addTest("opacity",function(){var t=s("a").style;return t.cssText=v.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),y.addTest("csspointerevents",function(){var t=s("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),y.addTest("cssremunit",function(){var t=s("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)});var w=b.testStyles=a;y.addTest("touchevents",function(){var r;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)r=!0;else{var n=["@media (",v.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");w(n,function(t){r=9===t.offsetTop})}return r});var x=b._config.usePrefixes?"Moz O ms Webkit".split(" "):[];b._cssomPrefixes=x;var S=function(e){var n,o=v.length,i=t.CSSRule;if(void 0===i)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in i)return"@"+e;for(var s=0;s<o;s++){var a=v[s];if(a.toUpperCase()+"_"+n in i)return"@-"+a.toLowerCase()+"-"+e}return!1};b.atRule=S;var O=b._config.usePrefixes?"Moz O ms Webkit".toLowerCase().split(" "):[];b._domPrefixes=O;var j={elem:s("modernizr")};y._q.push(function(){delete j.elem});var E={style:j.elem.style};y._q.unshift(function(){delete E.style}),b.testAllProps=p;var T=b.prefixed=function(t,e,r){return 0===t.indexOf("@")?S(t):(-1!=t.indexOf("-")&&(t=i(t)),e?p(t,e,r):p(t,"pfx"))};y.addTest("requestanimationframe",!!T("requestAnimationFrame",t),{aliases:["raf"]}),y.addTest("matchmedia",!!T("matchMedia",t)),b.testAllProps=h,y.addTest("cssanimations",h("animationName","a",!0)),y.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&h("transform","scale(1)",!0)}),function(){var t,e,r,n,i,s;for(var a in d)if(d.hasOwnProperty(a)){if(t=[],(e=d[a]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(r=0;r<e.options.aliases.length;r++)t.push(e.options.aliases[r].toLowerCase());for(n=o(e.fn,"function")?e.fn():e.fn,i=0;i<t.length;i++)1===(s=t[i].split(".")).length?y[s[0]]=n:(!y[s[0]]||y[s[0]]instanceof Boolean||(y[s[0]]=new Boolean(y[s[0]])),y[s[0]][s[1]]=n),m.push((n?"":"no-")+s.join("-"))}}(),delete b.addTest,delete b.addAsyncTest;for(var k=0;k<y._q.length;k++)y._q[k]();t.Modernizr=y}(window,document)},{}],2:[function(t,e,r){"use strict";if(!("content"in document.createElement("template")))for(var n=document.getElementsByTagName("template"),o=n.length,i=0;i<o;++i){for(var s=n[i],a=s.childNodes,c=document.createDocumentFragment();a[0];)c.appendChild(a[0]);s.content=c}},{}],3:[function(t,e,r){"use strict";console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v7.4.1 <https://qwtel.com/hydejack/>")},{}],4:[function(t,e,r){(function(e){"use strict";function n(){this.style.display="",this.style.visibility=""}Object.defineProperty(r,"__esModule",{value:!0}),r.unhide=r.isFirefoxIOS=r.isUCBrowser=r.isMobileSafari=r.isSafari=void 0,r.hasFeatures=function(t){var r=!0;return t.forEach(function(t){var n=window.Modernizr[t];!n&&e.env.DEBUG&&console.warn("Feature '"+t+"' missing!"),r=r&&n}),r},r.show=function(){this.style.display="block",this.style.visibility="visible"},r.hide=function(){this.style.display="none",this.style.visibility="hidden"},r.unshow=n,r.empty=function(){for(;this.firstChild;)this.removeChild(this.firstChild)},r.animate=function(t,e,r){return o.Observable.create(function(n){var o=t.animate(e,r);return o.addEventListener("finish",function(t){n.next(t),requestAnimationFrame(n.complete.bind(n))}),function(){"finished"!==o.playState&&o.cancel()}})},r.getResolvablePromise=function(){var t=void 0,e=void 0,r=new Promise(function(r,n){t=r,e=n});return r.resolve=t,r.reject=e,r},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=navigator.userAgent.toLowerCase(),s=r.isSafari=i.indexOf("safari")>0&&i.indexOf("chrome")<0;r.isMobileSafari=s&&i.indexOf("mobile")>0,r.isUCBrowser=i.indexOf("ucbrowser")>0,r.isFirefoxIOS=i.indexOf("fxios")>0&&i.indexOf("safari")>0,r.unhide=n}).call(this,t("_process"))},{_process:141,"core-js/fn/function/bind":26,"rxjs/Observable":144}],5:[function(t,e,r){"use strict";if(window.ga&&!navigator.CookiesOK&&(!localStorage||!localStorage.getItem("hy:cookiesOK"))){var n=document.getElementById("_cookies-banner-template");if(n){var o=document.getElementsByTagName("hy-push-state")[0];o.insertBefore(document.importNode(n.content,!0),o.firstChild),document.getElementById("_cookies-ok").addEventListener("click",function(){localStorage&&localStorage.setItem("hy:cookiesOK",!0);var t=document.getElementById("_cookies-banner");t.parentNode.removeChild(t),window.ga(function(t){window.ga("set","anonymizeIp",void 0),localStorage&&localStorage.setItem("ga:clientId",t.get("clientId"))})},{once:!0})}}},{}],6:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.background,r=t.color,n=t.image,o=t.overlay;return""+r+(n||e)+(""===o?"overlay":"")}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/find"),t("core-js/fn/function/bind");var a=n(t("color")),c=t("rxjs/Observable"),u=t("rxjs/observable/empty"),l=t("rxjs/observable/fromEvent"),f=t("rxjs/observable/of"),p=t("rxjs/operator/finally"),h=t("rxjs/operator/take"),d=t("rxjs/operator/map"),b=n(t("elem-dataset")),y=t("./common"),m=Array.prototype.find,v=.8,g=function(){function t(e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=document.getElementById("_main"),i=document.getElementById("_pageStyle"),s=(r=document.styleSheets,m).call(r,function(t){return t.ownerNode===i})||{};this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.rules=s.cssRules||s.rules,this.prevHash=o((0,b.default)(n)),this.themeColor=document.querySelector('meta[name="theme-color"]')}return s(t,[{key:"fetchImage",value:function(t){var e,r=(0,b.default)(t),n=r.background,i=r.color,s=r.image,a=r.overlay,y=o(r);return y===this.prevHash?u.empty.call(c.Observable):(e=function(t){var e,r=t.background,n=t.image;if(r||!n||""===n||"none"===n||n===this.prevImage)return f.of.call(c.Observable,{});var o=new Image,i=(e=(e=l.fromEvent.call(c.Observable,o,"load"),h.take).call(e,1),p._finally).call(e,function(){o.src=""});return o.src=n,i}.call(this,r),d.map).call(e,function(){var t=document.createElement("div");return t.classList.add("sidebar-bg"),"none"!==s&&""===a&&t.classList.add("sidebar-overlay"),n?t.style.background=n:(t.style.backgroundColor=i,""!==s&&"none"!==s&&(t.style.backgroundImage="url("+s+")")),[t,r,y]})}},{key:"fade",value:function(t,e){var r,n=i(t,1)[0],o=i(e,3),s=o[0],c=o[1],u=o[2];return n.parentNode.insertBefore(s,n.nextElementSibling),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.color,r=void 0===e?"#4fb1ba":e,n=t.themeColor;if(this.themeColor&&(this.themeColor.content=n||r),this.rules)try{var o=(0,a.default)(r),i=o.darken(.1);this.rules[0].style.color=r,this.rules[0].style.borderColor=o.fade(v).string(),this.rules[1].style.borderColor=r,this.rules[2].style.outlineColor=r,this.rules[3].style.backgroundColor=r,this.rules[3].style.borderColor=r,this.rules[4].style.boxShadow="0 0 0 3px "+o.fade(.5),this.rules[5].style.backgroundColor=i,this.rules[5].style.borderColor=i,this.rules[6].style.backgroundColor=r,this.rules[6].style.borderColor=r,this.rules[7].style.backgroundColor=i,this.rules[7].style.borderColor=i,this.rules[this.rules.length-1].style.backgroundColor=r}catch(t){console.error(t)}}.call(this,c),this.prevHash=u,(r=(0,y.animate)(s,[{opacity:0},{opacity:1}],{duration:this.fadeDuration}),p._finally).call(r,function(){return n.parentNode.removeChild(n)})}}]),t}();r.default=g},{"./common":4,color:17,"core-js/fn/array/find":21,"core-js/fn/function/bind":26,"elem-dataset":121,"rxjs/Observable":144,"rxjs/observable/empty":169,"rxjs/observable/fromEvent":171,"rxjs/observable/of":174,"rxjs/operator/finally":183,"rxjs/operator/map":184,"rxjs/operator/take":197}],7:[function(t,e,r){"use strict";function n(){return u.isMobileSafari&&!navigator.standalone?[35,135]:[0,150]}t("core-js/fn/function/bind");var o=t("hy-drawer/src/common"),i=t("hy-drawer/src/vanilla"),s=t("hy-drawer/src/webcomponent"),a=t("rxjs/Observable"),c=t("rxjs/observable/fromEvent"),u=t("./common"),l=new o.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(i.VANILLA_FEATURE_TESTS),["cssremunit","classlist","eventlistener","matchmedia"])),f="(min-width: 64em)";if(!window._noDrawer&&(0,u.hasFeatures)(l)&&!u.isUCBrowser){var p=document.getElementsByTagName("hy-drawer")[0],h=document.getElementById("_menu");window._isDesktop=window.matchMedia(f).matches,window._drawer="customElements"in window&&"attachShadow"in Element.prototype?function(t){return window._isDesktop&&t.setAttribute("opened",""),window._isDesktop&&t.setAttribute("persistent",""),t.setAttribute("align","left"),t.setAttribute("range",n().join(",")),t.setAttribute("threshold",u.isSafari?0:10),t.setAttribute("prevent-default",""),customElements.define("hy-drawer",s.HTMLDrawerElement),t}(p):function(t){return new i.Drawer(t,{opened:window._isDesktop,persistent:window._isDesktop,align:"left",range:n(),threshold:u.isSafari?0:10,preventDefault:!0})}(p),p.classList.add("loaded"),h.addEventListener("click",function(t){window._isDesktop||(t.preventDefault(),window._drawer.toggle())}),c.fromEvent.call(a.Observable,window,"resize",{passive:!0}).subscribe(function(){var t=window.matchMedia(f).matches;window._isDesktop!==t&&(window._isDesktop=t,window._drawer.persistent=t,window._drawer.opened=t)})}},{"./common":4,"core-js/fn/function/bind":26,"hy-drawer/src/common":129,"hy-drawer/src/vanilla":132,"hy-drawer/src/webcomponent":133,"rxjs/Observable":144,"rxjs/observable/fromEvent":171}],8:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e,r,n){var l=s.filter.call(t,function(t){var e=t.flipType;return!u.includes(e)});return i.merge.call(o.Observable,(0,a.default)(t,e,r,n),(0,c.default)(t,e,r,n),l)},t("core-js/fn/array/includes"),t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/merge"),s=t("rxjs/operator/filter"),a=n(t("./title")),c=n(t("./project")),u=["title","projects"]},{"./project":9,"./title":10,"core-js/fn/array/includes":24,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/merge":172,"rxjs/operator/filter":182}],9:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.default=function(t,e,r,d){var b,y=this,m=d.animationMain,v=d.settings;if(!m)return t;var g=(b=u.filter.call(t,function(t){return"project"===t.flipType}),l.switchMap).call(b,function(t){var e,r=t.anchor,n=r.querySelector(".project-card-img");if(!r||!n)return s.of.call(o.Observable,{});var i=m.querySelector(".page");if(!i)return s.of.call(o.Observable,{});var c=r.parentNode.querySelector(".project-card-title"),u=c&&c.textContent||"|",l=document.createElement("h1");l.classList.add("page-title"),l.style.opacity=0,l.textContent=u;var f=document.createElement("div");f.classList.add("post-date"),f.classList.add("heading"),f.style.opacity=0,f.textContent="|",h.empty.call(i),i.appendChild(l),i.appendChild(f);var p=document.createElement("div");p.classList.add("sixteen-nine"),n.parentNode.insertBefore(p,n),n.classList.add("lead"),n.style.transformOrigin="left top",i.appendChild(n),m.style.position="fixed",m.style.opacity=1;var d=p.getBoundingClientRect(),b=n.getBoundingClientRect(),y=[{transform:"translate3d("+(d.left-b.left)+"px, "+(d.top-b.top)+"px, 0) scale("+d.width/b.width+")"},{transform:"translate3d(0, 0, 0) scale(1)"}];return(e=(0,h.animate)(n,y,v),a._do).call(e,{complete:function(){m.style.position="absolute"}})});return l.switchMap.call(t,function(t){var d,b=t.flipType;return(d=u.filter.call(e,function(){return"project"===b}),l.switchMap).call(d,function(t){var e,u=n(t.replaceEls,1)[0].querySelector(".img");if(!u)return s.of.call(o.Observable,{});u.style.opacity=0;var d=u.querySelector("img");return(e=(e=(e=(e=function(t){var e;if(!t)return s.of.call(o.Observable,{});var r=new Image,n=(e=(e=i.fromEvent.call(o.Observable,r,"load"),f.take).call(e,1),c._finally).call(e,function(){r.src=""});return r.src=t.currentSrc||t.src,n}.call(y,d),p.zipProto).call(e,r),a._do).call(e,function(){u.style.opacity=1,m.style.opacity=0}),l.switchMap).call(e,function(){return d?(0,h.animate)(m,[{opacity:1},{opacity:0}],{duration:500}):s.of.call(o.Observable,{})}),c._finally).call(e,function(){m.style.opacity=0})})}).subscribe(),g},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/fromEvent"),s=t("rxjs/observable/of"),a=t("rxjs/operator/do"),c=t("rxjs/operator/finally"),u=t("rxjs/operator/filter"),l=t("rxjs/operator/switchMap"),f=t("rxjs/operator/take"),p=t("rxjs/operator/zip"),h=t("../common")},{"../common":4,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/fromEvent":171,"rxjs/observable/of":174,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/finally":183,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/zip":202}],10:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.default=function(t,e,r,d){var b,y=d.animationMain,m=d.settings;if(!y)return t;var v=(b=c.filter.call(t,function(t){return"title"===t.flipType}),l.switchMap).call(b,function(t){var e,r=t.anchor;if(!r)return i.of.call(o.Observable,{});var n=document.createElement("h1");n.classList.add("page-title"),n.textContent=r.textContent,n.style.transformOrigin="left top";var a=y.querySelector(".page");if(!a)return i.of.call(o.Observable,{});p.empty.call(a),a.appendChild(n),y.style.position="fixed",y.style.opacity=1;var c=r.getBoundingClientRect(),u=n.getBoundingClientRect(),l=parseInt(getComputedStyle(r).fontSize,10),f=parseInt(getComputedStyle(n).fontSize,10),h=c.left-u.left,d=c.top-u.top,b=l/f;r.style.opacity=0;var v=[{transform:"translate3d("+h+"px, "+d+"px, 0) scale("+b+")"},{transform:"translate3d(0, 0, 0) scale(1)"}];return(e=(0,p.animate)(n,v,m),s._do).call(e,{complete:function(){y.style.position="absolute"}})});return l.switchMap.call(t,function(t){var o,i=t.flipType;return(o=(o=(o=(o=c.filter.call(e,function(){return"title"===i}),u.map).call(o,function(t){var e=n(t.replaceEls,1)[0].querySelector(h);return e&&(e.style.opacity=0),e}),f.zipProto).call(o,r,function(t){return t}),s._do).call(o,function(t){t&&(t.style.opacity=1),y.style.opacity=0}),a._finally).call(o,function(){y.style.opacity=0})}).subscribe(),v},t("core-js/fn/function/bind");var o=t("rxjs/Observable"),i=t("rxjs/observable/of"),s=t("rxjs/operator/do"),a=t("rxjs/operator/finally"),c=t("rxjs/operator/filter"),u=t("rxjs/operator/map"),l=t("rxjs/operator/switchMap"),f=t("rxjs/operator/zip"),p=t("../common"),h=".page-title, .post-title"},{"../common":4,"core-js/fn/function/bind":26,"rxjs/Observable":144,"rxjs/observable/of":174,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/finally":183,"rxjs/operator/map":184,"rxjs/operator/switchMap":196,"rxjs/operator/zip":202}],11:[function(t,e,r){"use strict";t("web-animations-js"),t("../lib/modernizr-custom"),t("../lib/version"),t("../lib/template-polyfill"),t("./cookies-banner"),t("./katex"),t("./drawer"),t("./push-state")},{"../lib/modernizr-custom":1,"../lib/template-polyfill":2,"../lib/version":3,"./cookies-banner":5,"./drawer":7,"./katex":12,"./push-state":13,"web-animations-js":266}],12:[function(t,e,r){"use strict";function n(t,e){try{var r=t.previousElementSibling;!function(t,e){t.outerHTML=window.katex.renderToString(e,{displayMode:"math/tex; mode=display"===t.type})}(t,e),r&&r.classList&&r.classList.contains("MathJax_Preview")&&i.hide.call(r)}catch(t){console.error(t)}finally{t.style.willChange=""}}function o(){if(a){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&(c&&u?function(t){s.call(t,function(t){n(t,t.textContent.replace("% <![CDATA[","").replace("%]]>",""))})}(t):(loadJSDeferred(document.getElementById("_katexJS").href,function(){(c=!0)&&u&&o()}),loadCSS(document.getElementById("_katexCSS").href).onload=function(){u=!0,c&&u&&o()}))}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=o,t("core-js/fn/array/for-each");var i=t("./common"),s=Array.prototype.forEach,a=(0,i.hasFeatures)(["classlist","eventlistener","queryselector"]),c=!1,u=!1;o()},{"./common":4,"core-js/fn/array/for-each":22}],13:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e="#"+t.id,r=document.createElement("a"),n=document.createElement("span");n.textContent="Permalink",n.classList.add("sr-only"),r.appendChild(n),r.href=e,r.classList.add("permalink"),t.appendChild(r)}function i(t,e,r){var n;return(n=g._do.call(this,{error:(n=console).error.bind(n)}),v._catch).call(n,function(t,e){return e}).subscribe(t,e,r)}function s(t){return"push"===t||navigator.standalone||!N.isSafari}function a(){return!N.isSafari||!!navigator.standalone}var c=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t("core-js/fn/array/for-each"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign"),t("core-js/fn/string/includes");var u=t("hy-push-state/src/common"),l=t("hy-push-state/src/vanilla"),f=t("hy-push-state/src/webcomponent"),p=t("rxjs/Observable"),h=t("rxjs/scheduler/animationFrame"),d=t("rxjs/observable/fromEvent"),b=t("rxjs/observable/merge"),y=t("rxjs/observable/of"),m=t("rxjs/observable/timer"),v=t("rxjs/operator/catch"),g=t("rxjs/operator/do"),_=t("rxjs/operator/debounceTime"),w=t("rxjs/operator/filter"),x=t("rxjs/operator/map"),S=t("rxjs/operator/mapTo"),O=t("rxjs/operator/mergeMap"),j=t("rxjs/operator/observeOn"),E=t("rxjs/operator/pairwise"),T=t("rxjs/operator/share"),k=t("rxjs/operator/startWith"),A=t("rxjs/operator/exhaustMap"),M=t("rxjs/operator/switchMap"),P=t("rxjs/operator/takeUntil"),C=t("rxjs/operator/zip"),N=t("./common"),R=n(t("./cross-fader")),F=n(t("./katex")),L=n(t("./flip")),I=new u.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(l.VANILLA_FEATURE_TESTS),["classlist","cssanimations","cssremunit","documentfragment","eventlistener","history","matchmedia","opacity","queryselector","requestanimationframe"])),D="_main",U="a[href]:not(.external):not(.no-push-state)",q='script:not([type^="math/tex"])',z=/^((?!(\/assets\/)).)*$/,B=250,H=[{opacity:1},{opacity:0}],W=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],X={duration:B,easing:"cubic-bezier(0,0,0.32,1)"},V=Array.prototype.forEach,$=Object.assign.bind(Object);if(!window._noPushState&&(0,N.hasFeatures)(I)&&!N.isFirefoxIOS){var G,Y=!!navigator.standalone||window.matchMedia("(display-mode: standalone)").matches,K=document.getElementsByTagName("hy-push-state")[0],J=document.querySelector(".navbar .content .nav-btn-bar"),Z=function(t){var e=document.getElementById("_animation-template"),r=document.importNode(e.content,!0);return t.parentNode.insertBefore(r,t),t.previousElementSibling}(K),Q=function(t){var e=document.getElementById("_loading-template"),r=document.importNode(e.content,!0);return t.appendChild(r),t.lastElementChild}(document.querySelector(".navbar .content"));Y&&function(t,e,r){var n=document.getElementById(e),o=document.importNode(n.content,!0);o.querySelector(".nav-btn").addEventListener("click",r),t.appendChild(o),t.lastElementChild}(J,"_back-template",function(){return window.history.back()});var tt=document.getElementById("_main");(G=tt.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),V).call(G,o),tt.classList.remove("fade-in");var et=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-start"),x.map).call(G,function(t){var e=t.detail;return $(e,{flipType:function(t){return t&&t.classList?t.classList.contains("flip-title")?"title":t.classList.contains("flip-project")?"project":t.getAttribute&&t.getAttribute("data-flip"):null}(e.anchor)})}),T.share).call(G),rt=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-ready"),x.map).call(G,function(t){return t.detail}),T.share).call(G),nt=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-after"),x.map).call(G,function(t){return t.detail}),T.share).call(G),ot=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-progress"),x.map).call(G,function(t){return t.detail}),T.share).call(G),it=(G=(G=d.fromEvent.call(p.Observable,K,"hy-push-state-networkerror"),x.map).call(G,function(t){return t.detail}),T.share).call(G),st=(G=(G=(G=(G=x.map.call(et,function(t){return $(t,{main:document.getElementById("_main")})}),g._do).call(G,function(t){var e=t.type,r=t.main;!window._isDesktop&&window._drawer.opened&&window._drawer.close(),s(e)&&(r.style.pointerEvents="none",r.style.opacity=0)}),A.exhaustMap).call(G,function(t){var e,r=t.type,n=t.main;return s(r)?(e=(0,N.animate)(n,H,X),S.mapTo).call(e,{main:n}):y.of.call(p.Observable,{main:n})}),g._do).call(G,function(t){var e=t.main;N.empty.call(e),window.scroll(window.pageXOffset,0)}),T.share).call(G);i.call(ot,function(){Q.style.display="block"}),i.call(rt,function(t){var e,r=c(t.replaceEls,1)[0];Q.style.display="none",r.classList.remove("fade-in"),(e=r.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),V).call(e,o),r.style.pointerEvents="none"});var at=(G=(G=M.switchMap.call(nt,function(t){var e,r=t.type,n=c(t.replaceEls,1)[0],o=t.flipType;return s(r)?(e=(0,N.animate)(n,W,X),S.mapTo).call(e,{main:n,flipType:o}):y.of.call(p.Observable,{main:n,flipType:o})}),g._do).call(G,function(t){t.main.style.pointerEvents=""}),T.share).call(G),ct=(G=(0,L.default)(et,rt,b.merge.call(p.Observable,at,it),{animationMain:Z,settings:X}),T.share).call(G);(G=(G=x.map.call(et,function(t){var e=(0,N.getResolvablePromise)();return t.waitUntil(e),e}),M.switchMap).call(G,function(t){var e;return(e=m.timer.call(p.Observable,B),C.zipProto).call(e,st,ct,function(){return t})}),i).call(G,function(t){return t.resolve()}),i.call(st),i.call(ct);var ut=new R.default(600);if((G=(G=(G=(G=M.switchMap.call(nt,function(t){var e,r=c(t.replaceEls,1)[0];return(e=(e=ut.fetchImage(r),C.zipProto).call(e,at,function(t){return t}),P.takeUntil).call(e,et)}),k.startWith).call(G,[document.querySelector(".sidebar-bg")]),E.pairwise).call(G),O.mergeMap).call(G,function(t){var e=c(t,2),r=e[0],n=e[1];return ut.fade(r,n)}),i).call(G),(G=(G=(G=g._do.call(at,F.default),w.filter).call(G,function(){return!!window.ga}),_.debounceTime).call(G,500),i).call(G,function(){window.ga("set","page",window.location.pathname),window.ga("send","pageview")}),i.call(it,function(t){var e,r=t.url;Q.style.display="none",(e=Z.querySelector(".page"),N.empty).call(e);var n=document.getElementById("_main");N.empty.call(n),n.style.pointerEvents="",n.style.opacity="",function(t,e){var r=e.pathname,n=document.getElementById("_error-template"),o=document.importNode(n.content,!0),i=o.querySelector(".this-link");i&&(i.href=r,i.textContent=r),t.appendChild(o),t.lastElementChild}(n,r)}),N.isSafari&&!navigator.standalone){var lt;(lt=(lt=d.fromEvent.call(p.Observable,window,"popstate"),w.filter).call(lt,function(){return window.history.state&&window.history.state["hy-push-state"]&&!window.history.state["hy-push-state"].hash}),i).call(lt,function(){var t=window.history.state["hy-push-state"].scrollHeight;document.body.style.minHeight=t+"px"}),(lt=(lt=b.merge.call(p.Observable,nt,ot,it),j.observeOn).call(lt,h.animationFrame),i).call(lt,function(){document.body.style.minHeight=""})}window._pushState="customElements"in window?function(t){return t.setAttribute("replace-ids",D),t.setAttribute("link-selector",U),t.setAttribute("duration",B),a()&&t.setAttribute("scroll-restoration",""),t.setAttribute("_href-regex",z),t.setAttribute("_script-selector",q),customElements.define("hy-push-state",f.HTMLPushStateElement),t}(K):function(t){return new l.PushState(t,{replaceIds:D.split(","),linkSelector:U,duration:B,scrollRestoration:a(),_hrefRegex:z,_scriptSelector:q})}(K)}},{"./common":4,"./cross-fader":6,"./flip":8,"./katex":12,"core-js/fn/array/for-each":22,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"core-js/fn/string/includes":33,"hy-push-state/src/common":135,"hy-push-state/src/vanilla":138,"hy-push-state/src/webcomponent":139,"rxjs/Observable":144,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/of":174,"rxjs/observable/timer":175,"rxjs/operator/catch":176,"rxjs/operator/debounceTime":178,"rxjs/operator/do":180,"rxjs/operator/exhaustMap":181,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/mergeMap":187,"rxjs/operator/observeOn":188,"rxjs/operator/pairwise":189,"rxjs/operator/share":193,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/takeUntil":198,"rxjs/operator/zip":202,"rxjs/scheduler/animationFrame":239}],14:[function(t,e,r){"use strict";var n=[],o=function(t,e){var r=document.head||document.getElementsByTagName("head")[0],o=n[n.length-1];if(e=e||{},e.insertAt=e.insertAt||"bottom","top"===e.insertAt)o?o.nextSibling?r.insertBefore(t,o.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),n.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}};e.exports={createLink:function(t,e){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("link");n.href=t,n.rel="stylesheet";for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];n.setAttribute("data-"+o,i)}r.appendChild(n)},createStyle:function(t,e,r){r=r||{};var n=document.createElement("style");n.type="text/css";for(var i in e)if(e.hasOwnProperty(i)){var s=e[i];n.setAttribute("data-"+i,s)}n.sheet?(n.innerHTML=t,n.sheet.cssText=t,o(n,{insertAt:r.insertAt})):n.styleSheet?(o(n,{insertAt:r.insertAt}),n.styleSheet.cssText=t):(n.appendChild(document.createTextNode(t)),o(n,{insertAt:r.insertAt}))}}},{}],15:[function(t,e,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],16:[function(t,e,r){function n(t,e,r){return Math.min(Math.max(e,t),r)}function o(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var i=t("color-name"),s=t("simple-swizzle"),a={};for(var c in i)i.hasOwnProperty(c)&&(a[i[c]]=c);var u=e.exports={to:{}};u.get=function(t){var e,r;switch(t.substring(0,3).toLowerCase()){case"hsl":e=u.get.hsl(t),r="hsl";break;case"hwb":e=u.get.hwb(t),r="hwb";break;default:e=u.get.rgb(t),r="rgb"}return e?{model:r,value:e}:null},u.get.rgb=function(t){if(!t)return null;var e,r,o,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=e[2],e=e[1],r=0;r<3;r++){var a=2*r;s[r]=parseInt(e.slice(a,a+2),16)}o&&(s[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(e=e[1])[3],r=0;r<3;r++)s[r]=parseInt(e[r]+e[r],16);o&&(s[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)s[r]=parseInt(e[r+1],0);e[4]&&(s[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(s=i[e[1]])?(s[3]=1,s):null:null;for(r=0;r<3;r++)s[r]=Math.round(2.55*parseFloat(e[r+1]));e[4]&&(s[3]=parseFloat(e[4]))}for(r=0;r<3;r++)s[r]=n(s[r],0,255);return s[3]=n(s[3],0,1),s},u.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},u.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},u.to.hex=function(){var t=s(arguments);return"#"+o(t[0])+o(t[1])+o(t[2])+(t[3]<1?o(Math.round(255*t[3])):"")},u.to.rgb=function(){var t=s(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},u.to.rgb.percent=function(){var t=s(arguments),e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+n+"%)":"rgba("+e+"%, "+r+"%, "+n+"%, "+t[3]+")"},u.to.hsl=function(){var t=s(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},u.to.hwb=function(){var t=s(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},u.to.keyword=function(t){return a[t.slice(0,3)]}},{"color-name":15,"simple-swizzle":265}],17:[function(t,e,r){"use strict";function n(t,e){if(!(this instanceof n))return new n(t,e);if(e&&e in f&&(e=null),e&&!(e in u))throw new Error("Unknown model: "+e);var r,o;if(t)if(t instanceof n)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var i=c.get(t);if(null===i)throw new Error("Unable to parse color from string: "+t);this.model=i.model,o=u[this.model].channels,this.color=i.value.slice(0,o),this.valpha="number"==typeof i.value[o]?i.value[o]:1}else if(t.length){this.model=e||"rgb",o=u[this.model].channels;var s=l.call(t,0,o);this.color=a(s,o),this.valpha="number"==typeof t[o]?t[o]:1}else if("number"==typeof t)t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var d=Object.keys(t);"alpha"in t&&(d.splice(d.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var b=d.sort().join("");if(!(b in p))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=p[b];var y=u[this.model].labels,m=[];for(r=0;r<y.length;r++)m.push(t[y[r]]);this.color=a(m)}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(h[this.model])for(o=u[this.model].channels,r=0;r<o;r++){var v=h[this.model][r];v&&(this.color[r]=v(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function o(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function i(t,e,r){return(t=Array.isArray(t)?t:[t]).forEach(function(t){(h[t]||(h[t]=[]))[e]=r}),t=t[0],function(n){var o;return arguments.length?(r&&(n=r(n)),o=this[t](),o.color[e]=n,o):(o=this[t]().color[e],r&&(o=r(o)),o)}}function s(t){return function(e){return Math.max(0,Math.min(t,e))}}function a(t,e){for(var r=0;r<e;r++)"number"!=typeof t[r]&&(t[r]=0);return t}var c=t("color-string"),u=t("color-convert"),l=[].slice,f=["keyword","gray","hex"],p={};Object.keys(u).forEach(function(t){p[l.call(u[t].labels).sort().join("")]=t});var h={};n.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in c.to?this:this.rgb(),r=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return c.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return c.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=u[this.model].channels,r=u[this.model].labels,n=0;n<e;n++)t[r[n]]=this.color[n];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new n(this.color.map(o(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new n(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:i("rgb",0,s(255)),green:i("rgb",1,s(255)),blue:i("rgb",2,s(255)),hue:i(["hsl","hsv","hsl","hwb","hcg"],0,function(t){return(t%360+360)%360}),saturationl:i("hsl",1,s(100)),lightness:i("hsl",2,s(100)),saturationv:i("hsv",1,s(100)),value:i("hsv",2,s(100)),chroma:i("hcg",1,s(100)),gray:i("hcg",2,s(100)),white:i("hwb",1,s(100)),wblack:i("hwb",2,s(100)),cyan:i("cmyk",0,s(100)),magenta:i("cmyk",1,s(100)),yellow:i("cmyk",2,s(100)),black:i("cmyk",3,s(100)),x:i("xyz",0,s(100)),y:i("xyz",1,s(100)),z:i("xyz",2,s(100)),l:i("lab",0,s(100)),a:i("lab",1),b:i("lab",2),keyword:function(t){return arguments.length?new n(t):u[this.model].keyword(this.color)},hex:function(t){return arguments.length?new n(t):c.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity:function(){for(var t=this.rgb().color,e=[],r=0;r<t.length;r++){var n=t[r]/255;e[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return n.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),r=e.color[0];return r=(r+t)%360,r=r<0?360+r:r,e.color[0]=r,e},mix:function(t,e){var r=t.rgb(),o=this.rgb(),i=void 0===e?.5:e,s=2*i-1,a=r.alpha()-o.alpha(),c=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,u=1-c;return n.rgb(c*r.red()+u*o.red(),c*r.green()+u*o.green(),c*r.blue()+u*o.blue(),r.alpha()*i+o.alpha()*(1-i))}},Object.keys(u).forEach(function(t){if(-1===f.indexOf(t)){var e=u[t].channels;n.prototype[t]=function(){if(this.model===t)return new n(this);if(arguments.length)return new n(arguments,t);var r="number"==typeof arguments[e]?e:this.valpha;return new n(function(t){return Array.isArray(t)?t:[t]}(u[this.model][t].raw(this.color)).concat(r),t)},n[t]=function(r){return"number"==typeof r&&(r=a(l.call(arguments),e)),new n(r,t)}}}),e.exports=n},{"color-convert":19,"color-string":16}],18:[function(t,e,r){function n(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var o=t("color-name"),i={};for(var s in o)o.hasOwnProperty(s)&&(i[o[s]]=s);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var u=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:u}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(t){var e,r,n,o=t[0]/255,i=t[1]/255,s=t[2]/255,a=Math.min(o,i,s),c=Math.max(o,i,s),u=c-a;return c===a?e=0:o===c?e=(i-s)/u:i===c?e=2+(s-o)/u:s===c&&(e=4+(o-i)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+c)/2,r=c===a?0:n<=.5?u/(c+a):u/(2-c-a),[e,100*r,100*n]},a.rgb.hsv=function(t){var e,r,n,o=t[0],i=t[1],s=t[2],a=Math.min(o,i,s),c=Math.max(o,i,s),u=c-a;return r=0===c?0:u/c*1e3/10,c===a?e=0:o===c?e=(i-s)/u:i===c?e=2+(s-o)/u:s===c&&(e=4+(o-i)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=c/255*1e3/10,[e,r,n]},a.rgb.hwb=function(t){var e=t[0],r=t[1],n=t[2],o=a.rgb.hsl(t)[0],i=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[o,100*i,100*n]},a.rgb.cmyk=function(t){var e,r,n,o,i=t[0]/255,s=t[1]/255,a=t[2]/255;return o=Math.min(1-i,1-s,1-a),e=(1-i-o)/(1-o)||0,r=(1-s-o)/(1-o)||0,n=(1-a-o)/(1-o)||0,[100*e,100*r,100*n,100*o]},a.rgb.keyword=function(t){var e=i[t];if(e)return e;var r,s=1/0;for(var a in o)if(o.hasOwnProperty(a)){var c=n(t,o[a]);c<s&&(s=c,r=a)}return r},a.keyword.rgb=function(t){return o[t]},a.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*r+.0722*n),100*(.0193*e+.1192*r+.9505*n)]},a.rgb.lab=function(t){var e,r,n,o=a.rgb.xyz(t),i=o[0],s=o[1],c=o[2];return i/=95.047,s/=100,c/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,e=116*s-16,r=500*(i-s),n=200*(s-c),[e,r,n]},a.hsl.rgb=function(t){var e,r,n,o,i,s=t[0]/360,a=t[1]/100,c=t[2]/100;if(0===a)return i=255*c,[i,i,i];e=2*c-(r=c<.5?c*(1+a):c+a-c*a),o=[0,0,0];for(var u=0;u<3;u++)(n=s+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?e+6*(r-e)*n:2*n<1?r:3*n<2?e+(r-e)*(2/3-n)*6:e,o[u]=255*i;return o},a.hsl.hsv=function(t){var e,r,n=t[0],o=t[1]/100,i=t[2]/100,s=o,a=Math.max(i,.01);return i*=2,o*=i<=1?i:2-i,s*=a<=1?a:2-a,r=(i+o)/2,e=0===i?2*s/(a+s):2*o/(i+o),[n,100*e,100*r]},a.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,o=Math.floor(e)%6,i=e-Math.floor(e),s=255*n*(1-r),a=255*n*(1-r*i),c=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,c,s];case 1:return[a,n,s];case 2:return[s,n,c];case 3:return[s,a,n];case 4:return[c,s,n];case 5:return[n,s,a]}},a.hsv.hsl=function(t){var e,r,n,o=t[0],i=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return n=(2-i)*s,e=(2-i)*a,r=i*a,r/=e<=1?e:2-e,r=r||0,n/=2,[o,100*r,100*n]},a.hwb.rgb=function(t){var e,r,n,o,i=t[0]/360,s=t[1]/100,a=t[2]/100,c=s+a;c>1&&(s/=c,a/=c),r=1-a,n=6*i-(e=Math.floor(6*i)),0!=(1&e)&&(n=1-n),o=s+n*(r-s);var u,l,f;switch(e){default:case 6:case 0:u=r,l=o,f=s;break;case 1:u=o,l=r,f=s;break;case 2:u=s,l=r,f=o;break;case 3:u=s,l=o,f=r;break;case 4:u=o,l=s,f=r;break;case 5:u=r,l=s,f=o}return[255*u,255*l,255*f]},a.cmyk.rgb=function(t){var e,r,n,o=t[0]/100,i=t[1]/100,s=t[2]/100,a=t[3]/100;return e=1-Math.min(1,o*(1-a)+a),r=1-Math.min(1,i*(1-a)+a),n=1-Math.min(1,s*(1-a)+a),[255*e,255*r,255*n]},a.xyz.rgb=function(t){var e,r,n,o=t[0]/100,i=t[1]/100,s=t[2]/100;return e=3.2406*o+-1.5372*i+-.4986*s,r=-.9689*o+1.8758*i+.0415*s,n=.0557*o+-.204*i+1.057*s,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,e=Math.min(Math.max(0,e),1),r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),[255*e,255*r,255*n]},a.xyz.lab=function(t){var e,r,n,o=t[0],i=t[1],s=t[2];return o/=95.047,i/=100,s/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*i-16,r=500*(o-i),n=200*(i-s),[e,r,n]},a.lab.xyz=function(t){var e,r,n,o=t[0];e=t[1]/500+(r=(o+16)/116),n=r-t[2]/200;var i=Math.pow(r,3),s=Math.pow(e,3),a=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,e*=95.047,r*=100,n*=108.883,[e,r,n]},a.lab.lch=function(t){var e,r,n,o=t[0],i=t[1],s=t[2];return e=Math.atan2(s,i),(r=360*e/2/Math.PI)<0&&(r+=360),n=Math.sqrt(i*i+s*s),[o,n,r]},a.lch.lab=function(t){var e,r,n,o=t[0],i=t[1];return n=t[2]/360*2*Math.PI,e=i*Math.cos(n),r=i*Math.sin(n),[o,e,r]},a.rgb.ansi16=function(t){var e=t[0],r=t[1],n=t[2],o=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];if(e===r&&r===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var r;return[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var r=e[0];3===e[0].length&&(r=r.split("").map(function(t){return t+t}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(t){var e,r,n=t[0]/255,o=t[1]/255,i=t[2]/255,s=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=s-a;return e=c<1?a/(1-c):0,r=c<=0?0:s===n?(o-i)/c%6:s===o?2+(i-n)/c:4+(n-o)/c+4,r/=6,r%=1,[360*r,100*c,100*e]},a.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1,o=0;return(n=r<.5?2*e*r:2*e*(1-r))<1&&(o=(r-.5*n)/(1-n)),[t[0],100*n,100*o]},a.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},a.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(0===r)return[255*n,255*n,255*n];var o=[0,0,0],i=e%1*6,s=i%1,a=1-s,c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-r)*n,[255*(r*o[0]+c),255*(r*o[1]+c),255*(r*o[2]+c)]},a.hcg.hsv=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e),n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},a.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100*(1-e)+.5*e,n=0;return r>0&&r<.5?n=e/(2*r):r>=.5&&r<1&&(n=e/(2*(1-r))),[t[0],100*n,100*r]},a.hcg.hwb=function(t){var e=t[1]/100,r=e+t[2]/100*(1-e);return[t[0],100*(r-e),100*(1-r)]},a.hwb.hcg=function(t){var e=t[1]/100,r=1-t[2]/100,n=r-e,o=0;return n<1&&(o=(r-n)/(1-n)),[t[0],100*n,100*o]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},{"color-name":15}],19:[function(t,e,r){var n=t("./conversions"),o=t("./route"),i={};Object.keys(n).forEach(function(t){i[t]={},Object.defineProperty(i[t],"channels",{value:n[t].channels}),Object.defineProperty(i[t],"labels",{value:n[t].labels});var e=o(t);Object.keys(e).forEach(function(r){var n=e[r];i[t][r]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=t(e);if("object"==typeof r)for(var n=r.length,o=0;o<n;o++)r[o]=Math.round(r[o]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(n),i[t][r].raw=function(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(n)})}),e.exports=i},{"./conversions":18,"./route":20}],20:[function(t,e,r){function n(t){var e=function(){for(var t={},e=Object.keys(s),r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),o=Object.keys(s[n]),i=o.length,a=0;a<i;a++){var c=o[a],u=e[c];-1===u.distance&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(c))}return e}function o(t,e){return function(r){return e(t(r))}}function i(t,e){for(var r=[e[t].parent,t],n=s[e[t].parent][t],i=e[t].parent;e[i].parent;)r.unshift(e[i].parent),n=o(s[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}var s=t("./conversions");e.exports=function(t){for(var e=n(t),r={},o=Object.keys(e),s=o.length,a=0;a<s;a++){var c=o[a];null!==e[c].parent&&(r[c]=i(c,e))}return r}},{"./conversions":18}],21:[function(t,e,r){t("../../modules/es6.array.find"),e.exports=t("../../modules/_core").Array.find},{"../../modules/_core":45,"../../modules/es6.array.find":105}],22:[function(t,e,r){t("../../modules/es6.array.for-each"),e.exports=t("../../modules/_core").Array.forEach},{"../../modules/_core":45,"../../modules/es6.array.for-each":106}],23:[function(t,e,r){t("../../modules/es6.string.iterator"),t("../../modules/es6.array.from"),e.exports=t("../../modules/_core").Array.from},{"../../modules/_core":45,"../../modules/es6.array.from":107,"../../modules/es6.string.iterator":117}],24:[function(t,e,r){t("../../modules/es7.array.includes"),e.exports=t("../../modules/_core").Array.includes},{"../../modules/_core":45,"../../modules/es7.array.includes":119}],25:[function(t,e,r){t("../../modules/es6.array.map"),e.exports=t("../../modules/_core").Array.map},{"../../modules/_core":45,"../../modules/es6.array.map":108}],26:[function(t,e,r){t("../../modules/es6.function.bind"),e.exports=t("../../modules/_core").Function.bind},{"../../modules/_core":45,"../../modules/es6.function.bind":109}],27:[function(t,e,r){t("../../modules/es6.number.constructor"),e.exports=Number},{"../../modules/es6.number.constructor":110}],28:[function(t,e,r){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":45,"../../modules/es6.object.assign":111}],29:[function(t,e,r){t("../../modules/es6.object.define-property");var n=t("../../modules/_core").Object;e.exports=function(t,e,r){return n.defineProperty(t,e,r)}},{"../../modules/_core":45,"../../modules/es6.object.define-property":112}],30:[function(t,e,r){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":45,"../../modules/es6.object.keys":113}],31:[function(t,e,r){t("../../modules/es6.object.set-prototype-of"),e.exports=t("../../modules/_core").Object.setPrototypeOf},{"../../modules/_core":45,"../../modules/es6.object.set-prototype-of":114}],32:[function(t,e,r){t("../../modules/es6.reflect.construct"),e.exports=t("../../modules/_core").Reflect.construct},{"../../modules/_core":45,"../../modules/es6.reflect.construct":115}],33:[function(t,e,r){t("../../modules/es6.string.includes"),e.exports=t("../../modules/_core").String.includes},{"../../modules/_core":45,"../../modules/es6.string.includes":116}],34:[function(t,e,r){t("../../modules/es6.string.trim"),e.exports=t("../../modules/_core").String.trim},{"../../modules/_core":45,"../../modules/es6.string.trim":118}],35:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],36:[function(t,e,r){var n=t("./_wks")("unscopables"),o=Array.prototype;void 0==o[n]&&t("./_hide")(o,n,{}),e.exports=function(t){o[n][t]=!0}},{"./_hide":57,"./_wks":103}],37:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":65}],38:[function(t,e,r){var n=t("./_to-iobject"),o=t("./_to-length"),i=t("./_to-absolute-index");e.exports=function(t){return function(e,r,s){var a,c=n(e),u=o(c.length),l=i(s,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}}},{"./_to-absolute-index":96,"./_to-iobject":98,"./_to-length":99}],39:[function(t,e,r){var n=t("./_ctx"),o=t("./_iobject"),i=t("./_to-object"),s=t("./_to-length"),a=t("./_array-species-create");e.exports=function(t,e){var r=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,h=e||a;return function(e,a,d){for(var b,y,m=i(e),v=o(m),g=n(a,d,3),_=s(v.length),w=0,x=r?h(e,_):c?h(e,0):void 0;_>w;w++)if((p||w in v)&&(b=v[w],y=g(b,w,m),t))if(r)x[w]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:x.push(b)}else if(l)return!1;return f?-1:u||l?l:x}}},{"./_array-species-create":41,"./_ctx":47,"./_iobject":62,"./_to-length":99,"./_to-object":100}],40:[function(t,e,r){var n=t("./_is-object"),o=t("./_is-array"),i=t("./_wks")("species");e.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},{"./_is-array":64,"./_is-object":65,"./_wks":103}],41:[function(t,e,r){var n=t("./_array-species-constructor");e.exports=function(t,e){return new(n(t))(e)}},{"./_array-species-constructor":40}],42:[function(t,e,r){"use strict";var n=t("./_a-function"),o=t("./_is-object"),i=t("./_invoke"),s=[].slice,a={};e.exports=Function.bind||function(t){var e=n(this),r=s.call(arguments,1),c=function(){var n=r.concat(s.call(arguments));return this instanceof c?function(t,e,r){if(!(e in a)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";a[e]=Function("F,a","return new F("+n.join(",")+")")}return a[e](t,r)}(e,n.length,n):i(e,n,t)};return o(e.prototype)&&(c.prototype=e.prototype),c}},{"./_a-function":35,"./_invoke":61,"./_is-object":65}],43:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":44,"./_wks":103}],44:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],45:[function(t,e,r){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},{}],46:[function(t,e,r){"use strict";var n=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},{"./_object-dp":75,"./_property-desc":85}],47:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":35}],48:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],49:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":54}],50:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":55,"./_is-object":65}],51:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],52:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_hide"),s=t("./_redefine"),a=t("./_ctx"),c=function(t,e,r){var u,l,f,p,h=t&c.F,d=t&c.G,b=t&c.S,y=t&c.P,m=t&c.B,v=d?n:b?n[e]||(n[e]={}):(n[e]||{}).prototype,g=d?o:o[e]||(o[e]={}),_=g.prototype||(g.prototype={});d&&(r=e);for(u in r)f=((l=!h&&v&&void 0!==v[u])?v:r)[u],p=m&&l?a(f,n):y&&"function"==typeof f?a(Function.call,f):f,v&&s(v,u,f,t&c.U),g[u]!=f&&i(g,u,p),y&&_[u]!=f&&(_[u]=f)};n.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},{"./_core":45,"./_ctx":47,"./_global":55,"./_hide":57,"./_redefine":86}],53:[function(t,e,r){var n=t("./_wks")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},{"./_wks":103}],54:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],55:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],56:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],57:[function(t,e,r){var n=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":49,"./_object-dp":75,"./_property-desc":85}],58:[function(t,e,r){var n=t("./_global").document;e.exports=n&&n.documentElement},{"./_global":55}],59:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":49,"./_dom-create":50,"./_fails":54}],60:[function(t,e,r){var n=t("./_is-object"),o=t("./_set-proto").set;e.exports=function(t,e,r){var i,s=e.constructor;return s!==r&&"function"==typeof s&&(i=s.prototype)!==r.prototype&&n(i)&&o&&o(t,i),t}},{"./_is-object":65,"./_set-proto":87}],61:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],62:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":44}],63:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":71,"./_wks":103}],64:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":44}],65:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],66:[function(t,e,r){var n=t("./_is-object"),o=t("./_cof"),i=t("./_wks")("match");e.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},{"./_cof":44,"./_is-object":65,"./_wks":103}],67:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},{"./_an-object":37}],68:[function(t,e,r){"use strict";var n=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),s={};t("./_hide")(s,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_hide":57,"./_object-create":74,"./_property-desc":85,"./_set-to-string-tag":88,"./_wks":103}],69:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),s=t("./_hide"),a=t("./_has"),c=t("./_iterators"),u=t("./_iter-create"),l=t("./_set-to-string-tag"),f=t("./_object-gpo"),p=t("./_wks")("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(t,e,r,b,y,m,v){u(r,e,b);var g,_,w,x=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=e+" Iterator",O="values"==y,j=!1,E=t.prototype,T=E[p]||E["@@iterator"]||y&&E[y],k=T||x(y),A=y?O?x("entries"):k:void 0,M="Array"==e?E.entries||T:T;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(l(w,S,!0),n||a(w,p)||s(w,p,d)),O&&T&&"values"!==T.name&&(j=!0,k=function(){return T.call(this)}),n&&!v||!h&&!j&&E[p]||s(E,p,k),c[e]=k,c[S]=d,y)if(g={values:O?k:x("values"),keys:m?k:x("keys"),entries:A},v)for(_ in g)_ in E||i(E,_,g[_]);else o(o.P+o.F*(h||j),e,g);return g}},{"./_export":52,"./_has":56,"./_hide":57,"./_iter-create":68,"./_iterators":71,"./_library":72,"./_object-gpo":80,"./_redefine":86,"./_set-to-string-tag":88,"./_wks":103}],70:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},t(i)}catch(t){}return r}},{"./_wks":103}],71:[function(t,e,r){e.exports={}},{}],72:[function(t,e,r){e.exports=!1},{}],73:[function(t,e,r){"use strict";var n=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie"),s=t("./_to-object"),a=t("./_iobject"),c=Object.assign;e.exports=!c||t("./_fails")(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=c({},t)[r]||Object.keys(c({},e)).join("")!=n})?function(t,e){for(var r=s(t),c=arguments.length,u=1,l=o.f,f=i.f;c>u;)for(var p,h=a(arguments[u++]),d=l?n(h).concat(l(h)):n(h),b=d.length,y=0;b>y;)f.call(h,p=d[y++])&&(r[p]=h[p]);return r}:c},{"./_fails":54,"./_iobject":62,"./_object-gops":79,"./_object-keys":82,"./_object-pie":83,"./_to-object":100}],74:[function(t,e,r){var n=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),s=t("./_shared-key")("IE_PROTO"),a=function(){},c=function(){var e,r=t("./_dom-create")("iframe"),n=i.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",(e=r.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c.prototype[i[n]];return c()};e.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{"./_an-object":37,"./_dom-create":50,"./_enum-bug-keys":51,"./_html":58,"./_object-dps":76,"./_shared-key":89}],75:[function(t,e,r){var n=t("./_an-object"),o=t("./_ie8-dom-define"),i=t("./_to-primitive"),s=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":37,"./_descriptors":49,"./_ie8-dom-define":59,"./_to-primitive":101}],76:[function(t,e,r){var n=t("./_object-dp"),o=t("./_an-object"),i=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var r,s=i(e),a=s.length,c=0;a>c;)n.f(t,r=s[c++],e[r]);return t}},{"./_an-object":37,"./_descriptors":49,"./_object-dp":75,"./_object-keys":82}],77:[function(t,e,r){var n=t("./_object-pie"),o=t("./_property-desc"),i=t("./_to-iobject"),s=t("./_to-primitive"),a=t("./_has"),c=t("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;r.f=t("./_descriptors")?u:function(t,e){if(t=i(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},{"./_descriptors":49,"./_has":56,"./_ie8-dom-define":59,"./_object-pie":83,"./_property-desc":85,"./_to-iobject":98,"./_to-primitive":101}],78:[function(t,e,r){var n=t("./_object-keys-internal"),o=t("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},{"./_enum-bug-keys":51,"./_object-keys-internal":81}],79:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],80:[function(t,e,r){var n=t("./_has"),o=t("./_to-object"),i=t("./_shared-key")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},{"./_has":56,"./_shared-key":89,"./_to-object":100}],81:[function(t,e,r){var n=t("./_has"),o=t("./_to-iobject"),i=t("./_array-includes")(!1),s=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,a=o(t),c=0,u=[];for(r in a)r!=s&&n(a,r)&&u.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~i(u,r)||u.push(r));return u}},{"./_array-includes":38,"./_has":56,"./_shared-key":89,"./_to-iobject":98}],82:[function(t,e,r){var n=t("./_object-keys-internal"),o=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,o)}},{"./_enum-bug-keys":51,"./_object-keys-internal":81}],83:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],84:[function(t,e,r){var n=t("./_export"),o=t("./_core"),i=t("./_fails");e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},{"./_core":45,"./_export":52,"./_fails":54}],85:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],86:[function(t,e,r){var n=t("./_global"),o=t("./_hide"),i=t("./_has"),s=t("./_uid")("src"),a=Function.toString,c=(""+a).split("toString");t("./_core").inspectSource=function(t){return a.call(t)},(e.exports=function(t,e,r,a){var u="function"==typeof r;u&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(u&&(i(r,s)||o(r,s,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},{"./_core":45,"./_global":55,"./_has":56,"./_hide":57,"./_uid":102}],87:[function(t,e,r){var n=t("./_is-object"),o=t("./_an-object"),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,n){try{(n=t("./_ctx")(Function.call,t("./_object-gopd").f(Object.prototype,"__proto__").set,2))(e,[]),r=!(e instanceof Array)}catch(t){r=!0}return function(t,e){return i(t,e),r?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:i}},{"./_an-object":37,"./_ctx":47,"./_is-object":65,"./_object-gopd":77}],88:[function(t,e,r){var n=t("./_object-dp").f,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},{"./_has":56,"./_object-dp":75,"./_wks":103}],89:[function(t,e,r){var n=t("./_shared")("keys"),o=t("./_uid");e.exports=function(t){return n[t]||(n[t]=o(t))}},{"./_shared":90,"./_uid":102}],90:[function(t,e,r){var n=t("./_global"),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(t){return o[t]||(o[t]={})}},{"./_global":55}],91:[function(t,e,r){"use strict";var n=t("./_fails");e.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},{"./_fails":54}],92:[function(t,e,r){var n=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,r){var i,s,a=String(o(e)),c=n(r),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}}},{"./_defined":48,"./_to-integer":97}],93:[function(t,e,r){var n=t("./_is-regexp"),o=t("./_defined");e.exports=function(t,e,r){if(n(e))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},{"./_defined":48,"./_is-regexp":66}],94:[function(t,e,r){var n=t("./_export"),o=t("./_defined"),i=t("./_fails"),s=t("./_string-ws"),a="["+s+"]",c=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),l=function(t,e,r){var o={},a=i(function(){return!!s[t]()||"
"!="
"[t]()}),c=o[t]=a?e(f):s[t];r&&(o[r]=c),n(n.P+n.F*a,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=l},{"./_defined":48,"./_export":52,"./_fails":54,"./_string-ws":95}],95:[function(t,e,r){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],96:[function(t,e,r){var n=t("./_to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},{"./_to-integer":97}],97:[function(t,e,r){var n=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},{}],98:[function(t,e,r){var n=t("./_iobject"),o=t("./_defined");e.exports=function(t){return n(o(t))}},{"./_defined":48,"./_iobject":62}],99:[function(t,e,r){var n=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(n(t),9007199254740991):0}},{"./_to-integer":97}],100:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":48}],101:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":65}],102:[function(t,e,r){var n=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},{}],103:[function(t,e,r){var n=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,s="function"==typeof i;(e.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=n},{"./_global":55,"./_shared":90,"./_uid":102}],104:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},{"./_classof":43,"./_core":45,"./_iterators":71,"./_wks":103}],105:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),n(n.P+n.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("find")},{"./_add-to-unscopables":36,"./_array-methods":39,"./_export":52}],106:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(0),i=t("./_strict-method")([].forEach,!0);n(n.P+n.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},{"./_array-methods":39,"./_export":52,"./_strict-method":91}],107:[function(t,e,r){"use strict";var n=t("./_ctx"),o=t("./_export"),i=t("./_to-object"),s=t("./_iter-call"),a=t("./_is-array-iter"),c=t("./_to-length"),u=t("./_create-property"),l=t("./core.get-iterator-method");o(o.S+o.F*!t("./_iter-detect")(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,f,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,b=d>1?arguments[1]:void 0,y=void 0!==b,m=0,v=l(p);if(y&&(b=n(b,d>2?arguments[2]:void 0,2)),void 0==v||h==Array&&a(v))for(r=new h(e=c(p.length));e>m;m++)u(r,m,y?b(p[m],m):p[m]);else for(f=v.call(p),r=new h;!(o=f.next()).done;m++)u(r,m,y?s(f,b,[o.value,m],!0):o.value);return r.length=m,r}})},{"./_create-property":46,"./_ctx":47,"./_export":52,"./_is-array-iter":63,"./_iter-call":67,"./_iter-detect":70,"./_to-length":99,"./_to-object":100,"./core.get-iterator-method":104}],108:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-methods")(1);n(n.P+n.F*!t("./_strict-method")([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},{"./_array-methods":39,"./_export":52,"./_strict-method":91}],109:[function(t,e,r){var n=t("./_export");n(n.P,"Function",{bind:t("./_bind")})},{"./_bind":42,"./_export":52}],110:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_has"),i=t("./_cof"),s=t("./_inherit-if-required"),a=t("./_to-primitive"),c=t("./_fails"),u=t("./_object-gopn").f,l=t("./_object-gopd").f,f=t("./_object-dp").f,p=t("./_string-trim").trim,h=n.Number,d=h,b=h.prototype,y="Number"==i(t("./_object-create")(b)),m="trim"in String.prototype,v=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var r,n,o,i=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if((s=c.charCodeAt(u))<48||s>o)return NaN;return parseInt(c,n)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof h&&(y?c(function(){b.valueOf.call(r)}):"Number"!=i(r))?s(new d(v(e)),r,h):v(e)};for(var g,_=t("./_descriptors")?u(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(d,g=_[w])&&!o(h,g)&&f(h,g,l(d,g));h.prototype=b,b.constructor=h,t("./_redefine")(n,"Number",h)}},{"./_cof":44,"./_descriptors":49,"./_fails":54,"./_global":55,"./_has":56,"./_inherit-if-required":60,"./_object-create":74,"./_object-dp":75,"./_object-gopd":77,"./_object-gopn":78,"./_redefine":86,"./_string-trim":94,"./_to-primitive":101}],111:[function(t,e,r){var n=t("./_export");n(n.S+n.F,"Object",{assign:t("./_object-assign")})},{"./_export":52,"./_object-assign":73}],112:[function(t,e,r){var n=t("./_export");n(n.S+n.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":49,"./_export":52,"./_object-dp":75}],113:[function(t,e,r){var n=t("./_to-object"),o=t("./_object-keys");t("./_object-sap")("keys",function(){return function(t){return o(n(t))}})},{"./_object-keys":82,"./_object-sap":84,"./_to-object":100}],114:[function(t,e,r){var n=t("./_export");n(n.S,"Object",{setPrototypeOf:t("./_set-proto").set})},{"./_export":52,"./_set-proto":87}],115:[function(t,e,r){var n=t("./_export"),o=t("./_object-create"),i=t("./_a-function"),s=t("./_an-object"),a=t("./_is-object"),c=t("./_fails"),u=t("./_bind"),l=(t("./_global").Reflect||{}).construct,f=c(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),p=!c(function(){l(function(){})});n(n.S+n.F*(f||p),"Reflect",{construct:function(t,e){i(t),s(e);var r=arguments.length<3?t:i(arguments[2]);if(p&&!f)return l(t,e,r);if(t==r){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 n=[null];return n.push.apply(n,e),new(u.apply(t,n))}var c=r.prototype,h=o(a(c)?c:Object.prototype),d=Function.apply.call(t,h,e);return a(d)?d:h}})},{"./_a-function":35,"./_an-object":37,"./_bind":42,"./_export":52,"./_fails":54,"./_global":55,"./_is-object":65,"./_object-create":74}],116:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_string-context");n(n.P+n.F*t("./_fails-is-regexp")("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},{"./_export":52,"./_fails-is-regexp":53,"./_string-context":93}],117:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":69,"./_string-at":92}],118:[function(t,e,r){"use strict";t("./_string-trim")("trim",function(t){return function(){return t(this,3)}})},{"./_string-trim":94}],119:[function(t,e,r){"use strict";var n=t("./_export"),o=t("./_array-includes")(!0);n(n.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":36,"./_array-includes":38,"./_export":52}],120:[function(t,e,r){"use strict";e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("Expected a string");return e=void 0===e?"_":e,t.replace(/([a-z\d])([A-Z])/g,"$1"+e+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+e+"$2").toLowerCase()}},{}],121:[function(t,e,r){"use strict";e.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?function(t){return t.dataset}:function(t){function e(){return this.value}function r(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var n={},o=t.attributes,i=0,s=o.length;i<s;i++){var a=o[i];if(a){var c=a.name;if(0===c.indexOf("data-")){var u=c.slice(5).replace(/-./g,function(t){return t.charAt(1).toUpperCase()}),l=a.value;Object.defineProperty(n,u,{enumerable:!0,get:e.bind({value:l||""}),set:r.bind(t,c)})}}}return n}},{}],122:[function(t,e,r){"use strict";e.exports=function(t){if(0===(t=arguments.length>1?Array.from(arguments).map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim()).length)return"";if(1===t.length)return t.toLowerCase();if(/^[a-z0-9]+$/.test(t))return t;return t!==t.toLowerCase()&&(t=function(t){for(var e=!1,r=!1,n=!1,o=0;o<t.length;o++){var i=t[o];e&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.substr(0,o)+"-"+t.substr(o),e=!1,n=r,r=!0,o++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.substr(0,o-1)+"-"+t.substr(o-1),n=r,r=!1,e=!0):(e=i.toLowerCase()===i,n=r,r=i.toUpperCase()===i)}return t}(t)),t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()})}},{}],123:[function(t,e,r){(function(e){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.Set=r.string=r.regex=r.number=r.bool=r.arrayOf=r.array=void 0;var o="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return void 0===t?"undefined":n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":n(t)};r.simpleType=function(t,e,r){return t&&t===i.bool?t(r):t?r?t(r):e:"boolean"==typeof e?(0,i.bool)(r):"number"==typeof e?r?(0,i.number)(r):e:"object"===(void 0===e?"undefined":o(e))&&e?r?(0,i.array)(r):e:"string"==typeof e?r?(0,i.string)(r):e:void 0};var i=t("./types");r.array=i.array,r.arrayOf=i.arrayOf,r.bool=i.bool,r.number=i.number,r.regex=i.regex,r.string=i.string;r.Set=e.Set&&1===new e.Set([1]).size?e.Set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t=t.filter(function(e,r){return r===t.indexOf(e)}),t.size=t.length,t.has=function(e){return t.indexOf(e)>-1},t.add=function(e){return t.has(e)||(t.size++,t.push(e)),t},t.delete=function(e){var r=void 0;return(r=t.has(e))&&(t.size--,delete t[t.indexOf(e)]),r},t.keys=t.values=function(){return t[Symbol.iterator]()},t.clear=function(){for(;t.pop(););t.size=0},t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./types":127}],124:[function(t,e,r){(function(e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(){var t=this,e=this.constructor.sideEffects;Object.keys(this[f]).forEach(function(r){var n=e[r];(function(t,e){var r=this;Object.defineProperty(this,t,{get:function(){return r[f][t]},set:function(n){var o=r[f][t];r[c.sSetState](t,n),e&&e.call(r,n,o)},enumerable:!0,configurable:!0})}).call(t,r,n)})}var i="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};Object.defineProperty(r,"__esModule",{value:!0}),r.COMPONENT_FEATURE_TESTS=void 0;var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();r.componentMixin=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(e){function r(){return n(this,r),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(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)}(r,t),s(r,[{key:c.sSetup,value:function(t,e){var r=this.constructor.defaults;return this[f]=Object.assign({},r,e),o.call(this),this[l]=this[c.sSetupDOM](t),this}},{key:c.sSetupDOM,value:function(t){return t}},{key:c.sGetRoot,value:function(){return this[l]}},{key:c.sGetEl,value:function(){return this[l]}},{key:c.sFire,value:function(t,e){var r=this.constructor.componentName,n=new CustomEvent(r+"-"+t,e);this.el.dispatchEvent(n)}},{key:c.sSetState,value:function(t,e){this[f][t]=e}},{key:"root",get:function(){return this[c.sGetRoot]()}},{key:"el",get:function(){return this[c.sGetEl]()}}]),r}()},t("core-js/fn/array/for-each"),t("core-js/fn/object/assign"),t("core-js/fn/object/define-property"),t("core-js/fn/object/keys");var a=t("./common"),c=t("./symbols"),u=(r.COMPONENT_FEATURE_TESTS=new a.Set(["customevent"]),e.Symbol||function(t){return"_"+t}),l=u("root"),f=u("state"),p=function t(){n(this,t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./common":123,"./symbols":126,"core-js/fn/array/for-each":22,"core-js/fn/object/assign":28,"core-js/fn/object/define-property":29,"core-js/fn/object/keys":30}],125:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=(0,f.default)(t,"-");r&&(b=n),!0===e?this.setAttribute(n,""):!1===e||null===e||void 0===e||"object"===(void 0===e?"undefined":u(e))&&0===e.length?this.removeAttribute(n):e&&"object"===(void 0===e?"undefined":u(e))&&e.length>0&&e.join?this.setAttribute(n,e.join(",")):"string"!=typeof e&&"number"!=typeof e||this.setAttribute(n,e)}function i(){var t="function"==typeof window.HTMLElement?window.HTMLElement:function(){};return Reflect.construct(t,[],this.__proto__.constructor)}var s="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};Object.defineProperty(r,"__esModule",{value:!0}),r.CUSTOM_ELEMENT_FEATURE_TESTS=void 0;var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},u="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":s(t)};r.customElementMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}(r,t),a(r,[{key:"connectedCallback",value:function(){this[h.sSetup]()}},{key:"attributeChangedCallback",value:function(t,e,r){if(b!==t){if(e!==r){var n=this.constructor,o=n.defaults,i=n.types,s=(0,l.default)(t),a=(0,p.simpleType)(i[s],o[s],r);null!=a&&(this[s]=a)}}else b=void 0}},{key:h.sSetup,value:function(){return c(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),h.sSetup,this).call(this,this,function(){var t=this,e=this.constructor,r=e.defaults,n=e.types,o={};return Object.keys(r).forEach(function(e){var i=(0,f.default)(e,"-"),s=t.getAttribute(i),a=(0,p.simpleType)(n[e],r[e],s);null!=a&&(o[e]=a)}),o}.call(this)),function(){var t=this,e=this.constructor.defaults;Object.keys(e).forEach(function(e){return o.call(t,e,t[e])})}.call(this),this}},{key:h.sSetState,value:function(t,e){c(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),h.sSetState,this).call(this,t,e),o.call(this,t,e,!0)}},{key:h.sSetupDOM,value:function(t){var e=this[h.sGetTemplate]();if(e){if("attachShadow"in Element.prototype)return t.attachShadow({mode:"open"}),t.shadowRoot.appendChild(e),t.shadowRoot;throw Error("ShadowDOM API not supported")}return t}},{key:h.sGetEl,value:function(){return this}},{key:h.sGetTemplate,value:function(){var t=this.constructor.componentName;return document.querySelector('link[href$="'+t+'.html"]').import.querySelector("#"+t+"-template").content.cloneNode(!0)}}],[{key:"getObservedAttributes",value:function(){var t=this.defaults;return Object.keys(t).map(function(t){return(0,f.default)(t,"-")})}}]),r}()},r.CustomElement=i,r.fragmentFromString=function(t){return document.createRange().createContextualFragment(t)},t("core-js/fn/array/for-each"),t("core-js/fn/array/map"),t("core-js/fn/number/constructor"),t("core-js/fn/object/keys"),t("core-js/fn/object/set-prototype-of"),t("core-js/fn/reflect/construct"),t("core-js/fn/string/trim");var l=n(t("camelcase")),f=n(t("decamelize")),p=t("./common"),h=t("./symbols"),d=t("./component"),b=(r.CUSTOM_ELEMENT_FEATURE_TESTS=new p.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(d.COMPONENT_FEATURE_TESTS),["template","customelements"])),void 0);Object.setPrototypeOf&&(Object.setPrototypeOf(i.prototype,HTMLElement.prototype),Object.setPrototypeOf(i,HTMLElement))},{"./common":123,"./component":124,"./symbols":126,camelcase:122,"core-js/fn/array/for-each":22,"core-js/fn/array/map":25,"core-js/fn/number/constructor":27,"core-js/fn/object/keys":30,"core-js/fn/object/set-prototype-of":31,"core-js/fn/reflect/construct":32,"core-js/fn/string/trim":34,decamelize:120}],126:[function(t,e,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=t.Symbol||function(t){return"_"+t};r.sSetup=e("setup"),r.sSetupDOM=e("setupDOM"),r.sGetRoot=e("getRoot"),r.sGetEl=e("getElement"),r.sFire=e("fire"),r.sSetState=e("setState"),r.sGetTemplate=e("getTemplate")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],127:[function(t,e,r){"use strict";function n(t){return t.trim().replace(/^\[?(.*?)\]?$/,"$1").split(",").map(function(t){return t.trim()})}Object.defineProperty(r,"__esModule",{value:!0}),r.array=n,r.arrayOf=function(t){return function(e){return n(e).map(t)}},r.string=function(t){return t},r.bool=function(t){return!0===t||"true"===t||!1!==t&&"false"!==t&&null!=t},r.number=function(t){return Number(t)},r.regex=function(t){var e=t.match(/^\/?(.*?)(\/([gimy]*))?$/);return new RegExp(e[1],e[3])},r.oneOf=function(t){return function(e){var r=t.indexOf(e);return r>-1?t[r]:null}}},{}],128:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sSetupDOM=r.sSetup=r.VanillaComponent=void 0;var n=t("./symbols");r.VanillaComponent=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this[n.sSetup](e,r)};r.sSetup=n.sSetup,r.sSetupDOM=n.sSetupDOM},{"./symbols":126}],129:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Set=void 0,r.createTween=function(t,e,r,o,i){return n.Observable.create(function(n){var s=void 0,a=requestAnimationFrame(function c(u){var l=u-(s=s||u);l<o?(n.next(t(l,e,r,o,i)),a=requestAnimationFrame(c)):(n.next(t(o,e,r,o,i)),a=requestAnimationFrame(function(){return n.complete()}))});return function(){a&&cancelAnimationFrame(a)}})},r.easeOutSine=function(t,e,r,n){return r*Math.sin(t/n*(Math.PI/2))+e};var n=t("rxjs/Observable"),o=t("hy-component/src/common");r.Set=o.Set},{"hy-component/src/common":123,"rxjs/Observable":144}],130:[function(t,e,r){(function(e){"use strict";function n(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0===r.length){var o;return(o=(o=I.withLatestFrom.call(this,t),O.filter).call(o,function(t){return p(t,2)[1]}),j.map).call(o,function(t){return p(t,1)[0]})}var i;return(i=(i=I.withLatestFrom.call.apply(I.withLatestFrom,[this,t].concat(r)),O.filter).call(i,function(t){return function(t){return Array.isArray(t)?t:Array.from(t)}(t).slice(1).every(function(t){return t})}),j.map).call(i,function(t){return p(t,1)[0]})}function o(t){var e=this;return N.switchMap.call(t,function(t){return t?e:x.never.call(y.Observable)})}function i(){this[Z].style.willChange="transform",this[J].style.willChange="opacity",this[Z].classList.remove("hy-drawer-opened"),this[d.sFire]("prepare")}function s(){return this.el.id||this.constructor.componentName}function a(t){if(this[J].style.willChange="",this[Z].style.willChange="",t?(this[J].style.pointerEvents="all",this[Z].classList.add("hy-drawer-opened")):(this[J].style.pointerEvents="",this[Z].classList.remove("hy-drawer-opened")),this._backButton){var e=s.call(this),r="#"+e+"--opened";t&&window.location.hash!==r&&window.history.pushState(function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},e,!0),document.title,r),!t&&window.history.state&&window.history.state[s.call(this)]&&""!==window.location.hash&&window.history.back()}this[d.sFire]("transitioned",{detail:t})}function c(){var t,e=this;this[H]=new m.Subject,this[W]=new m.Subject,this[X]=new m.Subject,this[V]=new m.Subject,this[$]=new m.Subject,this[G]=new m.Subject,this[Y]=new m.Subject;(t=(t=_.fromEvent.call(y.Observable,window,"resize",{passive:!0}),M.share).call(t),C.startWith).call(t,{}).subscribe(function(){e.opened&&e[Z].classList.remove("hy-drawer-opened"),e[K]=function(){return-parseFloat(getComputedStyle(this[Z])[this.align])}.call(e),e.opened&&e[Z].classList.add("hy-drawer-opened")});var r=(t=(t=this[X],j.map).call(t,function(t){return!t}),M.share).call(t),c={},u=(t=(t=function(){var t;return(t=this[$],N.switchMap).call(t,function(t){var e,r=(e=(e=_.fromEvent.call(y.Observable,document,"touchstart",{passive:!0}),O.filter).call(e,function(t){return 1===t.touches.length}),j.map).call(e,function(t){return t.touches[0]});if(!t)return r;var n=(e=_.fromEvent.call(y.Observable,document,"mousedown"),S._do).call(e,function(t){return tt(t,{event:t})});return w.merge.call(y.Observable,r,n)})}.call(this),n).call(t,r),M.share).call(t),l=g.defer.call(y.Observable,function(){var t;return(t=c.translateX$,j.map).call(t,function(t){return"left"===e.align?t>0:t<e[K]})}),f=(t=(t=(t=I.withLatestFrom.call(u,l),j.map).call(t,function(t){var r=p(t,2),n=r[0].clientX,o=r[1];return function(t,e){switch(this.align){case"left":return t>this.range[0]&&(e||t<this.range[1]);case"right":return t<window.innerWidth-this.range[0]&&(e||t>window.innerWidth-this.range[1]);default:throw Error()}}.call(e,n,o)}),S._do).call(t,function(t){t&&(e.mouseEvents&&e[Z].classList.add("hy-drawer-grabbing"),i.call(e))}),M.share).call(t),h=(t=(t=function(){var t;return(t=this[$],N.switchMap).call(t,function(t){var e,r=(e=(e=_.fromEvent.call(y.Observable,document,"touchend",{passive:!0}),O.filter).call(e,function(t){return 0===t.touches.length}),j.map).call(e,function(t){return t.changedTouches[0]});if(!t)return r;var n=_.fromEvent.call(y.Observable,document,"mouseup",{passive:!0});return w.merge.call(y.Observable,r,n)})}.call(this),n).call(t,r,f),M.share).call(t),b=(t=(t=function(t,e){var r;return(r=v.combineLatest.call(y.Observable,this[$],this[V]),N.switchMap).call(r,function(r){var n,i=p(r,2),s=i[0],a=i[1],c=(n=_.fromEvent.call(y.Observable,document,"touchmove",{passive:!a}),j.map).call(n,function(t){return tt(t.touches[0],{event:t})});if(!s)return c;var u=(n=(n=_.fromEvent.call(y.Observable,document,"mousemove",{passive:!a}),o).call(n,w.merge.call(y.Observable,E.mapTo.call(t,!0),E.mapTo.call(e,!1))),j.map).call(n,function(t){return tt(t,{event:t})});return w.merge.call(y.Observable,c,u)})}.call(this,u,h),n).call(t,r,f),M.share).call(t),B=(t=(t=(t=(t=function(t,e){var r=this;if(this.threshold){var n;return(n=(n=I.withLatestFrom.call(t,e),P.skipWhile).call(n,function(t){var e=p(t,2),n=e[0],o=n.clientX,i=n.clientY,s=e[1],a=s.clientX,c=s.clientY;return et(c-i)<r.threshold&&et(a-o)<r.threshold}),j.map).call(n,function(t){var e=p(t,2),r=e[0],n=r.clientX,o=r.clientY,i=e[1],s=i.clientX,a=i.clientY;return et(s-n)>=et(a-o)})}var o;return(o=I.withLatestFrom.call(t,e),j.map).call(o,function(t){var e=p(t,2),n=e[0],o=n.clientX,i=n.clientY,s=n.event,a=e[1],c=a.clientX,u=a.clientY,l=et(c-o)>=et(u-i);return r.preventDefault&&l&&s.preventDefault(),l})}.call(this,b,u),R.take).call(t,1),C.startWith).call(t,void 0),k.repeatWhen).call(t,function(){return h}),S._do).call(t,function(t){t&&(e[Q]&&(e[Q].style.overflow="hidden"),e[d.sFire]("slidestart",{detail:e.opened}))});c.translateX$=(t=g.defer.call(y.Observable,function(){var t;return w.merge.call(y.Observable,(t=(t=(t=n.call(b,B),S._do).call(t,function(t){var r=t.event;e.preventDefault&&r.preventDefault()}),I.withLatestFrom).call(t,u,c.startTranslateX$),j.map).call(t,function(t){var r=p(t,3),n=r[0].clientX,o=r[1].clientX,i=r[2];return function(t,e,r){switch(this.align){case"left":var n=r+(t-e);return nt(0,rt(this[K],n));case"right":var o=r+(t-e);return rt(0,nt(-this[K],o));default:throw Error()}}.call(e,n,o,i)}),c.tween$,(t=(t=v.combineLatest.call(y.Observable,e[H],e[W]),S._do).call(t,function(t){var r=p(t,1)[0];return a.call(e,r)}),j.map).call(t,function(t){var r=p(t,2),n=r[0],o=r[1];return n?e[K]*("left"===o?1:-1):0}))}),M.share).call(t),c.startTranslateX$=(t=c.translateX$,A.sample).call(t,u);var ot=(t=(t=(t=(t=(t=c.translateX$,L.timestamp).call(t),T.pairwise).call(t),O.filter).call(t,function(t){var e=p(t,2),r=e[0].timestamp;return e[1].timestamp-r>0}),j.map).call(t,function(t){var e=p(t,2),r=e[0],n=r.value,o=r.timestamp,i=e[1];return(i.value-n)/(i.timestamp-o)}),C.startWith).call(t,0),it=(t=(t=(t=(t=S._do.call(h,function(){e[Z].classList.remove("hy-drawer-grabbing")}),I.withLatestFrom).call(t,u,c.translateX$,ot),O.filter).call(t,function(t){var e=p(t,3),r=e[0].clientX,n=e[1].clientX,o=e[2];return r!==n||o>0&&o<this[K]}.bind(this)),j.map).call(t,function(t){var e=p(t,4),r=e[2],n=e[3];switch(this.align){case"left":return n>z||!(n<-z)&&r>=this[K]/2;case"right":return-n>z||!(-n<-z)&&r<=-this[K]/2;default:throw Error()}}.bind(this)),S._do).call(t,function(t){return e[d.sFire]("slideend",{detail:t})}),st=w.merge.call(y.Observable,it,(t=this[Y],S._do).call(t,i.bind(this)));if(c.tween$=(t=(t=S._do.call(st,function(t){e[d.sSetState]("opened",t),e[Q]&&!t&&(e[Q].style.overflow="")}),I.withLatestFrom).call(t,c.translateX$),N.switchMap).call(t,function(t){var r,n=p(t,2),o=n[0],i=n[1],s="left"===e.align?1:-1,a=(o?e[K]*s:0)-i,c=U+e[K]*q;return(r=(r=(r=(0,D.createTween)(D.easeOutSine,i,a,c),S._do).call(r,{complete:function(){return e[H].next(o)}}),F.takeUntil).call(r,u),F.takeUntil).call(r,e[W])}),c.translateX$.subscribe(function(t){var e="left"===this.align?1:-1,r=t/this[K]*e;this[Z].style.transform="translateX("+t+"px)",this[J].style.opacity=r,this[d.sFire]("move",{detail:r})}.bind(this)),_.fromEvent.call(y.Observable,this[J],"click").subscribe(function(){return e.close()}),r.subscribe(function(t){e[J].style.display=t?"block":"none"}),this[W].subscribe(function(t){var r="left"===t?"right":"left";e[Z].classList.remove("hy-drawer-"+r),e[Z].classList.add("hy-drawer-"+t)}),(t=_.fromEvent.call(y.Observable,window,"popstate"),o).call(t,this[G]).subscribe(function(){var t="#"+s.call(e)+"--opened",r=window.location.hash===t;r!==e.opened&&e[Y].next(r)}),(t=this[$],N.switchMap).call(t,function(t){return t?e[Z].classList.add("hy-drawer-grab"):e[Z].classList.remove("hy-drawer-grab"),t?I.withLatestFrom.call(u,f):x.never.call(y.Observable)}).subscribe(function(t){var e=p(t,2),r=e[0].event;e[1]&&r&&r.preventDefault()}),this._backButton){var at="#"+s.call(this)+"--opened";window.location.hash===at&&this[d.sSetState]("opened",!0)}this[H].next(this.opened),this[W].next(this.align),this[X].next(this.persistent),this[V].next(this.preventDefault),this[$].next(this.mouseEvents),this[G].next(this._backButton)}var u="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};Object.defineProperty(r,"__esModule",{value:!0}),r.sSetupDOM=r.sSetup=r.MIXIN_FEATURE_TESTS=void 0;var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},p=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.drawerMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":u(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":u(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)}(r,(0,h.componentMixin)(t)),l(r,[{key:d.sSetup,value:function(t,e){return f(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),d.sSetup,this).call(this,t,e),this[J]=this.root.querySelector(".hy-drawer-scrim"),this[Z]=this.root.querySelector(".hy-drawer-content"),this._hideOverflow&&(this[Q]=document.querySelector(this._hideOverflow)),this[Z].classList.add("hy-drawer-"+this.align),c.call(this),this[d.sFire]("init",{detail:this.opened}),this}},{key:"open",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!0:this[Y].next(!0)}},{key:"close",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!1:this[Y].next(!1)}},{key:"toggle",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!this.opened:this[Y].next(!this.opened)}}],[{key:"componentName",get:function(){return"hy-drawer"}},{key:"defaults",get:function(){return{opened:!1,align:"left",persistent:!1,range:[0,100],threshold:10,preventDefault:!1,mouseEvents:!1,_backButton:!1,_hideOverflow:null}}},{key:"types",get:function(){return{opened:b.bool,align:(0,b.oneOf)(["left","right"]),persistent:b.bool,range:(0,b.arrayOf)(b.number),threshold:b.number,preventDefault:b.bool,mouseEvents:b.bool,_backButton:b.bool,_hideOverflow:b.string}}},{key:"sideEffects",get:function(){return{opened:function(t){this[H].next(t)},align:function(t){this[W].next(t)},persistent:function(t){this[X].next(t)},preventDefault:function(t){this[V].next(t)},mouseEvents:function(t){this[$].next(t)},_backButton:function(t){this[G].next(t)},_hideOverflow:function(t){this[Q]&&(this[Q].style.overflow=""),this[Q]=document.querySelector(t)}}}}]),r}()},t("core-js/fn/array/from"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign");var h=t("hy-component/src/component"),d=t("hy-component/src/symbols"),b=t("hy-component/src/types"),y=t("rxjs/Observable"),m=t("rxjs/Subject"),v=t("rxjs/observable/combineLatest"),g=t("rxjs/observable/defer"),_=t("rxjs/observable/fromEvent"),w=t("rxjs/observable/merge"),x=t("rxjs/observable/never"),S=t("rxjs/operator/do"),O=t("rxjs/operator/filter"),j=t("rxjs/operator/map"),E=t("rxjs/operator/mapTo"),T=t("rxjs/operator/pairwise"),k=t("rxjs/operator/repeatWhen"),A=t("rxjs/operator/sample"),M=t("rxjs/operator/share"),P=t("rxjs/operator/skipWhile"),C=t("rxjs/operator/startWith"),N=t("rxjs/operator/switchMap"),R=t("rxjs/operator/take"),F=t("rxjs/operator/takeUntil"),L=t("rxjs/operator/timestamp"),I=t("rxjs/operator/withLatestFrom"),D=t("../common");r.MIXIN_FEATURE_TESTS=new D.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(h.COMPONENT_FEATURE_TESTS),["eventlistener","queryselector","requestanimationframe","classlist","opacity","csstransforms","csspointerevents"]));r.sSetup=d.sSetup,r.sSetupDOM=d.sSetupDOM;var U=200,q=.15,z=.15,B=e.Symbol||function(t){return"_"+t},H=B("openedObservable"),W=B("alignObservable"),X=B("persistentObservable"),V=B("preventDefaultObservable"),$=B("mouseEventsObservable"),G=B("backButtonObservable"),Y=B("animateToObservable"),K=B("drawerWidth"),J=B("scrimElement"),Z=B("contentElement"),Q=B("scrollElement"),tt=Object.assign.bind(Object),et=Math.abs.bind(Math),rt=Math.min.bind(Math),nt=Math.max.bind(Math)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":129,"core-js/fn/array/from":23,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"hy-component/src/component":124,"hy-component/src/symbols":126,"hy-component/src/types":127,"rxjs/Observable":144,"rxjs/Subject":148,"rxjs/observable/combineLatest":164,"rxjs/observable/defer":166,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/never":173,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/pairwise":189,"rxjs/operator/repeatWhen":191,"rxjs/operator/sample":192,"rxjs/operator/share":193,"rxjs/operator/skipWhile":194,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/takeUntil":198,"rxjs/operator/timestamp":199,"rxjs/operator/withLatestFrom":201}],131:[function(t,e,r){var n="@media screen {\n .hy-drawer-scrim {\n position: fixed;\n bottom: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n z-index: 2;\n opacity: 0;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.5);\n transform: translateX(0);\n -webkit-tap-highlight-color: transparent;\n }\n\n .hy-drawer-content {\n position: fixed;\n bottom: 0;\n height: 100vh;\n z-index: 3;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translateX(0);\n width: 300px;\n background: #e8e8e8;\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);\n contain: strict;\n -webkit-overflow-scrolling: touch;\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: -300px;\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: -300px;\n }\n\n .hy-drawer-content.hy-drawer-left.hy-drawer-opened {\n left: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-content.hy-drawer-right.hy-drawer-opened {\n right: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n }\n\n .hy-drawer-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n }\n}\n@media print {\n .hy-drawer-scrim {\n display: none!important;\n }\n\n .hy-drawer-content {\n transform: none!important;\n }\n}\n";t("browserify-css").createStyle(n,{href:"node_modules/hy-drawer/src/style.css"},{insertAt:"bottom"}),e.exports=n},{"browserify-css":14}],132:[function(t,e,r){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.Drawer=r.VANILLA_FEATURE_TESTS=void 0;var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var i=t("hy-component/src/vanilla"),s=t("hy-component/src/symbols"),a=t("../common"),c=t("../mixin");t("../style.css");r.VANILLA_FEATURE_TESTS=new a.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(c.MIXIN_FEATURE_TESTS),["classlist"])),r.Drawer=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":n(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":n(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)}(e,(0,c.drawerMixin)(i.VanillaComponent)),o(e,[{key:s.sSetupDOM,value:function(t){if(!t)throw Error("No element provided");var e=document.createElement("div"),r=document.createElement("div");for(e.classList.add("hy-drawer-scrim"),r.classList.add("hy-drawer-content");t.children.length>0;)r.appendChild(t.children[0]);return t.appendChild(e),t.appendChild(r),t}}]),e}()},{"../common":129,"../mixin":130,"../style.css":131,"core-js/fn/array/from":23,"hy-component/src/symbols":126,"hy-component/src/vanilla":128}],133:[function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var o="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};Object.defineProperty(r,"__esModule",{value:!0}),r.HTMLDrawerElement=r.WEBCOMPONENT_FEATURE_TESTS=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var s=t("hy-component/src/custom-element"),a=t("hy-component/src/symbols"),c=t("../common"),u=t("../mixin"),l=function(t){return t&&t.__esModule?t:{default:t}}(t("./template.html"));r.WEBCOMPONENT_FEATURE_TESTS=new c.Set([].concat(n(s.CUSTOM_ELEMENT_FEATURE_TESTS),n(u.MIXIN_FEATURE_TESTS))),r.HTMLDrawerElement=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":o(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)}(e,(0,s.customElementMixin)((0,u.drawerMixin)(s.CustomElement))),i(e,[{key:a.sGetTemplate,value:function(){return(0,s.fragmentFromString)(l.default)}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}()},{"../common":129,"../mixin":130,"./template.html":134,"core-js/fn/array/from":23,"hy-component/src/custom-element":125,"hy-component/src/symbols":126}],134:[function(t,e,r){e.exports='<div class="hy-drawer-scrim"></div>\n<div class="hy-drawer-content">\n <slot></slot>\n</div>\n\n<style>\n /* HACK: Hard-coded: ../style.css */\n @media screen {\n .hy-drawer-scrim {\n position: fixed;\n bottom: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n z-index: 2;\n opacity: 0;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.5);\n transform: translateX(0);\n -webkit-tap-highlight-color: transparent;\n }\n\n .hy-drawer-content {\n position: fixed;\n bottom: 0;\n height: 100vh;\n z-index: 3;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translateX(0);\n width: 300px;\n background: #e8e8e8;\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);\n contain: strict;\n -webkit-overflow-scrolling: touch;\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: -300px;\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: -300px;\n }\n\n .hy-drawer-content.hy-drawer-left.hy-drawer-opened {\n left: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-content.hy-drawer-right.hy-drawer-opened {\n right: 0!important;\n transform: translateX(0)!important;\n }\n\n .hy-drawer-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n }\n\n .hy-drawer-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n }\n }\n\n @media print {\n .hy-drawer-scrim {\n display: none!important;\n }\n\n .hy-drawer-content {\n transform: none!important;\n }\n }\n\n /* HACK: Hard-coded ./style.css */\n @media screen {\n :host {\n\n }\n\n .hy-drawer-content {\n @apply --hy-drawer-content-container;\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, #e8e8e8);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: var(--hy-drawer-z-index, 3);\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: calc(-1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)));\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: calc(-1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)));\n }\n\n .hy-drawer-scrim {\n @apply --hy-drawer-scrim-container;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-scrim-z-index, 2);\n }\n }\n</style>\n'},{}],135:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.matches=r.Set=void 0,r.matchesAncestors=function(t){for(var e=this;e!==document&&e!==document.documentElement;){var r;if((r=e,o).call(r,t))return e;e=e.parentNode}return null},r.isExternal=function(t){var e=t.protocol,r=t.host;return e!==window.location.protocol||r!==window.location.host},r.isHash=function(t){var e=t.hash,r=t.origin,n=t.pathname;return""!==e&&r===window.location.origin&&n===window.location.pathname},r.getScrollHeight=function(){var t=document.documentElement,e=document.body,r="scrollHeight";return t[r]||e[r]},r.getScrollLeft=function(){return window.pageXOffset||document.body.scrollLeft},r.getScrollTop=function(){return window.pageYOffset||document.body.scrollTop},r.fragmentFromString=function(t){return document.createRange().createContextualFragment(t)};var n=t("hy-component/src/common");r.Set=n.Set;var o=r.matches=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector},{"hy-component/src/common":123}],136:[function(t,e,r){(function(e){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){var e=this;return Q.switchMap.call(t,function(t){return t?I.never.call(M.Observable):e})}function i(t,e,r){var n,o=this;return(n=o,z._catch).call(n,function(t,e){return e}).subscribe(t,e,r)}function s(t,e){return t&&""===t.target&&(!e||-1!==t.href.search(e))}function a(){return this.el.id||this.constructor.componentName}function c(t){if(t){var e=document.getElementById(t.substr(1));e&&e.scrollIntoView()}else window.scroll(window.pageXOffset,0)}function u(){var t=a.call(this),e=window.history.state&&window.history.state[t]||{};null!=e.scrollTop?(document.body.style.minHeight=e.scrollHeight,window.scroll(window.pageXOffset,e.scrollTop)):e.hash&&c(window.location.hash)}function l(t){var e=t.type,r=t.replace,o=t.url,i=o.href,s=o.hash;if(e===ut||e===at){var c=a.call(this),u=r||i===window.location.href?"replaceState":"pushState";window.history[u](n({},c,{hash:!!s}),"",i)}}function f(){var t=function(t){var e=a.call(this);return mt(t,n({},e,mt(t[e]||{},{scrollTop:(0,st.getScrollTop)(),scrollHeight:(0,st.getScrollHeight)()})))}.call(this,window.history.state||{});window.history.replaceState(t,document.title,window.location)}function p(t){var e,r=this;return(e=(e=q.ajax.call(M.Observable,function(t){return{method:"GET",responseType:"text",url:t.url}}(t)),V.map).call(e,function(e){var r=e.response;return mt(t,{response:r})}),z._catch).call(e,function(e){return function(t,e){var r=e.status,n=e.xhr;return n&&n.response&&r>400?D.of.call(M.Observable,mt(t,{response:n.response})):D.of.call(M.Observable,mt(t,{error:e}))}.call(r,t,e)})}function h(t,e){var r,n=E(e,2),o=n[0],i=n[1];return(r=(r=function(t,e,r){return t.url.href===e.url.href&&null==e.error?D.of.call(M.Observable,e):tt.take.call(r,1)}(o,i,t),V.map).call(r,function(t){return mt(t,o)}),ot.zipProto).call(r,this[pt],function(t){return t})}function d(t){var e,r=E(t,2),n=r[0],o=r[1],i=document.write;return document.write=function(){for(var t,e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=document.createElement("noscript");i.innerHTML=r.join(),(t=i.childNodes,bt).call(t,function(t){o.parentNode.insertBefore(t,o)})},""!==n.src?M.Observable.create(function(t){n.addEventListener("load",function(e){document.write=i,t.complete(e)}),n.addEventListener("error",function(e){document.write=i,t.error(e)}),o.parentNode.insertBefore(n,o.nextElementSibling)}):(e=D.of.call(M.Observable,{}),B._do).call(e,function(){o.parentNode.insertBefore(n,o.nextElementSibling),document.write=i})}function b(t){return(t.querySelector("title")||{}).textContent}function y(t){if(this.replaceIds.length>0)return this.replaceIds.map(function(e){return t.getElementById(e)});var e=void 0;if(this.el.id)e=t.getElementById(this.el.id);else{var r,n=(r=document.getElementsByTagName(this.el.tagName),yt).call(r,this.el);e=t.querySelectorAll(this.el.tagName)[n]}return[e]}function m(t){var e=t.response,r=(0,st.fragmentFromString)(e),n=b.call(this,r),o=y.call(this,r);if(o.some(function(t){return null==t}))throw mt(t,{relaceElMissing:!0});var i=this._scriptSelector?function(t){var e=this,r=[];return t.forEach(function(t){var n;return(n=t.querySelectorAll(e._scriptSelector),bt).call(n,function(t){var e=[t,t.previousElementSibling];t.parentNode.removeChild(t),r.push(e)})}),r}.call(this,o):[];return mt(t,{title:n,replaceEls:o,scripts:i})}function v(t){this.replaceIds.length>0?function(t){this.replaceIds.map(function(t){return document.getElementById(t)}).forEach(function(e,r){e.parentNode.replaceChild(t[r],e)})}.call(this,t):function(t){var e=E(t,1)[0];this.el.innerHTML=e.innerHTML}.call(this,t)}function g(t){this[k.sFire]("load",{detail:t})}function _(t,e){return t.url.href===e.url.href&&t.error===e.error&&t.cacheNr===e.cacheNr}function w(t){var e=E(t,2),r=e[0].url.pathname,n=e[1],o=n.url,i=o.pathname,s=o.hash,a=n.type;return i===r&&(a===lt||a===ut&&""!==s)}function x(){var t,e=this,r=new P.Subject,b=new P.Subject;this[ht]=new P.Subject;var y={},x=(t=(t=X.filter.call(r,function(t){var e=t.metaKey,r=t.ctrlKey,n=t.currentTarget;return!e&&!r&&s(n,this._hrefRegex)&&!(0,st.isExternal)(n)}.bind(this)),V.map).call(t,function(t){return{type:ut,url:new it.URL(t.currentTarget.href),anchor:t.currentTarget,event:t,cacheNr:vt}}),B._do).call(t,function(t){t.event.preventDefault(),f.call(e)}),S=(t=(t=F.fromEvent.call(M.Observable,window,"popstate"),X.filter).call(t,function(){return window.history.state&&window.history.state[a.call(e)]}),V.map).call(t,function(t){return{type:lt,url:new it.URL(window.location),event:t,cacheNr:vt}}),O=(t=(t=(t=(t=L.merge.call(M.Observable,x,S,this[ht]),Z.startWith).call(t,{url:new it.URL(window.location)}),K.pairwise).call(t),J.share).call(t),Y.partition).call(t,w).map(function(t){var e;return(e=V.map.call(t,function(t){return E(t,2)[1]}),J.share).call(e)}),j=E(O,2),T=j[0],A=j[1],I=(t=(t=N.defer.call(M.Observable,function(){var t;return L.merge.call(M.Observable,$.mapTo.call(A,!0),(t=y.fetch$,$.mapTo).call(t,!1))}),Z.startWith).call(t,!1),J.share).call(t),D=(t=(t=o.call(b,I),X.filter).call(t,function(t){var e=t.currentTarget;return s(e,this._hrefRegex)&&!(0,st.isExternal)(e)&&!(0,st.isHash)(e)}.bind(this)),V.map).call(t,function(t){return{type:ct,url:new it.URL(t.currentTarget.href),anchor:t.currentTarget,event:t,cacheNr:vt}}),q=(t=(t=(t=(t=L.merge.call(M.Observable,D,A),W.distinctUntilChanged).call(t,_),Q.switchMap).call(t,p.bind(this)),Z.startWith).call(t,{url:{}}),J.share).call(t);y.fetch$=(t=(t=(t=(t=B._do.call(A,l.bind(this)),B._do).call(t,function(t){var e=this;this[pt]=U.timer.call(M.Observable,this.duration),this[k.sFire]("start",{detail:mt(t,{waitUntil:function(t){e[pt]=t}})})}.bind(this)),nt.withLatestFrom).call(t,q),Q.switchMap).call(t,h.bind(this,q)),J.share).call(t);var tt=(t=y.fetch$,Y.partition).call(t,function(t){return!t.error}),ot=E(tt,2),at=ot[0],ft=ot[1],dt=(t=(t=(t=(t=(t=(t=(t=V.map.call(at,m.bind(this)),G.observeOn).call(t,C.animationFrame),B._do).call(t,function(t){this[k.sFire]("ready",{detail:t})}.bind(this)),B._do).call(t,function(t){try{var e=t.title,r=t.replaceEls,n=t.type;document.title=e,n===ut&&window.history.replaceState(window.history.state,e,window.location),v.call(this,r)}catch(e){throw mt(t,{error:e})}}.bind(this)),B._do).call(t,function(t){this[k.sFire]("after",{detail:t})}.bind(this)),B._do).call(t,function(t){var e=t.type,r=t.url.hash;e===ut&&c(r),e===lt&&this.scrollRestoration&&u.call(this)}.bind(this)),B._do).call(t,{error:function(t){var e=t.relaceElMissing,r=t.url;e?(window.history.back(),setTimeout(function(){document.location.href=r},100)):this[k.sFire]("error",{detail:t})}.bind(this)}),z._catch).call(t,function(t,e){return e});if(this._scriptSelector){var yt;dt=(yt=(yt=(yt=dt,Q.switchMap).call(yt,function(t){var e,r=t.scripts;return(e=(e=(e=R.from.call(M.Observable,r),H.concatMap).call(e,d),z._catch).call(e,function(e){throw mt(t,{error:e})}),rt.toPromise).call(e).then(function(){return t})}.bind(this)),B._do).call(yt,{error:function(t){this[k.sFire]("error",{detail:t})}.bind(this)}),z._catch).call(yt,function(t,e){return e})}if((t=dt,i).call(t,g.bind(this)),i.call(T,function(t){var e=t.type,r=t.url,o=r.hash,i=r.href;if(e===ut){var s=a.call(this),u=mt(window.history.state,n({},s,mt(window.history.state[s],{hash:!0}))),l=n({},s,{hash:!0});window.history.replaceState(u,document.title,window.location.href),window.history.pushState(l,document.title,i)}c(o)}.bind(this)),i.call(ft,function(t){this[k.sFire]("networkerror",{detail:t})}.bind(this)),(t=Q.switchMap.call(A,function(t){var r;return(r=(r=N.defer.call(M.Observable,function(){return e[pt]}),et.takeUntil).call(r,y.fetch$),$.mapTo).call(r,t)}),i).call(t,function(t){this[k.sFire]("progress",{detail:t})}.bind(this)),"MutationObserver"in window&&"Set"in window){var gt,_t=new P.Subject,wt=new st.Set,xt=_t.next.bind(_t),St=r.next.bind(r),Ot=b.next.bind(b),jt=function(t){if(t instanceof Element){var r;(r=t.querySelectorAll(e.linkSelector),bt).call(r,function(t){wt.has(t)||(wt.add(t),t.addEventListener("click",St),t.addEventListener("mouseenter",Ot,{passive:!0}),t.addEventListener("touchstart",Ot,{passive:!0}),t.addEventListener("focus",Ot,{passive:!0}))})}},Et=new MutationObserver(function(t){return bt.call(t,xt)});(gt=o.call(_t,I),i).call(gt,function(t){var r=t.addedNodes,n=t.removedNodes;bt.call(n,function(t){if(t instanceof Element){var r;(r=t.querySelectorAll(e.linkSelector),bt).call(r,function(t){wt.delete(t),t.removeEventListener("click",St),t.removeEventListener("mouseenter",Ot,{passive:!0}),t.removeEventListener("touchstart",Ot,{passive:!0}),t.removeEventListener("focus",Ot,{passive:!0})})}}.bind(e)),bt.call(r,jt.bind(e))}),Et.observe(this.el,{childList:!0,subtree:!0}),jt.call(this,this.el)}else this.el.addEventListener("click",function(t){var n,o=(n=t.target,st.matchesAncestors).call(n,e.linkSelector);o&&o.href&&(t.currentTarget=o,r.next(t))})}var S="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};Object.defineProperty(r,"__esModule",{value:!0}),r.POP=r.PUSH=r.HINT=r.INIT=r.sSetupDOM=r.sSetup=r.MIXIN_FEATURE_TESTS=void 0;var O=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),j=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)},E=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r.pushStateMixin=function(t){return function(e){function r(){return function(t,e){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":S(e))&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":S(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)}(r,(0,T.componentMixin)(t)),O(r,[{key:k.sSetup,value:function(t,e){j(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),k.sSetup,this).call(this,t,e),"scrollRestoration"in window.history&&this.scrollRestoration&&(window.history.scrollRestoration="manual"),u.call(this),window.addEventListener("beforeunload",f.bind(this)),x.call(this);var n=new it.URL(window.location);return l.call(this,{type:at,replace:!0,url:n}),this[k.sFire]("init"),g.call(this,{type:at,title:b.call(this,document),replaceEls:y.call(this,document),url:n,cacheNr:vt}),this}},{key:k.sSetupDOM,value:function(t){return t}},{key:"assign",value:function(t){this[ht].next({type:ut,url:new it.URL(t,window.location),cacheNr:++vt})}},{key:"reload",value:function(){this[ht].next({type:ut,url:new it.URL(window.location.href),cacheNr:++vt,replace:!0})}},{key:"replace",value:function(t){this[ht].next({type:ut,url:new it.URL(t,window.location),cacheNr:++vt,replace:!0})}}],[{key:"componentName",get:function(){return"hy-push-state"}},{key:"defaults",get:function(){return{replaceIds:[],linkSelector:"a[href]:not(.no-push-state)",scrollRestoration:!1,duration:0,_hrefRegex:null,_scriptSelector:null}}},{key:"types",get:function(){return{replaceIds:A.array,linkSelector:A.string,scrollRestoration:A.bool,duration:A.number,_hrefRegex:A.regex,_scriptSelector:A.string}}},{key:"sideEffects",get:function(){return{}}}]),r}()},t("core-js/fn/array/for-each"),t("core-js/fn/array/from"),t("core-js/fn/function/bind"),t("core-js/fn/object/assign");var T=t("hy-component/src/component"),k=t("hy-component/src/symbols"),A=t("hy-component/src/types"),M=t("rxjs/Observable"),P=t("rxjs/Subject"),C=t("rxjs/scheduler/animationFrame"),N=t("rxjs/observable/defer"),R=t("rxjs/observable/from"),F=t("rxjs/observable/fromEvent"),L=t("rxjs/observable/merge"),I=t("rxjs/observable/never"),D=t("rxjs/observable/of"),U=t("rxjs/observable/timer"),q=t("rxjs/observable/dom/ajax"),z=t("rxjs/operator/catch"),B=t("rxjs/operator/do"),H=t("rxjs/operator/concatMap"),W=t("rxjs/operator/distinctUntilChanged"),X=t("rxjs/operator/filter"),V=t("rxjs/operator/map"),$=t("rxjs/operator/mapTo"),G=t("rxjs/operator/observeOn"),Y=t("rxjs/operator/partition"),K=t("rxjs/operator/pairwise"),J=t("rxjs/operator/share"),Z=t("rxjs/operator/startWith"),Q=t("rxjs/operator/switchMap"),tt=t("rxjs/operator/take"),et=t("rxjs/operator/takeUntil"),rt=t("rxjs/operator/toPromise"),nt=t("rxjs/operator/withLatestFrom"),ot=t("rxjs/operator/zip"),it=t("../url"),st=t("../common");r.MIXIN_FEATURE_TESTS=new st.Set([].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(T.COMPONENT_FEATURE_TESTS),["documentfragment","eventlistener","history","promises","queryselector","requestanimationframe"]));r.sSetup=k.sSetup,r.sSetupDOM=k.sSetupDOM;var at=r.INIT="init",ct=r.HINT="hint",ut=r.PUSH="push",lt=r.POP="pop",ft=e.Symbol||function(t){return"_"+t},pt=ft("animPromise"),ht=ft("reloadObservable"),dt=Array.prototype,bt=dt.forEach,yt=dt.indexOf,mt=Object.assign.bind(Object);DocumentFragment.prototype.getElementById=DocumentFragment.prototype.getElementById||function(t){return this.querySelector("#"+t)};var vt=1}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":135,"../url":137,"core-js/fn/array/for-each":22,"core-js/fn/array/from":23,"core-js/fn/function/bind":26,"core-js/fn/object/assign":28,"hy-component/src/component":124,"hy-component/src/symbols":126,"hy-component/src/types":127,"rxjs/Observable":144,"rxjs/Subject":148,"rxjs/observable/defer":166,"rxjs/observable/dom/ajax":168,"rxjs/observable/from":170,"rxjs/observable/fromEvent":171,"rxjs/observable/merge":172,"rxjs/observable/never":173,"rxjs/observable/of":174,"rxjs/observable/timer":175,"rxjs/operator/catch":176,"rxjs/operator/concatMap":177,"rxjs/operator/distinctUntilChanged":179,"rxjs/operator/do":180,"rxjs/operator/filter":182,"rxjs/operator/map":184,"rxjs/operator/mapTo":185,"rxjs/operator/observeOn":188,"rxjs/operator/pairwise":189,"rxjs/operator/partition":190,"rxjs/operator/share":193,"rxjs/operator/startWith":195,"rxjs/operator/switchMap":196,"rxjs/operator/take":197,"rxjs/operator/takeUntil":198,"rxjs/operator/toPromise":200,"rxjs/operator/withLatestFrom":201,"rxjs/operator/zip":202,"rxjs/scheduler/animationFrame":239}],137:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=r.URL=window.URL;if(!(n&&n.prototype&&"href"in n.prototype)){r.URL=n=function(t,e){if(!t)throw new TypeError("Invalid argument");var r=document.implementation.createHTMLDocument("");if(e){var n=r.createElement("base");n.href=e,r.head.appendChild(n)}var o=r.createElement("a");if(o.href=t,r.body.appendChild(o),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})},n.prototype={toString:function(){return this.href},get href(){return this._anchorElement.href},set href(t){this._anchorElement.href=t},get protocol(){return this._anchorElement.protocol},set protocol(t){this._anchorElement.protocol=t},get host(){return this._anchorElement.host},set host(t){this._anchorElement.host=t},get hostname(){return this._anchorElement.hostname},set hostname(t){this._anchorElement.hostname=t},get port(){return this._anchorElement.port},set port(t){this._anchorElement.port=t},get pathname(){return this._anchorElement.pathname},set pathname(t){this._anchorElement.pathname=t},get search(){return this._anchorElement.search},set search(t){this._anchorElement.search=t},get hash(){return this._anchorElement.hash},set hash(t){this._anchorElement.hash=t}};var o=window.URL||window.webkitURL||window.mozURL;n.createObjectURL=function(t){return o.createObjectURL.apply(o,arguments)},n.revokeObjectURL=function(t){return o.revokeObjectURL.apply(o,arguments)},Object.defineProperty(n.prototype,"toString",{enumerable:!1})}},{}],138:[function(t,e,r){"use strict";var n="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};Object.defineProperty(r,"__esModule",{value:!0}),r.PushState=r.VANILLA_FEATURE_TESTS=void 0,t("core-js/fn/array/from");var o=t("hy-component/src/vanilla"),i=t("../mixin");r.VANILLA_FEATURE_TESTS=i.MIXIN_FEATURE_TESTS,r.PushState=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":n(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":n(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)}(e,(0,i.pushStateMixin)(o.VanillaComponent)),e}()},{"../mixin":136,"core-js/fn/array/from":23,"hy-component/src/vanilla":128}],139:[function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var o="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};Object.defineProperty(r,"__esModule",{value:!0}),r.HTMLPushStateElement=r.WEBCOMPONENT_FEATURE_TESTS=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();t("core-js/fn/array/from");var s=t("hy-component/src/custom-element"),a=t("hy-component/src/symbols"),c=t("../common"),u=t("../mixin");r.WEBCOMPONENT_FEATURE_TESTS=new c.Set([].concat(n(s.CUSTOM_ELEMENT_FEATURE_TESTS),n(u.MIXIN_FEATURE_TESTS))),r.HTMLPushStateElement=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":o(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)}(e,(0,s.customElementMixin)((0,u.pushStateMixin)(s.CustomElement))),i(e,[{key:a.sGetTemplate,value:function(){return null}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}()},{"../common":135,"../mixin":136,"core-js/fn/array/from":23,"hy-component/src/custom-element":125,"hy-component/src/symbols":126}],140:[function(t,e,r){"use strict";e.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},{}],141:[function(t,e,r){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function s(){b&&h&&(b=!1,h.length?d=h.concat(d):y=-1,d.length&&a())}function a(){if(!b){var t=i(s);b=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,b=!1,function(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var h,d=[],b=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];d.push(new c(t,e)),1!==d.length||b||i(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],142:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r,n){t.call(this),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}return n(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(t("./Subscriber").Subscriber);r.InnerSubscriber=o},{"./Subscriber":150}],143:[function(t,e,r){"use strict";var n=t("./Observable"),o=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();r.Notification=o},{"./Observable":144}],144:[function(t,e,r){"use strict";var n=t("./util/root"),o=t("./util/toSubscriber"),i=t("./symbol/observable"),s=t("./util/pipe"),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=o.toSubscriber(t,e,r);if(n?n.call(i,this.source):i.add(this.source?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var o;o=r.subscribe(function(e){if(o)try{t(e)}catch(t){n(t),o.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var n;e.subscribe(function(t){return n=t},function(t){return r(t)},function(){return t(n)})})},t.create=function(e){return new t(e)},t}();r.Observable=a},{"./symbol/observable":242,"./util/pipe":260,"./util/root":261,"./util/toSubscriber":263}],145:[function(t,e,r){"use strict";r.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},{}],146:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(t("./Subscriber").Subscriber);r.OuterSubscriber=o},{"./Subscriber":150}],147:[function(t,e,r){"use strict";var n=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();r.Scheduler=n},{}],148:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./Observable"),i=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),c=t("./SubjectSubscription"),u=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(i.Subscriber);r.SubjectSubscriber=l;var f=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[u.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),o=0;o<r;o++)n[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),o=0;o<r;o++)n[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new c.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new o.Observable;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.Observable);r.Subject=f;var p=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.Subscription.EMPTY},e}(f);r.AnonymousSubject=p},{"./Observable":144,"./SubjectSubscription":149,"./Subscriber":150,"./Subscription":151,"./symbol/rxSubscriber":243,"./util/ObjectUnsubscribedError":246}],149:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this),this.subject=e,this.subscriber=r,this.closed=!1}return n(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(t("./Subscription").Subscription);r.SubjectSubscription=o},{"./Subscription":151}],150:[function(t,e,r){"use strict";var n="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},o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),c=t("./symbol/rxSubscriber"),u=function(t){function e(r,o,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,o,i)}}return o(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,r,n){var o=new e(t,r,n);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(s.Subscription);r.Subscriber=u;var l=function(t){function e(e,r,n,o){t.call(this),this._parentSubscriber=e;var s,c=this;i.isFunction(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==a.empty&&(c=Object.create(r),i.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=s,this._error=n,this._complete=o}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,r){try{e.call(this._context,r)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},{"./Observer":145,"./Subscription":151,"./symbol/rxSubscriber":243,"./util/isFunction":253}],151:[function(t,e,r){"use strict";function n(t){return t.reduce(function(t,e){return t.concat(e instanceof l.UnsubscriptionError?e.errors:e)},[])}var o="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},i=t("./util/isArray"),s=t("./util/isObject"),a=t("./util/isFunction"),c=t("./util/tryCatch"),u=t("./util/errorObject"),l=t("./util/UnsubscriptionError"),f=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var r=this._parent,o=this._parents,f=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,d=o?o.length:0;r;)r.remove(this),r=++h<d&&o[h]||null;if(a.isFunction(f)){(y=c.tryCatch(f).call(this))===u.errorObject&&(e=!0,t=t||(u.errorObject.e instanceof l.UnsubscriptionError?n(u.errorObject.e.errors):[u.errorObject.e]))}if(i.isArray(p))for(h=-1,d=p.length;++h<d;){var b=p[h];if(s.isObject(b)){var y=c.tryCatch(b.unsubscribe).call(b);if(y===u.errorObject){e=!0,t=t||[];var m=u.errorObject.e;m instanceof l.UnsubscriptionError?t=t.concat(n(m.errors)):t.push(m)}}}if(e)throw new l.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var r=e;switch(void 0===e?"undefined":o(e)){case"function":r=new t(e);case"object":if(r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!=typeof r._addParent){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.prototype._addParent=function(t){var e=this._parent,r=this._parents;e&&e!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();r.Subscription=f},{"./util/UnsubscriptionError":247,"./util/errorObject":248,"./util/isArray":250,"./util/isFunction":253,"./util/isObject":255,"./util/tryCatch":264}],152:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("./ScalarObservable"),s=t("./EmptyObservable"),a=function(t){function e(e,r){t.call(this),this.arrayLike=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){var n=t.length;return 0===n?new s.EmptyObservable:1===n?new i.ScalarObservable(t[0],r):new e(t,r)},e.dispatch=function(t){var e=t.arrayLike,r=t.index,n=t.length,o=t.subscriber;o.closed||(r>=n?o.complete():(o.next(e[r]),t.index=r+1,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.arrayLike,n=this.scheduler,o=r.length;if(n)return n.schedule(e.dispatch,0,{arrayLike:r,index:0,length:o,subscriber:t});for(var i=0;i<o&&!t.closed;i++)t.next(r[i]);t.complete()},e}(o.Observable);r.ArrayLikeObservable=a},{"../Observable":144,"./EmptyObservable":156,"./ScalarObservable":162}],153:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("./ScalarObservable"),s=t("./EmptyObservable"),a=t("../util/isScheduler"),c=function(t){function e(e,r){t.call(this),this.array=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){return new e(t,r)},e.of=function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var o=t.length;return o>1?new e(t,n):1===o?new i.ScalarObservable(t[0],n):new s.EmptyObservable(n)},e.dispatch=function(t){var e=t.array,r=t.index,n=t.count,o=t.subscriber;r>=n?o.complete():(o.next(e[r]),o.closed||(t.index=r+1,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.array,n=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:0,count:n,subscriber:t});for(var i=0;i<n&&!t.closed;i++)t.next(r[i]);t.complete()},e}(o.Observable);r.ArrayObservable=c},{"../Observable":144,"../util/isScheduler":257,"./EmptyObservable":156,"./ScalarObservable":162}],154:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),i=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),c=t("../operators/refCount"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}return n(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.Subscription).add(this.source.subscribe(new f(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return c.refCount()(this)},e}(i.Observable);r.ConnectableObservable=u;var l=u.prototype;r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var f=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.SubjectSubscriber),p=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new p(t,r),o=e.subscribe(n);return n.closed||(n.connection=r.connect()),o}}(),function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(s.Subscriber))},{"../Observable":144,"../Subject":148,"../Subscriber":150,"../Subscription":151,"../operators/refCount":221}],155:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/subscribeToResult"),s=t("../OuterSubscriber"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return n(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new c(t,this.observableFactory)},e}(o.Observable);r.DeferObservable=a;var c=function(t){function e(e,r){t.call(this,e),this.factory=r,this.tryDefer()}return n(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(i.subscribeToResult(this,t))},e}(s.OuterSubscriber)},{"../Observable":144,"../OuterSubscriber":146,"../util/subscribeToResult":262}],156:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e){t.call(this),this.scheduler=e}return n(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(t("../Observable").Observable);r.EmptyObservable=o},{"../Observable":144}],157:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/tryCatch"),s=t("../util/isFunction"),a=t("../util/errorObject"),c=t("../Subscription"),u=Object.prototype.toString,l=function(t){function e(e,r,n,o){t.call(this),this.sourceObj=e,this.eventName=r,this.selector=n,this.options=o}return n(e,t),e.create=function(t,r,n,o){return s.isFunction(n)&&(o=n,n=void 0),new e(t,r,o,n)},e.setupSubscription=function(t,r,n,o,i){var s;if(function(t){return!!t&&"[object NodeList]"===u.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===u.call(t)}(t))for(var a=0,l=t.length;a<l;a++)e.setupSubscription(t[a],r,n,o,i);else if(function(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var f=t;t.addEventListener(r,n,i),s=function(){return f.removeEventListener(r,n)}}else if(function(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var p=t;t.on(r,n),s=function(){return p.off(r,n)}}else{if(!function(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t))throw new TypeError("Invalid event target");var h=t;t.addListener(r,n),s=function(){return h.removeListener(r,n)}}o.add(new c.Subscription(s))},e.prototype._subscribe=function(t){var r=this.sourceObj,n=this.eventName,o=this.options,s=this.selector;e.setupSubscription(r,n,s?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=i.tryCatch(s).apply(void 0,e);n===a.errorObject?t.error(a.errorObject.e):t.next(n)}:function(e){return t.next(e)},t,o)},e}(o.Observable);r.FromEventObservable=l},{"../Observable":144,"../Subscription":151,"../util/errorObject":248,"../util/isFunction":253,"../util/tryCatch":264}],158:[function(t,e,r){"use strict";var n="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},o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/isArray"),s=t("../util/isArrayLike"),a=t("../util/isPromise"),c=t("./PromiseObservable"),u=t("./IteratorObservable"),l=t("./ArrayObservable"),f=t("./ArrayLikeObservable"),p=t("../symbol/iterator"),h=t("../Observable"),d=t("../operators/observeOn"),b=t("../symbol/observable"),y=function(t){function e(e,r){t.call(this,null),this.ish=e,this.scheduler=r}return o(e,t),e.create=function(t,r){if(null!=t){if("function"==typeof t[b.observable])return t instanceof h.Observable&&!r?t:new e(t,r);if(i.isArray(t))return new l.ArrayObservable(t,r);if(a.isPromise(t))return new c.PromiseObservable(t,r);if("function"==typeof t[p.iterator]||"string"==typeof t)return new u.IteratorObservable(t,r);if(s.isArrayLike(t))return new f.ArrayLikeObservable(t,r)}throw new TypeError((null!==t&&(void 0===t?"undefined":n(t))||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,r=this.scheduler;return null==r?e[b.observable]().subscribe(t):e[b.observable]().subscribe(new d.ObserveOnSubscriber(t,r,0))},e}(h.Observable);r.FromObservable=y},{"../Observable":144,"../operators/observeOn":218,"../symbol/iterator":241,"../symbol/observable":242,"../util/isArray":250,"../util/isArrayLike":251,"../util/isPromise":256,"./ArrayLikeObservable":152,"./ArrayObservable":153,"./IteratorObservable":159,"./PromiseObservable":161}],159:[function(t,e,r){"use strict";function n(t){var e=+t.length;return isNaN(e)?0:0!==e&&function(t){return"number"==typeof t&&i.root.isFinite(t)}(e)?(e=function(t){var e=+t;if(0===e)return e;if(isNaN(e))return e;return e<0?-1:1}(e)*Math.floor(Math.abs(e)))<=0?0:e>f?f:e:e}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/root"),s=t("../Observable"),a=t("../symbol/iterator"),c=function(t){function e(e,r){if(t.call(this),this.scheduler=r,null==e)throw new Error("iterator cannot be null.");this.iterator=function(t){var e=t[a.iterator];if(!e&&"string"==typeof t)return new u(t);if(!e&&void 0!==t.length)return new l(t);if(!e)throw new TypeError("object is not iterable");return t[a.iterator]()}(e)}return o(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.index,r=t.hasError,n=t.iterator,o=t.subscriber;if(r)o.error(t.error);else{var i=n.next();i.done?o.complete():(o.next(i.value),t.index=e+1,o.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var r=this.iterator,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var o=r.next();if(o.done){t.complete();break}if(t.next(o.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(s.Observable);r.IteratorObservable=c;var u=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=t.length),this.str=t,this.idx=e,this.len=r}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),l=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=n(t)),this.arr=t,this.idx=e,this.len=r}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),f=Math.pow(2,53)-1},{"../Observable":144,"../symbol/iterator":241,"../util/root":261}],160:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Observable"),i=t("../util/noop"),s=function(t){function e(){t.call(this)}return n(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){i.noop()},e}(o.Observable);r.NeverObservable=s},{"../Observable":144,"../util/noop":258}],161:[function(t,e,r){"use strict";function n(t){var e=t.value,r=t.subscriber;r.closed||(r.next(e),r.complete())}function o(t){var e=t.err,r=t.subscriber;r.closed||r.error(e)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../util/root"),a=function(t){function e(e,r){t.call(this),this.promise=e,this.scheduler=r}return i(e,t),e.create=function(t,r){return new e(t,r)},e.prototype._subscribe=function(t){var e=this,r=this.promise,i=this.scheduler;if(null==i)this._isScalar?t.closed||(t.next(this.value),t.complete()):r.then(function(r){e.value=r,e._isScalar=!0,t.closed||(t.next(r),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return i.schedule(n,0,{value:this.value,subscriber:t})}else r.then(function(r){e.value=r,e._isScalar=!0,t.closed||t.add(i.schedule(n,0,{value:r,subscriber:t}))},function(e){t.closed||t.add(i.schedule(o,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(t("../Observable").Observable);r.PromiseObservable=a},{"../Observable":144,"../util/root":261}],162:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this),this.value=e,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.done,r=t.value,n=t.subscriber;e?n.complete():(n.next(r),n.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var r=this.value,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{done:!1,value:r,subscriber:t});t.next(r),t.closed||t.complete()},e}(t("../Observable").Observable);r.ScalarObservable=o},{"../Observable":144}],163:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/isNumeric"),i=t("../Observable"),s=t("../scheduler/async"),a=t("../util/isScheduler"),c=t("../util/isDate"),u=function(t){function e(e,r,n){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,o.isNumeric(r)?this.period=Number(r)<1&&1||Number(r):a.isScheduler(r)&&(n=r),a.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=c.isDate(e)?+e-this.scheduler.now():e}return n(e,t),e.create=function(t,r,n){return void 0===t&&(t=0),new e(t,r,n)},e.dispatch=function(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}},e.prototype._subscribe=function(t){var r=this.period,n=this.dueTime;return this.scheduler.schedule(e.dispatch,n,{index:0,period:r,subscriber:t})},e}(i.Observable);r.TimerObservable=u},{"../Observable":144,"../scheduler/async":240,"../util/isDate":252,"../util/isNumeric":254,"../util/isScheduler":257}],164:[function(t,e,r){"use strict";var n=t("../util/isScheduler"),o=t("../util/isArray"),i=t("./ArrayObservable"),s=t("../operators/combineLatest");r.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null,a=null;return n.isScheduler(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new i.ArrayObservable(t,a).lift(new s.CombineLatestOperator(r))}},{"../operators/combineLatest":204,"../util/isArray":250,"../util/isScheduler":257,"./ArrayObservable":153}],165:[function(t,e,r){"use strict";var n=t("../util/isScheduler"),o=t("./of"),i=t("./from"),s=t("../operators/concatAll");r.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&n.isScheduler(t[1])?i.from(t[0]):s.concatAll()(o.of.apply(void 0,t))}},{"../operators/concatAll":205,"../util/isScheduler":257,"./from":170,"./of":174}],166:[function(t,e,r){"use strict";var n=t("./DeferObservable");r.defer=n.DeferObservable.create},{"./DeferObservable":155}],167:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=null),new v({method:"GET",url:t,headers:e})}function o(t,e,r){return new v({method:"POST",url:t,body:e,headers:r})}function i(t,e){return new v({method:"DELETE",url:t,headers:e})}function s(t,e,r){return new v({method:"PUT",url:t,body:e,headers:r})}function a(t,e,r){return new v({method:"PATCH",url:t,body:e,headers:r})}function c(t,e){return m(new v({method:"GET",url:t,responseType:"json",headers:e}))}function u(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var l=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},f=t("../../util/root"),p=t("../../util/tryCatch"),h=t("../../util/errorObject"),d=t("../../Observable"),b=t("../../Subscriber"),y=t("../../operators/map");r.ajaxGet=n,r.ajaxPost=o,r.ajaxDelete=i,r.ajaxPut=s,r.ajaxPatch=a;var m=y.map(function(t,e){return t.response});r.ajaxGetJSON=c;var v=function(t){function e(e){t.call(this);var r={async:!0,createXHR:function(){return this.crossDomain?function(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;if(f.root.XDomainRequest)return new f.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}.call(this):function(){if(f.root.XMLHttpRequest)return new f.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(t=e[r],new f.root.ActiveXObject(t))break}catch(t){}return new f.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);this.request=r}return l(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=n,t.post=o,t.delete=i,t.put=s,t.patch=a,t.getJSON=c,t}(),e}(d.Observable);r.AjaxObservable=v;var g=function(t){function e(e,r){t.call(this,e),this.request=r,this.done=!1;var n=r.headers=r.headers||{};r.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in n||f.root.FormData&&r.body instanceof f.root.FormData||void 0===r.body||(n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=this.serializeBody(r.body,r.headers["Content-Type"]),this.send()}return l(e,t),e.prototype.next=function(t){this.done=!0;var e=this.xhr,r=this.request,n=this.destination,o=new _(t,e,r);n.next(o)},e.prototype.send=function(){var t=this.request,e=this.request,r=e.user,n=e.method,o=e.url,i=e.async,s=e.password,a=e.headers,c=e.body,u=t.createXHR,l=p.tryCatch(u).call(t);if(l===h.errorObject)this.error(h.errorObject.e);else{this.xhr=l,this.setupEvents(l,t);if((r?p.tryCatch(l.open).call(l,n,o,i,r,s):p.tryCatch(l.open).call(l,n,o,i))===h.errorObject)return this.error(h.errorObject.e),null;if(i&&(l.timeout=t.timeout,l.responseType=t.responseType),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),this.setHeaders(l,a),(c?p.tryCatch(l.send).call(l,c):p.tryCatch(l.send).call(l))===h.errorObject)return this.error(h.errorObject.e),null}return l},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(f.root.FormData&&t instanceof f.root.FormData)return t;if(e){var r=e.indexOf(";");-1!==r&&(e=e.substring(0,r))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var r in e)e.hasOwnProperty(r)&&t.setRequestHeader(r,e[r])},e.prototype.setupEvents=function(t,e){function r(t){var e=r.subscriber,n=r.progressSubscriber,o=r.request;n&&n.error(t),e.error(new x(this,o))}function n(t){var e=n.subscriber,r=n.progressSubscriber,o=n.request;if(4===this.readyState){var i=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;0===i&&(i=s?200:0),200<=i&&i<300?(r&&r.complete(),e.next(t),e.complete()):(r&&r.error(t),e.error(new w("ajax error "+i,this,o)))}}var o=e.progressSubscriber;if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=o,t.upload&&"withCredentials"in t){if(o){var i;i=function(t){i.progressSubscriber.next(t)},f.root.XDomainRequest?t.onprogress=i:t.upload.onprogress=i,i.progressSubscriber=o}var s;s=function(t){var e=s,r=e.progressSubscriber,n=e.subscriber,o=e.request;r&&r.error(t),n.error(new w("ajax error",this,o))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=o}t.onreadystatechange=n,n.subscriber=this,n.progressSubscriber=o,n.request=e},e.prototype.unsubscribe=function(){var e=this.done,r=this.xhr;!e&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),t.prototype.unsubscribe.call(this)},e}(b.Subscriber);r.AjaxSubscriber=g;var _=function(){return function(t,e,r){this.originalEvent=t,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=u(this.responseType,e)}}();r.AjaxResponse=_;var w=function(t){function e(e,r,n){t.call(this,e),this.message=e,this.xhr=r,this.request=n,this.status=r.status,this.responseType=r.responseType||n.responseType,this.response=u(this.responseType,r)}return l(e,t),e}(Error);r.AjaxError=w;var x=function(t){function e(e,r){t.call(this,"ajax timeout",e,r)}return l(e,t),e}(w);r.AjaxTimeoutError=x},{"../../Observable":144,"../../Subscriber":150,"../../operators/map":212,"../../util/errorObject":248,"../../util/root":261,"../../util/tryCatch":264}],168:[function(t,e,r){"use strict";var n=t("./AjaxObservable");r.ajax=n.AjaxObservable.create},{"./AjaxObservable":167}],169:[function(t,e,r){"use strict";var n=t("./EmptyObservable");r.empty=n.EmptyObservable.create},{"./EmptyObservable":156}],170:[function(t,e,r){"use strict";var n=t("./FromObservable");r.from=n.FromObservable.create},{"./FromObservable":158}],171:[function(t,e,r){"use strict";var n=t("./FromEventObservable");r.fromEvent=n.FromEventObservable.create},{"./FromEventObservable":157}],172:[function(t,e,r){"use strict";var n=t("../operator/merge");r.merge=n.mergeStatic},{"../operator/merge":186}],173:[function(t,e,r){"use strict";var n=t("./NeverObservable");r.never=n.NeverObservable.create},{"./NeverObservable":160}],174:[function(t,e,r){"use strict";var n=t("./ArrayObservable");r.of=n.ArrayObservable.of},{"./ArrayObservable":153}],175:[function(t,e,r){"use strict";var n=t("./TimerObservable");r.timer=n.TimerObservable.create},{"./TimerObservable":163}],176:[function(t,e,r){"use strict";var n=t("../operators/catchError");r._catch=function(t){return n.catchError(t)(this)}},{"../operators/catchError":203}],177:[function(t,e,r){"use strict";var n=t("../operators/concatMap");r.concatMap=function(t,e){return n.concatMap(t,e)(this)}},{"../operators/concatMap":206}],178:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("../operators/debounceTime");r.debounceTime=function(t,e){return void 0===e&&(e=n.async),o.debounceTime(t,e)(this)}},{"../operators/debounceTime":207,"../scheduler/async":240}],179:[function(t,e,r){"use strict";var n=t("../operators/distinctUntilChanged");r.distinctUntilChanged=function(t,e){return n.distinctUntilChanged(t,e)(this)}},{"../operators/distinctUntilChanged":208}],180:[function(t,e,r){"use strict";var n=t("../operators/tap");r._do=function(t,e,r){return n.tap(t,e,r)(this)}},{"../operators/tap":230}],181:[function(t,e,r){"use strict";var n=t("../operators/exhaustMap");r.exhaustMap=function(t,e){return n.exhaustMap(t,e)(this)}},{"../operators/exhaustMap":209}],182:[function(t,e,r){"use strict";var n=t("../operators/filter");r.filter=function(t,e){return n.filter(t,e)(this)}},{"../operators/filter":210}],183:[function(t,e,r){"use strict";var n=t("../operators/finalize");r._finally=function(t){return n.finalize(t)(this)}},{"../operators/finalize":211}],184:[function(t,e,r){"use strict";var n=t("../operators/map");r.map=function(t,e){return n.map(t,e)(this)}},{"../operators/map":212}],185:[function(t,e,r){"use strict";var n=t("../operators/mapTo");r.mapTo=function(t){return n.mapTo(t)(this)}},{"../operators/mapTo":213}],186:[function(t,e,r){"use strict";var n=t("../operators/merge"),o=t("../operators/merge");r.mergeStatic=o.mergeStatic,r.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.merge.apply(void 0,t)(this)}},{"../operators/merge":214}],187:[function(t,e,r){"use strict";var n=t("../operators/mergeMap");r.mergeMap=function(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),n.mergeMap(t,e,r)(this)}},{"../operators/mergeMap":216}],188:[function(t,e,r){"use strict";var n=t("../operators/observeOn");r.observeOn=function(t,e){return void 0===e&&(e=0),n.observeOn(t,e)(this)}},{"../operators/observeOn":218}],189:[function(t,e,r){"use strict";var n=t("../operators/pairwise");r.pairwise=function(){return n.pairwise()(this)}},{"../operators/pairwise":219}],190:[function(t,e,r){"use strict";var n=t("../operators/partition");r.partition=function(t,e){return n.partition(t,e)(this)}},{"../operators/partition":220}],191:[function(t,e,r){"use strict";var n=t("../operators/repeatWhen");r.repeatWhen=function(t){return n.repeatWhen(t)(this)}},{"../operators/repeatWhen":222}],192:[function(t,e,r){"use strict";var n=t("../operators/sample");r.sample=function(t){return n.sample(t)(this)}},{"../operators/sample":223}],193:[function(t,e,r){"use strict";var n=t("../operators/share");r.share=function(){return n.share()(this)}},{"../operators/share":224}],194:[function(t,e,r){"use strict";var n=t("../operators/skipWhile");r.skipWhile=function(t){return n.skipWhile(t)(this)}},{"../operators/skipWhile":225}],195:[function(t,e,r){"use strict";var n=t("../operators/startWith");r.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.startWith.apply(void 0,t)(this)}},{"../operators/startWith":226}],196:[function(t,e,r){"use strict";var n=t("../operators/switchMap");r.switchMap=function(t,e){return n.switchMap(t,e)(this)}},{"../operators/switchMap":227}],197:[function(t,e,r){"use strict";var n=t("../operators/take");r.take=function(t){return n.take(t)(this)}},{"../operators/take":228}],198:[function(t,e,r){"use strict";var n=t("../operators/takeUntil");r.takeUntil=function(t){return n.takeUntil(t)(this)}},{"../operators/takeUntil":229}],199:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("../operators/timestamp");r.timestamp=function(t){return void 0===t&&(t=n.async),o.timestamp(t)(this)}},{"../operators/timestamp":231,"../scheduler/async":240}],200:[function(t,e,r){"use strict";var n=t("../Observable");r.toPromise=n.Observable.prototype.toPromise},{"../Observable":144}],201:[function(t,e,r){"use strict";var n=t("../operators/withLatestFrom");r.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.withLatestFrom.apply(void 0,t)(this)}},{"../operators/withLatestFrom":232}],202:[function(t,e,r){"use strict";var n=t("../operators/zip");r.zipProto=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n.zip.apply(void 0,t)(this)}},{"../operators/zip":233}],203:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.catchError=function(t){return function(e){var r=new s(t),n=e.lift(r);return r.caught=n}};var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.selector,this.caught))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.selector=r,this.caught=n}return n(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(i.subscribeToResult(this,r))}},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],204:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../observable/ArrayObservable"),i=t("../util/isArray"),s=t("../OuterSubscriber"),a=t("../util/subscribeToResult"),c={};r.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&i.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(new o.ArrayObservable([e].concat(t)),new u(r))}};var u=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project))},t}();r.CombineLatestOperator=u;var l=function(t){function e(e,r){t.call(this,e),this.project=r,this.active=0,this.values=[],this.observables=[]}return n(e,t),e.prototype._next=function(t){this.values.push(c),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(a.subscribeToResult(this,n,n,r))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){var i=this.values,s=i[r],a=this.toRespond?s===c?--this.toRespond:this.toRespond:0;i[r]=e,0===a&&(this.project?this._tryProject(i):this.destination.next(i.slice()))},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.OuterSubscriber);r.CombineLatestSubscriber=l},{"../OuterSubscriber":146,"../observable/ArrayObservable":153,"../util/isArray":250,"../util/subscribeToResult":262}],205:[function(t,e,r){"use strict";var n=t("./mergeAll");r.concatAll=function(){return n.mergeAll(1)}},{"./mergeAll":215}],206:[function(t,e,r){"use strict";var n=t("./mergeMap");r.concatMap=function(t,e){return n.mergeMap(t,e,1)}},{"./mergeMap":216}],207:[function(t,e,r){"use strict";function n(t){t.debouncedNext()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),s=t("../scheduler/async");r.debounceTime=function(t,e){return void 0===e&&(e=s.async),function(r){return r.lift(new a(t,e))}};var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(n,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(i.Subscriber)},{"../Subscriber":150,"../scheduler/async":240}],208:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../util/tryCatch"),s=t("../util/errorObject");r.distinctUntilChanged=function(t,e){return function(r){return r.lift(new a(t,e))}};var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return n(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=i.tryCatch(this.keySelector)(t))===s.errorObject)return this.destination.error(s.errorObject.e);var r=!1;if(this.hasKey){if((r=i.tryCatch(this.compare)(this.key,e))===s.errorObject)return this.destination.error(s.errorObject.e)}else this.hasKey=!0;!1===Boolean(r)&&(this.key=e,this.destination.next(t))},e}(o.Subscriber)},{"../Subscriber":150,"../util/errorObject":248,"../util/tryCatch":264}],209:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.exhaustMap=function(t,e){return function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return n(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,r=this.destination;try{var n=this.project(t,e);this.hasSubscription=!0,this.add(i.subscribeToResult(this,n,t,e))}catch(t){r.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){var i=this.resultSelector,s=this.destination;i?this.trySelectResult(t,e,r,n):s.next(e)},e.prototype.trySelectResult=function(t,e,r,n){var o=this.resultSelector,i=this.destination;try{var s=o(t,e,r,n);i.next(s)}catch(t){i.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],210:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.filter=function(t,e){return function(r){return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,r,n){t.call(this,e),this.predicate=r,this.thisArg=n,this.count=0}return n(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(o.Subscriber)},{"../Subscriber":150}],211:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../Subscription");r.finalize=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,r){t.call(this,e),this.add(new i.Subscription(r))}return n(e,t),e}(o.Subscriber)},{"../Subscriber":150,"../Subscription":151}],212:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.map=function(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}();r.MapOperator=i;var s=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.count=0,this.thisArg=n||this}return n(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.Subscriber)},{"../Subscriber":150}],213:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.mapTo=function(t){return function(e){return e.lift(new i(t))}};var i=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,r){t.call(this,e),this.value=r}return n(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},{"../Subscriber":150}],214:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,c=t[t.length-1];return a.isScheduler(c)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof c&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:s.mergeAll(r)(new i.ArrayObservable(t,n))}var o=t("../Observable"),i=t("../observable/ArrayObservable"),s=t("./mergeAll"),a=t("../util/isScheduler");r.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(n.apply(void 0,[e].concat(t)))}},r.mergeStatic=n},{"../Observable":144,"../observable/ArrayObservable":153,"../util/isScheduler":257,"./mergeAll":215}],215:[function(t,e,r){"use strict";var n=t("./mergeMap"),o=t("../util/identity");r.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),n.mergeMap(o.identity,null,t)}},{"../util/identity":249,"./mergeMap":216}],216:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/subscribeToResult"),i=t("../OuterSubscriber");r.mergeMap=function(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return"number"==typeof e&&(r=e,e=null),n.lift(new s(t,e,r))}};var s=function(){function t(t,e,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}();r.MergeMapOperator=s;var a=function(t){function e(e,r,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=r,this.resultSelector=n,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){this.add(o.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){this.resultSelector?this._notifyResultSelector(t,e,r,n):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,r,n){var o;try{o=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);r.MergeMapSubscriber=a},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],217:[function(t,e,r){"use strict";var n=t("../observable/ConnectableObservable");r.multicast=function(t,e){return function(r){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new o(i,e));var s=Object.create(r,n.connectableObservableDescriptor);return s.source=r,s.subjectFactory=i,s}};var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),o=r(n).subscribe(t);return o.add(e.subscribe(n)),o},t}();r.MulticastOperator=o},{"../observable/ConnectableObservable":154}],218:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../Notification");r.observeOn=function(t,e){return void 0===e&&(e=0),function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}();r.ObserveOnOperator=s;var a=function(t){function e(e,r,n){void 0===n&&(n=0),t.call(this,e),this.scheduler=r,this.delay=n}return n(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(i.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(i.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(i.Notification.createComplete())},e}(o.Subscriber);r.ObserveOnSubscriber=a;var c=function(){return function(t,e){this.notification=t,this.destination=e}}();r.ObserveOnMessage=c},{"../Notification":143,"../Subscriber":150}],219:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.pairwise=function(){return function(t){return t.lift(new i)}};var i=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return n(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},{"../Subscriber":150}],220:[function(t,e,r){"use strict";var n=t("../util/not"),o=t("./filter");r.partition=function(t,e){return function(r){return[o.filter(t,e)(r),o.filter(n.not(t,e))(r)]}}},{"../util/not":259,"./filter":210}],221:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.refCount=function(){return function(t){return t.lift(new i(t))}};var i=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new s(t,r),o=e.subscribe(n);return n.closed||(n.connection=r.connect()),o},t}(),s=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(o.Subscriber)},{"../Subscriber":150}],222:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),i=t("../util/tryCatch"),s=t("../util/errorObject"),a=t("../OuterSubscriber"),c=t("../util/subscribeToResult");r.repeatWhen=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.notifier,e))},t}(),l=function(t){function e(e,r,n){t.call(this,e),this.notifier=r,this.source=n,this.sourceIsBeingSubscribedTo=!0}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this.notifications,r=this.retries,n=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=e,this.retries=r,this.retriesSubscription=n,this},e.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var e=i.tryCatch(this.notifier)(this.notifications);if(e===s.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(a.OuterSubscriber)},{"../OuterSubscriber":146,"../Subject":148,"../util/errorObject":248,"../util/subscribeToResult":262,"../util/tryCatch":264}],223:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.sample=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var r=new a(t),n=e.subscribe(r);return n.add(i.subscribeToResult(r,this.notifier)),n},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return n(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,r,n,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],224:[function(t,e,r){"use strict";function n(){return new s.Subject}var o=t("./multicast"),i=t("./refCount"),s=t("../Subject");r.share=function(){return function(t){return i.refCount()(o.multicast(n)(t))}}},{"../Subject":148,"./multicast":217,"./refCount":221}],225:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.skipWhile=function(t){return function(e){return e.lift(new i(t))}};var i=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,r){t.call(this,e),this.predicate=r,this.skipping=!0,this.index=0}return n(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},{"../Subscriber":150}],226:[function(t,e,r){"use strict";var n=t("../observable/ArrayObservable"),o=t("../observable/ScalarObservable"),i=t("../observable/EmptyObservable"),s=t("../observable/concat"),a=t("../util/isScheduler");r.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var c=t.length;return 1===c?s.concat(new o.ScalarObservable(t[0],r),e):c>1?s.concat(new n.ArrayObservable(t,r),e):s.concat(new i.EmptyObservable(r),e)}}},{"../observable/ArrayObservable":153,"../observable/EmptyObservable":156,"../observable/ScalarObservable":162,"../observable/concat":165,"../util/isScheduler":257}],227:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.switchMap=function(t,e){return function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.index=0}return n(e,t),e.prototype._next=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=i.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,r,n,o){this.resultSelector?this._tryNotifyNext(t,e,r,n):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,r,n){var o;try{o=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],228:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),i=t("../util/ArgumentOutOfRangeError"),s=t("../observable/EmptyObservable");r.take=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new i.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,r){t.call(this,e),this.total=r,this.count=0}return n(e,t),e.prototype._next=function(t){var e=this.total,r=++this.count;r<=e&&(this.destination.next(t),r===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},{"../Subscriber":150,"../observable/EmptyObservable":156,"../util/ArgumentOutOfRangeError":245}],229:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.takeUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,r){t.call(this,e),this.notifier=r,this.add(i.subscribeToResult(this,r))}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],230:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.tap=function(t,e,r){return function(n){return n.lift(new i(t,e,r))}};var i=function(){function t(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,r,n,i){t.call(this,e);var s=new o.Subscriber(r,n,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return n(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},{"../Subscriber":150}],231:[function(t,e,r){"use strict";var n=t("../scheduler/async"),o=t("./map");r.timestamp=function(t){return void 0===t&&(t=n.async),o.map(function(e){return new i(e,t.now())})};var i=function(){return function(t,e){this.value=t,this.timestamp=e}}();r.Timestamp=i},{"../scheduler/async":240,"./map":212}],232:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),i=t("../util/subscribeToResult");r.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var r;"function"==typeof t[t.length-1]&&(r=t.pop());var n=t;return e.lift(new s(n,r))}};var s=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.observables=r,this.project=n,this.toRespond=[];var o=r.length;this.values=new Array(o);for(s=0;s<o;s++)this.toRespond.push(s);for(var s=0;s<o;s++){var a=r[s];this.add(i.subscribeToResult(this,a,a,s))}}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,o){this.values[r]=e;var i=this.toRespond;if(i.length>0){var s=i.indexOf(r);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.OuterSubscriber)},{"../OuterSubscriber":146,"../util/subscribeToResult":262}],233:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new i.ArrayObservable(t).lift(new f(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../observable/ArrayObservable"),s=t("../util/isArray"),a=t("../Subscriber"),c=t("../OuterSubscriber"),u=t("../util/subscribeToResult"),l=t("../symbol/iterator");r.zip=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(n.apply(void 0,[e].concat(t)))}},r.zipStatic=n;var f=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.project))},t}();r.ZipOperator=f;var p=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;s.isArray(t)?e.push(new d(t)):"function"==typeof t[l.iterator]?e.push(new h(t[l.iterator]())):e.push(new b(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0!==e){this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){if("function"==typeof(s=t[n]).hasValue&&!s.hasValue())return}for(var o=!1,i=[],n=0;n<e;n++){var s=t[n],a=s.next();if(s.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.project?this._tryProject(i):r.next(i),o&&r.complete()},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.Subscriber);r.ZipSubscriber=p;var h=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),d=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),b=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[l.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return u.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":146,"../Subscriber":150,"../observable/ArrayObservable":153,"../symbol/iterator":241,"../util/isArray":250,"../util/subscribeToResult":262}],234:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e,r){t.call(this)}return n(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(t("../Subscription").Subscription);r.Action=o},{"../Subscription":151}],235:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./AsyncAction"),i=t("../util/AnimationFrame"),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r}return n(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=i.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(i.AnimationFrame.cancelAnimationFrame(r),e.scheduled=void 0)},e}(o.AsyncAction);r.AnimationFrameAction=s},{"../util/AnimationFrame":244,"./AsyncAction":237}],236:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,o=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<o&&(t=r.shift()));if(this.active=!1,e){for(;++n<o&&(t=r.shift());)t.unsubscribe();throw e}},e}(t("./AsyncScheduler").AsyncScheduler);r.AnimationFrameScheduler=o},{"./AsyncScheduler":238}],237:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/root"),i=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r,this.pending=!1}return n(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),o.root.setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){return void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(t("./Action").Action);r.AsyncAction=i},{"../util/root":261,"./Action":234}],238:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(t("../Scheduler").Scheduler);r.AsyncScheduler=o},{"../Scheduler":147}],239:[function(t,e,r){"use strict";var n=t("./AnimationFrameAction"),o=t("./AnimationFrameScheduler");r.animationFrame=new o.AnimationFrameScheduler(n.AnimationFrameAction)},{"./AnimationFrameAction":235,"./AnimationFrameScheduler":236}],240:[function(t,e,r){"use strict";var n=t("./AsyncAction"),o=t("./AsyncScheduler");r.async=new o.AsyncScheduler(n.AsyncAction)},{"./AsyncAction":237,"./AsyncScheduler":238}],241:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var o=Object.getOwnPropertyNames(n.prototype),i=0;i<o.length;++i){var s=o[i];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var o=t("../util/root");r.symbolIteratorPonyfill=n,r.iterator=n(o.root),r.$$iterator=r.iterator},{"../util/root":261}],242:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var o=t("../util/root");r.getSymbolObservable=n,r.observable=n(o.root),r.$$observable=r.observable},{"../util/root":261}],243:[function(t,e,r){"use strict";var n=t("../util/root").root.Symbol;r.rxSubscriber="function"==typeof n&&"function"==typeof n.for?n.for("rxSubscriber"):"@@rxSubscriber",r.$$rxSubscriber=r.rxSubscriber},{"../util/root":261}],244:[function(t,e,r){"use strict";var n=t("./root"),o=function(){return function(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}}();r.RequestAnimationFrameDefinition=o,r.AnimationFrame=new o(n.root)},{"./root":261}],245:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);r.ArgumentOutOfRangeError=o},{}],246:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);r.ObjectUnsubscribedError=o},{}],247:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e){t.call(this),this.errors=e;var r=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(e,t),e}(Error);r.UnsubscriptionError=o},{}],248:[function(t,e,r){"use strict";r.errorObject={e:{}}},{}],249:[function(t,e,r){"use strict";r.identity=function(t){return t}},{}],250:[function(t,e,r){"use strict";r.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},{}],251:[function(t,e,r){"use strict";r.isArrayLike=function(t){return t&&"number"==typeof t.length}},{}],252:[function(t,e,r){"use strict";r.isDate=function(t){return t instanceof Date&&!isNaN(+t)}},{}],253:[function(t,e,r){"use strict";r.isFunction=function(t){return"function"==typeof t}},{}],254:[function(t,e,r){"use strict";var n=t("../util/isArray");r.isNumeric=function(t){return!n.isArray(t)&&t-parseFloat(t)+1>=0}},{"../util/isArray":250}],255:[function(t,e,r){"use strict";var n="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};r.isObject=function(t){return null!=t&&"object"===(void 0===t?"undefined":n(t))}},{}],256:[function(t,e,r){"use strict";r.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},{}],257:[function(t,e,r){"use strict";r.isScheduler=function(t){return t&&"function"==typeof t.schedule}},{}],258:[function(t,e,r){"use strict";r.noop=function(){}},{}],259:[function(t,e,r){"use strict";r.not=function(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}},{}],260:[function(t,e,r){"use strict";function n(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:o.noop}var o=t("./noop");r.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return n(t)},r.pipeFromArray=n},{"./noop":258}],261:[function(t,e,r){(function(t){"use strict";var e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=e||void 0!==t&&t||n;r.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],262:[function(t,e,r){"use strict";var n=t("./root"),o=t("./isArrayLike"),i=t("./isPromise"),s=t("./isObject"),a=t("../Observable"),c=t("../symbol/iterator"),u=t("../InnerSubscriber"),l=t("../symbol/observable");r.subscribeToResult=function(t,e,r,f){var p=new u.InnerSubscriber(t,r,f);if(p.closed)return null;if(e instanceof a.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):(p.syncErrorThrowable=!0,e.subscribe(p));if(o.isArrayLike(e)){for(var h=0,d=e.length;h<d&&!p.closed;h++)p.next(e[h]);p.closed||p.complete()}else{if(i.isPromise(e))return e.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){n.root.setTimeout(function(){throw t})}),p;if(e&&"function"==typeof e[c.iterator])for(var b=e[c.iterator]();;){var y=b.next();if(y.done){p.complete();break}if(p.next(y.value),p.closed)break}else if(e&&"function"==typeof e[l.observable]){var m=e[l.observable]();if("function"==typeof m.subscribe)return m.subscribe(new u.InnerSubscriber(t,r,f));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v="You provided "+(s.isObject(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(v))}}return null}},{"../InnerSubscriber":142,"../Observable":144,"../symbol/iterator":241,"../symbol/observable":242,"./isArrayLike":251,"./isObject":255,"./isPromise":256,"./root":261}],263:[function(t,e,r){"use strict";var n=t("../Subscriber"),o=t("../symbol/rxSubscriber"),i=t("../Observer");r.toSubscriber=function(t,e,r){if(t){if(t instanceof n.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new n.Subscriber(t,e,r):new n.Subscriber(i.empty)}},{"../Observer":145,"../Subscriber":150,"../symbol/rxSubscriber":243}],264:[function(t,e,r){"use strict";function n(){try{return o.apply(this,arguments)}catch(t){return i.errorObject.e=t,i.errorObject}}var o,i=t("./errorObject");r.tryCatch=function(t){return o=t,n}},{"./errorObject":248}],265:[function(t,e,r){"use strict";var n=t("is-arrayish"),o=Array.prototype.concat,i=Array.prototype.slice,s=e.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var a=t[r];n(a)?e=o.call(e,i.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},{"is-arrayish":140}],266:[function(t,e,r){!function(t,e){var r={},n={};!function(t,e){function r(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=p}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,n,o){var i=new r;return n&&(i.fill="both",i.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(r){if("auto"!=e[r]){if(("number"==typeof i[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==l.indexOf(e[r]))return;if("direction"==r&&-1==f.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;i[r]=e[r]}}):i.duration=e,i}function i(t,e,r,n){return t<0||t>1||r<0||r>1?p:function(o){function i(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(o<=0){var s=0;return t>0?s=e/t:!e&&r>0&&(s=n/r),s*o}if(o>=1){var a=0;return r<1?a=(n-1)/(r-1):1==r&&t<1&&(a=(e-1)/(t-1)),1+a*(o-1)}for(var c=0,u=1;c<u;){var l=(c+u)/2,f=i(t,r,l);if(Math.abs(o-f)<1e-5)return i(e,n,l);f<o?c=l:u=l}return i(e,n,l)}}function s(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function a(t){m||(m=document.createElement("div").style),m.animationTimingFunction="",m.animationTimingFunction=t;var e=m.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function c(t){if("linear"==t)return p;var e=g.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var r=_.exec(t);return r?s(Number(r[1]),{start:h,middle:d,end:b}[r[2]]):y[t]||p}function u(t,e,r){if(null==e)return w;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?x:e>=Math.min(r.delay+t,n)?S:O}var l="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),p=function(t){return t};r.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=c(a(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,d=.5,b=0,y={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":s(1,h),"step-middle":s(1,d),"step-end":s(1,b)},m=null,v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",g=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),_=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,w=0,x=1,S=2,O=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,r){return e=t.numericTimingToObject(e),o(e,r)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,r){var n=u(t,e,r),o=function(t,e,r,n,o){switch(n){case x:return"backwards"==e||"both"==e?0:null;case O:return r-o;case S:return"forwards"==e||"both"==e?t:null;case w:return null}}(t,r.fill,e,n,r.delay);if(null===o)return null;var i=function(t,e,r,n,o){var i=o;return 0===t?e!==x&&(i+=r):i+=n/t,i}(r.duration,n,r.iterations,o,r.iterationStart),s=function(t,e,r,n,o,i){var s=t===1/0?e%1:t%1;return 0!==s||r!==S||0===n||0===o&&0!==i||(s=1),s}(i,r.iterationStart,n,r.iterations,o,r.duration),a=function(t,e,r,n){return t===S&&e===1/0?1/0:1===s?Math.floor(n)-1:Math.floor(n)}(n,r.iterations,0,i),c=function(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var o=a;"alternate-reverse"===t&&(o+=1),n="normal",o!==1/0&&o%2!=0&&(n="reverse")}return"normal"===n?s:1-s}(r.direction);return r._easingFunction(c)},t.calculatePhase=u,t.normalizeEasing=a,t.parseEasingFunction=c}(r),function(t,e){function r(t,e){return t in c?c[t][e]||e:e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o){s.style[t]=e;for(var a in o){var c=o[a],u=s.style[c];n[c]=r(c,u)}}else n[t]=r(t,e)}}function o(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var o,i=n.length,s=0;s<i;s++)o={},o.offset="offset"in t?t.offset:1==i?1:s/(i-1),"easing"in t&&(o.easing=t.easing),"composite"in t&&(o.composite=t.composite),o[r]=n[s],e.push(o)}return e.sort(function(t,e){return t.offset-e.offset}),e}var i={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},s=document.createElementNS("http://www.w3.org/1999/xhtml","div"),a={thin:"1px",medium:"3px",thick:"5px"},c={borderBottomWidth:a,borderLeftWidth:a,borderRightWidth:a,borderTopWidth:a,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:a,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=o,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=o(e));for(var r=e.map(function(e){var r={};for(var o in e){var i=e[o];if("offset"==o){if(null!=i){if(i=Number(i),!isFinite(i))throw new TypeError("Keyframe offsets must be numbers.");if(i<0||i>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;n(o,i,r)}return void 0==r.offset&&(r.offset=null),void 0==r.easing&&(r.easing="linear"),r}),i=!0,s=-1/0,a=0;a<r.length;a++){var c=r[a].offset;if(null!=c){if(c<s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");s=c}else i=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),i||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,o=1;o<t;o++){var i=r[o].offset;if(null!=i){for(var s=1;s<o-e;s++)r[e+s].offset=n+(i-n)*s/(o-e);e=o,n=i}}}(),r}}(r),function(t){var e={};t.isDeprecated=function(t,r,n,o){var i=o?"are":"is",s=new Date,a=new Date(r);return a.setMonth(a.getMonth()+3),!(s<a&&(t in e||console.warn("Web Animations: "+t+" "+i+" deprecated and will stop working on "+a.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,o){var i=o?"are":"is";if(t.isDeprecated(e,r,n,o))throw new Error(e+" "+i+" no longer supported. "+n)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(r){void 0===t[r]&&(e=!0)})),!e)return}!function(t,e,r){e.convertEffectInput=function(r){var n=function(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var o={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(o)}for(var i in e){var s=e[i];if(0!=s[0].offset||1!=s[s.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(r)),o=function(r){var n=[];for(var o in r)for(var i=r[o],s=0;s<i.length-1;s++){var a=s,c=s+1,u=i[a].offset,l=i[c].offset,f=u,p=l;0==s&&(f=-1/0,0==l&&(c=a)),s==i.length-2&&(p=1/0,1==u&&(a=c)),n.push({applyFrom:f,applyTo:p,startOffset:i[a].offset,endOffset:i[c].offset,easingFunction:t.parseEasingFunction(i[a].easing),property:o,interpolation:e.propertyInterpolation(o,i[a].value,i[c].value)})}return n.sort(function(t,e){return t.startOffset-e.startOffset}),n}(n);return function(t,r){if(null!=r)o.filter(function(t){return r>=t.applyFrom&&r<t.applyTo}).forEach(function(n){var o=r-n.startOffset,i=n.endOffset-n.startOffset,s=0==i?0:n.easingFunction(o/i);e.apply(t,n.property,n.interpolation(s))});else for(var i in n)"offset"!=i&&"easing"!=i&&"composite"!=i&&e.clear(t,i)}}}(r,n),function(t,e,r){function n(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function o(t,e,r){i[r]=i[r]||[],i[r].push([t,e])}var i={};e.addPropertiesHandler=function(t,e,r){for(var i=0;i<r.length;i++)o(t,e,n(r[i]))};var s={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(r,o,a){var c=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(c=n(r)),"initial"!=o&&"initial"!=a||("initial"==o&&(o=s[c]),"initial"==a&&(a=s[c]));for(var u=o==a?[]:i[c],l=0;u&&l<u.length;l++){var f=u[l][0](o),p=u[l][0](a);if(void 0!==f&&void 0!==p){var h=u[l][1](f,p);if(h){var d=e.Interpolation.apply(null,h);return function(t){return 0==t?o:1==t?a:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?a:o})}}(r,n),function(t,e,r){e.KeyframeEffect=function(r,n,o,i){var s,a=function(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}(t.normalizeTimingInput(o)),c=e.convertEffectInput(n),u=function(){c(r,s)};return u._update=function(t){return null!==(s=a(t))},u._clear=function(){c(r,null)},u._hasSameTarget=function(t){return r===t},u._target=r,u._totalDuration=a._totalDuration,u._id=i,u}}(r,n),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(i in t||(t[i]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[i])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var r=this._style[e];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function o(t){if(!t._webAnimationsPatchedStyle){var e=new n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var i="_webAnimationsUpdateSvgTransformAttr",s={cssText:1,length:1,parentRule:1},a={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},c={removeProperty:1,setProperty:1};n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,r){this._style[e]=r,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(r)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}};for(var u in a)n.prototype[u]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(u,u in c);for(var l in document.documentElement.style)l in s||l in a||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(l);t.apply=function(e,r,n){o(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(n),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(n),function(t,e){function r(t,e,n){if("number"==typeof t&&"number"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)return n<.5?t:e;if(t.length==e.length){for(var o=[],i=0;i<t.length;i++)o.push(r(t[i],e[i],n));return o}throw"Mismatched interpolation arguments "+t+":"+e}n.Interpolation=function(t,e,n){return function(o){return n(r(t,e,o))}}}(),function(t,e){var r=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var o=0;o<4;o++)for(var i=0;i<4;i++)r[n][o]+=e[n][i]*t[i][o];return r}return function(e,r,n,o,i){for(var s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],a=0;a<4;a++)s[a][3]=i[a];for(a=0;a<3;a++)for(d=0;d<3;d++)s[3][a]+=e[d]*s[d][a];var c=o[0],u=o[1],l=o[2],f=o[3],p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];p[0][0]=1-2*(u*u+l*l),p[0][1]=2*(c*u-l*f),p[0][2]=2*(c*l+u*f),p[1][0]=2*(c*u+l*f),p[1][1]=1-2*(c*c+l*l),p[1][2]=2*(u*l-c*f),p[2][0]=2*(c*l-u*f),p[2][1]=2*(u*l+c*f),p[2][2]=1-2*(c*c+u*u),s=t(s,p);var h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(n[2]&&(h[2][1]=n[2],s=t(s,h)),n[1]&&(h[2][1]=0,h[2][0]=n[0],s=t(s,h)),n[0]&&(h[2][0]=0,h[1][0]=n[0],s=t(s,h)),a=0;a<3;a++)for(var d=0;d<3;d++)s[a][d]*=r[a];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(s)?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();t.composeMatrix=r,t.quat=function(e,r,n){var o=t.dot(e,r),i=[];if(1===(o=function(t,e,r){return Math.max(Math.min(t,r),e)}(o,-1,1)))i=e;else for(var s=Math.acos(o),a=1*Math.sin(n*s)/Math.sqrt(1-o*o),c=0;c<4;c++)i.push(e[c]*(Math.cos(n*s)-o*a)+r[c]*a);return i}}(n),function(t,e,r){t.sequenceNumber=0;e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var r=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=r&&(this.currentTime=r)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()}(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,n),function(t,e,r){function n(t){var e=u;u=[],t<y.currentTime&&(t=y.currentTime),y._animations.sort(o),y._animations=a(t,!0,y._animations)[0],e.forEach(function(e){e[1](t)}),s(),f=void 0}function o(t,e){return t._sequenceNumber-e._sequenceNumber}function i(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(t){t()}),d.length=0}function a(t,r,n){b=!0,h=!1,e.timeline.currentTime=t,p=!1;var o=[],i=[],s=[],a=[];return n.forEach(function(e){e._tick(t,r),e._inEffect?(i.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._needsTick&&(p=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):a.push(e)}),d.push.apply(d,o),d.push.apply(d,i),p&&requestAnimationFrame(function(){}),b=!1,[s,a]}var c=window.requestAnimationFrame,u=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==u.length&&c(n),u.push([e,t]),e},window.cancelAnimationFrame=function(t){u.forEach(function(e){e[0]==t&&(e[1]=function(){})})},i.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var f=void 0,p=!1,h=!1;e.restart=function(){return p||(p=!0,requestAnimationFrame(function(){}),h=!0),h},e.applyDirtiedAnimation=function(t){if(!b){t._markTarget();var r=t._targetAnimations();r.sort(o),a(e.timeline.currentTime,!1,r.slice())[1].forEach(function(t){var e=y._animations.indexOf(t);-1!==e&&y._animations.splice(e,1)}),s()}};var d=[],b=!1,y=new i;e.timeline=y}(r,n),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function o(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function i(t){switch(t.t){case"rotatex":i=o(t.d[0]);return[1,0,0,0,0,Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1];case"rotatey":i=o(t.d[0]);return[Math.cos(i),0,-Math.sin(i),0,0,1,0,0,Math.sin(i),0,Math.cos(i),0,0,0,0,1];case"rotate":case"rotatez":i=o(t.d[0]);return[Math.cos(i),Math.sin(i),0,0,-Math.sin(i),Math.cos(i),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var e=t.d[0],r=t.d[1],n=t.d[2],i=o(t.d[3]),s=e*e+r*r+n*n;if(0===s)e=1,r=0,n=0;else if(1!==s){var a=Math.sqrt(s);e/=a,r/=a,n/=a}var c=Math.sin(i/2),u=c*Math.cos(i/2),l=c*c;return[1-2*(r*r+n*n)*l,2*(e*r*l+n*u),2*(e*n*l-r*u),0,2*(e*r*l-n*u),1-2*(e*e+n*n)*l,2*(r*n*l+e*u),0,2*(e*n*l+r*u),2*(r*n*l-e*u),1-2*(e*e+r*r)*l,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=o(t.d[0]),p=o(t.d[1]);return[1,Math.tan(p),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":i=o(t.d[0]);return[1,0,0,0,Math.tan(i),1,0,0,0,0,1,0,0,0,0,1];case"skewy":i=o(t.d[0]);return[1,Math.tan(i),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,n=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,e=t.d[0].px||0,r=t.d[1].px||0,n=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function s(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(i).reduce(n)}var a=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=n(t);return[t[0]/e,t[1]/e,t[2]/e]}function n(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function o(t,e,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*e[2]]}return function(i){var s=[i.slice(0,4),i.slice(4,8),i.slice(8,12),i.slice(12,16)];if(1!==s[3][3])return null;for(var a=[],c=0;c<4;c++)a.push(s[c].slice());for(c=0;c<3;c++)a[c][3]=0;if(0===t(a))return null;var u,l=[];s[0][3]||s[1][3]||s[2][3]?(l.push(s[0][3]),l.push(s[1][3]),l.push(s[2][3]),l.push(s[3][3]),u=function(t,e){for(var r=[],n=0;n<4;n++){for(var o=0,i=0;i<4;i++)o+=t[i]*e[i][n];r.push(o)}return r}(l,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var r=1/t(e),n=e[0][0],o=e[0][1],i=e[0][2],s=e[1][0],a=e[1][1],c=e[1][2],u=e[2][0],l=e[2][1],f=e[2][2],p=[[(a*f-c*l)*r,(i*l-o*f)*r,(o*c-i*a)*r,0],[(c*u-s*f)*r,(n*f-i*u)*r,(i*s-n*c)*r,0],[(s*l-a*u)*r,(u*o-n*l)*r,(n*a-o*s)*r,0]],h=[],d=0;d<3;d++){for(var b=0,y=0;y<3;y++)b+=e[3][y]*p[y][d];h.push(b)}return h.push(1),p.push(h),p}(a)))):u=[0,0,0,1];var f=s[3].slice(0,3),p=[];p.push(s[0].slice(0,3));var h=[];h.push(n(p[0])),p[0]=e(p[0]);var d=[];p.push(s[1].slice(0,3)),d.push(r(p[0],p[1])),p[1]=o(p[1],p[0],1,-d[0]),h.push(n(p[1])),p[1]=e(p[1]),d[0]/=h[1],p.push(s[2].slice(0,3)),d.push(r(p[0],p[2])),p[2]=o(p[2],p[0],1,-d[1]),d.push(r(p[1],p[2])),p[2]=o(p[2],p[1],1,-d[2]),h.push(n(p[2])),p[2]=e(p[2]),d[1]/=h[2],d[2]/=h[2];var b=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(p[1],p[2]);if(r(p[0],b)<0)for(c=0;c<3;c++)h[c]*=-1,p[c][0]*=-1,p[c][1]*=-1,p[c][2]*=-1;var y,m,v=p[0][0]+p[1][1]+p[2][2]+1;return v>1e-4?(y=.5/Math.sqrt(v),m=[(p[2][1]-p[1][2])*y,(p[0][2]-p[2][0])*y,(p[1][0]-p[0][1])*y,.25/y]):p[0][0]>p[1][1]&&p[0][0]>p[2][2]?(y=2*Math.sqrt(1+p[0][0]-p[1][1]-p[2][2]),m=[.25*y,(p[0][1]+p[1][0])/y,(p[0][2]+p[2][0])/y,(p[2][1]-p[1][2])/y]):p[1][1]>p[2][2]?(y=2*Math.sqrt(1+p[1][1]-p[0][0]-p[2][2]),m=[(p[0][1]+p[1][0])/y,.25*y,(p[1][2]+p[2][1])/y,(p[0][2]-p[2][0])/y]):(y=2*Math.sqrt(1+p[2][2]-p[0][0]-p[1][1]),m=[(p[0][2]+p[2][0])/y,(p[1][2]+p[2][1])/y,.25*y,(p[1][0]-p[0][1])/y]),[f,h,d,m,u]}}();t.dot=r,t.makeMatrixDecomposition=function(t){return[a(s(t))]},t.transformListToMatrix=s}(n),function(t){function e(t,e){var r=t.exec(e);if(r)return r=t.ignoreCase?r[0].toLowerCase():r[0],[r,e.substr(r.length)]}function r(t,e){var r=t(e=e.replace(/^\s*/,""));if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,e,r,n,o){for(var i=[],s=[],a=[],c=function(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return r=t*e/(r+n)}(n.length,o.length),u=0;u<c;u++){var l=e(n[u%n.length],o[u%o.length]);if(!l)return;i.push(l[0]),s.push(l[1]),a.push(l[2])}return[i,s,function(e){var n=e.map(function(t,e){return a[e](t)}).join(r);return t?t(n):n}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=function(t,n,o){t=r.bind(null,t);for(var i=[];;){var s=t(o);if(!s)return[i,o];if(i.push(s[0]),o=s[1],!(s=e(n,o))||""==s[1])return[i,o];o=s[1]}},t.consumeParenthesised=function(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(0==--r&&n++,r<=0))break;var o=t(e.substr(0,n));return void 0==o?void 0:[o,e.substr(n)]},t.ignore=function(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}},t.optional=function(t,e){return function(r){return t(r)||[e,r]}},t.consumeList=function(e,r){for(var n=[],o=0;o<e.length;o++){var i=t.consumeTrimmed(e[o],r);if(!i||""==i[0])return;void 0!==i[0]&&n.push(i[0]),r=i[1]}if(""==r)return n},t.mergeNestedRepeated=n.bind(null,null),t.mergeWrappedNestedRepeated=n,t.mergeList=function(t,e,r){for(var n=[],o=[],i=[],s=0,a=0;a<r.length;a++)if("function"==typeof r[a]){var c=r[a](t[s],e[s++]);n.push(c[0]),o.push(c[1]),i.push(c[2])}else!function(t){n.push(!1),o.push(!1),i.push(function(){return r[t]})}(a);return[n,o,function(t){for(var e="",r=0;r<t.length;r++)e+=i[r](t[r]);return e}]}}(n),function(t){function e(e){var r={inset:!1,lengths:[],color:null},n=t.consumeRepeated(function(e){if(n=t.consumeToken(/^inset/i,e))return r.inset=!0,n;if(n=t.consumeLengthOrPercent(e))return r.lengths.push(n[0]),n;var n;return(n=t.consumeColor(e))?(r.color=n[0],n):void 0},/^/,e);if(n&&n[0].length)return[r,n[1]]}var r=function(e,r,n,o){function i(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var s=[],a=[],c=0;c<n.length||c<o.length;c++){var u=n[c]||i(o[c].inset),l=o[c]||i(n[c].inset);s.push(u),a.push(l)}return t.mergeNestedRepeated(e,r,s,a)}.bind(null,function(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,o=[],i=[[],0],s=[[],0],a=0;a<e.lengths.length;a++){var c=t.mergeDimensions(e.lengths[a],r.lengths[a],2==a);i[0].push(c[0]),s[0].push(c[1]),o.push(c[2])}if(e.color&&r.color){var u=t.mergeColors(e.color,r.color);i[1]=u[0],s[1]=u[1],n=u[2]}return[i,s,function(t){for(var r=e.inset?"inset ":" ",i=0;i<o.length;i++)r+=o[i](t[0][i])+" ";return n&&(r+=n(t[1])),r}]}},", ");t.addPropertiesHandler(function(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]},r,["box-shadow","text-shadow"])}(n),function(t,e){function r(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function o(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function i(t,e){return function(o,i){return[o,i,function(o){return r(n(t,e,o))}]}}function s(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var r=[],n=0;n<e.length;n++){var i=o(e[n]);if(void 0===i)return;r.push(i)}return r}}t.clamp=n,t.addPropertiesHandler(s,function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(r).join(" ")}]},["stroke-dasharray"]),t.addPropertiesHandler(o,i(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(o,i(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(o,function(t,e){if(0!=t)return i(0,1/0)(t,e)},["flex-grow","flex-shrink"]),t.addPropertiesHandler(o,function(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]},["orphans","widows"]),t.addPropertiesHandler(o,function(t,e){return[t,e,Math.round]},["z-index"]),t.parseNumber=o,t.parseNumberList=s,t.mergeNumbers=function(t,e){return[t,e,r]},t.numberToString=r}(n),function(t,e){n.addPropertiesHandler(String,function(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]},["visibility"])}(),function(t,e){function r(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var r=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){function r(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(r(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(n),function(t,e){function r(t){function e(){var e=s.exec(t);i=e?e[0]:void 0}function r(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function n(){for(var t=r();"*"===i||"/"===i;){var n=i;e();var o=r();"*"===n?t*=o:t/=o}return t}function o(){for(var t=n();"+"===i||"-"===i;){var r=i;e();var o=n();"+"===r?t+=o:t-=o}return t}var i,s=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){var n={};e=(e=e.replace(/calc\(/g,"(")).replace(t,function(t){return n[t]=null,"U"+t});for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),s=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],a=0;a<s.length;)s[a].test(i)?(i=i.replace(s[a],"$1"),a=0):a++;if("D"==i){for(var c in n){var u=r(e.replace(new RegExp("U"+c,"g"),"").replace(new RegExp(o,"g"),"*0"));if(!isFinite(u))return;n[c]=u}return n}}}function o(t,e){return i(t,e,!0)}function i(e,r,n){var o,i=[];for(o in e)i.push(o);for(o in r)i.indexOf(o)<0&&i.push(o);return e=i.map(function(t){return e[t]||0}),r=i.map(function(t){return r[t]||0}),[e,r,function(e){var r=e.map(function(r,o){return 1==e.length&&n&&(r=Math.max(r,0)),t.numberToString(r)+i[o]}).join(" + ");return e.length>1?"calc("+r+")":r}]}var s="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",a=n.bind(null,new RegExp(s,"g")),c=n.bind(null,new RegExp(s+"|%","g")),u=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=a,t.parseLengthOrPercent=c,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,c),t.parseAngle=u,t.mergeDimensions=i;var l=t.consumeParenthesised.bind(null,a),f=t.consumeRepeated.bind(void 0,l,/^/),p=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=p;var h=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler(function(t){var e=p(t);if(e&&""==e[1])return e[0]},d,["background-size"]),t.addPropertiesHandler(c,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(c,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var o=t.mergeWrappedNestedRepeated.bind(null,function(t){return"rect("+t+")"},function(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var o=n?e:r;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,r)},", ");t.parseBox=n,t.mergeBoxes=o,t.addPropertiesHandler(n,o,["clip"])}(n),function(t,e){function r(t){return function(e){var r=0;return t.map(function(t){return t===u?e[r++]:t})}}function n(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;r=n.exec(e);){if(r.index!=i)return;i=r.index+r[0].length;var s=r[1],a=p[s];if(!a)return;var c=r[2].split(","),u=a[0];if(u.length<c.length)return;for(var h=[],d=0;d<u.length;d++){var b,y=c[d],m=u[d];if(void 0===(b=y?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[m.toUpperCase()](y):{a:f,n:h[0],t:l}[m]))return;h.push(b)}if(o.push({t:s,d:h}),n.lastIndex==e.length)return o}}function i(t){return t.toFixed(6).replace(".000000","")}function s(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var o=t.makeMatrixDecomposition(r)}return null==n[0]||null==o[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),o[0].push(1),[n,o,function(e){var r=t.quat(n[0][3],o[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(i).join(",")}])}function a(t){return t.replace(/[xy]/,"")}function c(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var u=null,l={px:0},f={deg:0},p={matrix:["NNNNNN",[u,u,0,0,u,u,0,0,0,0,1,0,u,u,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([u,u,1]),n],scalex:["N",r([u,1,1]),r([u,1])],scaley:["N",r([1,u,1]),r([1,u])],scalez:["N",r([1,1,u])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([u,f])],skewy:["A",null,r([f,u])],translate:["Tt",r([u,u,l]),n],translatex:["T",r([u,l,l]),r([u,l])],translatey:["T",r([l,u,l]),r([l,u])],translatez:["L",r([l,l,u])],translate3d:["TTL",n]};t.addPropertiesHandler(o,function(e,r){var n=t.makeMatrixDecomposition&&!0,o=!1;if(!e.length||!r.length)for(e.length||(o=!0,e=r,r=[]),y=0;y<e.length;y++){var i=e[y].t,u=e[y].d,l="scale"==i.substr(0,5)?1:0;r.push({t:i,d:u.map(function(t){if("number"==typeof t)return l;var e={};for(var r in t)e[r]=l;return e})})}var f=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},h=[],d=[],b=[];if(e.length!=r.length){if(!n)return;h=[(T=s(e,r))[0]],d=[T[1]],b=[["matrix",[T[2]]]]}else for(var y=0;y<e.length;y++){var m=e[y].t,v=r[y].t,g=e[y].d,_=r[y].d,w=p[m],x=p[v];if(f(m,v)){if(!n)return;T=s([e[y]],[r[y]]),h.push(T[0]),d.push(T[1]),b.push(["matrix",[T[2]]])}else{if(m==v)i=m;else if(w[2]&&x[2]&&a(m)==a(v))i=a(m),g=w[2](g),_=x[2](_);else{if(!w[1]||!x[1]||c(m)!=c(v)){if(!n)return;h=[(T=s(e,r))[0]],d=[T[1]],b=[["matrix",[T[2]]]];break}i=c(m),g=w[1](g),_=x[1](_)}for(var S=[],O=[],j=[],E=0;E<g.length;E++){var T=("number"==typeof g[E]?t.mergeNumbers:t.mergeDimensions)(g[E],_[E]);S[E]=T[0],O[E]=T[1],j.push(T[2])}h.push(S),d.push(O),b.push([i,j])}}if(o){var k=h;h=d,d=k}return[h,d,function(t){return t.map(function(t,e){var r=t.map(function(t,r){return b[e][1][r](t)}).join(",");return"matrix"==b[e][0]&&16==r.split(",").length&&(b[e][0]="matrix3d"),b[e][0]+"("+r+")"}).join(" ")}]},["transform"]),t.transformToSvgMatrix=function(e){var r=t.transformListToMatrix(o(e));return"matrix("+i(r[0])+" "+i(r[1])+" "+i(r[4])+" "+i(r[5])+" "+i(r[12])+" "+i(r[13])+")"}}(n),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler(function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e},function(t,r){return[t,r,e]},["font-weight"])}(n),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var o=t.consumeRepeated(r,/^/,n);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var a=s[0];s[0]=s[1],s[1]=a}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map(function(t){return"object"==typeof t?t:i[t]})}}}function o(n){var o=t.consumeRepeated(r,/^/,n);if(o){for(var s=o[0],a=[{"%":50},{"%":50}],c=0,u=!1,l=0;l<s.length;l++){var f=s[l];"string"==typeof f?(u=/bottom|right/.test(f),c={left:0,right:0,center:c,top:1,bottom:1}[f],a[c]=i[f],"center"==f&&c++):(u&&(f=e(f),f["%"]=(f["%"]||0)+100),a[c]=f,c++,u=!1)}return[a,o[1]]}}var i={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var a=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler(function(e){var r=t.consumeRepeated(o,/^,/,e);if(r&&""==r[1])return r[0]},a,["background-position","object-position"])}(n),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),r=t.consumeRepeated.bind(void 0,e,/^/),n=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),o=t.mergeNestedRepeated.bind(void 0,n,",");t.addPropertiesHandler(function(n){var o=t.consumeToken(/^circle/,n);if(o&&o[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var i=t.consumeToken(/^ellipse/,n);if(i&&i[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var s=t.consumeToken(/^polygon/,n);return s&&s[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],s[1])):void 0},function(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],o,")"]):void 0},["shape-outside"])}(n),function(t,e){function r(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(n[t]=e),o[e]=t})}var n={},o={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t},t.unprefixedPropertyName=function(t){return o[t]||t}}(n)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)t=function(){return performance.now()};else var t=function(){return Date.now()};var e=window.Element.prototype.animate;window.Element.prototype.animate=function(r,n){var o=e.call(this,r,n);o._cancelHandlers=[],o.oncancel=null;var i=o.cancel;o.cancel=function(){i.call(this);var e=new function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()}(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){r.forEach(function(t){t.call(e.target,e)})},0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var a=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else a.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(r=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{r&&r.cancel()}if(!n){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,r)}}}(r),e.true={}}(0,function(){return this}())},{}]},{},[11]);
|