jekyll-theme-hydejack 9.1.2 → 9.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/body/footer.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/components/dingbat.html +1 -0
- data/_includes/components/post.html +2 -2
- data/_includes/head/index.html +1 -1
- data/_includes/head/links-static.html +5 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/styles-inline.html +4 -2
- data/_includes/head/styles-no-inline.html +4 -2
- data/_includes/header.txt +1 -1
- data/_layouts/compress.html +1 -1
- data/_layouts/list.html +1 -1
- data/_layouts/plain.html +1 -1
- data/_sass/_tippy.scss +2 -1
- data/assets/css/{hydejack-9.1.2.css → hydejack-9.1.3.css} +0 -0
- data/assets/js/LEGACY-clap-button-hydejack-9.1.3.js +14 -0
- data/assets/js/{LEGACY-drawer-hydejack-9.1.2.js → LEGACY-drawer-hydejack-9.1.3.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.2.js → LEGACY-fetch-hydejack-9.1.3.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.3.js +27 -0
- data/assets/js/{LEGACY-navbar-hydejack-9.1.2.js → LEGACY-navbar-hydejack-9.1.3.js} +2 -2
- data/assets/js/{LEGACY-push-state-hydejack-9.1.2.js → LEGACY-push-state-hydejack-9.1.3.js} +2 -2
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.3.js +14 -0
- data/assets/js/{fetch-hydejack-9.1.2.js → LEGACY-shadydom-hydejack-9.1.3.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.3.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.3.js +48 -0
- data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js → LEGACY-vendors~drawer~push-state-hydejack-9.1.3.js} +17 -17
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.3.js +14 -0
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.2.js → LEGACY-vendors~intersection-observer-hydejack-9.1.3.js} +2 -2
- data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.2.js → LEGACY-vendors~push-state-hydejack-9.1.3.js} +3 -3
- data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.2.js → LEGACY-vendors~shadydom-hydejack-9.1.3.js} +14 -14
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.2.js → LEGACY-vendors~webanimations-hydejack-9.1.3.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.3.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.2.js → LEGACY-webcomponents-hydejack-9.1.3.js} +2 -2
- data/assets/js/clap-button-hydejack-9.1.3.js +14 -0
- data/assets/js/{drawer-hydejack-9.1.2.js → drawer-hydejack-9.1.3.js} +2 -2
- data/assets/js/{LEGACY-fetch-hydejack-9.1.2.js → fetch-hydejack-9.1.3.js} +2 -2
- data/assets/js/hydejack-9.1.3.js +28 -0
- data/assets/js/{navbar-hydejack-9.1.2.js → navbar-hydejack-9.1.3.js} +2 -2
- data/assets/js/{push-state-hydejack-9.1.2.js → push-state-hydejack-9.1.3.js} +2 -2
- data/assets/js/resize-observer-hydejack-9.1.3.js +14 -0
- data/assets/js/{shadydom-hydejack-9.1.2.js → shadydom-hydejack-9.1.3.js} +2 -2
- data/assets/js/vendors~clap-button-hydejack-9.1.3.js +14 -0
- data/assets/js/vendors~drawer-hydejack-9.1.3.js +48 -0
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.2.js → vendors~drawer~push-state-hydejack-9.1.3.js} +9 -9
- data/assets/js/vendors~fetch-hydejack-9.1.3.js +14 -0
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.2.js → vendors~intersection-observer-hydejack-9.1.3.js} +2 -2
- data/assets/js/{vendors~push-state-hydejack-9.1.2.js → vendors~push-state-hydejack-9.1.3.js} +3 -3
- data/assets/js/{vendors~shadydom-hydejack-9.1.2.js → vendors~shadydom-hydejack-9.1.3.js} +2 -2
- data/assets/js/{vendors~webanimations-hydejack-9.1.2.js → vendors~webanimations-hydejack-9.1.3.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.1.2.js → webcomponents-hydejack-9.1.3.js} +2 -2
- data/assets/version.json +2 -2
- metadata +38 -38
- data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +0 -14
- data/assets/js/LEGACY-hydejack-9.1.2.js +0 -27
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.2.js +0 -14
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +0 -182
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +0 -48
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +0 -14
- data/assets/js/clap-button-hydejack-9.1.2.js +0 -14
- data/assets/js/hydejack-9.1.2.js +0 -28
- data/assets/js/resize-observer-hydejack-9.1.2.js +0 -14
- data/assets/js/vendors~clap-button-hydejack-9.1.2.js +0 -222
- data/assets/js/vendors~drawer-hydejack-9.1.2.js +0 -48
- data/assets/js/vendors~fetch-hydejack-9.1.2.js +0 -14
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{327:function(t,e){function r(t){return(r="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})(t)}var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(o=window)}t.exports=o},341:function(t,e,r){"use strict";function o(t){return(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})(t)}var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n,i="URLSearchParams"in n,s="Symbol"in n&&"iterator"in Symbol,a="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),u="FormData"in n,c="ArrayBuffer"in n;if(c)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(t){return t&&f.indexOf(Object.prototype.toString.call(t))>-1};function h(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function y(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function v(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function w(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:a&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:u&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():c&&a&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=w(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(t)||l(t))?this._bodyArrayBuffer=w(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=b(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(v)}),this.text=function(){var t,e,r,o=b(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=m(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,e){t=h(t),e=y(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},d.prototype.delete=function(t){delete this.map[h(t)]},d.prototype.get=function(t){return t=h(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(h(t))},d.prototype.set=function(t,e){this.map[h(t)]=y(e)},d.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),p(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),p(t)},s&&(d.prototype[Symbol.iterator]=d.prototype.entries);var O=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(t,e){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o,n=(e=e||{}).body;if(t instanceof _){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=e.method||this.method||"GET",o=r.toUpperCase(),O.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},g.call(_.prototype),g.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var T=[301,302,303,307,308];A.redirect=function(t,e){if(-1===T.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})};var P=n.DOMException;try{new P}catch(t){(P=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),P.prototype.constructor=P}function R(t,e){return new Promise((function(r,i){var s=new _(t,e);if(s.signal&&s.signal.aborted)return i(new P("Aborted","AbortError"));var u=new XMLHttpRequest;function f(){u.abort()}u.onload=function(){var t,e,o={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};o.url="responseURL"in u?u.responseURL:o.headers.get("X-Request-URL");var n="response"in u?u.response:u.responseText;setTimeout((function(){r(new A(n,o))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new P("Aborted","AbortError"))}),0)},u.open(s.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&(a?u.responseType="blob":c&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!e||"object"!==o(e.headers)||e.headers instanceof d?s.headers.forEach((function(t,e){u.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){u.setRequestHeader(t,y(e.headers[t]))})),s.signal&&(s.signal.addEventListener("abort",f),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",f)}),u.send(void 0===s._bodyInit?null:s._bodyInit)}))}R.polyfill=!0,n.fetch||(n.fetch=R,n.Headers=d,n.Request=_,n.Response=A)},342:function(t,e,r){(function(o){var n,i;function s(t){return(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})(t)}void 0===(i="function"==typeof(n=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?a(t):e}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,o=n(t);if(e){var i=n(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return u(this,r)}}function f(t,e,r){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var l=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,r){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:r})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],o=0,n=r.length;o<n;o++)if(r[o].callback===e)return void r.splice(o,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,o=e.length;r<o;r++){var n=e[r];try{n.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}n.options&&n.options.once&&this.removeEventListener(t.type,n.callback)}return!t.defaultPrevented}}}]),e}(),h=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(s,e);var o=c(s);function s(){var e;return t(this,s),(e=o.call(this)).listeners||l.call(a(e)),Object.defineProperty(a(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(a(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(s,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),f(n(s.prototype),"dispatchEvent",this).call(this,t)}}]),s}(l),y=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function p(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(y.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(p(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,o=e.Request,n=void 0===o?r.Request:o,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!p({fetch:r,Request:n,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=n;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var o=new n(t,e);return r&&Object.defineProperty(o,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),o}).prototype=n.prototype);var c=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var o;try{o=new DOMException("Aborted","AbortError")}catch(t){(o=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(o);var n=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(o)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([n,c(t,e)])}return c(t,e)},Request:u}}(t),r=e.fetch,o=e.Request;t.fetch=r,t.Request=o,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:y}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:h})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:o)})?n.call(e,r,e,t):n)||(t.exports=i)}).call(this,r(327))}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{358:function(t,e){function o(t){return(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})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":o(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,o=r(e);o;)o=r(e=o.ownerDocument);return e}(),e=[],n=null,i=null;h.prototype.THROTTLE_TIMEOUT=100,h.prototype.POLL_INTERVAL=null,h.prototype.USE_MUTATION_OBSERVER=!0,h._setupCrossOriginUpdater=function(){return n||(n=function(t,o){i=t&&o?f(t,o):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},h._resetCrossOriginUpdater=function(){n=null,i=null},h.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},h.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},h.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},h.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},h.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,o){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==o[e-1]}))},h.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},h.prototype._monitorIntersections=function(e){var o=e.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,i=null,s=null;this.POLL_INTERVAL?i=o.setInterval(n,this.POLL_INTERVAL):(u(o,"resize",n,!0),u(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(s=new o.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),c(t,"resize",n,!0)),c(e,"scroll",n,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var a=r(e);a&&this._monitorIntersections(a.ownerDocument)}}},h.prototype._unmonitorIntersections=function(e){var o=this._monitoringDocuments.indexOf(e);if(-1!=o){var n=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==e)return!0;for(;o&&o!=n;){var i=r(o);if((o=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),e!=n){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},h.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},h.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,r=a(i),h=this._rootContainsTarget(i),u=o.entry,c=t&&h&&this._computeTargetAndRootIntersection(i,r,e),l=null;this._rootContainsTarget(i)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new s({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:l,intersectionRect:c});u?t&&h?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},h.prototype._computeTargetAndRootIntersection=function(e,o,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,c,l,p,g,m,v=o,b=d(e),w=!1;!w&&b;){var _=null,y=1==b.nodeType?window.getComputedStyle(b):{};if("none"==y.display)return null;if(b==this.root||9==b.nodeType)if(w=!0,b==this.root||b==t)n&&!this.root?!i||0==i.width&&0==i.height?(b=null,_=null,v=null):_=i:_=r;else{var I=d(b),E=I&&a(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(b=I,_=f(E,T)):(b=null,v=null)}else{var R=b.ownerDocument;b!=R.body&&b!=R.documentElement&&"visible"!=y.overflow&&(_=a(b))}if(_&&(s=_,h=v,u=void 0,c=void 0,l=void 0,p=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),c=Math.min(s.bottom,h.bottom),l=Math.max(s.left,h.left),p=Math.min(s.right,h.right),m=c-u,v=(g=p-l)>=0&&m>=0&&{top:u,bottom:c,left:l,right:p,width:g,height:m}||null),!v)break;b=b&&d(b)}return v}},h.prototype._getRootRect=function(){var e;if(this.root&&!g(this.root))e=a(this.root);else{var o=g(this.root)?this.root:t,n=o.documentElement,i=o.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},h.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,o){return"px"==e.unit?e.value:e.value*(o%2?t.width:t.height)/100})),o={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return o.width=o.right-o.left,o.height=o.bottom-o.top,o},h.prototype._hasCrossedThreshold=function(t,e){var o=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==o||r==n||r<o!=r<n)return!0}},h.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},h.prototype._rootContainsTarget=function(e){var o=this.root&&(this.root.ownerDocument||this.root)||t;return p(o,e)&&(!this.root||o==e.ownerDocument)},h.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},h.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=h,window.IntersectionObserverEntry=s}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function s(t){this.time=t.time,this.target=t.target,this.rootBounds=l(t.rootBounds),this.boundingClientRect=l(t.boundingClientRect),this.intersectionRect=l(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,o=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=o?Number((i/o).toFixed(4)):this.isIntersecting?1:0}function h(t,e){var o,n,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(o=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){o(),i=null}),n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function u(t,e,o,n){"function"==typeof t.addEventListener?t.addEventListener(e,o,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,o)}function c(t,e,o,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,o,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,o)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var o=e.top-t.top,n=e.left-t.left;return{top:o,left:n,height:e.height,width:e.width,bottom:o+e.height,right:n+e.width}}function p(t,e){for(var o=e;o;){if(o==t)return!0;o=d(o)}return!1}function d(e){var o=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function g(t){return t&&9===t.nodeType}}()}}]);
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{345:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return rt}));var n=r(2),o=r(323),c=r(318),i=r(306),a=r(328),u=r(144),l=r(141),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(n.f)(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=l.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(l.a.cancelAnimationFrame(r),t.scheduled=void 0)},t}(u.a),f=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.f)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1;e=e||r.shift();var o=r.length;do{if(t=e.execute(e.state,e.delay))break}while(++n<o&&(e=r.shift()));if(this.active=!1,t){for(;++n<o&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(146).a))(s),p=r(349),h=r(352),b=r(46),y=r(147),O=r(151),d=r(327),j=r(329),v=r(346),m=r(13),w=r(10);function g(e,t){return void 0===t&&(t=0),Object(m.b)((function(r,n){r.subscribe(new w.a(n,(function(r){return n.add(e.schedule((function(){return n.next(r)}),t))}),(function(r){return n.add(e.schedule((function(){return n.error(r)}),t))}),(function(){return n.add(e.schedule((function(){return n.complete()}),t))})))}))}var S,P=r(326),k=r(347),E=r(148),A=r(150),R=r(353),T=r(351),L=r(308);function C(e){var t=e.protocol,r=e.host,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}function I(e){return e&&""===e.target}function q(e,t){var r=e.url,n=e.anchor,o=e.event,c=o.metaKey,i=o.ctrlKey;return!(c||i||!I(n)||C(r,t))}function M(e,t){var r=e.url;return!(!I(e.anchor)||C(r,t)||function(e){var t=e.hash,r=e.origin,n=e.pathname,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===o.origin&&n===o.pathname}(r,t))}function H(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash,c=e.oldURL;return n===(null==c?void 0:c.pathname)&&(t===S.Pop||t===S.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(S||(S={}));var N=r(108),U=r(354),D=r(348);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return W(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var V=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"fetchPage",value:function(e){return Object(L.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(E.a)((function(e){return e.text()})),Object(b.a)((function(t){return _(_({},e),{},{responseText:t})})),Object(R.a)((function(t){return Object(N.a)(_(_({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(N.a)(t):r.pipe(Object(D.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(U.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(b.a)((function(e){return _(_({},x(e,1)[0]),t)})))}}])&&F(t.prototype,r),n&&F(t,n),e}(),J=r(17),K=r(307),X=r(350);function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){Z(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var te=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"removeScriptTags",value:function(e){var t=this,r=[];return e.forEach((function(e){e&&t.scriptSelector&&e.querySelectorAll(t.scriptSelector).forEach((function(e){if(e instanceof HTMLScriptElement){var t=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach((function(e){return t.setAttributeNode(e.cloneNode())})),t.innerHTML=e.innerHTML,t}(e),e];r.push(t)}}))})),r}},{key:"reinsertScriptTags",value:function(e){var t=this;if(!this.scriptSelector)return Promise.resolve(e);var r=e.scripts,n=document.write;return Object(J.a)(r).pipe(Object(K.a)((function(e){return t.insertScript(e)})),Object(R.a)((function(t){return Object(N.a)(Y(Y({},e),{},{error:t}))})),Object(X.a)((function(){return document.write=n})),Object(P.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=z(e,2),r=t[0],n=t[1];return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e.innerHTML=r.join(),Array.from(e.childNodes).forEach((function(e){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.insertBefore(e,n)}))},new Promise((function(e,t){var o,c;""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),null===(o=n.parentNode)||void 0===o||o.replaceChild(r,n)):(null===(c=n.parentNode)||void 0===c||c.replaceChild(r,n),e({}))}))}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&ee(t.prototype,r),n&&ee(t,n),e}();function re(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(ne("href",t)),e.querySelectorAll("[src]").forEach(ne("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/\s*,\s*/).map((function(e){var r=e.split(/\s+/);return r[0]=new URL(r[0],t).href,r.join(" ")})).join(", "))}catch(e){}}}("srcset",t)),e.querySelectorAll("blockquote[cite]").forEach(ne("cite",t)),e.querySelectorAll("del[cite]").forEach(ne("cite",t)),e.querySelectorAll("ins[cite]").forEach(ne("cite",t)),e.querySelectorAll("q[cite]").forEach(ne("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("form[action]").forEach(ne("action",t)),e.querySelectorAll("button[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("video[poster]").forEach(ne("poster",t)),e.querySelectorAll("object[data]").forEach(ne("data",t)),e.querySelectorAll("object[codebase]").forEach(ne("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t)))}))}function ne(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,new URL(n,t).href)}catch(e){}}}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var se=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.scriptManager=new te(t)}var t,r,n;return t=e,(r=[{key:"getReplaceElements",value:function(e){if(this.replaceSelector)return this.replaceSelector.split(",").map((function(t){return e.querySelector(t)}));if(this.el.id)return[e.getElementById(this.el.id)];var t=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[e.getElementsByTagName(this.el.tagName)[t]]}},{key:"responseToContent",value:function(e){var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,c=this.getReplaceElements(r);if(c.every((function(e){return null==e})))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var i=this.scriptSelector?this.scriptManager.removeScriptTags(c):[];return ae(ae({},e),{},{document:r,title:o,replaceEls:c,scripts:i})}},{key:"replaceContentWithSelector",value:function(e,t){e.split(",").map((function(e){return document.querySelector(e)})).forEach((function(e,r){var n,o=t[r];o&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.replaceChild(o,e))}))}},{key:"replaceContentWholesale",value:function(e){var t=oe(e,1)[0];t&&(this.el.innerHTML=t.innerHTML)}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(this.replaceSelector,e):this.replaceContentWholesale(e)}},{key:"replaceHead",value:function(e){var t=this.el.ownerDocument.head,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var o=t.querySelector("meta[name=description]"),c=e.head.querySelector("meta[name=description]");o&&c&&(o.content=c.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;C(this.parent)&&re(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw ae(ae({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}},{key:"el",get:function(){return this.parent}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&le(t.prototype,r),n&&le(t,n),e}(),fe=r(47),pe=r(110);function he(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var be=function(e){return Array.prototype.concat.apply([],e)},ye=function(e){return{addedNodes:new Set(be(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(be(e.map((function(e){return Array.from(e.removedNodes)}))))}},Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setupEventListeners",value:function(){var e=this,t=Object(i.a)(this.el,"click").pipe(Object(b.a)((function(t){var r=Object(L.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(y.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(N.a)(e):Object(J.a)(e.querySelectorAll(t)).pipe(Object(y.a)((function(e){return e instanceof HTMLAnchorElement})))};return{hintEvent$:this.$.linkSelector.pipe(Object(E.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(a.a)(Object(i.a)(e,"mouseenter",{passive:!0}),Object(i.a)(e,"touchstart",{passive:!0}),Object(i.a)(e,"focus",{passive:!0})).pipe(Object(b.a)((function(t){return[t,e]})))}(e))},c=function(e){n.delete(e)};return Object(L.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[e.el],removedNodes:[]}),Object(L.c)(500),Object(b.a)(ye),Object(E.a)((function(e){var i=e.addedNodes,a=e.removedNodes;return Object(J.a)(a).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(c)).subscribe(),Object(J.a)(i).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(o)).subscribe(),Object(J.a)(n.values()).pipe(Object(pe.a)())})),Object(L.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&he(t.prototype,r),n&&he(t,n),e}();function de(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?de(Object(r),!0).forEach((function(t){ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):de(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ge=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=we(this.parent.duration),this.parent.fireEvent("start",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=location.href;window.history.back(),setTimeout((function(){return document.location.assign(t)}),100)}},{key:"emitNetworkError",value:function(e){this.parent.fireEvent("networkerror",{detail:e})}},{key:"emitError",value:function(e){this.parent.fireEvent("error",{detail:e})}},{key:"emitReady",value:function(e){this.parent.fireEvent("ready",{detail:e})}},{key:"emitAfter",value:function(e){var t=this;this.parent.fadePromise=we(this.parent.duration),this.parent.fireEvent("after",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.fadePromise=Promise.all([t.parent.fadePromise,e])}})})}},{key:"emitProgress",value:function(e){this.parent.fireEvent("progress",{detail:e})}},{key:"emitLoad",value:function(e){this.parent.fireEvent("load",{detail:e})}}])&&me(t.prototype,r),n&&me(t,n),e}();function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}window.HashChangeEvent=window.HashChangeEvent||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,c=void 0===o?"":o,i=new CustomEvent(e);return i.oldURL=n,i.newURL=c,i};var Ae=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.updateHistoryScrollPosition=function(){if(!C(r.parent)){var e=r.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=t}var t,r,n;return t=e,(r=[{key:"updateHistoryState",value:function(e){var t=e.cause,r=e.replace,n=e.url,o=e.oldURL;if(!C(this.parent))switch(t){case S.Init:case S.Push:var c=this.parent.histId;if(r||n.href===location.href){var i=Pe(Pe({},history.state),{},ke({},c,{}));history.replaceState(i,document.title,n.href)}else history.pushState(ke({},c,{}),document.title,n.href);case S.Pop:this.parent.simulateHashChange&&o&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(n,o)}}},{key:"updateTitle",value:function(e){var t=e.cause,r=e.title;document.title=r,C(this.parent)||t!==S.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Pe(Pe({},e),{},ke({},t,Pe(Pe({},e[t]),{},{scrollTop:Object(L.j)(),scrollHeight:Object(L.i)()})))}}])&&Ee(t.prototype,r),n&&Ee(t,n),e}();function Re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Te,Le,Ce,Ie,qe,Me,He,Ne,Ue,De,xe,We,$e=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,"scrollRestoration"in history&&(history.scrollRestoration="manual")}var t,r,n;return t=e,(r=[{key:"manageScrollPosition",value:function(e){var t=e.cause,r=e.url.hash;switch(t){case S.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case S.Pop:this.restoreScrollPosition();break;case S.Init:this.restoreScrollPositionOnReload()}}},{key:"elementFromHash",value:function(e){return document.getElementById(decodeURIComponent(e.substr(1)))}},{key:"scrollHashIntoView",value:function(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}},{key:"restoreScrollPosition",value:function(){var e=this.parent.histId,t=(history.state&&history.state[e]||{}).scrollTop;null!=t&&window.scroll(window.pageXOffset,t)}},{key:"restoreScrollPositionOnReload",value:function(){var e=this,t=this.parent.histId;history.state&&history.state[t]&&0===Object(L.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Re(t.prototype,r),n&&Re(t,n),e}();function _e(e){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e){return function(e){if(Array.isArray(e))return Je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ve(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||Ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e,t){if(e){if("string"==typeof e)return Je(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(e,t):void 0}}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ze(e,t,r){return(ze="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=et(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function Ge(e,t){return(Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=et(e);if(t){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ye(this,r)}}function Ye(e,t){return!t||"object"!==_e(t)&&"function"!=typeof t?Ze(e):t}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{346:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return rt}));var n=r(2),o=r(326),c=r(321),i=r(310),a=r(332),u=r(145),l=r(142),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(n.f)(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=l.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(l.a.cancelAnimationFrame(r),t.scheduled=void 0)},t}(u.a),f=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.f)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1;e=e||r.shift();var o=r.length;do{if(t=e.execute(e.state,e.delay))break}while(++n<o&&(e=r.shift()));if(this.active=!1,t){for(;++n<o&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(147).a))(s),p=r(350),h=r(353),b=r(48),y=r(148),O=r(152),d=r(331),j=r(333),v=r(347),m=r(13),w=r(10);function g(e,t){return void 0===t&&(t=0),Object(m.b)((function(r,n){r.subscribe(new w.a(n,(function(r){return n.add(e.schedule((function(){return n.next(r)}),t))}),(function(r){return n.add(e.schedule((function(){return n.error(r)}),t))}),(function(){return n.add(e.schedule((function(){return n.complete()}),t))})))}))}var S,P=r(330),k=r(348),E=r(149),A=r(151),R=r(354),T=r(352),L=r(312);function C(e){var t=e.protocol,r=e.host,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}function I(e){return e&&""===e.target}function q(e,t){var r=e.url,n=e.anchor,o=e.event,c=o.metaKey,i=o.ctrlKey;return!(c||i||!I(n)||C(r,t))}function M(e,t){var r=e.url;return!(!I(e.anchor)||C(r,t)||function(e){var t=e.hash,r=e.origin,n=e.pathname,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===o.origin&&n===o.pathname}(r,t))}function H(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash,c=e.oldURL;return n===(null==c?void 0:c.pathname)&&(t===S.Pop||t===S.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(S||(S={}));var N=r(109),U=r(355),D=r(349);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return W(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var V=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"fetchPage",value:function(e){return Object(L.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(E.a)((function(e){return e.text()})),Object(b.a)((function(t){return B(B({},e),{},{responseText:t})})),Object(R.a)((function(t){return Object(N.a)(B(B({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(N.a)(t):r.pipe(Object(D.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(U.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(b.a)((function(e){return B(B({},x(e,1)[0]),t)})))}}])&&F(t.prototype,r),n&&F(t,n),e}(),J=r(17),K=r(311),X=r(351);function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){Z(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var te=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"scriptSelector",get:function(){return this.parent.scriptSelector}},{key:"removeScriptTags",value:function(e){var t=this,r=[];return e.forEach((function(e){e&&t.scriptSelector&&e.querySelectorAll(t.scriptSelector).forEach((function(e){if(e instanceof HTMLScriptElement){var t=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach((function(e){return t.setAttributeNode(e.cloneNode())})),t.innerHTML=e.innerHTML,t}(e),e];r.push(t)}}))})),r}},{key:"reinsertScriptTags",value:function(e){var t=this;if(!this.scriptSelector)return Promise.resolve(e);var r=e.scripts,n=document.write;return Object(J.a)(r).pipe(Object(K.a)((function(e){return t.insertScript(e)})),Object(R.a)((function(t){return Object(N.a)(Y(Y({},e),{},{error:t}))})),Object(X.a)((function(){return document.write=n})),Object(P.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=z(e,2),r=t[0],n=t[1];return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e.innerHTML=r.join(),Array.from(e.childNodes).forEach((function(e){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.insertBefore(e,n)}))},new Promise((function(e,t){var o,c;""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),null===(o=n.parentNode)||void 0===o||o.replaceChild(r,n)):(null===(c=n.parentNode)||void 0===c||c.replaceChild(r,n),e({}))}))}}])&&ee(t.prototype,r),n&&ee(t,n),e}();function re(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(ne("href",t)),e.querySelectorAll("[src]").forEach(ne("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/\s*,\s*/).map((function(e){var r=e.split(/\s+/);return r[0]=new URL(r[0],t).href,r.join(" ")})).join(", "))}catch(e){}}}("srcset",t)),e.querySelectorAll("blockquote[cite]").forEach(ne("cite",t)),e.querySelectorAll("del[cite]").forEach(ne("cite",t)),e.querySelectorAll("ins[cite]").forEach(ne("cite",t)),e.querySelectorAll("q[cite]").forEach(ne("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ne("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ne("usemap",t)),e.querySelectorAll("form[action]").forEach(ne("action",t)),e.querySelectorAll("button[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ne("formaction",t)),e.querySelectorAll("video[poster]").forEach(ne("poster",t)),e.querySelectorAll("object[data]").forEach(ne("data",t)),e.querySelectorAll("object[codebase]").forEach(ne("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t)))}))}function ne(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,new URL(n,t).href)}catch(e){}}}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var se=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.scriptManager=new te(t)}var t,r,n;return t=e,(r=[{key:"el",get:function(){return this.parent}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}},{key:"getReplaceElements",value:function(e){if(this.replaceSelector)return this.replaceSelector.split(",").map((function(t){return e.querySelector(t)}));if(this.el.id)return[e.getElementById(this.el.id)];var t=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[e.getElementsByTagName(this.el.tagName)[t]]}},{key:"responseToContent",value:function(e){var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,c=this.getReplaceElements(r);if(c.every((function(e){return null==e})))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var i=this.scriptSelector?this.scriptManager.removeScriptTags(c):[];return ae(ae({},e),{},{document:r,title:o,replaceEls:c,scripts:i})}},{key:"replaceContentWithSelector",value:function(e,t){e.split(",").map((function(e){return document.querySelector(e)})).forEach((function(e,r){var n,o=t[r];o&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.replaceChild(o,e))}))}},{key:"replaceContentWholesale",value:function(e){var t=oe(e,1)[0];t&&(this.el.innerHTML=t.innerHTML)}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(this.replaceSelector,e):this.replaceContentWholesale(e)}},{key:"replaceHead",value:function(e){var t=this.el.ownerDocument.head,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var o=t.querySelector("meta[name=description]"),c=e.head.querySelector("meta[name=description]");o&&c&&(o.content=c.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;C(this.parent)&&re(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw ae(ae({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}}])&&le(t.prototype,r),n&&le(t,n),e}(),fe=r(49),pe=r(111);function he(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var be=function(e){return Array.prototype.concat.apply([],e)},ye=function(e){return{addedNodes:new Set(be(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(be(e.map((function(e){return Array.from(e.removedNodes)}))))}},Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setupEventListeners",value:function(){var e=this,t=Object(i.a)(this.el,"click").pipe(Object(b.a)((function(t){var r=Object(L.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(y.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(N.a)(e):Object(J.a)(e.querySelectorAll(t)).pipe(Object(y.a)((function(e){return e instanceof HTMLAnchorElement})))};return{hintEvent$:this.$.linkSelector.pipe(Object(E.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(a.a)(Object(i.a)(e,"mouseenter",{passive:!0}),Object(i.a)(e,"touchstart",{passive:!0}),Object(i.a)(e,"focus",{passive:!0})).pipe(Object(b.a)((function(t){return[t,e]})))}(e))},c=function(e){n.delete(e)};return Object(L.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[e.el],removedNodes:[]}),Object(L.c)(500),Object(b.a)(ye),Object(E.a)((function(e){var i=e.addedNodes,a=e.removedNodes;return Object(J.a)(a).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(c)).subscribe(),Object(J.a)(i).pipe(Object(y.a)((function(e){return e instanceof Element})),Object(fe.a)((function(e){return r(e,t)})),Object(O.a)(o)).subscribe(),Object(J.a)(n.values()).pipe(Object(pe.a)())})),Object(L.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&he(t.prototype,r),n&&he(t,n),e}();function de(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?de(Object(r),!0).forEach((function(t){ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):de(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ge=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=we(this.parent.duration),this.parent.fireEvent("start",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=location.href;window.history.back(),setTimeout((function(){return document.location.assign(t)}),100)}},{key:"emitNetworkError",value:function(e){this.parent.fireEvent("networkerror",{detail:e})}},{key:"emitError",value:function(e){this.parent.fireEvent("error",{detail:e})}},{key:"emitReady",value:function(e){this.parent.fireEvent("ready",{detail:e})}},{key:"emitAfter",value:function(e){var t=this;this.parent.fadePromise=we(this.parent.duration),this.parent.fireEvent("after",{detail:je(je({},e),{},{transitionUntil:function(e){t.parent.fadePromise=Promise.all([t.parent.fadePromise,e])}})})}},{key:"emitProgress",value:function(e){this.parent.fireEvent("progress",{detail:e})}},{key:"emitLoad",value:function(e){this.parent.fireEvent("load",{detail:e})}}])&&me(t.prototype,r),n&&me(t,n),e}();function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}window.HashChangeEvent=window.HashChangeEvent||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,c=void 0===o?"":o,i=new CustomEvent(e);return i.oldURL=n,i.newURL=c,i};var Ae=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.updateHistoryScrollPosition=function(){if(!C(r.parent)){var e=r.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=t}var t,r,n;return t=e,(r=[{key:"updateHistoryState",value:function(e){var t=e.cause,r=e.replace,n=e.url,o=e.oldURL;if(!C(this.parent))switch(t){case S.Init:case S.Push:var c=this.parent.histId;if(r||n.href===location.href){var i=Pe(Pe({},history.state),{},ke({},c,{}));history.replaceState(i,document.title,n.href)}else history.pushState(ke({},c,{}),document.title,n.href);case S.Pop:this.parent.simulateHashChange&&o&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(n,o)}}},{key:"updateTitle",value:function(e){var t=e.cause,r=e.title;document.title=r,C(this.parent)||t!==S.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Pe(Pe({},e),{},ke({},t,Pe(Pe({},e[t]),{},{scrollTop:Object(L.j)(),scrollHeight:Object(L.i)()})))}}])&&Ee(t.prototype,r),n&&Ee(t,n),e}();function Re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Te,Le,Ce,Ie,qe,Me,He,Ne,Ue,De,xe,We,$e=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,"scrollRestoration"in history&&(history.scrollRestoration="manual")}var t,r,n;return t=e,(r=[{key:"manageScrollPosition",value:function(e){var t=e.cause,r=e.url.hash;switch(t){case S.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case S.Pop:this.restoreScrollPosition();break;case S.Init:this.restoreScrollPositionOnReload()}}},{key:"elementFromHash",value:function(e){return document.getElementById(decodeURIComponent(e.substr(1)))}},{key:"scrollHashIntoView",value:function(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}},{key:"restoreScrollPosition",value:function(){var e=this.parent.histId,t=(history.state&&history.state[e]||{}).scrollTop;null!=t&&window.scroll(window.pageXOffset,t)}},{key:"restoreScrollPositionOnReload",value:function(){var e=this,t=this.parent.histId;history.state&&history.state[t]&&0===Object(L.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Re(t.prototype,r),n&&Re(t,n),e}();function Be(e){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(e){return function(e){if(Array.isArray(e))return Je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ve(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}(e,t)||Ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e,t){if(e){if("string"==typeof e)return Je(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(e,t):void 0}}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ze(e,t,r){return(ze="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=et(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function Ge(e,t){return(Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=et(e);if(t){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ye(this,r)}}function Ye(e,t){return!t||"object"!==Be(t)&&"function"!=typeof t?Ze(e):t}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
15
15
|
/**
|
16
16
|
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
17
17
|
*
|
@@ -31,4 +31,4 @@
|
|
31
31
|
* @license
|
32
32
|
* @nocompile
|
33
33
|
*/
|
34
|
-
function tt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ge(e,t)}(l,e);var t,r,o,u=Qe(l);function l(){var e;return Ke(this,l),(e=u.apply(this,arguments)).el=Ze(e),e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,Te.set(Ze(e),Object(L.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),Le.set(Ze(e),new $e(Ze(e))),Ce.set(Ze(e),new Ae(Ze(e))),Ie.set(Ze(e),new V(Ze(e))),qe.set(Ze(e),new se(Ze(e))),Me.set(Ze(e),new ge(Ze(e))),He.set(Ze(e),new URL(e.baseURL)),Ne.set(Ze(e),(function(t,r){var o=new URL(Object(n.c)(Ze(e),He).href);o[t]=r,e.assign(o.href)})),Ue.set(Ze(e),0),De.set(Ze(e),new c.a),xe.set(Ze(e),void 0),We.set(Ze(e),(function(){var t=e.setupEventListeners(),r=t.pushEvent$,o=t.hintEvent$,c=r.pipe(Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Push,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return q(t,Ze(e))})),Object(O.a)((function(t){t.event.preventDefault(),Object(n.c)(Ze(e),Ce).updateHistoryScrollPosition()}))),u=Object(i.a)(window,"popstate").pipe(Object(y.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(b.a)((function(t){return{cause:S.Pop,url:new URL(window.location.href),cacheNr:Object(n.c)(Ze(e),Ue),event:t}}))),l=Object(n.c)(Ze(e),De),s=Object(a.a)(c,u,l).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(j.a)(),Object(b.a)((function(e){var t=Fe(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(v.a)()),h=s.pipe(Object(y.a)((function(e){return!H(e)})),Object(v.a)()),m=s.pipe(Object(y.a)((function(e){return H(e)})),Object(y.a)((function(){return history.state&&history.state[e.histId]})),g(f),Object(O.a)((function(t){Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.c)(Ze(e),Le).manageScrollPosition(t)}))),w=Object(p.a)((function(){return Object(a.a)(h.pipe(Object(P.a)(!0)),Object(n.c)(Ze(e),xe).pipe(Object(P.a)(!1)))})).pipe(Object(d.a)(!1)),C=o.pipe(Object(L.h)(w.pipe(Object(b.a)((function(e){return!e})))),Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Hint,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return M(t,Ze(e))}))),I=Object(a.a)(C,h).pipe(Object(k.a)((function(e,t){return tt(e,t)})),Object(E.a)((function(t){return Object(n.c)(Ze(e),Ie).fetchPage(t)})),Object(d.a)({url:{}}),Object(v.a)()),N=Object(n.d)(Ze(e),xe,h.pipe(Object(O.a)((function(t){Object(n.c)(Ze(e),Me).onStart(t),Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.d)(Ze(e),He,t.url)})),Object(A.a)(I),Object(E.a)((function(t){var r;return(r=Object(n.c)(Ze(e),Ie)).getResponse.apply(r,[I].concat(
|
34
|
+
function tt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ge(e,t)}(l,e);var t,r,o,u=Qe(l);function l(){var e;return Ke(this,l),(e=u.apply(this,arguments)).el=Ze(e),e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,Te.set(Ze(e),Object(L.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),Le.set(Ze(e),new $e(Ze(e))),Ce.set(Ze(e),new Ae(Ze(e))),Ie.set(Ze(e),new V(Ze(e))),qe.set(Ze(e),new se(Ze(e))),Me.set(Ze(e),new ge(Ze(e))),He.set(Ze(e),new URL(e.baseURL)),Ne.set(Ze(e),(function(t,r){var o=new URL(Object(n.c)(Ze(e),He).href);o[t]=r,e.assign(o.href)})),Ue.set(Ze(e),0),De.set(Ze(e),new c.a),xe.set(Ze(e),void 0),We.set(Ze(e),(function(){var t=e.setupEventListeners(),r=t.pushEvent$,o=t.hintEvent$,c=r.pipe(Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Push,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return q(t,Ze(e))})),Object(O.a)((function(t){t.event.preventDefault(),Object(n.c)(Ze(e),Ce).updateHistoryScrollPosition()}))),u=Object(i.a)(window,"popstate").pipe(Object(y.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(b.a)((function(t){return{cause:S.Pop,url:new URL(window.location.href),cacheNr:Object(n.c)(Ze(e),Ue),event:t}}))),l=Object(n.c)(Ze(e),De),s=Object(a.a)(c,u,l).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(j.a)(),Object(b.a)((function(e){var t=Fe(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(v.a)()),h=s.pipe(Object(y.a)((function(e){return!H(e)})),Object(v.a)()),m=s.pipe(Object(y.a)((function(e){return H(e)})),Object(y.a)((function(){return history.state&&history.state[e.histId]})),g(f),Object(O.a)((function(t){Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.c)(Ze(e),Le).manageScrollPosition(t)}))),w=Object(p.a)((function(){return Object(a.a)(h.pipe(Object(P.a)(!0)),Object(n.c)(Ze(e),xe).pipe(Object(P.a)(!1)))})).pipe(Object(d.a)(!1)),C=o.pipe(Object(L.h)(w.pipe(Object(b.a)((function(e){return!e})))),Object(b.a)((function(t){var r=Fe(t,2),o=r[0],c=r[1];return{cause:S.Hint,url:new URL(c.href,e.href),anchor:c,event:o,cacheNr:Object(n.c)(Ze(e),Ue)}})),Object(y.a)((function(t){return M(t,Ze(e))}))),I=Object(a.a)(C,h).pipe(Object(k.a)((function(e,t){return tt(e,t)})),Object(E.a)((function(t){return Object(n.c)(Ze(e),Ie).fetchPage(t)})),Object(d.a)({url:{}}),Object(v.a)()),N=Object(n.d)(Ze(e),xe,h.pipe(Object(O.a)((function(t){Object(n.c)(Ze(e),Me).onStart(t),Object(n.c)(Ze(e),Ce).updateHistoryState(t),Object(n.d)(Ze(e),He,t.url)})),Object(A.a)(I),Object(E.a)((function(t){var r;return(r=Object(n.c)(Ze(e),Ie)).getResponse.apply(r,[I].concat(_e(t)))})),Object(v.a)())),U=N.pipe(Object(y.a)((function(e){return!e.error}))),D=N.pipe(Object(y.a)((function(e){return!!e.error}))),x=U.pipe(Object(b.a)((function(t){return Object(n.c)(Ze(e),qe).responseToContent(t)})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitReady(t)})),g(f),Object(O.a)((function(t){Object(n.c)(Ze(e),qe).updateDOM(t),Object(n.c)(Ze(e),Ce).updateTitle(t),Object(n.c)(Ze(e),Me).emitAfter(t)})),Object(d.a)({cause:S.Init,url:Object(n.c)(Ze(e),He),scripts:[]}),g(f),Object(O.a)((function(t){return Object(n.c)(Ze(e),Le).manageScrollPosition(t)})),Object(O.a)({error:function(t){return Object(n.c)(Ze(e),Me).emitDOMError(t)}}),Object(R.a)((function(e,t){return t})),Object(E.a)((function(t){return e.fadePromise.then((function(){return t}))})),Object(E.a)((function(t){return Object(n.c)(Ze(e),qe).reinsertScriptTags(t)})),Object(O.a)({error:function(t){return Object(n.c)(Ze(e),Me).emitError(t)}}),Object(R.a)((function(e,t){return t})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitLoad(t)}))),W=D.pipe(Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitNetworkError(t)}))),$=h.pipe(Object(E.a)((function(t){return Object(p.a)((function(){return e.animPromise})).pipe(Object(T.a)(N),Object(P.a)(t))})),Object(O.a)((function(t){return Object(n.c)(Ze(e),Me).emitProgress(t)})));x.subscribe(),m.subscribe(),W.subscribe(),$.subscribe(),Object(n.c)(Ze(e),Te).resolve(Ze(e)),e.fireEvent("init")})),e}return t=l,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"initialized",get:function(){return Object(n.c)(this,Te)}},{key:"hash",get:function(){return Object(n.c)(this,He).hash},set:function(e){Object(n.c)(this,Ne).call(this,"hash",e)}},{key:"host",get:function(){return Object(n.c)(this,He).host},set:function(e){Object(n.c)(this,Ne).call(this,"host",e)}},{key:"hostname",get:function(){return Object(n.c)(this,He).hostname},set:function(e){Object(n.c)(this,Ne).call(this,"hostname",e)}},{key:"href",get:function(){return Object(n.c)(this,He).href},set:function(e){Object(n.c)(this,Ne).call(this,"href",e)}},{key:"pathname",get:function(){return Object(n.c)(this,He).pathname},set:function(e){Object(n.c)(this,Ne).call(this,"pathname",e)}},{key:"port",get:function(){return Object(n.c)(this,He).port},set:function(e){Object(n.c)(this,Ne).call(this,"port",e)}},{key:"protocol",get:function(){return Object(n.c)(this,He).protocol},set:function(e){Object(n.c)(this,Ne).call(this,"protocol",e)}},{key:"search",get:function(){return Object(n.c)(this,He).search},set:function(e){Object(n.c)(this,Ne).call(this,"search",e)}},{key:"origin",get:function(){return Object(n.c)(this,He).origin}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins}},{key:"histId",get:function(){return this.id||this.tagName}},{key:"assign",value:function(e){Object(n.c)(this,De).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1)})}},{key:"reload",value:function(){Object(n.c)(this,De).next({cause:S.Push,url:new URL(this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1),replace:!0})}},{key:"replace",value:function(e){Object(n.c)(this,De).next({cause:S.Push,url:new URL(e,this.href),cacheNr:Object(n.d)(this,Ue,+Object(n.c)(this,Ue)+1),replace:!0})}},{key:"connectedCallback",value:function(){ze(et(l.prototype),"connectedCallback",this).call(this),this.$={linkSelector:new h.a(this.linkSelector),prefetch:new h.a(this.prefetch)},window.addEventListener("beforeunload",Object(n.c)(this,Ce).updateHistoryScrollPosition),this.updateComplete.then(Object(n.c)(this,We))}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",Object(n.c)(this,Ce).updateHistoryScrollPosition)}}])&&Xe(t.prototype,r),o&&Xe(t,o),l}(Object(L.b)(L.a,[Oe]));Te=new WeakMap,Le=new WeakMap,Ce=new WeakMap,Ie=new WeakMap,qe=new WeakMap,Me=new WeakMap,He=new WeakMap,Ne=new WeakMap,Ue=new WeakMap,De=new WeakMap,xe=new WeakMap,We=new WeakMap,Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],rt.prototype,"replaceSelector",void 0),Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],rt.prototype,"linkSelector",void 0),Object(n.e)([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],rt.prototype,"scriptSelector",void 0),Object(n.e)([Object(o.e)({type:Boolean,reflect:!0})],rt.prototype,"prefetch",void 0),Object(n.e)([Object(o.e)({type:Number,reflect:!0})],rt.prototype,"duration",void 0),Object(n.e)([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],rt.prototype,"simulateHashChange",void 0),Object(n.e)([Object(o.e)({type:String})],rt.prototype,"baseURL",void 0),Object(n.e)([Object(o.e)()],rt.prototype,"assign",null),Object(n.e)([Object(o.e)()],rt.prototype,"reload",null),Object(n.e)([Object(o.e)()],rt.prototype,"replace",null),rt=Object(n.e)([Object(o.c)("hy-push-state")],rt)},354:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(17),o=r(10),c=r(13);function i(e){return Object(c.b)((function(t,r){var c,a=null,u=!1;a=t.subscribe(new o.a(r,void 0,(function(o){c=Object(n.c)(e(o,i(e)(t))),a?(a.unsubscribe(),a=null,c.subscribe(r)):u=!0}))),u&&(a.unsubscribe(),a=null,c.subscribe(r))}))}},355:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(2),o=r(6),c=r(17),i=r(317),a=r(318),u=r(10),l=r(50);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),s=Object(i.a)(e);return s.length?new o.a((function(e){var t=s.map((function(){return[]})),o=s.map((function(){return!1}));e.add((function(){t=o=null}));for(var i=function(i){Object(c.c)(s[i]).subscribe(new u.a(e,(function(c){if(t[i].push(c),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Object(n.i)(a)):a),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),void 0,(function(){o[i]=!0,!t[i].length&&e.complete()})))},a=0;!e.closed&&a<s.length;a++)i(a);return function(){t=o=null}})):a.a}},356:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(48),o=r(17),c=r(13),i=r(10);function a(e,t){return t?function(r){return r.pipe(a((function(r,c){return Object(o.c)(e(r,c)).pipe(Object(n.a)((function(e,n){return t(r,e,c,n)})))})))}:Object(c.b)((function(t,r){var n=0,c=null,a=!1;t.subscribe(new i.a(r,(function(t){c||(c=new i.a(r,void 0,void 0,(function(){c=null,a&&r.complete()})),Object(o.c)(e(t,n++)).subscribe(c))}),void 0,(function(){a=!0,!c&&r.complete()})))}))}}}]);
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{313:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},339:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,s:[],v:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.s.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.v++,o++,t.s.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.v++,o++;break;case 3:t||(t=a(o,0)),t.s.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Lt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.o=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),E=0,N=[];function b(e){N.push(e),S.textContent=E++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw S.textContent=E++,e}})).observe(S,{characterData:!0});var C=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}var I,F=[];function j(e){I||(I=!0,b(H)),F.push(e)}function H(){I=!1;for(var e=!!F.length;F.length;)F.shift()();return e}H.list=F;var B=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),U=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),q=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function V(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}V(B),V(U),V(q);var G,W=f.c||!0===f.g,K=W?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,q))},X=W?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,B),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,U))},$="__eventWrappers"+Date.now(),z=(G=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return G.get.call(e)}:null,Y=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function J(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:Y?e:n}}var Q={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Z={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ee(e){return e instanceof Node?e.__shady_getRootNode():e}function te(e,t){var n=[],r=e;for(e=ee(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ne(e,t){if(!y)return e;e=te(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ee(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function re(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var oe={focus:!0,blur:!0};function ie(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function se(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ie(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ae(e){var t=e.composedPath(),n=t.map((function(e){return ne(e,t)})),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return s}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var s=t[i];if(o=s===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,se(e,s,"capture"),e.B)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,se(e,s,"bubble"),e.B))return}o=0,s=null}function le(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ue(e){return H(),!f.o&&this instanceof Node&&!C(document,this)?(e.__target||fe(e,this),ae(e)):this.__shady_native_dispatchEvent(e)}function ce(e,n,r){var o=J(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(Z[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[$]){if(-1<le(l,c,e,i,s,a))return}else n[$]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||fe(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(ie(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var l="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget,a?(Object.defineProperty(t,"eventPhase",a),a=null):delete t.eventPhase),l}},n[$].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l),oe[e]||this.__shady_native_addEventListener(e,l,o)}}}function de(e,t,n){if(t){var r=J(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Z[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[$]}catch(e){}l&&(-1<(o=le(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[$]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var he=D({get composed(){return void 0===this.__composed&&(z?this.__composed="focusin"===this.type||"focusout"===this.type||z(this):!1!==this.isTrusted&&(this.__composed=Q[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=te(this.__target,this.composed)),this.__composedPath},get target(){return ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=te(this.__relatedTarget,!0)),ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,f.c){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,he),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,he)}var _e=re(Event),pe=re(CustomEvent),ye=re(MouseEvent);var me=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ve=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function ge(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var Se=D({dispatchEvent:ue,addEventListener:ce,removeEventListener:de}),Ee=window.document,Ne=f.o,be=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ce=be&&be.get;function we(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Te(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var Oe=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ce&&Ce.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||C(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&we(this),this.__shady_native_textContent=e}else we(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==Ee&&e.ownerDocument!==Ee)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Te(this,e);var r=[],o=(n=Ht(this))?n.host.localName:He(this),s=e.__shady_parentNode;if(s){var a=He(e),l=!!n||!Ht(e)||Ne&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,l)}s=!0;var u=(!Ne||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ie();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,o),c=n&&!e.__noInsertionPoint&&(!Ne||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(a=a||He(e)),Be(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=a;Ie()&&(t&&je(e,t),(t=Ie())&&t.scopeNode(e,o))}}))),r.length&&(Mt(n),n.f.push.apply(n.f,i(r)),Tt(n)),p(this)&&(function(e,t,n){pt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)yt(e,t,r,n);else yt(e,t,r,n)}(e,this,t),(l=h(this)).root?(s=!1,m(this)&&Tt(l.root)):n&&"slot"===this.localName&&(s=!1,Tt(n))),s?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Ee)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Te(this,null,e);var n=Ht(e),r=n&&function(e,t){if(e.a){Dt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.u&&a.u--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Tt(o.root);var i=!0}if(Ie()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=He(e);Be(e,(function(e){je(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.A)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.A=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Tt(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.A;return void 0===n&&(y(this)?(n=this,t.A=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.A=n))),n}},contains:function(e){return w(this,e)}}),xe=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Ot(e),(e=h(this))&&e.assignedSlot||null}});function Pe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var ke={get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Me=D((ke.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},ke.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},ke.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},ke)),De=D({querySelector:function(e){return Pe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Pe(this,(function(t){return g.call(t,e)})))}}),Ae=f.o&&!f.g?A({},Me):Me;A(Me,De);var Re=D({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),Le=null;function Ie(){return Le||(Le=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Le||null}function Fe(e,t,n){var r=Ie();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function je(e,t){var n=Ie();n&&n.unscopeNode(e,t)}function He(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ie();return t?t.currentScopeForNode(e):""}function Be(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Be(e,t)}var Ue=window.document;function qe(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Tt(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ht(e))){if(t.a){Dt(t);var n=e.O,r=At(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Rt(n))}}Tt(t)}}var Ve=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Ue?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),qe(this,e))},removeAttribute:function(e){this.ownerDocument!==Ue?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),qe(this,e))}});f.o||me.forEach((function(e){Ve[e]=ge(e)}));var Ge=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,wt(t,this,e),mt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Mt(n),n.f.push.apply(n.f,i(e)),Tt(t)}t.host.__shady_native_appendChild(t)}else t=new Ct(Et,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});A(Ve,Ge);var We=/[&\u00A0"]/g,Ke=/[&\u00A0<>]/g;function Xe(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function $e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var ze=$e("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ye=$e("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Je(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(We,Xe)+'"';d+=">",a=ze[l]?d:d+Je(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ye[l.localName]?a:a.replace(Ke,Xe);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var Qe=document.implementation.createHTMLDocument("inert"),Ze=D({get innerHTML(){return p(this)?Je("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{we(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Qe.namespaceURI?Qe.createElementNS(this.namespaceURI,t):Qe.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),et=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.o||ve.forEach((function(e){et[e]=ge(e)}));var tt=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Ot(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ce.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)de.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),nt=D({getElementById:function(e){return""===e?null:Pe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),rt=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ht(e);t&&t!==this;)t=Ht(e=t.host);return this===document?t?null:e:t===this?e:null}}),ot=window.document,it=D({importNode:function(e,t){if(e.ownerDocument!==ot||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),st=D({dispatchEvent:ue,addEventListener:ce.bind(window),removeEventListener:de.bind(window)}),at={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(at.parentElement=Oe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(at.contains=Oe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(at.children=Me.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(at.innerHTML=Ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(at.className=Ve.className);var lt={EventTarget:[Se],Node:[Oe,window.EventTarget?null:Se],Text:[xe],Comment:[xe],CDATASection:[xe],ProcessingInstruction:[xe],Element:[Ve,Me,Re,xe,!f.c||"innerHTML"in Element.prototype?Ze:null,window.HTMLSlotElement?null:tt],HTMLElement:[et,at],HTMLSlotElement:[tt],DocumentFragment:[Ae,nt],Document:[it,Ae,nt,rt],Window:[st],CharacterData:[Re]},ut=f.c?null:["innerHTML","textContent"];function ct(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function dt(e){var t,n=e?null:ut;for(t in lt)ct(window[t]&&window[t].prototype,lt[t],e,n)}function ht(e){return e.__shady_protoIsPatched=!0,ct(e,lt.EventTarget),ct(e,lt.Node),ct(e,lt.Element),ct(e,lt.HTMLElement),ct(e,lt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,ct(n,lt.EventTarget),ct(n,lt.Node),lt[e]&&ct(n,lt[e]),t.prototype.__shady_patchedProto=n}));var ft=f.G,_t=f.c;function pt(e,t){if(ft&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(ht(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}_t||(1===t?K(e):2===t&&X(e))}function yt(e,t,n,r){pt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function mt(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,pt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,pt(n,1)}}}var vt=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function gt(e,t){k(e,vt,t),k(e,rt,t),k(e,Ze,t),k(e,Me,t),f.g&&!t?(k(e,Oe,t),k(e,nt,t)):f.c||(k(e,q),k(e,B),k(e,U))}var St,Et={},Nt=f.deferConnectionCallbacks&&"loading"===document.readyState;function bt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Ct(e,t,n){if(e!==Et)throw new TypeError("Illegal constructor");this.a=null,wt(this,t,n)}function wt(e,t,n){if(e.host=t,e.mode=n&&n.mode,mt(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Tt(e)}function Tt(e){e.j||(e.j=!0,j((function(){return Ot(e)})))}function Ot(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.u||(e=void 0);t=n}(n=t)&&n._renderSelf()}function xt(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function Pt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&Pt(e,t,i)}else t.push(n[r])}function kt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&kt(e,t.assignedSlot)}function Mt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Dt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];mt(o);var i=o.__shady_parentNode;mt(i),(i=h(i)).u=(i.u||0)+1,i=At(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=Rt(e.b[s]);e.f=[]}}function At(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Rt(e){return e.sort((function(e,t){e=bt(e);for(var n=bt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Lt(e){return Dt(e),!(!e.a||!e.a.length)}if(Ct.prototype._renderSelf=function(){var e=Nt;if(Nt=!0,this.j=!1,this.a){Dt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)xt(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)xt(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Lt(r)||r.j)&&r._renderSelf(),Pt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,kt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.s.length&&(_=c.s[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.v}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.v;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,Nt=e,St&&St()},function(e){e.__proto__=DocumentFragment.prototype,gt(e,"__shady_"),gt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(Ct.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var It=new Map;St=function(){var e=[];It.forEach((function(t,n){e.push([n,t])})),It.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Nt&&document.addEventListener("readystatechange",(function(){Nt=!1,St()}),{once:!0});var Ft=window.customElements.define,jt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Ft.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){Nt?It.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Nt?this.isConnected||It.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=jt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:jt,configurable:!0})}function Ht(e){if(y(e=e.__shady_getRootNode()))return e}function Bt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}Bt.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.w.forEach((function(t){t(e)}))}},Bt.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ut=f.c,qt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Vt={};function Gt(e){Vt[e]=function(t){return t["__shady_native_"+e]}}function Wt(e,t){for(var n in k(e,t,"__shady_native_"),t)Gt(n)}function Kt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?qt[r]||(qt[r]=o.value):Gt(r))}}var Xt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),$t=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zt=document.implementation.createHTMLDocument("inert");function Yt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Jt=["firstElementChild","lastElementChild","children","childElementCount"],Qt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];function Zt(e){this.node=e}function en(e){Object.defineProperty(Zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=Zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},s.Object.defineProperties(Zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),me.forEach((function(e){return en(e)})),ve.forEach((function(e){return en(e)}));var tn=new WeakMap;function nn(e){if(y(e)||e instanceof Zt)return e;var t=tn.get(e);return t||(t=new Zt(e),tn.set(e,t)),t}if(f.F){var rn=f.c?function(e){return e}:function(e){return X(e),K(e),e};window.ShadyDOM={inUse:f.F,patch:rn,isShadyRoot:y,enqueue:j,flush:H,flushInitial:function(e){!e.H&&e.j&&Ot(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new Bt),n.m.w.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.w.delete(e.P),t.w.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?nn:rn,wrapIfNeeded:!0===f.g?nn:function(e){return e},Wrapper:Zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=te(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:qt,nativeTree:Vt,patchElementProto:ht},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Kt(window.EventTarget.prototype,e):(Kt(Node.prototype,e),Kt(Window.prototype,e)),Ut?Kt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wt(Node.prototype,{parentNode:{get:function(){return Xt.currentNode=this,Xt.parentNode()}},firstChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},previousSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},childNodes:{get:function(){var e=[];Xt.currentNode=this;for(var t=Xt.firstChild();t;)e.push(t),t=Xt.nextSibling();return e}},parentElement:{get:function(){return $t.currentNode=this,$t.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Yt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Kt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Kt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return $t.currentNode=this,$t.firstChild()}},lastElementChild:{get:function(){return $t.currentNode=this,$t.lastChild()}},children:{get:function(){var e=[];$t.currentNode=this;for(var t=$t.firstChild();t;)e.push(t),t=$t.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ut?(Kt(Element.prototype,Jt),Kt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Kt(HTMLElement.prototype,["children","innerHTML","className"])):(Wt(Element.prototype,e),Wt(Element.prototype,{previousElementSibling:{get:function(){return $t.currentNode=this,$t.previousSibling()}},nextElementSibling:{get:function(){return $t.currentNode=this,$t.nextSibling()}},innerHTML:{get:function(){return Je(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Yt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==zt.namespaceURI?zt.createElementNS(this.namespaceURI,n):zt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),Kt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Kt(Element.prototype,Qt),Kt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Kt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ut?Kt(DocumentFragment.prototype,Jt):Wt(DocumentFragment.prototype,e),Kt(DocumentFragment.prototype,Qt),Ut?(Kt(Document.prototype,Jt),Kt(Document.prototype,["activeElement"])):Wt(Document.prototype,e),Kt(Document.prototype,["importNode","getElementById"]),Kt(Document.prototype,Qt)}(),dt("__shady_"),Object.defineProperty(document,"_activeElement",rt.activeElement),k(Window.prototype,st,"__shady_"),f.g?f.G&&k(Element.prototype,Ge):(dt(),function(){if(!z&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(fe(e),ae(e))}),!0)}(),window.Event=_e,window.CustomEvent=pe,window.MouseEvent=ye,window.ShadowRoot=Ct}}).call(this)}).call(this,n(313))},343:function(e,t,n){"use strict";
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{327:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},340:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,s:[],v:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.s.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.v++,o++,t.s.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.v++,o++;break;case 3:t||(t=a(o,0)),t.s.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Lt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.o=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),E=0,N=[];function b(e){N.push(e),S.textContent=E++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw S.textContent=E++,e}})).observe(S,{characterData:!0});var C=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}var I,F=[];function j(e){I||(I=!0,b(H)),F.push(e)}function H(){I=!1;for(var e=!!F.length;F.length;)F.shift()();return e}H.list=F;var B=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),U=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),q=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function V(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}V(B),V(U),V(q);var G,W=f.c||!0===f.g,K=W?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,q))},X=W?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,B),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,U))},$="__eventWrappers"+Date.now(),z=(G=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return G.get.call(e)}:null,Y=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function J(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:Y?e:n}}var Q={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Z={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ee(e){return e instanceof Node?e.__shady_getRootNode():e}function te(e,t){var n=[],r=e;for(e=ee(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ne(e,t){if(!y)return e;e=te(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ee(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function re(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var oe={focus:!0,blur:!0};function ie(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function se(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ie(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ae(e){var t=e.composedPath(),n=t.map((function(e){return ne(e,t)})),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return s}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var s=t[i];if(o=s===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,se(e,s,"capture"),e.B)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,se(e,s,"bubble"),e.B))return}o=0,s=null}function le(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ue(e){return H(),!f.o&&this instanceof Node&&!C(document,this)?(e.__target||fe(e,this),ae(e)):this.__shady_native_dispatchEvent(e)}function ce(e,n,r){var o=J(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(Z[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[$]){if(-1<le(l,c,e,i,s,a))return}else n[$]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||fe(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(ie(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var l="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget,a?(Object.defineProperty(t,"eventPhase",a),a=null):delete t.eventPhase),l}},n[$].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l),oe[e]||this.__shady_native_addEventListener(e,l,o)}}}function de(e,t,n){if(t){var r=J(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Z[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[$]}catch(e){}l&&(-1<(o=le(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[$]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var he=D({get composed(){return void 0===this.__composed&&(z?this.__composed="focusin"===this.type||"focusout"===this.type||z(this):!1!==this.isTrusted&&(this.__composed=Q[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=te(this.__target,this.composed)),this.__composedPath},get target(){return ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=te(this.__relatedTarget,!0)),ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,f.c){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,he),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,he)}var _e=re(Event),pe=re(CustomEvent),ye=re(MouseEvent);var me=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ve=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function ge(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var Se=D({dispatchEvent:ue,addEventListener:ce,removeEventListener:de}),Ee=window.document,Ne=f.o,be=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ce=be&&be.get;function we(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Te(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var Oe=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ce&&Ce.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||C(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&we(this),this.__shady_native_textContent=e}else we(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==Ee&&e.ownerDocument!==Ee)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Te(this,e);var r=[],o=(n=Ht(this))?n.host.localName:He(this),s=e.__shady_parentNode;if(s){var a=He(e),l=!!n||!Ht(e)||Ne&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,l)}s=!0;var u=(!Ne||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ie();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,o),c=n&&!e.__noInsertionPoint&&(!Ne||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(a=a||He(e)),Be(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=a;Ie()&&(t&&je(e,t),(t=Ie())&&t.scopeNode(e,o))}}))),r.length&&(Mt(n),n.f.push.apply(n.f,i(r)),Tt(n)),p(this)&&(function(e,t,n){pt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)yt(e,t,r,n);else yt(e,t,r,n)}(e,this,t),(l=h(this)).root?(s=!1,m(this)&&Tt(l.root)):n&&"slot"===this.localName&&(s=!1,Tt(n))),s?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Ee)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Te(this,null,e);var n=Ht(e),r=n&&function(e,t){if(e.a){Dt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.u&&a.u--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Tt(o.root);var i=!0}if(Ie()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=He(e);Be(e,(function(e){je(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.A)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.A=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Tt(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.A;return void 0===n&&(y(this)?(n=this,t.A=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.A=n))),n}},contains:function(e){return w(this,e)}}),xe=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Ot(e),(e=h(this))&&e.assignedSlot||null}});function Pe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var ke={get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Me=D((ke.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},ke.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},ke.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},ke)),De=D({querySelector:function(e){return Pe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Pe(this,(function(t){return g.call(t,e)})))}}),Ae=f.o&&!f.g?A({},Me):Me;A(Me,De);var Re=D({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),Le=null;function Ie(){return Le||(Le=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Le||null}function Fe(e,t,n){var r=Ie();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function je(e,t){var n=Ie();n&&n.unscopeNode(e,t)}function He(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ie();return t?t.currentScopeForNode(e):""}function Be(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Be(e,t)}var Ue=window.document;function qe(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Tt(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ht(e))){if(t.a){Dt(t);var n=e.O,r=At(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Rt(n))}}Tt(t)}}var Ve=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Ue?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),qe(this,e))},removeAttribute:function(e){this.ownerDocument!==Ue?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),qe(this,e))}});f.o||me.forEach((function(e){Ve[e]=ge(e)}));var Ge=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,wt(t,this,e),mt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Mt(n),n.f.push.apply(n.f,i(e)),Tt(t)}t.host.__shady_native_appendChild(t)}else t=new Ct(Et,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});A(Ve,Ge);var We=/[&\u00A0"]/g,Ke=/[&\u00A0<>]/g;function Xe(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function $e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var ze=$e("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ye=$e("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Je(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(We,Xe)+'"';d+=">",a=ze[l]?d:d+Je(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ye[l.localName]?a:a.replace(Ke,Xe);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var Qe=document.implementation.createHTMLDocument("inert"),Ze=D({get innerHTML(){return p(this)?Je("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{we(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Qe.namespaceURI?Qe.createElementNS(this.namespaceURI,t):Qe.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),et=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.o||ve.forEach((function(e){et[e]=ge(e)}));var tt=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Ot(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ce.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)de.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),nt=D({getElementById:function(e){return""===e?null:Pe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),rt=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ht(e);t&&t!==this;)t=Ht(e=t.host);return this===document?t?null:e:t===this?e:null}}),ot=window.document,it=D({importNode:function(e,t){if(e.ownerDocument!==ot||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),st=D({dispatchEvent:ue,addEventListener:ce.bind(window),removeEventListener:de.bind(window)}),at={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(at.parentElement=Oe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(at.contains=Oe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(at.children=Me.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(at.innerHTML=Ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(at.className=Ve.className);var lt={EventTarget:[Se],Node:[Oe,window.EventTarget?null:Se],Text:[xe],Comment:[xe],CDATASection:[xe],ProcessingInstruction:[xe],Element:[Ve,Me,Re,xe,!f.c||"innerHTML"in Element.prototype?Ze:null,window.HTMLSlotElement?null:tt],HTMLElement:[et,at],HTMLSlotElement:[tt],DocumentFragment:[Ae,nt],Document:[it,Ae,nt,rt],Window:[st],CharacterData:[Re]},ut=f.c?null:["innerHTML","textContent"];function ct(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function dt(e){var t,n=e?null:ut;for(t in lt)ct(window[t]&&window[t].prototype,lt[t],e,n)}function ht(e){return e.__shady_protoIsPatched=!0,ct(e,lt.EventTarget),ct(e,lt.Node),ct(e,lt.Element),ct(e,lt.HTMLElement),ct(e,lt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,ct(n,lt.EventTarget),ct(n,lt.Node),lt[e]&&ct(n,lt[e]),t.prototype.__shady_patchedProto=n}));var ft=f.G,_t=f.c;function pt(e,t){if(ft&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(ht(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}_t||(1===t?K(e):2===t&&X(e))}function yt(e,t,n,r){pt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function mt(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,pt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,pt(n,1)}}}var vt=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function gt(e,t){k(e,vt,t),k(e,rt,t),k(e,Ze,t),k(e,Me,t),f.g&&!t?(k(e,Oe,t),k(e,nt,t)):f.c||(k(e,q),k(e,B),k(e,U))}var St,Et={},Nt=f.deferConnectionCallbacks&&"loading"===document.readyState;function bt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Ct(e,t,n){if(e!==Et)throw new TypeError("Illegal constructor");this.a=null,wt(this,t,n)}function wt(e,t,n){if(e.host=t,e.mode=n&&n.mode,mt(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Tt(e)}function Tt(e){e.j||(e.j=!0,j((function(){return Ot(e)})))}function Ot(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.u||(e=void 0);t=n}(n=t)&&n._renderSelf()}function xt(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function Pt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&Pt(e,t,i)}else t.push(n[r])}function kt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&kt(e,t.assignedSlot)}function Mt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Dt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];mt(o);var i=o.__shady_parentNode;mt(i),(i=h(i)).u=(i.u||0)+1,i=At(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=Rt(e.b[s]);e.f=[]}}function At(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Rt(e){return e.sort((function(e,t){e=bt(e);for(var n=bt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Lt(e){return Dt(e),!(!e.a||!e.a.length)}if(Ct.prototype._renderSelf=function(){var e=Nt;if(Nt=!0,this.j=!1,this.a){Dt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)xt(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)xt(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Lt(r)||r.j)&&r._renderSelf(),Pt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,kt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.s.length&&(_=c.s[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.v}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.v;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,Nt=e,St&&St()},function(e){e.__proto__=DocumentFragment.prototype,gt(e,"__shady_"),gt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(Ct.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var It=new Map;St=function(){var e=[];It.forEach((function(t,n){e.push([n,t])})),It.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Nt&&document.addEventListener("readystatechange",(function(){Nt=!1,St()}),{once:!0});var Ft=window.customElements.define,jt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Ft.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){Nt?It.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Nt?this.isConnected||It.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=jt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:jt,configurable:!0})}function Ht(e){if(y(e=e.__shady_getRootNode()))return e}function Bt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}Bt.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.w.forEach((function(t){t(e)}))}},Bt.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ut=f.c,qt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Vt={};function Gt(e){Vt[e]=function(t){return t["__shady_native_"+e]}}function Wt(e,t){for(var n in k(e,t,"__shady_native_"),t)Gt(n)}function Kt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?qt[r]||(qt[r]=o.value):Gt(r))}}var Xt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),$t=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zt=document.implementation.createHTMLDocument("inert");function Yt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Jt=["firstElementChild","lastElementChild","children","childElementCount"],Qt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];function Zt(e){this.node=e}function en(e){Object.defineProperty(Zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=Zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},s.Object.defineProperties(Zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),me.forEach((function(e){return en(e)})),ve.forEach((function(e){return en(e)}));var tn=new WeakMap;function nn(e){if(y(e)||e instanceof Zt)return e;var t=tn.get(e);return t||(t=new Zt(e),tn.set(e,t)),t}if(f.F){var rn=f.c?function(e){return e}:function(e){return X(e),K(e),e};window.ShadyDOM={inUse:f.F,patch:rn,isShadyRoot:y,enqueue:j,flush:H,flushInitial:function(e){!e.H&&e.j&&Ot(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new Bt),n.m.w.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.w.delete(e.P),t.w.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?nn:rn,wrapIfNeeded:!0===f.g?nn:function(e){return e},Wrapper:Zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=te(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:qt,nativeTree:Vt,patchElementProto:ht},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Kt(window.EventTarget.prototype,e):(Kt(Node.prototype,e),Kt(Window.prototype,e)),Ut?Kt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wt(Node.prototype,{parentNode:{get:function(){return Xt.currentNode=this,Xt.parentNode()}},firstChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},previousSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},childNodes:{get:function(){var e=[];Xt.currentNode=this;for(var t=Xt.firstChild();t;)e.push(t),t=Xt.nextSibling();return e}},parentElement:{get:function(){return $t.currentNode=this,$t.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Yt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Kt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Kt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return $t.currentNode=this,$t.firstChild()}},lastElementChild:{get:function(){return $t.currentNode=this,$t.lastChild()}},children:{get:function(){var e=[];$t.currentNode=this;for(var t=$t.firstChild();t;)e.push(t),t=$t.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ut?(Kt(Element.prototype,Jt),Kt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Kt(HTMLElement.prototype,["children","innerHTML","className"])):(Wt(Element.prototype,e),Wt(Element.prototype,{previousElementSibling:{get:function(){return $t.currentNode=this,$t.previousSibling()}},nextElementSibling:{get:function(){return $t.currentNode=this,$t.nextSibling()}},innerHTML:{get:function(){return Je(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Yt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==zt.namespaceURI?zt.createElementNS(this.namespaceURI,n):zt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),Kt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Kt(Element.prototype,Qt),Kt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Kt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ut?Kt(DocumentFragment.prototype,Jt):Wt(DocumentFragment.prototype,e),Kt(DocumentFragment.prototype,Qt),Ut?(Kt(Document.prototype,Jt),Kt(Document.prototype,["activeElement"])):Wt(Document.prototype,e),Kt(Document.prototype,["importNode","getElementById"]),Kt(Document.prototype,Qt)}(),dt("__shady_"),Object.defineProperty(document,"_activeElement",rt.activeElement),k(Window.prototype,st,"__shady_"),f.g?f.G&&k(Element.prototype,Ge):(dt(),function(){if(!z&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(fe(e),ae(e))}),!0)}(),window.Event=_e,window.CustomEvent=pe,window.MouseEvent=ye,window.ShadowRoot=Ct}}).call(this)}).call(this,n(327))},344:function(e,t,n){"use strict";
|
15
15
|
/**
|
16
16
|
@license
|
17
17
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -47,7 +47,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
47
47
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
48
48
|
Code distributed by Google as part of the polymer project is also
|
49
49
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
50
|
-
*/(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}}
|
50
|
+
*/(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"SCOPE_NAME",get:function(){return"style-scope"}},{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var fe=function(){function e(t,n,r,o,i,s){!
|
51
51
|
/**
|
52
52
|
@license
|
53
53
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -57,7 +57,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
57
57
|
Code distributed by Google as part of the polymer project is also
|
58
58
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
59
59
|
*/
|
60
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return
|
60
|
+
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}var t,n,r;return t=e,r=[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}],(n=[{key:"_getStyleRules",value:function(){return this.styleRules}}])&&he(t.prototype,n),r&&he(t,r),e}();function _e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}fe.prototype._getStyleRules=fe.prototype._getStyleRules;var pe=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},ye=/:host\s*>\s*/;var me=navigator.userAgent.match("Trident");var ve=new(function(){function e(){!
|
61
61
|
/**
|
62
62
|
@license
|
63
63
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -67,7 +67,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
67
67
|
Code distributed by Google as part of the polymer project is also
|
68
68
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
69
69
|
*/
|
70
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;A(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=E,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(E,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(N.lastIndex=0,r=N.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return A(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&
|
70
|
+
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"XSCOPE_NAME",get:function(){return"x-scope"}},{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;A(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=E,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(E,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(N.lastIndex=0,r=N.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return A(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&pe.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(ye))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return A(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;pe.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=fe.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=fe.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=R(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(me&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=R(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}}])&&_e(t.prototype,n),r&&_e(t,r),e}()),ge={};
|
71
71
|
/**
|
72
72
|
@license
|
73
73
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -76,7 +76,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
76
76
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
77
77
|
Code distributed by Google as part of the polymer project is also
|
78
78
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
79
|
-
*/function
|
79
|
+
*/function Se(e){return ge[e]||null}function Ee(e){var t,n,r,o;ge[e]||(ge[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var Ne=window.customElements;if(Ne&&!m&&!g){var be=Ne.define;Ne.define=function(e,t,n){Ee(e),be.call(Ne,e,t,n)}}
|
80
80
|
/**
|
81
81
|
@license
|
82
82
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -85,7 +85,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
85
85
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
86
86
|
Code distributed by Google as part of the polymer project is also
|
87
87
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
88
|
-
*/function
|
88
|
+
*/function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Te=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;Ce(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&we(t.prototype,n),r&&we(t,r),e}(),Oe=function(){};
|
89
89
|
/**
|
90
90
|
@license
|
91
91
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -94,7 +94,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
94
94
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
95
95
|
Code distributed by Google as part of the polymer project is also
|
96
96
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
97
|
-
*/var
|
97
|
+
*/var xe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function Pe(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(xe);return t?t[1]:""}function ke(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function Me(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=ke(r);o&&de.element(r,o)}}function De(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=Pe(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=ke(o);a!==s&&de.domReplaceScope(o,s,a),Me(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(De),Re=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Re(document);else{var Le=function(){Re(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Le):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Le(),document.removeEventListener("readystatechange",e)}))}else Le()}))}Oe=function(){De(Ae.takeRecords())}}
|
98
98
|
/**
|
99
99
|
@license
|
100
100
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -103,7 +103,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
103
103
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
104
104
|
Code distributed by Google as part of the polymer project is also
|
105
105
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
106
|
-
*/var
|
106
|
+
*/var Ie={},Fe="_applyShimCurrentVersion",je="_applyShimNextVersion",He=Promise.resolve();function Be(e){var t=Ie[e];t&&function(e){e[Fe]=e[Fe]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[je]=(e[je]||0)+1}(t)}function Ue(e){return e[Fe]===e[je]}function qe(e){return!Ue(e)&&e._applyShimValidatingVersion===e[je]}function Ve(e){e._applyShimValidatingVersion=e[je],e._validating||(e._validating=!0,He.then((function(){e[Fe]=e[je],e._validating=!1})))}
|
107
107
|
/**
|
108
108
|
@license
|
109
109
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -113,7 +113,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
113
113
|
Code distributed by Google as part of the polymer project is also
|
114
114
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
115
115
|
*/
|
116
|
-
var We
|
116
|
+
var Ge,We=null,Ke=window.HTMLImports&&window.HTMLImports.whenReady||null;function Xe(e){requestAnimationFrame((function(){Ke?Ke(e):(We||(We=new Promise((function(e){Ge=e})),"complete"===document.readyState?Ge():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&Ge()}))),We.then((function(){e&&e()})))}))}
|
117
117
|
/**
|
118
118
|
@license
|
119
119
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -122,7 +122,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
122
122
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
123
123
|
Code distributed by Google as part of the polymer project is also
|
124
124
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
125
|
-
*/function
|
125
|
+
*/function $e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ze="__shadyCSSCachedStyle",Ye=null,Je=null,Qe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,Xe((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Je&&(this.enqueued=!0,Xe(Je))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[ze]?e[ze]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[ze]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Ye&&Ye(o),n[ze]=o}}}return e}}])&&$e(t.prototype,n),r&&$e(t,r),e}();function Ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Qe.prototype.addCustomStyle=Qe.prototype.addCustomStyle,Qe.prototype.getStyleForCustomStyle=Qe.prototype.getStyleForCustomStyle,Qe.prototype.processStyles=Qe.prototype.processStyles,Object.defineProperties(Qe.prototype,{transformCallback:{get:function(){return Ye},set:function(e){Ye=e}},validateCallback:{get:function(){return Je},set:function(e){var t=!1;Je||(t=!0),Je=e,t&&this.enqueueDocumentValidation()}}});var et={},tt=new Te,nt=function(){function e(){!
|
126
126
|
/**
|
127
127
|
@license
|
128
128
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -132,7 +132,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
132
132
|
Code distributed by Google as part of the polymer project is also
|
133
133
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
134
134
|
*/
|
135
|
-
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=
|
135
|
+
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=fe.set(this._documentOwner,new fe(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){Oe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Ie[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(et[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=N.test(e)||E.test(e);return N.lastIndex=0,E.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ve.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Se(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){et[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?R(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Se(n),i=Ie[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new fe(s,o,a,n,r,l);return fe.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Be,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){fe.get(e)||fe.set(e,new fe(null));var n=fe.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=fe.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
|
136
136
|
/**
|
137
137
|
@license
|
138
138
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -142,7 +142,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
142
142
|
Code distributed by Google as part of the polymer project is also
|
143
143
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
144
144
|
*/
|
145
|
-
function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=
|
145
|
+
function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Ie[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!Ue(r)){if(qe(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ve(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?fe.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=tt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ve.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ve.applyElementScopeSelector(e,t.scopeSelector,s),r||tt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=fe.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ve.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ve.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ve.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ve.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);A(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(fe.get(e)||fe.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=fe.get(e);l&&l.scopeSelector&&n.push(ve.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return fe.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return ke(e)}},{key:"currentScopeForNode",value:function(e){return Pe(e)}}])&&Ze(t.prototype,n),i&&Ze(t,i),e}();nt.prototype.flush=nt.prototype.flush,nt.prototype.prepareTemplate=nt.prototype.prepareTemplate,nt.prototype.styleElement=nt.prototype.styleElement,nt.prototype.styleDocument=nt.prototype.styleDocument,nt.prototype.styleSubtree=nt.prototype.styleSubtree,nt.prototype.getComputedStyleValue=nt.prototype.getComputedStyleValue,nt.prototype.setElementClass=nt.prototype.setElementClass,nt.prototype._styleInfoForNode=nt.prototype._styleInfoForNode,nt.prototype.transformCustomStyleForDocument=nt.prototype.transformCustomStyleForDocument,nt.prototype.getStyleAst=nt.prototype.getStyleAst,nt.prototype.styleAstToString=nt.prototype.styleAstToString,nt.prototype.flushCustomStyles=nt.prototype.flushCustomStyles,nt.prototype.scopeNode=nt.prototype.scopeNode,nt.prototype.unscopeNode=nt.prototype.unscopeNode,nt.prototype.scopeForNode=nt.prototype.scopeForNode,nt.prototype.currentScopeForNode=nt.prototype.currentScopeForNode,nt.prototype.prepareAdoptedCssText=nt.prototype.prepareAdoptedCssText,Object.defineProperties(nt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
|
146
146
|
/**
|
147
147
|
@license
|
148
148
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -152,4 +152,4 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
152
152
|
Code distributed by Google as part of the polymer project is also
|
153
153
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
154
154
|
*/
|
155
|
-
var ot,it
|
155
|
+
var rt,ot,it=new nt;window.ShadyCSS&&(rt=window.ShadyCSS.ApplyShim,ot=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:it,prepareTemplate:function(e,t,n){it.flushCustomStyles(),it.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){it.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){it.flushCustomStyles(),it.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){it.flushCustomStyles(),it.styleSubtree(e,t)},styleElement:function(e){it.flushCustomStyles(),it.styleElement(e)},styleDocument:function(e){it.flushCustomStyles(),it.styleDocument(e)},flushCustomStyles:function(){it.flushCustomStyles()},getComputedStyleValue:function(e,t){return it.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},rt&&(window.ShadyCSS.ApplyShim=rt),ot&&(window.ShadyCSS.CustomStyleInterface=ot)}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{356:function(t,e){function n(t){return(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})(t)}var r,i;i={},function(t,e){function n(){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=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,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)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())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=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},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,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={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"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,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:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,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=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(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(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={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(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(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"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},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,n){this._style[e]=n,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(n)))},_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]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];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]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};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 n=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!=n&&(this.currentTime=n)}},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._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 n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.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,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(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 i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,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=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),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,n=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,n=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,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=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 a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=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=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,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 n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=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]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["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,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["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(u,o,["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"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),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,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);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 u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[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,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[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,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),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 u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{357:function(t,e){function n(t){return(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})(t)}var r,i;i={},function(t,e){function n(){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=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,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)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())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=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},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,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={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"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,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:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,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=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(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(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={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(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(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"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},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,n){this._style[e]=n,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(n)))},_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]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];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]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};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 n=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!=n&&(this.currentTime=n)}},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._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 n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.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,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(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 i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,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=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),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,n=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,n=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,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=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 a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=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=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,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 n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=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]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["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,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["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(u,o,["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"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),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,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);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 u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[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,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[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,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),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 u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{336:function(t,e){
|
15
15
|
/**
|
16
16
|
* @license
|
17
17
|
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* Code distributed by Google as part of the polymer project is also
|
22
22
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
23
23
|
*/
|
24
|
-
!function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},
|
24
|
+
!function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},337:function(t,e){Window.prototype.forceJURL=!1,function(t){"use strict";var e=!1;if(!t.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",e="http://a/c%20d"===n.href}catch(t){}if(!e){var o=Object.create(null);o.ftp=21,o.file=0,o.gopher=70,o.http=80,o.https=443,o.ws=80,o.wss=443;var r=Object.create(null);r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var i=void 0,a=/[a-zA-Z]/,s=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var t="";return""==this._username&&null==this._password||(t=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+t+this.host:"")+this.pathname+this._query+this._fragment},set href(t){m.call(this),d.call(this,t)},get protocol(){return this._scheme+":"},set protocol(t){this._isInvalid||d.call(this,t+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"host")},get hostname(){return this._host},set hostname(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"hostname")},get port(){return this._port},set port(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(t){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,t,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(t){!this._isInvalid&&this._isRelative&&(this._query="?","?"==t[0]&&(t=t.slice(1)),d.call(this,t,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(t){this._isInvalid||(t?(this._fragment="#","#"==t[0]&&(t=t.slice(1)),d.call(this,t,"fragment")):this._fragment="")},get origin(){var t;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this._scheme+"://"+t:""}};var c=t.URL;c&&(v.createObjectURL=function(t){return c.createObjectURL.apply(c,arguments)},v.revokeObjectURL=function(t){c.revokeObjectURL(t)}),t.URL=v}function l(t){return void 0!==o[t]}function h(){m.call(this),this._isInvalid=!0}function u(t){return""==t&&h.call(this),t.toLowerCase()}function p(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function f(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function d(t,e,n){function c(t){w.push(t)}var d=e||"scheme start",m=0,v="",_=!1,y=!1,w=[];t:for(;(t[m-1]!=i||0==m)&&!this._isInvalid;){var g=t[m];switch(d){case"scheme start":if(!g||!a.test(g)){if(e){c("Invalid scheme.");break t}v="",d="no scheme";continue}v+=g.toLowerCase(),d="scheme";break;case"scheme":if(g&&s.test(g))v+=g.toLowerCase();else{if(":"!=g){if(e){if(i==g)break t;c("Code point not allowed in scheme: "+g);break t}v="",m=0,d="no scheme";continue}if(this._scheme=v,v="",e)break t;l(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this._query="?",d="query"):"#"==g?(this._fragment="#",d="fragment"):i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._schemeData+=p(g));break;case"no scheme":if(n&&l(n._scheme)){d="relative";continue}c("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!=g||"/"!=t[m+1]){c("Expected /, got: "+g),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==g){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break t}if("/"==g||"\\"==g)"\\"==g&&c("\\ is an invalid code point."),d="relative slash";else if("?"==g)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,d="query";else{if("#"!=g){var b=t[m+1],E=t[m+2];("file"!=this._scheme||!a.test(g)||":"!=b&&"|"!=b||i!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),d="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,d="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),d="relative path";continue}"\\"==g&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){c("Expected '/', got: "+g),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=g){c("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){d="authority";continue}c("Expected authority, got: "+g);break;case"authority":if("@"==g){_&&(c("@ already seen."),v+="%40"),_=!0;for(var C=0;C<v.length;C++){var N=v[C];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var D=p(N);null!==this._password?this._password+=D:this._username+=D}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){m-=v.length,v="",d="host";continue}v+=g}break;case"file host":if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=v.length||!a.test(v[0])||":"!=v[1]&&"|"!=v[1]?(0==v.length||(this._host=u.call(this,v),v=""),d="relative path start"):d="relative path";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid whitespace in file host."):v+=g;break;case"host":case"hostname":if(":"!=g||y){if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this._host=u.call(this,v),v="",d="relative path start",e)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?y=!0:"]"==g&&(y=!1),v+=g):c("Invalid code point in host/hostname: "+g)}else if(this._host=u.call(this,v),v="",d="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(g))v+=g;else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g||e){if(""!=v){var T=parseInt(v,10);T!=o[this._scheme]&&(this._port=T+""),v=""}if(e)break t;d="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid code point in port: "+g):h.call(this)}break;case"relative path start":if("\\"==g&&c("'\\' not allowed in path."),d="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":var k;if(i!=g&&"/"!=g&&"\\"!=g&&(e||"?"!=g&&"#"!=g))"\t"!=g&&"\n"!=g&&"\r"!=g&&(v+=p(g));else"\\"==g&&c("\\ not allowed in relative path."),(k=r[v.toLowerCase()])&&(v=k),".."==v?(this._path.pop(),"/"!=g&&"\\"!=g&&this._path.push("")):"."==v&&"/"!=g&&"\\"!=g?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&a.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==g?(this._query="?",d="query"):"#"==g&&(this._fragment="#",d="fragment");break;case"query":e||"#"!=g?i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._query+=f(g)):(this._fragment="#",d="fragment");break;case"fragment":i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._fragment+=g)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(t,e){void 0===e||e instanceof v||(e=new v(String(e))),this._url=""+t,m.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,n,null,e)}}(window)},338:function(t,e){
|
25
25
|
/**
|
26
26
|
* @license
|
27
27
|
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
@@ -31,4 +31,4 @@
|
|
31
31
|
* Code distributed by Google as part of the polymer project is also
|
32
32
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
33
33
|
*/
|
34
|
-
!function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},338:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
|
34
|
+
!function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},339:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
|
data/assets/js/{LEGACY-webcomponents-hydejack-9.1.2.js → LEGACY-webcomponents-hydejack-9.1.3.js}
RENAMED
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{328:function(e,n,t){"use strict";t.r(n);t(336),t(337),t(338),t(339);var o=window.customElements,d=!1,l=null;function a(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),l&&l(),d=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}o.polyfillWrapFlushCallback&&o.polyfillWrapFlushCallback((function(e){l=e,d&&e()})),"complete"!==document.readyState?(window.addEventListener("load",a),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",a),a()}))):a()}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{155:function(n,e,i){"use strict";i.r(e);i(186);var t,o=i(15);function r(n,e,i,t,o,r,l){try{var s=n[r](l),u=s.value}catch(n){return void i(n)}s.done?e(u):Promise.resolve(u).then(t,o)}(t=function*(){yield Promise.all([..."customElements"in window?[]:[i.e(16).then(i.bind(null,180)).then(()=>Promise.all([i.e(14),i.e(8)]).then(i.bind(null,181)))]]),yield o.t,yield o.s,window.GET_CLAPS_API||(window.GET_CLAPS_API="https://worker.getclaps.app"),Promise.resolve().then(i.t.bind(null,187,7))},function(){var n=this,e=arguments;return new Promise((function(i,o){var l=t.apply(n,e);function s(n){r(l,i,o,s,u,"next",n)}function u(n){r(l,i,o,s,u,"throw",n)}s(void 0)}))})()}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{156:function(e,t,a){"use strict";a.r(t);var n,i=a(97),r=a(184),c=a(162),l=a(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{156:function(e,t,a){"use strict";a.r(t);var n,i=a(97),r=a(184),c=a(162),l=a(212),o=a(96),s=a(183),d=a(25),p=a(200),u=a(99),b=a(98),h=a(95),w=a(213),v=a(15);function m(e,t,a,n,i,r,c){try{var l=e[r](c),o=l.value}catch(e){return void a(e)}l.done?t(o):Promise.resolve(o).then(n,i)}(n=function*(){var e;yield Promise.all([..."customElements"in window?[]:[a.e(16).then(a.bind(null,180)).then(()=>Promise.all([a.e(14),a.e(8)]).then(a.bind(null,181)))],..."ResizeObserver"in window?[]:[a.e(7).then(a.bind(null,195))]]),yield v.t,yield v.s;var t=document.getElementById("_drawer"),n=document.getElementById("_sidebar"),m=null==n?void 0:n.querySelector(".sidebar-sticky");if(t&&n&&m){null===(e=document.getElementById("_menu"))||void 0===e||e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),t.toggle()}),n.querySelectorAll('a[href^="/"]:not(.external)').forEach(e=>e.addEventListener("click",()=>t.close())),v.p&&t.setAttribute("threshold","0"),v.n||t.setAttribute("mouseevents","");var[y,O]=v.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],j=Object(r.a)(Object(v.g)(window.matchMedia(v.a)),Object(v.g)(window.matchMedia(v.b))).pipe(Object(s.a)({}),Object(d.a)(()=>window.matchMedia(v.b).matches?3:window.matchMedia(v.a).matches?2:1)),g=Object(c.a)(t,"peek-width-change").pipe(Object(d.a)(e=>e.detail)),f=Object(c.a)(window,"resize",{passive:!0}).pipe(Object(s.a)({}),Object(d.a)(v.i)),S=Object(l.a)(g,f).pipe(Object(d.a)(e=>{var[t,a]=e;return a/2-t/2})),E=Object(r.a)(S.pipe(Object(d.a)(()=>void 0!==t.opacity?1-t.opacity:L?0:1)),Object(c.a)(t,"hy-drawer-move").pipe(Object(d.a)(e=>{var{detail:{opacity:t}}=e;return 1-t})));t.addEventListener("hy-drawer-prepare",()=>{n.style.willChange="transform",m.style.willChange="opacity"}),t.addEventListener("hy-drawer-transitioned",()=>{n.style.willChange="",m.style.willChange=""});var C=Object(v.h)(),L=t.classList.contains("cover")&&C<=0&&!(history.state&&history.state.closedOnce);L||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,t.removeAttribute("opened"));var _,k=Object(c.a)(t,"hy-drawer-transitioned").pipe(Object(d.a)(e=>e.detail),Object(p.a)(),Object(u.a)(e=>{var t,a;e||(null==(a=document.getElementById("_swipe"))||null===(t=a.parentNode)||void 0===t||t.removeChild(a),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)}),Object(s.a)(L)),B=L?null:t.getBoundingClientRect().height;t.addEventListener("hy-drawer-init",()=>{t.classList.add("loaded"),function(e){var t=document.getElementById("_hrefSwipeSVG");if(t){var a,n=document.createElement("img");n.id="_swipe",n.src=t.href,n.alt="Swipe image",n.addEventListener("click",()=>e.close()),null===(a=document.getElementById("_sidebar"))||void 0===a||a.appendChild(n)}}(t),B&&C>=B&&window.scrollTo(0,C-B)},{once:!0}),yield Promise.resolve().then(a.bind(null,197)),window._drawer=t,E.pipe(Object(b.a)(j,S),Object(u.a)(e=>((e,t,a)=>{var i=a*e,r=t>=2?1:1-e;v.j?(y[0].x.value=i,O.value=r,n.attributeStyleMap.set("transform",y),m.attributeStyleMap.set("opacity",O)):(n.style.transform="translateX(".concat(i,"px)"),m.style.opacity=r)})(...e))).subscribe(),g.pipe(Object(b.a)(j),Object(d.a)(e=>function(e,t){return t>=2?[0,e]:v.o?[35,150]:[0,150]}(...e)),Object(u.a)(e=>{t.range=e})).subscribe(),Object(c.a)(document,"wheel",{passive:!1}).pipe((_=k,e=>_.pipe(Object(o.a)(t=>t?e:i.a))),Object(h.a)(e=>e.deltaY>0),Object(u.a)(e=>{t.translateX>0&&e.preventDefault()}),Object(w.a)(500),Object(u.a)(()=>t.close())).subscribe()}},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function c(e){m(r,a,i,c,l,"next",e)}function l(e){m(r,a,i,c,l,"throw",e)}c(void 0)}))})()}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{211:function(n,w,o){"use strict";o.r(w);o(193),o(194)}}]);
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/!function(t){function e(e){for(var n,o,i=e[0],u=e[1],c=0,s=[];c<i.length;c++)o=i[c],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&s.push(r[o][0]),r[o]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t[n]=u[n]);for(a&&a(e);s.length;)s.shift()()}var n={},r={4:0};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var i=new Promise((function(e,o){n=r[t]=[e,o]}));e.push(n[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(t){return o.p+""+({0:"vendors~drawer~push-state",1:"clap-button",2:"drawer",3:"fetch",5:"navbar",6:"push-state",7:"resize-observer",8:"shadydom",9:"vendors~clap-button",10:"vendors~drawer",11:"vendors~fetch",12:"vendors~intersection-observer",13:"vendors~push-state",14:"vendors~shadydom",15:"vendors~webanimations",16:"webcomponents"}[t]||t)+"-hydejack-9.1.3.js"}(t);var a=new Error;u=function(e){c.onerror=c.onload=null,clearTimeout(s);var n=r[t];if(0!==n){if(n){var o=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}r[t]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(e)},o.m=t,o.c=n,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/assets/js/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=e,i=i.slice();for(var c=0;c<i.length;c++)e(i[c]);var a=u;o(o.s=100)}([function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"j",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return f})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return d}));
|
14
|
+
/*! *****************************************************************************
|
15
|
+
Copyright (c) Microsoft Corporation.
|
16
|
+
|
17
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
18
|
+
purpose with or without fee is hereby granted.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
21
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
22
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
23
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
24
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
25
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
26
|
+
PERFORMANCE OF THIS SOFTWARE.
|
27
|
+
***************************************************************************** */
|
28
|
+
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function i(t,e,n,r){var o,i=arguments.length,u=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(u=(i<3?o(u):i>3?o(e,n,u):o(e,n))||u);return i>3&&u&&Object.defineProperty(e,n,u),u}function u(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(u,c)}a((r=r.apply(t,e||[])).next())}))}function c(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}Object.create;function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function f(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=a(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(e=t[n](e)).done,e.value)}))}}}Object.create;function p(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function d(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(40),o=n(7),i=n(21),u=n(20);function c(t){return 0===t.length?u.a:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var a=n(17),s=n(0),f=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var i,u=(i=t)&&i instanceof r.b||function(t){return t&&Object(s.a)(t.next)&&Object(s.a)(t.error)&&Object(s.a)(t.complete)}(i)&&Object(o.c)(i)?t:new r.a(t,e,n),c=this.operator,f=this.source;return u.add(c?c.call(u,f):f||a.a.useDeprecatedSynchronousErrorHandling?this._subscribe(u):this._trySubscribe(u)),u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){if(a.a.useDeprecatedSynchronousErrorHandling)throw e;t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=l(e))((function(e,r){var o;o=n.subscribe((function(e){try{t(e)}catch(t){r(t),null==o||o.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[i.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.length?c(t)(this):this},t.prototype.toPromise=function(t){var e=this;return new(t=l(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function l(t){var e;return null!==(e=null!=t?t:a.a.Promise)&&void 0!==e?e:Promise}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),o=function(t){function e(e,n,r,o,i){var u=t.call(this,e)||this;return u.onUnsubscribe=i,n&&(u._next=function(t){try{n(t)}catch(t){this.destination.error(t)}}),r&&(u._error=function(t){try{r(t)}catch(t){this.destination.error(t)}this.unsubscribe()}),o&&(u._complete=function(){try{o()}catch(t){this.destination.error(t)}this.unsubscribe()}),u}return Object(r.f)(e,t),e.prototype.unsubscribe=function(){var e;!this.closed&&(null===(e=this.onUnsubscribe)||void 0===e||e.call(this)),t.prototype.unsubscribe.call(this)},e}(n(40).b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r=n(0);function o(t){return Object(r.a)(null==t?void 0:t.lift)}function i(t){return function(e){if(o(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(44)("wks"),o=n(35),i=n(5).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return f}));var r=n(1),o=n(0),i=n(74),u=Object(i.a)((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}})),c=n(39),a=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}var e;return t.prototype.unsubscribe=function(){var t,e,n,i,c;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var s=Object(r.j)(a),f=s.next();!f.done;f=s.next()){f.value.remove(this)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else null==a||a.remove(this);var p=this.initialTeardown;if(Object(o.a)(p))try{p()}catch(t){c=t instanceof u?t.errors:[t]}var d=this._teardowns;if(d){this._teardowns=null;try{for(var v=Object(r.j)(d),h=v.next();!h.done;h=v.next()){var b=h.value;try{l(b)}catch(t){c=null!=c?c:[],t instanceof u?c=Object(r.i)(c,t.errors):c.push(t)}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}}if(c)throw new u(c)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)l(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Object(c.a)(e,t)},t.prototype.remove=function(e){var n=this._teardowns;n&&Object(c.a)(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),s=a.EMPTY;function f(t){return t instanceof a||t&&"closed"in t&&Object(o.a)(t.remove)&&Object(o.a)(t.add)&&Object(o.a)(t.unsubscribe)}function l(t){Object(o.a)(t)?t():t.unsubscribe()}},function(t,e,n){t.exports=!n(12)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(5),o=n(33),i=n(19),u=n(22),c=n(45),a=function t(e,n,a){var s,f,l,p,d=e&t.F,v=e&t.G,h=e&t.P,b=e&t.B,m=v?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,y=v?o:o[n]||(o[n]={}),g=y.prototype||(y.prototype={});for(s in v&&(a=n),a)l=((f=!d&&m&&void 0!==m[s])?m:a)[s],p=b&&f?c(l,r):h&&"function"==typeof l?c(Function.call,l):l,m&&u(m,s,l,e&t.U),y[s]!=l&&i(y,s,p),h&&g[s]!=l&&(g[s]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return g})),n.d(e,"b",(function(){return w}));var r=n(1),o=n(31),i=n(0);function u(t){return Object(i.a)(null==t?void 0:t.then)}var c="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",a=n(21),s=n(2),f=n(7);var l=n(32);function p(t){return Object(i.a)(t[a.a])}function d(t){return Object(i.a)(null==t?void 0:t[c])}function v(t){return Symbol.asyncIterator&&Object(i.a)(null==t?void 0:t[Symbol.asyncIterator])}function h(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, AsyncIterable, or Iterable.")}function b(t,e){if(null!=t){if(p(t))return function(t,e){return new s.a((function(n){var r=new f.b;return r.add(e.schedule((function(){var o=t[a.a]();r.add(o.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(Object(o.a)(t))return Object(l.a)(t,e);if(u(t))return function(t,e){return new s.a((function(n){return e.schedule((function(){return t.then((function(t){n.add(e.schedule((function(){n.next(t),n.add(e.schedule((function(){return n.complete()})))})))}),(function(t){n.add(e.schedule((function(){return n.error(t)})))}))}))}))}(t,e);if(v(t))return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new s.a((function(n){var r=new f.b;return r.add(e.schedule((function(){var o=t[Symbol.asyncIterator]();r.add(e.schedule((function(){var t=this;o.next().then((function(e){e.done?n.complete():(n.next(e.value),t.schedule())}))})))}))),r}))}(t,e);if(d(t))return function(t,e){return new s.a((function(n){var r;return n.add(e.schedule((function(){r=t[c](),function(t,e,n,r){void 0===r&&(r=0);var o=e.schedule((function(){try{n.call(this)}catch(e){t.error(e)}}),r);t.add(o)}(n,e,(function(){var t=r.next(),e=t.value;t.done?n.complete():(n.next(e),this.schedule())}))}))),function(){return Object(i.a)(null==r?void 0:r.return)&&r.return()}}))}(t,e)}throw h(t)}var m=n(54);function y(t,e){return e?b(t,e):g(t)}function g(t){if(t instanceof s.a)return t;if(null!=t){if(p(t))return l=t,new s.a((function(t){var e=l[a.a]();if(Object(i.a)(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Object(o.a)(t))return w(t);if(u(t))return f=t,new s.a((function(t){f.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,m.a)}));if(v(t))return n=t,new s.a((function(t){(function(t,e){var n,o,i,u;return Object(r.b)(this,void 0,void 0,(function(){var c,a;return Object(r.g)(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=Object(r.a)(t),s.label=1;case 1:return[4,n.next()];case 2:if((o=s.sent()).done)return[3,4];c=o.value,e.next(c),s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=s.sent(),i={error:a},[3,11];case 6:return s.trys.push([6,,9,10]),o&&!o.done&&(u=n.return)?[4,u.call(n)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}}))}))})(n,t).catch((function(e){return t.error(e)}))}));if(d(t))return e=t,new s.a((function(t){for(var n=e[c]();!t.closed;){var r=n.next(),o=r.done,u=r.value;o?t.complete():t.next(u)}return function(){return Object(i.a)(null==n?void 0:n.return)&&n.return()}}))}var e,n,f,l;throw h(t)}function w(t){return new s.a((function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()}))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(10),o=n(76),i=n(34),u=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return f})),n.d(e,"p",(function(){return p})),n.d(e,"n",(function(){return d})),n.d(e,"o",(function(){return v})),n.d(e,"j",(function(){return h})),n.d(e,"t",(function(){return b})),n.d(e,"s",(function(){return m})),n.d(e,"r",(function(){return y})),n.d(e,"k",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"c",(function(){return x})),n.d(e,"l",(function(){return O})),n.d(e,"i",(function(){return _})),n.d(e,"q",(function(){return S})),n.d(e,"m",(function(){return A}));var r=n(70),o=n(2),i=n(42);n.d(e,"h",(function(){return i.c}));var u=n(58);n.d(e,"g",(function(){return u.b})),n.d(e,"e",(function(){return u.a}));var c=n(57);n.d(e,"f",(function(){return c.b}));n(73);var a=getComputedStyle(document.documentElement),s="(min-width: ".concat(a.getPropertyValue("--break-point-3"),")"),f="(min-width: ".concat(a.getPropertyValue("--break-point-dynamic"),")"),l=(parseFloat(a.getPropertyValue("--content-width-5")),parseFloat(a.getPropertyValue("--content-margin-5")),parseFloat(a.getPropertyValue("--sidebar-width")),parseFloat(a.getPropertyValue("--half-content")),navigator.userAgent.toLowerCase()),p=l.indexOf("safari")>0&&l.indexOf("chrome")<0,d=l.indexOf("mobile")>0,v=p&&d,h=(l.indexOf("ucbrowser"),l.indexOf("firefox"),l.indexOf("fxios")>0&&l.indexOf("safari"),"attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number),b=new Promise(t=>{"customElements"in window?t(!0):document.addEventListener("WebComponentsReady",t)}),m=new Promise((function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=document.querySelector("hy-drawer");o?getComputedStyle(o).getPropertyValue("--hy-drawer-width")?e(!0):r<=0?n(Error("Stylesheet not loaded within 10 seconds")):setTimeout(()=>t(e,n,r-1),1e3/3):e(!0)})),y=(t,e)=>new Promise(n=>t.addEventListener(e,n,{once:!0}));function g(t){return!window.Modernizr||[...t].every(t=>{var e=window.Modernizr[t];return e})}function w(){for(;null!=this&&this.firstChild;)this.removeChild(this.firstChild)}function x(t,e,n){return t?o.a.create(r=>{var o=t.animate(e,n);return o.addEventListener("finish",t=>{r.next(t),requestAnimationFrame(()=>{requestAnimationFrame(()=>r.complete())})}),()=>{"finished"!==o.playState&&o.cancel()}}):Object(r.a)(new CustomEvent("finish"))}function O(t){var e=document.getElementById(t);return e&&document.importNode(e.content,!0)}var j=document.body||document.documentElement,_=()=>window.innerWidth||j.clientWidth;var E=t=>e=>new Promise(n=>t(e).addEventListener("load",n)),S=(E(window.loadJS),E(window.loadCSS));function A(t,e){return new Promise(n=>{var r=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting)&&(t.forEach(t=>r.unobserve(t)),n(e.find(t=>t.isIntersecting)))},e);t.forEach(t=>r.observe(t))})}},function(t,e,n){"use strict";function r(){}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},function(t,e,n){var r=n(38);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(13),o=n(43);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,e,n){var r=n(5),o=n(19),i=n(23),u=n(35)("src"),c=n(104),a=(""+c).split("toString");n(33).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:a.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(t,e){return Object(r.b)((function(n,r){var i=0;n.subscribe(new o.a(r,(function(n){r.next(t.call(e,n,i++))})))}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(25),o=n(11),i=n(4),u=n(3);var c=n(0);function a(t,e,n){return void 0===n&&(n=1/0),Object(c.a)(e)?a((function(n,i){return Object(r.a)((function(t,r){return e(n,t,i,r)}))(Object(o.c)(t(n,i)))}),n):("number"==typeof e&&(n=e),Object(i.b)((function(e,r){return function(t,e,n,r,i,c,a,s){var f=[],l=0,p=0,d=!1,v=function(){!d||f.length||l||e.complete()},h=function(t){return l<r?b(t):f.push(t)},b=function t(s){c&&e.next(s),l++,Object(o.c)(n(s,p++)).subscribe(new u.a(e,(function(t){null==i||i(t),c?h(t):e.next(t)}),void 0,(function(){l--;for(var n=function(){var n=f.shift();a?e.add(a.schedule((function(){return t(n)}))):t(n)};f.length&&l<r;)n();v()})))};return t.subscribe(new u.a(e,h,void 0,(function(){d=!0,v()}))),function(){f=null,null==s||s()}}(e,r,t,n)})))}},function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return a}));var r=n(0),o=n(56);function i(t){return t[t.length-1]}function u(t){return Object(r.a)(i(t))?t.pop():void 0}function c(t){return Object(o.a)(i(t))?t.pop():void 0}function a(t,e){return"number"==typeof i(t)?t.pop():e}},function(t,e,n){var r=n(46),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(109),o=n(38);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(32),o=n(11);function i(t,e){return e?Object(r.a)(t,e):Object(o.b)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2);function o(t,e){return new r.a((function(n){var r=0;return e.schedule((function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())}))}))}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";function r(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return d}));var r=n(1),o=n(0),i=n(7),u=n(17),c=n(54),a=n(16),s=f("C",void 0,void 0);function f(t,e,n){return{kind:t,value:e,error:n}}var l=n(55),p=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,Object(i.c)(e)&&e.add(n)):n.destination=b,n}return Object(r.f)(e,t),e.create=function(t,e,n){return new d(t,e,n)},e.prototype.next=function(t){this.isStopped?h(function(t){return f("N",t,void 0)}(t),this):this._next(t)},e.prototype.error=function(t){this.isStopped?h(f("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?h(s,this):(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}(i.b),d=function(t){function e(e,n,r){var i=t.call(this)||this;if(i.destination=b,(e||n||r)&&e!==b){var c=void 0;if(Object(o.a)(e))c=e;else if(e){var s;c=e.next,n=e.error,r=e.complete,i&&u.a.useDeprecatedNextContext?(s=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:s=e,c=null==c?void 0:c.bind(s),n=null==n?void 0:n.bind(s),r=null==r?void 0:r.bind(s)}i.destination={next:c||a.a,error:n||v,complete:r||a.a}}return i}return Object(r.f)(e,t),e}(p);function v(t){if(u.a.useDeprecatedSynchronousErrorHandling)throw t;Object(c.a)(t)}function h(t,e){var n=u.a.onStoppedNotification;n&&l.a.setTimeout((function(){return n(t,e)}))}var b={closed:!0,next:a.a,error:v,complete:a.a}},,function(t,e,n){"use strict";function r(){var t=document.documentElement,e=document.body,n="scrollHeight";return t[n]||e[n]}function o(){return window.pageYOffset||document.body.scrollTop}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return c}));var i=(t,e)=>(t.matches||t.msMatchesSelector).call(t,e);function u(t,e){for(var n=t;null!=n;){if(i(n,e))return n;n=n.parentNode instanceof Element?n.parentNode:null}return null}function c(){var t,e,n=new Promise((n,r)=>(t=n,e=r));return n.resolve=t,n.reject=e,n}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(33),o=n(5),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(36)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(24);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(80),o=n(63);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";t.exports=n(36)||!n(12)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete n(5)[t]}))},function(t,e,n){var r=n(66),o=n(43),i=n(29),u=n(34),c=n(23),a=n(76),s=Object.getOwnPropertyDescriptor;e.f=n(8)?s:function(t,e){if(t=i(t),e=u(e,!0),a)try{return s(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(130),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(131);var r=n(22),o=n(19),i=n(12),u=n(38),c=n(6),a=n(69),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!d||!v||"replace"===t&&!f||"split"===t&&!l){var h=/./[p],b=n(u,p,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=b[0],y=b[1];r(String.prototype,t,m),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(92),o=new(n(94).a)(r.a),i=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(17),o=n(55);function i(t){o.a.setTimeout((function(){var e=r.a.onUnhandledError;if(!e)throw t;e(t)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),o={setTimeout:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=o.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,Object(r.i)(t))})),clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){var e=o.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)})),delegate:void 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0);function o(t){return t&&Object(r.a)(t.schedule)}},function(t,e,n){"use strict";n.d(e,"c",(function(){return f})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return p}));var r=n(97),o=n(96),i=n(98),u=n(95),c=n(25),a=n(99),s=n(154);function f(t){return e=>t.pipe(Object(o.a)(t=>t?e:r.a))}function l(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return e=>0===n.length?e.pipe(Object(i.a)(t),Object(u.a)(t=>{var[,e]=t;return e}),Object(c.a)(t=>{var[e]=t;return e})):e.pipe(Object(i.a)(t,...n),Object(u.a)(t=>{var[,...e]=t;return e.every(t=>t)}),Object(c.a)(t=>{var[e]=t;return e}))}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e=>{var n=[];return e.pipe(Object(a.a)(t=>n.push(t)),Object(s.a)(t),Object(c.a)(()=>n),Object(a.a)(()=>n=[]))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return w}));var r=n(2),o=n(7),i={now:function(){return(i.delegate||performance).now()},delegate:void 0},u=n(89);function c(t){var e=u.a.schedule;return new r.a((function(n){var r=new o.b,u=t||i,c=u.now();return r.add(e((function o(i){var a=u.now();n.next({timestamp:t?a:i,elapsed:a-c}),n.closed||r.add(e(o))}))),r}))}var a=c(),s=n(25),f=n(4),l=n(3);var p=n(1),d=n(75),v=n(70);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){return new r.a(n=>{var r=new AbortController,{signal:o}=r,i=null;return fetch(t,b(b({},e),{},{signal:o})).then(t=>{i=t,n.next(t),n.complete()}).catch(t=>n.error(t)),()=>{i||r.abort()}})}function g(t){return new r.a(e=>{var n=e.next.bind(e);return t.onchange?t.addEventListener("change",n):t.addListener(n),()=>{t.onchange?t.removeEventListener("change",n):t.removeListener(n)}})}function w(t,e,n,r,o){return(h?c(h):a).pipe(Object(s.a)(t=>{var{elapsed:e}=t;return e}),(i=t=>t<r,void 0===u&&(u=!1),Object(f.b)((function(t,e){var n=0;t.subscribe(new l.a(e,(function(t){var r=i(t,n++);(r||u)&&e.next(t),!r&&e.complete()})))}))),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return Object(d.a)(e,v.a.apply(void 0,Object(p.i)(t)))}}(r),Object(s.a)(i=>t(i,e,n,r,o)));var i,u,h}},function(t,e,n){var r=n(14),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(37);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(44)("keys"),o=n(35);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(13).f,o=n(23),i=n(6)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(23),o=n(18),i=n(62)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(80),o=n(63).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(129)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){"use strict";var r,o,i=n(50),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(a=function(t){var e,n,r,o,a=this;return f&&(n=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),s&&(e=a.lastIndex),r=u.call(a,t),s&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(30),o=n(32),i=n(27);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(i.c)(t);return n?Object(o.a)(t,n):Object(r.a)(t)}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(26),o=n(20);function i(t){return void 0===t&&(t=1/0),Object(r.a)(o.a,t)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(2);function o(t){return new r.a(e=>{var n=new ResizeObserver(t=>t.forEach(t=>e.next(t)));return n.observe(t),()=>{n.unobserve(t)}})}function i(t,e){return new r.a(n=>{var r=new MutationObserver(t=>t.forEach(t=>n.next(t)));return r.observe(t,e),()=>{r.disconnect()}})}},function(t,e,n){"use strict";function r(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(72);function o(){return Object(r.a)(1)}var i=n(30),u=n(27);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o()(Object(i.a)(t,Object(u.c)(t)))}},function(t,e,n){t.exports=!n(8)&&!n(12)((function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(6)("unscopables"),o=Array.prototype;null==o[r]&&n(19)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(77),o=n(108),i=n(61),u=n(29);t.exports=n(110)(Array,"Array",(function(t,e){this._t=u(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(10),o=n(112),i=n(63),u=n(62)("IE_PROTO"),c=function(){},a=function(){var t,e=n(59)("iframe"),r=i.length;for(e.style.display="none",n(81).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(23),o=n(29),i=n(113)(!1),u=n(62)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,s=[];for(n in c)n!=u&&r(c,n)&&s.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(5).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(10),o=n(24),i=n(6)("species");t.exports=function(t,e){var n,u=r(t).constructor;return void 0===u||null==(n=r(u)[i])?e:o(n)}},function(t,e,n){var r=n(14),o=n(37),i=n(6)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(50)})},function(t,e,n){e.f=n(6)},function(t,e,n){var r=n(5),o=n(33),i=n(36),u=n(85),c=n(13).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:u.f(t)})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(9),o=n(38),i=n(12),u=n(143),c="["+u+"]",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),f=function(t,e,n){var o={},c=i((function(){return!!u[t]()||"
"!="
"[t]()})),a=o[t]=c?e(l):u[t];n&&(o[n]=a),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(a,"")),2&e&&(t=t.replace(s,"")),t};t.exports=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(7),i={schedule:function(t){var e=requestAnimationFrame,n=cancelAnimationFrame,r=i.delegate;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);var u=e((function(e){n=void 0,t(e)}));return new o.b((function(){return null==n?void 0:n(u)}))},requestAnimationFrame:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i.delegate;return((null==n?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,Object(r.i)(t))})),cancelAnimationFrame:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i.delegate;return((null==n?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,Object(r.i)(t))})),delegate:void 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(25),i=Array.isArray;function u(t){return Object(o.a)((function(e){return function(t,e){return i(e)?t.apply(void 0,Object(r.i)(e)):t(e)}(t,e)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),o=function(t){function e(e,n){return t.call(this)||this}return Object(r.f)(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(7).b),i={setInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i.delegate;return((null==n?void 0:n.setInterval)||setInterval).apply(void 0,Object(r.i)(t))})),clearInterval:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){var e=i.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)})),delegate:void 0},u=n(39),c=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return Object(r.f)(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return e;i.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n,r=!1;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Object(u.a)(r,this),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(o)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(2),o=n(53),i=n(56);function u(t,e,n){void 0===t&&(t=0),void 0===n&&(n=o.a);var u=-1;return null!=e&&(Object(i.a)(e)?n=e:u=e),new r.a((function(e){var r,o=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;o<0&&(o=0);var i=0;return n.schedule((function(){e.closed||(e.next(i++),0<=u?this.schedule(void 0,u):e.complete())}),o)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(90),i=function(){function t(e,n){void 0===n&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},t.now=o.a.now,t}(),u=function(t){function e(e,n){void 0===n&&(n=i.now);var r=t.call(this,e,n)||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return Object(r.f)(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(t,e){return Object(r.b)((function(n,r){var i=0;n.subscribe(new o.a(r,(function(n){return t.call(e,n,i++)&&r.next(n)})))}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(11),o=n(4),i=n(3);function u(t,e){return Object(o.b)((function(n,o){var u=null,c=0,a=!1,s=function(){return a&&!u&&o.complete()};n.subscribe(new i.a(o,(function(n){null==u||u.unsubscribe();var a=0,f=c++;Object(r.c)(t(n,f)).subscribe(u=new i.a(o,(function(t){return o.next(e?e(n,t,f,a++):t)}),void 0,(function(){u=null,s()})))}),void 0,(function(){a=!0,s()})))}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(2),o=n(16),i=new r.a(o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(1),o=n(4),i=n(3),u=n(11),c=n(20),a=n(16),s=n(27);function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(s.b)(t);return Object(o.b)((function(e,o){for(var s=t.length,f=new Array(s),l=t.map((function(){return!1})),p=!1,d=function(e){Object(u.c)(t[e]).subscribe(new i.a(o,(function(t){f[e]=t,p||l[e]||(l[e]=!0,(p=l.every(c.a))&&(l=null))}),void 0,a.a))},v=0;v<s;v++)d(v);e.subscribe(new i.a(o,(function(t){if(p){var e=Object(r.i)([t],f);o.next(n?n.apply(void 0,Object(r.i)(e)):e)}})))}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),o=n(4),i=n(3),u=n(20);function c(t,e,n){var c=Object(r.a)(t)||e||n?{next:t,error:e,complete:n}:t;return c?Object(o.b)((function(t,e){t.subscribe(new i.a(e,(function(t){var n;null===(n=c.next)||void 0===n||n.call(c,t),e.next(t)}),(function(t){var n;null===(n=c.error)||void 0===n||n.call(c,t),e.error(t)}),(function(){var t;null===(t=c.complete)||void 0===t||t.call(c),e.complete()})))})):u.a}},function(t,e,n){"use strict";n.r(e);n(103),n(78),n(115),n(117),n(118),n(119),n(120),n(121),n(124),n(84),n(128),n(132),n(133),n(134),n(136),n(137),n(141),n(142),n(144),n(145),n(147),n(150),n(151),n(152);var r=n(15);n.p=window._publicPath;Object(r.k)(["classlist","eventlistener","queryselector","template"])&&(Promise.resolve().then(n.bind(null,153)),window._noNavbar||n.e(5).then(n.bind(null,158)),window._clapButton&&Object(r.k)(["customproperties","cssanimations","cssremunit"])&&Promise.all([n.e(9),n.e(1)]).then(n.bind(null,155)),!window._noDrawer&&Object(r.k)(["customproperties","history","matchmedia","opacity"])&&Promise.all([n.e(0),n.e(10),n.e(2)]).then(n.bind(null,156)),!window._noPushState&&Object(r.k)(["history","matchmedia","opacity","cssanimations","cssremunit","documentfragment"])&&Promise.all([n.e(0),n.e(13),n.e(6)]).then(n.bind(null,157)))},,,function(t,e,n){"use strict";var r=n(9),o=n(105),i=n(18),u=n(28),c=n(24),a=n(106);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return c(t),e=u(r.length),n=a(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(77)("flatMap")},function(t,e,n){t.exports=n(44)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";var r=n(60),o=n(14),i=n(28),u=n(45),c=n(6)("isConcatSpreadable");t.exports=function t(e,n,a,s,f,l,p,d){for(var v,h,b=f,m=0,y=!!p&&u(p,d,3);m<s;){if(m in a){if(v=y?y(a[m],m,n):a[m],h=!1,o(v)&&(h=void 0!==(h=v[c])?!!h:r(v)),h&&l>0)b=t(e,n,v,i(v.length),b,l-1)-1;else{if(b>=9007199254740991)throw TypeError();e[b]=v}b++}m++}return b}},function(t,e,n){var r=n(107);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(14),o=n(60),i=n(6)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(36),o=n(9),i=n(22),u=n(19),c=n(61),a=n(111),s=n(64),f=n(65),l=n(6)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,b,m){a(n,e,v);var y,g,w,x=function(t){if(!p&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",j="values"==h,_=!1,E=t.prototype,S=E[l]||E["@@iterator"]||h&&E[h],A=S||x(h),T=h?j?x("entries"):A:void 0,P="Array"==e&&E.entries||S;if(P&&(w=f(P.call(new t)))!==Object.prototype&&w.next&&(s(w,O,!0),r||"function"==typeof w[l]||u(w,l,d)),j&&S&&"values"!==S.name&&(_=!0,A=function(){return S.call(this)}),r&&!m||!p&&!_&&E[l]||u(E,l,A),c[e]=A,c[O]=d,h)if(y={values:j?A:x("values"),keys:b?A:x("keys"),entries:T},m)for(g in y)g in E||i(E,g,y[g]);else o(o.P+o.F*(p||_),e,y);return y}},function(t,e,n){"use strict";var r=n(79),o=n(43),i=n(64),u={};n(19)(u,n(6)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(13),o=n(10),i=n(47);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(29),o=n(28),i=n(114);t.exports=function(t){return function(e,n,u){var c,a=r(e),s=o(a.length),f=i(u,s);if(t&&n!=n){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(46),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){"use strict";var r=n(9),o=n(24),i=n(18),u=n(12),c=[].sort,a=[1,2,3];r(r.P+r.F*(u((function(){a.sort(void 0)}))||!u((function(){a.sort(null)}))||!n(116)(c)),"Array",{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(12);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){"use strict";var r=n(9),o=n(18),i=n(24),u=n(13);n(8)&&r(r.P+n(48),"Object",{__defineGetter__:function(t,e){u.f(o(this),t,{get:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(9),o=n(18),i=n(24),u=n(13);n(8)&&r(r.P+n(48),"Object",{__defineSetter__:function(t,e){u.f(o(this),t,{set:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(9),o=n(18),i=n(34),u=n(65),c=n(49).f;n(8)&&r(r.P+n(48),"Object",{__lookupGetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=c(n,r))return e.get}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(9),o=n(18),i=n(34),u=n(65),c=n(49).f;n(8)&&r(r.P+n(48),"Object",{__lookupSetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=c(n,r))return e.set}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(9),o=n(33),i=n(5),u=n(82),c=n(122);r(r.P+r.R,"Promise",{finally:function(t){var e=u(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){var r=n(10),o=n(14),i=n(123);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(24);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(5),o=n(125),i=n(13).f,u=n(67).f,c=n(83),a=n(50),s=r.RegExp,f=s,l=s.prototype,p=/a/g,d=/a/g,v=new s(p)!==p;if(n(8)&&(!v||n(12)((function(){return d[n(6)("match")]=!1,s(p)!=p||s(d)==d||"/a/i"!=s(p,"i")})))){s=function(t,e){var n=this instanceof s,r=c(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(v?new f(r&&!i?t.source:t,e):f((r=t instanceof s)?t.source:t,r&&i?a.call(t):e),n?this:l,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})},b=u(f),m=0;b.length>m;)h(b[m++]);l.constructor=s,s.prototype=l,n(22)(r,"RegExp",s)}n(127)("RegExp")},function(t,e,n){var r=n(14),o=n(126).set;t.exports=function(t,e,n){var i,u=e.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){var r=n(14),o=n(10),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(45)(Function.call,n(49).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){"use strict";var r=n(5),o=n(13),i=n(8),u=n(6)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(10),o=n(28),i=n(68),u=n(51);n(52)("match",1,(function(t,e,n,c){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=c(n,t,this);if(e.done)return e.value;var a=r(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],d=0;null!==(l=u(a,s));){var v=String(l[0]);p[d]=v,""===v&&(a.lastIndex=i(s,o(a.lastIndex),f)),d++}return 0===d?null:p}]}))},function(t,e,n){var r=n(46),o=n(38);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){var r=n(37),o=n(6)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(69);n(9)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){"use strict";var r=n(10),o=n(18),i=n(28),u=n(46),c=n(68),a=n(51),s=Math.max,f=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(52)("replace",2,(function(t,e,n,v){return[function(r,o){var i=t(this),u=null==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=v(n,t,this,e);if(o.done)return o.value;var l=r(t),p=String(this),d="function"==typeof e;d||(e=String(e));var b=l.global;if(b){var m=l.unicode;l.lastIndex=0}for(var y=[];;){var g=a(l,p);if(null===g)break;if(y.push(g),!b)break;""===String(g[0])&&(l.lastIndex=c(p,i(l.lastIndex),m))}for(var w,x="",O=0,j=0;j<y.length;j++){g=y[j];for(var _=String(g[0]),E=s(f(u(g.index),p.length),0),S=[],A=1;A<g.length;A++)S.push(void 0===(w=g[A])?w:String(w));var T=g.groups;if(d){var P=[_].concat(S,E,p);void 0!==T&&P.push(T);var L=String(e.apply(void 0,P))}else L=h(_,p,E,S,T,e);E>=O&&(x+=p.slice(O,E)+L,O=E+_.length)}return x+p.slice(O)}];function h(t,e,r,i,u,c){var a=r+t.length,s=i.length,f=d;return void 0!==u&&(u=o(u),f=p),n.call(c,f,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var f=+o;if(0===f)return n;if(f>s){var p=l(f/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}c=i[f-1]}return void 0===c?"":c}))}}))},function(t,e,n){"use strict";var r=n(83),o=n(10),i=n(82),u=n(68),c=n(28),a=n(51),s=n(69),f=n(12),l=Math.min,p=[].push,d="length",v=!f((function(){RegExp(4294967295,"y")}));n(52)("split",2,(function(t,e,n,f){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[d]||2!="ab".split(/(?:ab)*/)[d]||4!=".".split(/(.?)(.?)/)[d]||".".split(/()()/)[d]>1||"".split(/.?/)[d]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,u,c,a=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,v=void 0===e?4294967295:e>>>0,h=new RegExp(t.source,f+"g");(i=s.call(h,o))&&!((u=h.lastIndex)>l&&(a.push(o.slice(l,i.index)),i[d]>1&&i.index<o[d]&&p.apply(a,i.slice(1)),c=i[0][d],l=u,a[d]>=v));)h.lastIndex===i.index&&h.lastIndex++;return l===o[d]?!c&&h.test("")||a.push(""):a.push(o.slice(l)),a[d]>v?a.slice(0,v):a}:"0".split(void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):h.call(String(o),n,r)},function(t,e){var r=f(h,t,this,e,h!==n);if(r.done)return r.value;var s=o(t),p=String(this),d=i(s,RegExp),b=s.unicode,m=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(v?"y":"g"),y=new d(v?s:"^(?:"+s.source+")",m),g=void 0===e?4294967295:e>>>0;if(0===g)return[];if(0===p.length)return null===a(y,p)?[p]:[];for(var w=0,x=0,O=[];x<p.length;){y.lastIndex=v?x:0;var j,_=a(y,v?p:p.slice(x));if(null===_||(j=l(c(y.lastIndex+(v?0:x)),p.length))===w)x=u(p,x,b);else{if(O.push(p.slice(w,x)),O.length===g)return O;for(var E=1;E<=_.length-1;E++)if(O.push(_[E]),O.length===g)return O;x=w=j}}return O.push(p.slice(w)),O}]}))},function(t,e,n){"use strict";var r=n(10),o=n(135),i=n(51);n(52)("search",1,(function(t,e,n,u){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=u(n,t,this);if(e.done)return e.value;var c=r(t),a=String(this),s=c.lastIndex;o(s,0)||(c.lastIndex=0);var f=i(c,a);return o(c.lastIndex,s)||(c.lastIndex=s),null===f?-1:f.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";n(84);var r=n(10),o=n(50),i=n(8),u=/./.toString,c=function(t){n(22)(RegExp.prototype,"toString",t,!0)};n(12)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,e,n){"use strict";var r=n(5),o=n(23),i=n(8),u=n(9),c=n(22),a=n(138).KEY,s=n(12),f=n(44),l=n(64),p=n(35),d=n(6),v=n(85),h=n(86),b=n(139),m=n(60),y=n(10),g=n(14),w=n(18),x=n(29),O=n(34),j=n(43),_=n(79),E=n(140),S=n(49),A=n(87),T=n(13),P=n(47),L=S.f,k=T.f,I=E.f,C=r.Symbol,D=r.JSON,M=D&&D.stringify,F=d("_hidden"),R=d("toPrimitive"),N={}.propertyIsEnumerable,q=f("symbol-registry"),B=f("symbols"),H=f("op-symbols"),V=Object.prototype,W="function"==typeof C&&!!A.f,U=r.QObject,z=!U||!U.prototype||!U.prototype.findChild,$=i&&s((function(){return 7!=_(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=L(V,e);r&&delete V[e],k(t,e,n),r&&t!==V&&k(V,e,r)}:k,G=function(t){var e=B[t]=_(C.prototype);return e._k=t,e},J=W&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},Y=function(t,e,n){return t===V&&Y(H,e,n),y(t),e=O(e,!0),y(n),o(B,e)?(n.enumerable?(o(t,F)&&t[F][e]&&(t[F][e]=!1),n=_(n,{enumerable:j(0,!1)})):(o(t,F)||k(t,F,j(1,{})),t[F][e]=!0),$(t,e,n)):k(t,e,n)},K=function(t,e){y(t);for(var n,r=b(e=x(e)),o=0,i=r.length;i>o;)Y(t,n=r[o++],e[n]);return t},X=function(t){var e=N.call(this,t=O(t,!0));return!(this===V&&o(B,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,F)&&this[F][t])||e)},Z=function(t,e){if(t=x(t),e=O(e,!0),t!==V||!o(B,e)||o(H,e)){var n=L(t,e);return!n||!o(B,e)||o(t,F)&&t[F][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=I(x(t)),r=[],i=0;n.length>i;)o(B,e=n[i++])||e==F||e==a||r.push(e);return r},tt=function(t){for(var e,n=t===V,r=I(n?H:x(t)),i=[],u=0;r.length>u;)!o(B,e=r[u++])||n&&!o(V,e)||i.push(B[e]);return i};W||(c((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function e(n){this===V&&e.call(H,n),o(this,F)&&o(this[F],t)&&(this[F][t]=!1),$(this,t,j(1,n))};return i&&z&&$(V,t,{configurable:!0,set:e}),G(t)}).prototype,"toString",(function(){return this._k})),S.f=Z,T.f=Y,n(67).f=E.f=Q,n(66).f=X,A.f=tt,i&&!n(36)&&c(V,"propertyIsEnumerable",X,!0),v.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!W,{Symbol:C});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=P(d.store),ot=0;rt.length>ot;)h(rt[ot++]);u(u.S+u.F*!W,"Symbol",{for:function(t){return o(q,t+="")?q[t]:q[t]=C(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!W,"Object",{create:function(t,e){return void 0===e?_(t):K(_(t),e)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var it=s((function(){A.f(1)}));u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),D&&u(u.S+u.F*(!W||s((function(){var t=C();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(g(e)||void 0!==t)&&!J(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,M.apply(D,r)}}),C.prototype[R]||n(19)(C.prototype,R,C.prototype.valueOf),l(C,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(35)("meta"),o=n(14),i=n(23),u=n(13).f,c=0,a=Object.isExtensible||function(){return!0},s=!n(12)((function(){return a(Object.preventExtensions({}))})),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,e,n){var r=n(47),o=n(87),i=n(66);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,c=n(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&e.push(u);return e}},function(t,e,n){var r=n(29),o=n(67).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){n(86)("asyncIterator")},function(t,e,n){"use strict";n(88)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){"use strict";n(88)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){var r=n(5),o=n(9),i=n(146),u=[].slice,c=/MSIE .\./.test(i),a=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*c,{setTimeout:a(r.setTimeout),setInterval:a(r.setInterval)})},function(t,e,n){var r=n(5).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(9),o=n(148);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){var r,o,i,u=n(45),c=n(149),a=n(81),s=n(59),f=n(5),l=f.process,p=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,b=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},g=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++b]=function(){c("function"==typeof t?t:Function(t),e)},r(b),b},d=function(t){delete m[t]},"process"==n(37)(l)?r=function(t){l.nextTick(u(y,t,1))}:h&&h.now?r=function(t){h.now(u(y,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),y.call(t)}}:function(t){setTimeout(u(y,t,1),0)}),t.exports={set:p,clear:d}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){for(var r=n(78),o=n(47),i=n(22),u=n(5),c=n(19),a=n(61),s=n(6),f=s("iterator"),l=s("toStringTag"),p=a.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(d),h=0;h<v.length;h++){var b,m=v[h],y=d[m],g=u[m],w=g&&g.prototype;if(w&&(w[f]||c(w,f,p),w[l]||c(w,l,m),a[m]=p,y))for(b in r)w[b]||i(w,b,r[b],!0)}},function(t,e){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 v9.1.3 <https://hydejack.com/>")},function(t,e){},function(t,e,n){"use strict";n.r(e);var r=n(15),o=n(162),i=n(163),u=Array.isArray||(t=>"[object Array]"===Object.prototype.toString.call(t)),c=t=>"[object HTMLCollection]"===Object.prototype.toString.call(t),a=t=>"[object NodeList]"===Object.prototype.toString.call(t),s=/on([A-Z][A-Za-z]+)/,f=(t,e)=>{function n(t){"string"==typeof t?this.appendChild(e(t)):null!=t&&this.appendChild(t)}return function(e,r){var o=t(e);for(var i in r){var f=void 0;if(f=s.exec(i)){var[,l]=f;o.addEventListener(l.toLowerCase(),r[i])}else o.setAttribute(i,r[i])}for(var p=arguments.length,d=new Array(p>2?p-2:0),v=2;v<p;v++)d[v-2]=arguments[v];var h,b=d[0];return u(b)||(h=c(b))||(h=a(b))?(h&&(b=Array.prototype.slice.call(b,0)),Array.prototype.forEach.call(b,n,o)):Array.prototype.forEach.call(d,n,o),o}},l=f(document.createElement.bind(document),document.createTextNode.bind(document));function p(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function d(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function v(t){var e=d(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function h(t){return t instanceof d(t).Element||t instanceof Element}function b(t){return t instanceof d(t).HTMLElement||t instanceof HTMLElement}function m(t){return"undefined"!=typeof ShadowRoot&&(t instanceof d(t).ShadowRoot||t instanceof ShadowRoot)}function y(t){return t?(t.nodeName||"").toLowerCase():null}function g(t){return((h(t)?t.ownerDocument:t.document)||window.document).documentElement}function w(t){return p(g(t)).left+v(t).scrollLeft}function x(t){return d(t).getComputedStyle(t)}function O(t){var e=x(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function j(t,e,n){void 0===n&&(n=!1);var r,o,i=g(e),u=p(t),c=b(e),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(c||!c&&!n)&&(("body"!==y(e)||O(i))&&(a=(r=e)!==d(r)&&b(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:v(r)),b(e)?((s=p(e)).x+=e.clientLeft,s.y+=e.clientTop):i&&(s.x=w(i))),{x:u.left+a.scrollLeft-s.x,y:u.top+a.scrollTop-s.y,width:u.width,height:u.height}}function _(t){var e=p(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function E(t){return"html"===y(t)?t:t.assignedSlot||t.parentNode||(m(t)?t.host:null)||g(t)}function S(t,e){var n;void 0===e&&(e=[]);var r=function t(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:b(e)&&O(e)?e:t(E(e))}(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=d(r),u=o?[i].concat(i.visualViewport||[],O(r)?r:[]):r,c=e.concat(u);return o?c:c.concat(S(E(u)))}function A(t){return["table","td","th"].indexOf(y(t))>=0}function T(t){return b(t)&&"fixed"!==x(t).position?t.offsetParent:null}function P(t){for(var e=d(t),n=T(t);n&&A(n)&&"static"===x(n).position;)n=T(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===x(n).position)?e:n||function(t){for(var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=E(t);b(n)&&["html","body"].indexOf(y(n))<0;){var r=x(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var L="top",k="bottom",I="right",C="left",D=[L,k,I,C],M=D.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),F=[].concat(D,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=e.get(r);o&&t(o)}})),r.push(o)}(t)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function H(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,o=e.defaultOptions,i=void 0===o?q:o;return function(t,e,n){void 0===n&&(n=i);var o,u,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,f={state:c,setOptions:function(n){l(),c.options=Object.assign({},i,c.options,n),c.scrollParents={reference:h(t)?S(t):t.contextElement?S(t.contextElement):[],popper:S(e)};var o=function(t){var e=N(t);return R.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(r,c.options.modifiers)));return c.orderedModifiers=o.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var i=o({state:c,name:e,instance:f,options:r});a.push(i||function(){})}})),f.update()},forceUpdate:function(){if(!s){var t=c.elements,e=t.reference,n=t.popper;if(B(e,n)){c.rects={reference:j(e,P(n),"fixed"===c.options.strategy),popper:_(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],i=o.fn,u=o.options,a=void 0===u?{}:u,l=o.name;"function"==typeof i&&(c=i({state:c,options:a,name:l,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){f.forceUpdate(),t(c)}))},function(){return u||(u=new Promise((function(t){Promise.resolve().then((function(){u=void 0,t(o())}))}))),u}),destroy:function(){l(),s=!0}};if(!B(t,e))return f;function l(){a.forEach((function(t){return t()})),a=[]}return f.setOptions(n).then((function(t){!s&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var V={passive:!0};var W={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,u=r.resize,c=void 0===u||u,a=d(e.elements.popper),s=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&s.forEach((function(t){t.addEventListener("scroll",n.update,V)})),c&&a.addEventListener("resize",n.update,V),function(){i&&s.forEach((function(t){t.removeEventListener("scroll",n.update,V)})),c&&a.removeEventListener("resize",n.update,V)}},data:{}};function U(t){return t.split("-")[0]}function z(t){return t.split("-")[1]}function $(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function G(t){var e,n=t.reference,r=t.element,o=t.placement,i=o?U(o):null,u=o?z(o):null,c=n.x+n.width/2-r.width/2,a=n.y+n.height/2-r.height/2;switch(i){case L:e={x:c,y:n.y-r.height};break;case k:e={x:c,y:n.y+n.height};break;case I:e={x:n.x+n.width,y:a};break;case C:e={x:n.x-r.width,y:a};break;default:e={x:n.x,y:n.y}}var s=i?$(i):null;if(null!=s){var f="y"===s?"height":"width";switch(u){case"start":e[s]=e[s]-(n[f]/2-r[f]/2);break;case"end":e[s]=e[s]+(n[f]/2-r[f]/2)}}return e}var J={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=G({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Y=Math.max,K=Math.min,X=Math.round,Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.offsets,u=t.position,c=t.gpuAcceleration,a=t.adaptive,s=t.roundOffsets,f=!0===s?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:X(X(e*r)/r)||0,y:X(X(n*r)/r)||0}}(i):"function"==typeof s?s(i):i,l=f.x,p=void 0===l?0:l,v=f.y,h=void 0===v?0:v,b=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),y=C,w=L,O=window;if(a){var j=P(n),_="clientHeight",E="clientWidth";j===d(n)&&"static"!==x(j=g(n)).position&&(_="scrollHeight",E="scrollWidth"),j=j,o===L&&(w=k,h-=j[_]-r.height,h*=c?1:-1),o===C&&(y=I,p-=j[E]-r.width,p*=c?1:-1)}var S,A=Object.assign({position:u},a&&Z);return c?Object.assign({},A,((S={})[w]=m?"0":"",S[y]=b?"0":"",S.transform=(O.devicePixelRatio||1)<2?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",S)):Object.assign({},A,((e={})[w]=m?h+"px":"",e[y]=b?p+"px":"",e.transform="",e))}var tt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];b(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});b(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]};var et={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return et[t]}))}var rt={start:"end",end:"start"};function ot(t){return t.replace(/start|end/g,(function(t){return rt[t]}))}function it(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&m(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ct(t,e){return"viewport"===e?ut(function(t){var e=d(t),n=g(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,u=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:u+w(t),y:c}}(t)):b(e)?function(t){var e=p(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ut(function(t){var e,n=g(t),r=v(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=Y(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=Y(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+w(t),a=-r.scrollTop;return"rtl"===x(o||n).direction&&(c+=Y(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:u,x:c,y:a}}(g(t)))}function at(t,e,n){var r="clippingParents"===e?function(t){var e=S(E(t)),n=["absolute","fixed"].indexOf(x(t).position)>=0&&b(t)?P(t):t;return h(n)?e.filter((function(t){return h(t)&&it(t,n)&&"body"!==y(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o[0],u=o.reduce((function(e,n){var r=ct(t,n);return e.top=Y(r.top,e.top),e.right=K(r.right,e.right),e.bottom=K(r.bottom,e.bottom),e.left=Y(r.left,e.left),e}),ct(t,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function st(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ft(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function lt(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=void 0===r?t.placement:r,i=n.boundary,u=void 0===i?"clippingParents":i,c=n.rootBoundary,a=void 0===c?"viewport":c,s=n.elementContext,f=void 0===s?"popper":s,l=n.altBoundary,d=void 0!==l&&l,v=n.padding,b=void 0===v?0:v,m=st("number"!=typeof b?b:ft(b,D)),y="popper"===f?"reference":"popper",w=t.elements.reference,x=t.rects.popper,O=t.elements[d?y:f],j=at(h(O)?O:O.contextElement||g(t.elements.popper),u,a),_=p(w),E=G({reference:_,element:x,strategy:"absolute",placement:o}),S=ut(Object.assign({},x,E)),A="popper"===f?S:_,T={top:j.top-A.top+m.top,bottom:A.bottom-j.bottom+m.bottom,left:j.left-A.left+m.left,right:A.right-j.right+m.right},P=t.modifiersData.offset;if("popper"===f&&P){var C=P[o];Object.keys(T).forEach((function(t){var e=[I,k].indexOf(t)>=0?1:-1,n=[L,k].indexOf(t)>=0?"y":"x";T[t]+=C[n]*e}))}return T}function pt(t,e,n){return Y(t,K(e,n))}function dt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function vt(t){return[L,I,k,C].some((function(e){return t[e]>=0}))}var ht=H({defaultModifiers:[W,J,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,u=void 0===i||i,c=n.roundOffsets,a=void 0===c||c,s={placement:U(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Q(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:u,roundOffsets:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Q(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},tt,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=void 0===o?[0,0]:o,u=F.reduce((function(t,n){return t[n]=function(t,e,n){var r=U(t),o=[C,L].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},e,{placement:t})):n,u=i[0],c=i[1];return u=u||0,c=(c||0)*o,[C,I].indexOf(r)>=0?{x:c,y:u}:{x:u,y:c}}(n,e.rects,i),t}),{}),c=u[e.placement],a=c.x,s=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=s),e.modifiersData[r]=u}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,u=n.altAxis,c=void 0===u||u,a=n.fallbackPlacements,s=n.padding,f=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,b=e.options.placement,m=U(b),y=a||(m===b||!v?[nt(b)]:function(t){if("auto"===U(t))return[];var e=nt(t);return[ot(t),e,ot(e)]}(b)),g=[b].concat(y).reduce((function(t,n){return t.concat("auto"===U(n)?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,u=n.padding,c=n.flipVariations,a=n.allowedAutoPlacements,s=void 0===a?F:a,f=z(r),l=f?c?M:M.filter((function(t){return z(t)===f})):D,p=l.filter((function(t){return s.indexOf(t)>=0}));0===p.length&&(p=l);var d=p.reduce((function(e,n){return e[n]=lt(t,{placement:n,boundary:o,rootBoundary:i,padding:u})[U(n)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}(e,{placement:n,boundary:f,rootBoundary:l,padding:s,flipVariations:v,allowedAutoPlacements:h}):n)}),[]),w=e.rects.reference,x=e.rects.popper,O=new Map,j=!0,_=g[0],E=0;E<g.length;E++){var S=g[E],A=U(S),T="start"===z(S),P=[L,k].indexOf(A)>=0,R=P?"width":"height",N=lt(e,{placement:S,boundary:f,rootBoundary:l,altBoundary:p,padding:s}),q=P?T?I:C:T?k:L;w[R]>x[R]&&(q=nt(q));var B=nt(q),H=[];if(i&&H.push(N[A]<=0),c&&H.push(N[q]<=0,N[B]<=0),H.every((function(t){return t}))){_=S,j=!1;break}O.set(S,H)}if(j)for(var V=function(t){var e=g.find((function(e){var n=O.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return _=e,"break"},W=v?3:1;W>0;W--){if("break"===V(W))break}e.placement!==_&&(e.modifiersData[r]._skip=!0,e.placement=_,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=void 0===o||o,u=n.altAxis,c=void 0!==u&&u,a=n.boundary,s=n.rootBoundary,f=n.altBoundary,l=n.padding,p=n.tether,d=void 0===p||p,v=n.tetherOffset,h=void 0===v?0:v,b=lt(e,{boundary:a,rootBoundary:s,padding:l,altBoundary:f}),m=U(e.placement),y=z(e.placement),g=!y,w=$(m),x="x"===w?"y":"x",O=e.modifiersData.popperOffsets,j=e.rects.reference,E=e.rects.popper,S="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,A={x:0,y:0};if(O){if(i||c){var T="y"===w?L:C,D="y"===w?k:I,M="y"===w?"height":"width",F=O[w],R=O[w]+b[T],N=O[w]-b[D],q=d?-E[M]/2:0,B="start"===y?j[M]:E[M],H="start"===y?-E[M]:-j[M],V=e.elements.arrow,W=d&&V?_(V):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[T],X=G[D],Z=pt(0,j[M],W[M]),Q=g?j[M]/2-q-Z-J-S:B-Z-J-S,tt=g?-j[M]/2+q+Z+X+S:H+Z+X+S,et=e.elements.arrow&&P(e.elements.arrow),nt=et?"y"===w?et.clientTop||0:et.clientLeft||0:0,rt=e.modifiersData.offset?e.modifiersData.offset[e.placement][w]:0,ot=O[w]+Q-rt-nt,it=O[w]+tt-rt;if(i){var ut=pt(d?K(R,ot):R,F,d?Y(N,it):N);O[w]=ut,A[w]=ut-F}if(c){var ct="x"===w?L:C,at="x"===w?k:I,st=O[x],ft=st+b[ct],dt=st-b[at],vt=pt(d?K(ft,ot):ft,st,d?Y(dt,it):dt);O[x]=vt,A[x]=vt-st}}e.modifiersData[r]=A}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,u=n.modifiersData.popperOffsets,c=U(n.placement),a=$(c),s=[C,I].indexOf(c)>=0?"height":"width";if(i&&u){var f=function(t,e){return st("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ft(t,D))}(o.padding,n),l=_(i),p="y"===a?L:C,d="y"===a?k:I,v=n.rects.reference[s]+n.rects.reference[a]-u[a]-n.rects.popper[s],h=u[a]-n.rects.reference[a],b=P(i),m=b?"y"===a?b.clientHeight||0:b.clientWidth||0:0,y=v/2-h/2,g=f[p],w=m-l[s]-f[d],x=m/2-l[s]/2+y,O=pt(g,x,w),j=a;n.modifiersData[r]=((e={})[j]=O,e.centerOffset=O-x,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&it(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,u=lt(e,{elementContext:"reference"}),c=lt(e,{altBoundary:!0}),a=dt(u,r),s=dt(c,o,i),f=vt(a),l=vt(s);e.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:s,isReferenceHidden:f,hasPopperEscaped:l},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]}),bt={passive:!0,capture:!0};function mt(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function yt(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function gt(t,e){return"function"==typeof t?t.apply(void 0,e):t}function wt(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function xt(t){return[].concat(t)}function Ot(t,e){-1===t.indexOf(e)&&t.push(e)}function jt(t){return t.split("-")[0]}function _t(t){return[].slice.call(t)}function Et(){return document.createElement("div")}function St(t){return["Element","Fragment"].some((function(e){return yt(t,e)}))}function At(t){return yt(t,"MouseEvent")}function Tt(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Pt(t){return St(t)?[t]:function(t){return yt(t,"NodeList")}(t)?_t(t):Array.isArray(t)?t:_t(document.querySelectorAll(t))}function Lt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function kt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function It(t){var e,n=xt(t)[0];return(null==n||null==(e=n.ownerDocument)?void 0:e.body)?n.ownerDocument:document}function Ct(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}var Dt={isTouch:!1},Mt=0;function Ft(){Dt.isTouch||(Dt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Rt))}function Rt(){var t=performance.now();t-Mt<20&&(Dt.isTouch=!1,document.removeEventListener("mousemove",Rt)),Mt=t}function Nt(){var t=document.activeElement;if(Tt(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var qt="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Bt=/MSIE |Trident\//.test(qt);var Ht={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Vt=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ht,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Wt=Object.keys(Vt);function Ut(t){var e=(t.plugins||[]).reduce((function(e,n){var r=n.name,o=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:o),e}),{});return Object.assign({},t,{},e)}function zt(t,e){var n=Object.assign({},e,{content:gt(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Ut(Object.assign({},Vt,{plugins:e}))):Wt).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},Vt.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function $t(t,e){t.innerHTML=e}function Gt(t){var e=Et();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",St(t)?e.appendChild(t):$t(e,t)),e}function Jt(t,e){St(e.content)?($t(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?$t(t,e.content):t.textContent=e.content)}function Yt(t){var e=t.firstElementChild,n=_t(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function Kt(t){var e=Et(),n=Et();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Et();function o(n,r){var o=Yt(e),i=o.box,u=o.content,c=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Jt(u,t.props),r.arrow?c?n.arrow!==r.arrow&&(i.removeChild(c),i.appendChild(Gt(r.arrow))):i.appendChild(Gt(r.arrow)):c&&i.removeChild(c)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Jt(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}Kt.$$tippy=!0;var Xt=1,Zt=[],Qt=[];function te(t,e){var n,r,o,i,u,c,a,s,f,l=zt(t,Object.assign({},Vt,{},Ut((n=e,Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{}))))),p=!1,d=!1,v=!1,h=!1,b=[],m=wt(J,l.interactiveDebounce),y=Xt++,g=(f=l.plugins).filter((function(t,e){return f.indexOf(t)===e})),w={id:y,reference:t,popper:Et(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(e){0;if(w.state.isDestroyed)return;D("onBeforeUpdate",[w,e]),$();var n=w.props,r=zt(t,Object.assign({},w.props,{},e,{ignoreAttributes:!0}));w.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),m=wt(J,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?xt(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded");F(),C(),j&&j(n,r);w.popperInstance&&(Z(),tt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[w,e])},setContent:function(t){w.setProps({content:t})},show:function(){0;var t=w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=Dt.isTouch&&!w.props.touch,o=mt(w.props.duration,0,Vt.duration);if(t||e||n||r)return;if(P().hasAttribute("disabled"))return;if(D("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,T()&&(O.style.visibility="visible");C(),H(),w.state.isMounted||(O.style.transition="none");if(T()){var i=k(),u=i.box,c=i.content;Lt([u,c],0)}a=function(){var t;if(w.state.isVisible&&!h){if(h=!0,O.offsetHeight,O.style.transition=w.props.moveTransition,T()&&w.props.animation){var e=k(),n=e.box,r=e.content;Lt([n,r],o),kt([n,r],"visible")}M(),F(),Ot(Qt,w),null==(t=w.popperInstance)||t.forceUpdate(),w.state.isMounted=!0,D("onMount",[w]),w.props.animation&&T()&&function(t,e){W(t,e)}(o,(function(){w.state.isShown=!0,D("onShown",[w])}))}},function(){var t,e=w.props.appendTo,n=P();t=w.props.interactive&&e===Vt.appendTo||"parent"===e?n.parentNode:gt(e,[n]);t.contains(O)||t.appendChild(O);Z(),!1}()},hide:function(){0;var t=!w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=mt(w.props.duration,1,Vt.duration);if(t||e||n)return;if(D("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,h=!1,p=!1,T()&&(O.style.visibility="hidden");if(R(),V(),C(),T()){var o=k(),i=o.box,u=o.content;w.props.animation&&(Lt([i,u],r),kt([i,u],"hidden"))}M(),F(),w.props.animation?T()&&function(t,e){W(t,(function(){!w.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&e()}))}(r,w.unmount):w.unmount()},hideWithInteractivity:function(t){0;L().addEventListener("mousemove",m),Ot(Zt,m),m(t)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){0;w.state.isVisible&&w.hide();if(!w.state.isMounted)return;Q(),tt().forEach((function(t){t._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);Qt=Qt.filter((function(t){return t!==w})),w.state.isMounted=!1,D("onHidden",[w])},destroy:function(){0;if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),$(),delete t._tippy,w.state.isDestroyed=!0,D("onDestroy",[w])}};if(!l.render)return w;var x=l.render(w),O=x.popper,j=x.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+w.id,w.popper=O,t._tippy=w,O._tippy=w;var _=g.map((function(t){return t.fn(w)})),E=t.hasAttribute("aria-expanded");return z(),F(),C(),D("onCreate",[w]),l.showOnCreate&&et(),O.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(t){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(L().addEventListener("mousemove",m),m(t))})),w;function S(){var t=w.props.touch;return Array.isArray(t)?t:[t,0]}function A(){return"hold"===S()[0]}function T(){var t;return!!(null==(t=w.props.render)?void 0:t.$$tippy)}function P(){return s||t}function L(){var t=P().parentNode;return t?It(t):document}function k(){return Yt(O)}function I(t){return w.state.isMounted&&!w.state.isVisible||Dt.isTouch||u&&"focus"===u.type?0:mt(w.props.delay,t?0:1,Vt.delay)}function C(){O.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",O.style.zIndex=""+w.props.zIndex}function D(t,e,n){var r;(void 0===n&&(n=!0),_.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n)&&(r=w.props)[t].apply(r,e)}function M(){var e=w.props.aria;if(e.content){var n="aria-"+e.content,r=O.id;xt(w.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(w.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function F(){!E&&w.props.aria.expanded&&xt(w.props.triggerTarget||t).forEach((function(t){w.props.interactive?t.setAttribute("aria-expanded",w.state.isVisible&&t===P()?"true":"false"):t.removeAttribute("aria-expanded")}))}function R(){L().removeEventListener("mousemove",m),Zt=Zt.filter((function(t){return t!==m}))}function N(t){if(!(Dt.isTouch&&(v||"mousedown"===t.type)||w.props.interactive&&O.contains(t.target))){if(P().contains(t.target)){if(Dt.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||V())}}function q(){v=!0}function B(){v=!1}function H(){var t=L();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,bt),t.addEventListener("touchstart",B,bt),t.addEventListener("touchmove",q,bt)}function V(){var t=L();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,bt),t.removeEventListener("touchstart",B,bt),t.removeEventListener("touchmove",q,bt)}function W(t,e){var n=k().box;function r(t){t.target===n&&(Ct(n,"remove",r),e())}if(0===t)return e();Ct(n,"remove",c),Ct(n,"add",r),c=r}function U(e,n,r){void 0===r&&(r=!1),xt(w.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),b.push({node:t,eventType:e,handler:n,options:r})}))}function z(){var t;A()&&(U("touchstart",G,{passive:!0}),U("touchend",Y,{passive:!0})),(t=w.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(U(t,G),t){case"mouseenter":U("mouseleave",Y);break;case"focus":U(Bt?"focusout":"blur",K);break;case"focusin":U("focusout",K)}}))}function $(){b.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),b=[]}function G(t){var e,n=!1;if(w.state.isEnabled&&!X(t)&&!d){var r="focus"===(null==(e=u)?void 0:e.type);u=t,s=t.currentTarget,F(),!w.state.isVisible&&At(t)&&Zt.forEach((function(e){return e(t)})),"click"===t.type&&(w.props.trigger.indexOf("mouseenter")<0||p)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:et(t),"click"===t.type&&(p=!n),n&&!r&&nt(t)}}function J(t){var e=t.target,n=P().contains(e)||O.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,u=jt(o.placement),c=o.modifiersData.offset;if(!c)return!0;var a="bottom"===u?c.top.y:0,s="top"===u?c.bottom.y:0,f="right"===u?c.left.x:0,l="left"===u?c.right.x:0,p=e.top-r+a>i,d=r-e.bottom-s>i,v=e.left-n+f>i,h=n-e.right-l>i;return p||d||v||h}))}(tt().concat(O).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean),t)&&(R(),nt(t))}function Y(t){X(t)||w.props.trigger.indexOf("click")>=0&&p||(w.props.interactive?w.hideWithInteractivity(t):nt(t))}function K(t){w.props.trigger.indexOf("focusin")<0&&t.target!==P()||w.props.interactive&&t.relatedTarget&&O.contains(t.relatedTarget)||nt(t)}function X(t){return!!Dt.isTouch&&A()!==t.type.indexOf("touch")>=0}function Z(){Q();var e=w.props,n=e.popperOptions,r=e.placement,o=e.offset,i=e.getReferenceClientRect,u=e.moveTransition,c=T()?Yt(O).arrow:null,s=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:t,f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!u}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(T()){var n=k().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];T()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),w.popperInstance=ht(s,O,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:f}))}function Q(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function tt(){return _t(O.querySelectorAll("[data-tippy-root]"))}function et(t){w.clearDelayTimeouts(),t&&D("onTrigger",[w,t]),H();var e=I(!0),n=S(),o=n[0],i=n[1];Dt.isTouch&&"hold"===o&&i&&(e=i),e?r=setTimeout((function(){w.show()}),e):w.show()}function nt(t){if(w.clearDelayTimeouts(),D("onUntrigger",[w,t]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&p)){var e=I(!1);e?o=setTimeout((function(){w.state.isVisible&&w.hide()}),e):i=requestAnimationFrame((function(){w.hide()}))}}else V()}}function ee(t,e){void 0===e&&(e={});var n=Vt.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",Ft,bt),window.addEventListener("blur",Nt);var r=Object.assign({},e,{plugins:n}),o=Pt(t).reduce((function(t,e){var n=e&&te(e,r);return n&&t.push(n),t}),[]);return St(t)?o[0]:o}ee.defaultProps=Vt,ee.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Vt[e]=t[e]}))},ee.currentInput=Dt;Object.assign({},tt,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});ee.setDefaultProps({render:Kt});var ne=ee;function re(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}function oe(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function u(t){re(i,r,o,u,c,"next",t)}function c(t){re(i,r,o,u,c,"throw",t)}u(void 0)}))}}oe((function*(){yield Promise.all([..."animate"in Element.prototype?[]:[n.e(15).then(n.t.bind(null,209,7))],..."IntersectionObserver"in window?[]:[n.e(12).then(n.t.bind(null,210,7))]]),yield r.s;var t=/(?:title|file):[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*["'`](((?:(?!["'\\`])[\s\S])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["'`]/i,e=[{opacity:0},{opacity:1}],u={fill:"forwards",duration:500,easing:"ease"},c=document.querySelector("hy-push-state");var a,s,f=!0;a=n=>{if(n){ne(n.querySelectorAll(".post-date > .ellipsis"),{trigger:"click",touch:!0,interactive:!0,allowHTML:!0,maxWidth:"none",placement:"bottom-start",offset:0,content:t=>t.innerHTML,onTrigger(t,e){"A"===e.target.tagName&&(t._hideOnce=!0)},onShow(t){if(t._hideOnce)return t._hideOnce=!1}}),ne(n.querySelectorAll("abbr[title]"),{trigger:"click",touch:!0,maxWidth:500,content:t=>t.getAttribute("title")}),ne(n.querySelectorAll(".sidebar-social [title]"),{touch:!0,content:t=>t.getAttribute("title")}),n.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]").forEach(t=>{var e=Object(r.l)("_permalink-template");e.querySelector(".permalink").href="#".concat(t.id),t.appendChild(e)});var o=n.querySelector("#markdown-toc");o&&o.classList.add("toc-hide"),"clipboard"in navigator&&Array.from(n.querySelectorAll("pre.highlight > code")).forEach(t=>{var e,n=null==t||null===(e=t.parentNode)||void 0===e?void 0:e.parentNode,r=l("button",{onClick:function(){var e=oe((function*(){yield navigator.clipboard.writeText(t.innerText),function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.classList.remove(...n),t.offsetWidth,t.classList.add(...n)}(r,"copy-success")}));return function(){return e.apply(this,arguments)}}()},l("small",{class:"icon-copy",title:"Copy"}),l("small",{class:"icon-checkmark",title:"Done"}));null==n||n.appendChild(r)}),Array.from(n.querySelectorAll("pre.highlight > code")).map(t=>t.children[0]).forEach(e=>{var n=t.exec(null==e?void 0:e.innerText);if(n){var[,r]=n,o=e.parentNode,i=e.childNodes[0],u=i.wholeText.indexOf("\n");if(u>-1){var c=i.splitText(u);o.insertBefore(c,o.firstChild)}o.removeChild(e),o.childNodes[0].splitText(1),o.removeChild(o.childNodes[0]);var a=o.parentNode.parentNode,s=l("div",{class:"pre-header break-layout"},l("span",{},l("small",{class:"icon-file-empty"})," ",r));a.insertBefore(s,a.firstChild)}}),"complete"in HTMLImageElement.prototype&&(n.querySelectorAll("img[width][height][loading=lazy]").forEach(t=>{f&&t.complete||(t.style.opacity="0",t.addEventListener("load",()=>t.animate(e,u),{once:!0}))}),f=!1)}},c&&!window._noPushState&&c.addEventListener("hy-push-state-ready",t=>{var{detail:{replaceEls:[e]}}=t;return a(e)},s),a(document.getElementById("_main"));var p=null;!function(t,e){c&&!window._noPushState&&c.addEventListener("hy-push-state-load",()=>t(document.getElementById("_main")),e),t(document.getElementById("_main"))}(()=>{var t,e=document.getElementById("_main");if(e){var n=e.querySelector("#markdown-toc");n&&(n.classList.remove("toc-hide"),n.classList.add("toc-show")),e.querySelectorAll("li[id^='fn:']").forEach(t=>t.tabIndex=0),e.querySelectorAll("a[href^='#fn:']").forEach(t=>t.addEventListener("click",t=>{var e;return null===(e=document.getElementById(t.currentTarget.getAttribute("href").substr(1)))||void 0===e?void 0:e.focus()})),e.querySelectorAll('pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"]').forEach(t=>t.addEventListener("touchstart",e=>t.scrollLeft>0&&e.stopPropagation(),{passive:!1}));var o=null===(t=document.getElementById("_katexPreload"))||void 0===t?void 0:t.href;!p&&o&&Object(r.m)(e.querySelectorAll(".katex"),{rootMargin:"1440px"}).then(()=>{p=Object(r.q)(o)})}});var d=document.getElementById("_MathJax");if(c&&d){var v=t=>{var{detail:{replaceEls:[e]}}=t;e.querySelectorAll('script[type="math/tex; mode=display"]').forEach(t=>{t.outerHTML=t.innerText.replace("% <![CDATA[","\\[").replace("%]]>","\\]")}),e.querySelectorAll('script[type="math/tex"]').forEach(t=>{t.outerHTML="\\(".concat(t.innerText,"\\)")})};v({detail:{replaceEls:[document]}}),"MathJax"in window||(yield Object(r.r)(d,"load")),yield MathJax.typesetPromise(),window._noPushState||(c.addEventListener("ready",v),Object(o.a)(c,"after").pipe(Object(i.a)(()=>MathJax.typesetPromise())).subscribe())}}))()},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(53),o=n(4),i=n(16),u=n(3),c=n(11);var a=n(93);function s(t,e){void 0===e&&(e=r.b);var n,s=Object(a.a)(t,e);return n=function(){return s},Object(o.b)((function(t,e){var r=!1,o=null,a=null,s=function(){if(null==a||a.unsubscribe(),a=null,r){r=!1;var t=o;o=null,e.next(t)}};t.subscribe(new u.a(e,(function(t){null==a||a.unsubscribe(),r=!0,o=t,a=new u.a(e,s,void 0,i.a),Object(c.c)(n(t)).subscribe(a)}),void 0,(function(){s(),e.complete()}),(function(){o=a=null})))}))}},,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(1),o=n(2),i=n(26),u=n(31),c=n(0),a=n(91),s=n(30),f=["addListener","removeListener"],l=["addEventListener","removeEventListener"],p=["on","off"];function d(t,e,n,h){if(Object(c.a)(n)&&(h=n,n=void 0),h)return d(t,e,n).pipe(Object(a.a)(h));var b=Object(r.h)(function(t){return Object(c.a)(t.addEventListener)&&Object(c.a)(t.removeEventListener)}(t)?l.map((function(r){return function(o){return t[r](e,o,n)}})):function(t){return Object(c.a)(t.addListener)&&Object(c.a)(t.removeListener)}(t)?f.map(v(t,e)):function(t){return Object(c.a)(t.on)&&Object(c.a)(t.off)}(t)?p.map(v(t,e)):[],2),m=b[0],y=b[1];return!m&&Object(u.a)(t)?Object(i.a)((function(t){return d(t,e,n)}))(Object(s.a)(t)):new o.a((function(t){if(!m)throw new TypeError("Invalid event target");var e=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1<e.length?e:e[0])};return m(e),function(){return y(e)}}))}function v(t,e){return function(n){return function(r){return t[n](e,r)}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(26),o=n(0);function i(t,e){return Object(o.a)(e)?Object(r.a)(t,e,1):Object(r.a)(t,1)}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{158:function(t,e,n){"use strict";n.r(e);var r=n(162),o=n(184),i=n(25),c=n(95),u=n(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{158:function(t,e,n){"use strict";n.r(e);var r=n(162),o=n(184),i=n(25),c=n(95),u=n(199),s=n(96),a=n(154),b=n(182),f=n(183),l=n(185),h=n(1),p=n(4),v=n(169),d=n(30),j=n(72),O=n(27);function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(O.c)(t),r=Object(O.a)(t,1/0);return t=Object(v.a)(t),Object(p.b)((function(e,o){Object(j.a)(r)(Object(d.a)(Object(h.i)([e],t),n)).subscribe(o)}))}var y,_=n(99),S=n(15);function m(t,e,n,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}(y=function*(){yield S.s;var t=document.getElementById("_navbar");if(t){var e=t.clientHeight,n=0,p=S.j?new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]):null,v=Object(r.a)(window,"hashchange").pipe(Object(i.a)(t=>new URL(t.newURL).hash),Object(c.a)(t=>""!==t&&"#_search-input"!==t),Object(u.a)()),d=v.pipe(Object(s.a)(()=>Object(r.a)(document,"scroll").pipe(Object(a.a)(50),Object(b.a)(!0),Object(f.a)(!1))),Object(f.a)(!0)),j=Object(o.a)(Object(r.a)(t,"focus",{capture:!0}).pipe(Object(b.a)(2*e)),v.pipe(Object(b.a)(-2*e)));Object(r.a)(document,"scroll",{passive:!0}).pipe(Object(S.f)(d),Object(i.a)(S.h),Object(c.a)(t=>t>=0),Object(l.a)(),Object(i.a)(t=>{var[e,n]=t;return e-n}),Object(c.a)(()=>{var t;return!(null!==(t=document.activeElement)&&void 0!==t&&t.classList.contains("nav-btn"))}),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return w.apply(void 0,Object(h.i)(t))}(j),Object(_.a)(r=>{n+=r,n=Math.max(-e,Math.min(0,n)),S.j?(p[0].y.value=n,t.attributeStyleMap.set("transform",p)):t.style.transform="translateY(".concat(n,"px)")})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,r){var o=y.apply(t,e);function i(t){m(o,n,r,i,c,"next",t)}function c(t){m(o,n,r,i,c,"throw",t)}i(void 0)}))})()},169:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=Array.isArray;function o(t){return 1===t.length&&r(t[0])?t[0]:t}},170:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),o=new r.a((function(t){return t.complete()}))},173:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),o=n(2),i=n(7),c=n(74),u=Object(c.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),s=n(39),a=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.f)(e,t),e.prototype.lift=function(t){var e=new b(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new u},e.prototype.next=function(t){var e,n;if(this._throwIfClosed(),!this.isStopped){var o=this.observers.slice();try{for(var i=Object(r.j)(o),c=i.next();!c.done;c=i.next()){c.value.next(t)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}},e.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var e=this.observers;e.length;)e.shift().error(t)}},e.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this.hasError,r=this.isStopped,o=this.observers;return n||r?i.a:(o.push(t),new i.b((function(){return Object(s.a)(e.observers,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,r=this.isStopped;e?t.error(n):r&&t.complete()},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new b(t,e)},e}(o.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.f)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:i.a},e}(a)},182:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(t){return Object(r.b)((function(e,n){e.subscribe(new o.a(n,(function(){return n.next(t)})))}))}},183:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(75),o=n(27),i=n(4);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(o.c)(t);return Object(i.b)((function(e,o){(n?Object(r.a)(t,e,n):Object(r.a)(t,e)).subscribe(o)}))}},184:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(72),o=n(30),i=n(169),c=n(11),u=n(170),s=n(27);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(s.c)(t),a=Object(s.a)(t,1/0),b=Object(i.a)(t);return b.length?1===b.length?Object(c.c)(b[0]):Object(r.a)(a)(Object(o.a)(b,n)):u.a}},185:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(){return Object(r.b)((function(t,e){var n,r=!1;t.subscribe(new o.a(e,(function(t){var o=n;n=t,r&&e.next([o,t]),r=!0})))}))}},199:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(2),i=n(7),c=n(4),u=n(3);function s(){return Object(c.b)((function(t,e){var n=null;t._refCount++;var r=new u.a(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var r=t._connection,o=n;n=null,!r||o&&r!==o||r.unsubscribe(),e.unsubscribe()}}));t.subscribe(r),r.closed||(n=t.connect())}))}var a=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,r}return Object(r.f)(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._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new i.b;var n=this.getSubject();e.add(this.source.subscribe(new u.a(n,void 0,(function(e){t._teardown(),n.error(e)}),(function(){t._teardown(),n.complete()}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=i.b.EMPTY)}return e},e.prototype.refCount=function(){return s()(this)},e}(o.a),b=n(0);var f=n(173);function l(){return new f.a}function h(){return function(t){return s()((e=l,r=Object(b.a)(e)?e:function(){return e},Object(b.a)(n)?Object(c.b)((function(t,e){var o=r();n(o).subscribe(e).add(t.subscribe(o))})):function(t){var e=new a(t,r);return Object(c.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=r,e})(t));var e,n,r}}}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{157:function(e,t,r){"use strict";r.r(t);var n=r(162),a=r(184),i=r(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{157:function(e,t,r){"use strict";r.r(t);var n=r(162),a=r(184),i=r(207),l=r(93),o=r(182),c=r(25),u=r(199),s=r(99),p=r(208),b=r(96),d=r(204),v=r(183),y=r(185),O=r(26),m=r(15),f=r(70),j=r(170),h=r(206),g=r(203);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=/url[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\(["']?(((?:(?!["'\\])[\s\S])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["']?\)/,F=e=>{var t,r=e.getElementById("_sidebar"),n=null==r?void 0:r.querySelector(".sidebar-bg"),a=e.getElementById("_pageStyle");return[null==a||null===(t=a.innerText)||void 0===t?void 0:t.trim(),null==r?void 0:r.classList,null==n?void 0:n.classList,null==n?void 0:n.style.backgroundImage].join("\n")};var P=new WeakMap;class D{constructor(e){this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.prevHash=F(document),this.themeColorEl=document.querySelector('meta[name="theme-color"]')}fetchImage2(e){var t,r,{backgroundImage:n=""}=null!==(t=null===(r=e.querySelector(".sidebar-bg"))||void 0===r?void 0:r.style)&&void 0!==t?t:{},a=S.exec(n);if(!a)return Object(f.a)("");var i=new URL(a[1],window.location.origin);return Object(m.e)(i.href,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({method:"GET",headers:{Accept:"image/*"}},function(e){var{protocol:t,host:r}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}(i)?{mode:"cors"}:{})).pipe(Object(b.a)(e=>e.blob()),Object(c.a)(e=>URL.createObjectURL(e)),Object(h.a)(()=>Object(f.a)(i.href)))}fetchImage(e){var t=F(e);return t===this.prevHash?j.a:this.fetchImage2(e).pipe(Object(c.a)(r=>{var n,a=null!==(n=e.querySelector(".sidebar-bg"))&&void 0!==n?n:document.createElement("div");return r&&(a.style.backgroundImage="url(".concat(r,")"),P.set(a,r)),[a,t,e]}))}updateStyle(e){var t,r=null===(t=e.getElementById("_sidebar"))||void 0===t?void 0:t.classList;if(r&&this.sidebar.setAttribute("class",r),this.themeColorEl){var n,a=null===(n=e.head.querySelector('meta[name="theme-color"]'))||void 0===n?void 0:n.content;a&&window.setTimeout(()=>{this.themeColorEl&&(this.themeColorEl.content=a)},250)}try{var i,l=document.getElementById("_pageStyle"),o=e.getElementById("_pageStyle");if(!o)return;null==l||null===(i=l.parentNode)||void 0===i||i.replaceChild(o,l)}catch(e){0}}fade(e,t){var r,[n]=e,[a,i,l]=t;return null==n||null===(r=n.parentNode)||void 0===r||r.insertBefore(a,n.nextElementSibling),this.updateStyle(l),this.prevHash=i,Object(m.c)(a,[{opacity:0},{opacity:1}],{duration:this.fadeDuration,easing:"ease"}).pipe(Object(g.a)(()=>{var e;P.has(n)&&URL.revokeObjectURL(P.get(n)),null==n||null===(e=n.parentNode)||void 0===e||e.removeChild(n)}))}}var C=r(95);var I,B=["title"];function q(e,t,r,n){var l=e.pipe(Object(C.a)(e=>{var{flipType:t}=e;return!B.includes(t)}));return Object(a.a)(function(e,t,r,n){var{animationMain:a,settings:l}=n;if(!a)return e;var o=e.pipe(Object(C.a)(e=>{var{flipType:t}=e;return"title"===t}),Object(b.a)(e=>{var{anchor:t}=e;if(!t)return Object(f.a)({});var r=document.createElement("h1");r.classList.add("page-title"),r.textContent=t.textContent,r.style.transformOrigin="left top";var n=a.querySelector(".page");if(!n)return Object(f.a)({});m.d.call(n),n.appendChild(r),a.style.position="fixed",a.style.opacity=1;var i=t.getBoundingClientRect(),o=r.getBoundingClientRect(),c=parseInt(getComputedStyle(t).fontSize,10),u=parseInt(getComputedStyle(r).fontSize,10),p=i.left-o.left,b=i.top-o.top,d=c/u;t.style.opacity=0;var v=[{transform:"translate3d(".concat(p,"px, ").concat(b,"px, 0) scale(").concat(d,")")},{transform:"translate3d(0, 0, 0) scale(1)"}];return Object(m.c)(r,v,l).pipe(Object(s.a)({complete(){a.style.position="absolute"}}))}));return e.pipe(Object(b.a)(e=>{var{flipType:n}=e;return Object(i.a)(t.pipe(Object(C.a)(()=>"title"===n),Object(c.a)(e=>{var{replaceEls:[t]}=e,r=t.querySelector(".page-title, .post-title");return r&&(r.style.opacity=0),r})),r).pipe(Object(c.a)(e=>{var[t]=e;return t}),Object(s.a)(e=>{e&&(e.style.opacity=1),a.style.opacity=0}),Object(g.a)(()=>{a.style.opacity=0;var e=a.querySelector(".page");m.d.call(e)}))})).subscribe(),o}(e,t,r,n),l)}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){L(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e,t,r,n,a,i,l){try{var o=e[i](l),c=o.value}catch(e){return void r(e)}o.done?t(c):Promise.resolve(c).then(n,a)}(I=function*(){yield Promise.all([..."fetch"in window?[]:[Promise.all([r.e(11),r.e(3)]).then(r.bind(null,211))],..."customElements"in window?[]:[r.e(16).then(r.bind(null,180))],..."animate"in Element.prototype?[]:[r.e(15).then(r.t.bind(null,209,7))],..."IntersectionObserver"in window?[]:[r.e(12).then(r.t.bind(null,210,7))]]),yield m.t;var e=[{opacity:1},{opacity:0}],t=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],f=document.querySelector("hy-push-state");if(f){var j=Number(f.getAttribute("duration"))||350,h={duration:j,easing:"ease"},g=document.querySelector("hy-drawer"),w=document.querySelector("#_navbar > .content > .nav-btn-bar"),E=function(e){var t;return null==e||null===(t=e.parentNode)||void 0===t||t.insertBefore(Object(m.l)("_animation-template"),e),null==e?void 0:e.previousElementSibling}(f),S=function(e){return null==e||e.appendChild(Object(m.l)("_loading-template")),null==e?void 0:e.lastElementChild}(w),F=(e,t)=>Object(n.a)(f,e).pipe(Object(c.a)(e=>{var{detail:t}=e;return t}),t?Object(c.a)(t):e=>e,Object(u.a)()),P=F("hy-push-state-start",e=>{return Object.assign(e,{flipType:(t=e.anchor,null!=t&&t.classList.contains("flip-title")?"title":null!=t&&t.classList.contains("flip-project")?"project":null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"data-flip"))});var t,r}),C=F("hy-push-state-ready"),I=F("hy-push-state-after"),B=F("hy-push-state-progress"),x=F("hy-push-state-networkerror"),L=P.pipe(Object(c.a)(e=>Object.assign(e,{main:document.getElementById("_main")})),Object(s.a)(e=>{var{main:t}=e;t.style.pointerEvents="none"}),window._noDrawer&&null!=g&&g.classList.contains("cover")?Object(s.a)(()=>{var e;g.classList.remove("cover"),null===(e=g.parentNode)||void 0===e||e.appendChild(g)}):e=>e,Object(p.a)(t=>{var{main:r}=t;return Object(m.c)(r,e,_(_({},h),{},{fill:"forwards"})).pipe(Object(o.a)({main:r}))}),Object(s.a)(e=>{var{main:t}=e;return m.d.call(t)}),Object(u.a)());S&&(B.subscribe(()=>{S.style.display="flex"}),C.subscribe(()=>{S.style.display="none"}));var k=I.pipe(Object(b.a)(e=>{var r=(e=>{var{replaceEls:[r],flipType:n}=e;return Object(m.c)(r,t,h).pipe(Object(o.a)({main:r,flipType:n}))})(e).toPromise();return e.transitionUntil(r),r}),Object(u.a)()),T=q(P,C,Object(a.a)(k,x),{animationMain:E,settings:h}).pipe(Object(u.a)());P.pipe(Object(b.a)(e=>{var t=Object(i.a)(Object(l.a)(j),L,T).toPromise();return e.transitionUntil(t),t})).subscribe(),L.subscribe(),T.subscribe();var A=document.querySelector(".sidebar-bg");if(A){var R=new D(2e3);I.pipe(Object(b.a)(e=>{var{document:t}=e;return Object(i.a)(R.fetchImage(t),k).pipe(Object(c.a)(e=>{var[t]=e;return t}),Object(d.a)(P))}),Object(v.a)([A]),Object(y.a)(),Object(O.a)(e=>{var[t,r]=e;return R.fade(t,r)})).subscribe()}x.pipe(Object(b.a)(e=>{var{url:r}=e;S&&(S.style.display="none");var n=document.getElementById("_main");return n&&(n.style.pointerEvents=""),m.d.call(null==E?void 0:E.querySelector(".page")),m.d.call(n),function(e,t){var{pathname:r}=t,n=Object(m.l)("_error-template"),a=null==n?void 0:n.querySelector(".this-link");a&&(a.href=r,a.textContent=r),null==e||e.appendChild(n),null==e||e.lastElementChild}(n,r),Object(m.c)(n,t,_(_({},h),{},{fill:"forwards"}))})).subscribe(),Promise.resolve().then(r.bind(null,198)),window._pushState=f}},function(){var e=this,t=arguments;return new Promise((function(r,n){var a=I.apply(e,t);function i(e){k(a,r,n,i,l,"next",e)}function l(e){k(a,r,n,i,l,"throw",e)}i(void 0)}))})()}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{195:function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},f=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},v="undefined"!=typeof window?window:{},p=new WeakMap,l=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},x=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},E=a({devicePixelContentBoxSize:x(),borderBoxSize:x(),contentBoxSize:x(),contentRect:new u(0,0,0,0)}),T=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(d(e))return p.set(e,E),E;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&l.test(n.overflowY||""),c=!r&&l.test(n.overflowX||""),f=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),T=r?0:w(n.paddingBottom),m=r?0:w(n.paddingLeft),z=r?0:w(n.borderTopWidth),y=r?0:w(n.borderRightWidth),B=r?0:w(n.borderBottomWidth),S=m+v,O=f+T,R=(r?0:w(n.borderLeftWidth))+y,k=z+B,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?S+R:0,M=i?O+k:0,P=r?r.width:w(n.width)-D-N,_=r?r.height:w(n.height)-M-C,F=P+S+N+R,I=_+O+C+k,L=a({devicePixelContentBoxSize:x(Math.round(P*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:x(F,I,o),contentBoxSize:x(P,_,o),contentRect:new u(m,f,P,_)});return p.set(e,L),L},m=function(e,t,n){var i=T(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},z=function(e){var t=T(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},y=function(e){if(d(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},B=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new z(t.target),i=y(t.target);r.push(n),t.lastReportedSize=m(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},S=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(y(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(S(t);i.some((function(e){return e.activeTargets.length>0}));)t=B(),S(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},R=[],k=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return R.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}R.push(e),s()},C=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],M=function(e){return void 0===e&&(e=0),Date.now()+e},P=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!P){P=!0;var n,r=M(e);n=function(){var n=!1;try{n=O()}finally{if(P=!1,e=r-M(),!C)return;n?t.run(1e3):e>0?t.run(e):t.start()}},k((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,N)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),F=function(e){!C&&e>0&&_.start(),!(C+=e)&&_.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=m(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),L=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,X=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},A=function(){function e(){}return e.connect=function(e,t){var n=new L(e,t);W.set(e,n)},e.observe=function(e,t,n){var r=W.get(e),o=0===r.observationTargets.length;X(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new I(t,n&&n.box)),F(1),_.schedule())},e.unobserve=function(e,t){var n=W.get(e),r=X(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),F(-1))},e.disconnect=function(e){var t=this,n=W.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");A.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");A.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");A.unobserve(this,e)},e.prototype.disconnect=function(){A.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();window.ResizeObserver=window.ResizeObserver||V}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{181:function(n,w,o){"use strict";o.r(w);o(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{181:function(n,w,o){"use strict";o.r(w);o(192),o(196)}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{186:function(e,t){!function(e){var t=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";t[i]=t[i]||[],t[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),e.addEventListener("storage",(function(t){if(t.storageArea===e.localStorage&&null!=t.newValue&&""!==t.newValue&&t.key.substring(0,i.length)===i){var n=JSON.parse(t.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),s=this._id+String(Date.now())+"$"+String(Math.random());e.localStorage.setItem(s,o),setTimeout((function(){e.localStorage.removeItem(s)}),500),t[this._id].forEach((function(e){e!==r&&e._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var e=t[this._id].indexOf(this);t[this._id].splice(e,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(e){this._mc.port1.onmessage=e},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},e.BroadcastChannel=e.BroadcastChannel||n}(self)},187:function(e,t){var n,r,i,o,s,a,l,c,u,h;function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){p(o,r,i,s,a,"next",e)}function a(e){p(o,r,i,s,a,"throw",e)}s(void 0)}))}}(()=>{var e=Object.defineProperty,t=Object.prototype.hasOwnProperty,p=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertySymbols,m=Object.prototype.propertyIsEnumerable,y=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,g=(e,n)=>{for(var r in n||(n={}))t.call(n,r)&&y(e,r,n[r]);if(v)for(var r of v(n))m.call(n,r)&&y(e,r,n[r]);return e},w=(t,n,r,i)=>{for(var o,s=i>1?void 0:i?p(n,r):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i?o(n,r,s):o(s))||s);return i&&s&&e(n,r,s),s},_=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},b=(e,t,n)=>(_(e,t,"read from private field"),n?n.call(e):t.get(e)),S=(e,t,n,r)=>(_(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);!function(e){var t=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";t[i]=t[i]||[],t[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),e.addEventListener("storage",(function(t){if(t.storageArea===e.localStorage&&null!=t.newValue&&""!==t.newValue&&t.key.substring(0,i.length)===i){var n=JSON.parse(t.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),s=this._id+String(Date.now())+"$"+String(Math.random());e.localStorage.setItem(s,o),setTimeout((function(){e.localStorage.removeItem(s)}),500),t[this._id].forEach((function(e){e!==r&&e._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var e=t[this._id].indexOf(this);t[this._id].splice(e,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(e){this._mc.port1.onmessage=e},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},e.BroadcastChannel=e.BroadcastChannel||n}(self);var C=function(){function e(){}return e.prototype.then=function(t,n){var r=new e,i=this.s;if(i){var o=1&i?t:n;if(o){try{x(r,1,o(this.v))}catch(e){x(r,2,e)}return r}return this}return this.o=function(e){try{var i=e.v;1&e.s?x(r,1,t?t(i):i):n?x(r,1,n(i)):x(r,2,i)}catch(i){x(r,2,i)}},r},e}();function x(e,t,n){if(!e.s){if(n instanceof C){if(!n.s)return void(n.o=x.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(x.bind(null,e,t),x.bind(null,e,2));e.s=t,e.v=n;var r=e.o;r&&r(e)}}var k=0,P="function"==typeof WeakMap?WeakMap:function(){var e="function"==typeof Symbol?Symbol(0):"__weak$"+ ++k;this.set=function(t,n){t[e]=n},this.get=function(t){return t[e]}};function N(e,t){return new Promise((function(n,r){e.onsuccess=function(){var r=e.result;t&&(r=t(r)),n(r)},e.onerror=function(){r(e.error)}}))}function A(e,t){return N(e.openCursor(t),(function(e){return e?[e.key,e.value]:[]}))}function L(e){return new Promise((function(t,n){e.oncomplete=function(){t()},e.onabort=function(){n(e.error)},e.onerror=function(){n(e.error)}}))}function E(e){if(!("number"==typeof(t=e)||"string"==typeof t||"object"==typeof t&&t&&(Array.isArray(t)||"setUTCFullYear"in t||"function"==typeof ArrayBuffer&&ArrayBuffer.isView(t)||"byteLength"in t&&"length"in t)))throw Error("kv-storage: The given value is not allowed as a key");var t}var M={};function T(e,t){return A(e,U(t))}function U(e){return e===M?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(e,!0)}var O=new P,V=new P,j=new P,I=new P,R=function(){};function B(e,t){return t((function(t,n){try{var r=function(){return V.set(e,o),j.set(e,void 0),{value:a,done:void 0===o}},i=V.get(e);if(void 0===i)return Promise.resolve({value:void 0,done:!0});var o,s,a,l=function(e,t){var n,r=-1;e:{for(var i=0;i<t.length;i++){var o=t[i][0];if(o){var s=o();if(s&&s.then)break e;if(s===e){r=i;break}}else r=i}if(-1!==r){do{for(var a=t[r][1];!a;)a=t[++r][1];var l=a();if(l&&l.then){n=!0;break e}var c=t[r][2];r++}while(c&&!c());return l}}var u=new C,h=x.bind(null,u,2);return(n?l.then(d):s.then((function n(s){for(;;){if(s===e){r=i;break}if(++i===t.length){if(-1!==r)break;return void x(u,1,l)}if(o=t[i][0]){if((s=o())&&s.then)return void s.then(n).then(void 0,h)}else r=i}do{for(var a=t[r][1];!a;)a=t[++r][1];var l=a();if(l&&l.then)return void l.then(d).then(void 0,h);var c=t[r][2];r++}while(c&&!c());x(u,1,l)}))).then(void 0,h),u;function d(e){for(;;){var n=t[r][2];if(!n||n())break;for(var i=t[++r][1];!i;)i=t[++r][1];if((e=i())&&e.then)return void e.then(d).then(void 0,h)}x(u,1,e)}}(I.get(e),[[function(){return"keys"},function(){return Promise.resolve((e=n,t=i,A(e,U(t)).then((function(e){return e[0]})))).then((function(e){a=o=e}));var e,t}],[function(){return"values"},function(){return Promise.resolve(T(n,i)).then((function(e){var t;o=(t=e)[0],a=s=t[1]}))}],[function(){return"entries"},function(){return Promise.resolve(T(n,i)).then((function(e){var t;s=(t=e)[1],a=void 0===(o=t[0])?void 0:[o,s]}))}]]);return Promise.resolve(l&&l.then?l.then(r):r())}catch(r){return Promise.reject(r)}}))}function D(e,t){var n=new R;return I.set(n,e),O.set(n,t),V.set(n,M),j.set(n,void 0),n}R.prototype.return=function(){V.set(this,void 0)},R.prototype.next=function(){var e=this,t=O.get(this);if(!t)return Promise.reject(new TypeError("Invalid this value"));var n,r=j.get(this);return n=void 0!==r?r.then((function(){return B(e,t)})):B(this,t),j.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(R.prototype[Symbol.asyncIterator]=function(){return this});var z=function(e,t,n){try{return null===q.get(e)&&(r=e,i=W.get(r),q.set(r,new Promise((function(e,t){var n=self.indexedDB.open(i,1);n.onsuccess=function(){var o=n.result;(function(e,t,n){if(1!==e.objectStoreNames.length||e.objectStoreNames[0]!==H)return n(F(t)),!1;var r=e.transaction(H,"readonly").objectStore(H);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(F(t)),!1)})(o,i,t)&&(o.onclose=function(){q.set(r,null)},o.onversionchange=function(){o.close(),q.set(r,null)},e(o))},n.onerror=function(){return t(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(H)}catch(e){t(e)}}})))),Promise.resolve(q.get(e)).then((function(e){var r=e.transaction(H,t),i=r.objectStore(H);return n(r,i)}))}catch(r){return Promise.reject(r)}var r,i},W=new P,q=new P,H="store",J=function(e){var t="kv-storage:"+e;q.set(this,null),W.set(this,t),this.backingStore={database:t,store:H,version:1}};function F(e){return new Error('kv-storage: database "'+e+'" corrupted')}J.prototype.set=function(e,t){try{return E(e),z(this,"readwrite",(function(n,r){return void 0===t?r.delete(e):r.put(t,e),L(n)}))}catch(e){return Promise.reject(e)}},J.prototype.get=function(e){try{return E(e),z(this,"readonly",(function(t,n){return N(n.get(e))}))}catch(e){return Promise.reject(e)}},J.prototype.delete=function(e){try{return E(e),z(this,"readwrite",(function(t,n){return n.delete(e),L(t)}))}catch(e){return Promise.reject(e)}},J.prototype.clear=function(){try{var e,t=function(){function t(){return N(self.indexedDB.deleteDatabase(W.get(n)))}var r=function(){if(e){try{e.close()}catch(e){}return Promise.resolve(new Promise(setTimeout)).then((function(){}))}}();return r&&r.then?r.then(t):t()},n=this,r=q.get(n),i=function(){if(null!==r){var t=function(){q.set(n,null)},i=function(t,n){try{var i=Promise.resolve(r).then((function(t){e=t}))}catch(e){return}return i&&i.then?i.then(void 0,(function(){})):i}();return i&&i.then?i.then(t):t()}}();return i&&i.then?i.then(t):t()}catch(t){return Promise.reject(t)}},J.prototype.keys=function(){var e=this;return D("keys",(function(t){return z(e,"readonly",t)}))},J.prototype.values=function(){var e=this;return D("values",(function(t){return z(e,"readonly",t)}))},J.prototype.entries=function(){var e=this;return D("entries",(function(t){return z(e,"readonly",t)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(J.prototype[Symbol.asyncIterator]=J.prototype.entries);new J("default");var $="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Y=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t!==n;){var i=t.nextSibling;e.insertBefore(t,r),t=i}},K=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}},Z="{{lit-".concat(String(Math.random()).slice(2),"}}"),G="\x3c!--".concat(Z,"--\x3e"),X=new RegExp("".concat(Z,"|").concat(G)),Q="$lit$",ee=class{constructor(e,t){this.parts=[],this.element=t;for(var n=[],r=[],i=document.createTreeWalker(t.content,133,null,!1),o=0,s=-1,a=0,{strings:l,values:{length:c}}=e;a<c;){var u=i.nextNode();if(null!==u){if(s++,1===u.nodeType){if(u.hasAttributes()){for(var h=u.attributes,{length:d}=h,p=0,f=0;f<d;f++)te(h[f].name,Q)&&p++;for(;p-- >0;){var v=l[a],m=ie.exec(v)[2],y=m.toLowerCase()+Q,g=u.getAttribute(y);u.removeAttribute(y);var w=g.split(X);this.parts.push({type:"attribute",index:s,name:m,strings:w}),a+=w.length-1}}"TEMPLATE"===u.tagName&&(r.push(u),i.currentNode=u.content)}else if(3===u.nodeType){var _=u.data;if(_.indexOf(Z)>=0){for(var b=u.parentNode,S=_.split(X),C=S.length-1,x=0;x<C;x++){var k=void 0,P=S[x];if(""===P)k=re();else{var N=ie.exec(P);null!==N&&te(N[2],Q)&&(P=P.slice(0,N.index)+N[1]+N[2].slice(0,-Q.length)+N[3]),k=document.createTextNode(P)}b.insertBefore(k,u),this.parts.push({type:"node",index:++s})}""===S[C]?(b.insertBefore(re(),u),n.push(u)):u.data=S[C],a+=C}}else if(8===u.nodeType)if(u.data===Z){var A=u.parentNode;(null===u.previousSibling||s===o)&&(s++,A.insertBefore(re(),u)),o=s,this.parts.push({type:"node",index:s}),null===u.nextSibling?u.data="":(n.push(u),s--),a++}else for(var L=-1;-1!==(L=u.data.indexOf(Z,L+1));)this.parts.push({type:"node",index:-1}),a++}else i.currentNode=r.pop()}for(var E of n)E.parentNode.removeChild(E)}},te=(e,t)=>{var n=e.length-t.length;return n>=0&&e.slice(n)===t},ne=e=>-1!==e.index,re=()=>document.createComment(""),ie=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function oe(e,t){for(var{element:{content:n},parts:r}=e,i=document.createTreeWalker(n,133,null,!1),o=ae(r),s=r[o],a=-1,l=0,c=[],u=null;i.nextNode();){a++;var h=i.currentNode;for(h.previousSibling===u&&(u=null),t.has(h)&&(c.push(h),null===u&&(u=h)),null!==u&&l++;void 0!==s&&s.index===a;)s.index=null!==u?-1:s.index-l,s=r[o=ae(r,o)]}c.forEach(e=>e.parentNode.removeChild(e))}var se=e=>{for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,133,null,!1);n.nextNode();)t++;return t},ae=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=t+1;n<e.length;n++){var r=e[n];if(ne(r))return n}return-1};var le=new WeakMap,ce=e=>function(){var t=e(...arguments);return le.set(t,!0),t},ue=e=>"function"==typeof e&&le.has(e),he={},de={},pe=class{constructor(e,t,n){this.__parts=[],this.template=e,this.processor=t,this.options=n}update(e){var t=0;for(var n of this.__parts)void 0!==n&&n.setValue(e[t]),t++;for(var r of this.__parts)void 0!==r&&r.commit()}_clone(){for(var e,t=$?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(t,133,null,!1),o=0,s=0,a=i.nextNode();o<r.length;)if(e=r[o],ne(e)){for(;s<e.index;)s++,"TEMPLATE"===a.nodeName&&(n.push(a),i.currentNode=a.content),null===(a=i.nextNode())&&(i.currentNode=n.pop(),a=i.nextNode());if("node"===e.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(a.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,e.name,e.strings,this.options));o++}else this.__parts.push(void 0),o++;return $&&(document.adoptNode(t),customElements.upgrade(t)),t}},fe=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),ve=" ".concat(Z," "),me=class{constructor(e,t,n,r){this.strings=e,this.values=t,this.type=n,this.processor=r}getHTML(){for(var e=this.strings.length-1,t="",n=!1,r=0;r<e;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var s=ie.exec(i);t+=null===s?i+(n?ve:G):i.substr(0,s.index)+s[1]+s[2]+Q+s[3]+Z}return t+=this.strings[e]}getTemplateElement(){var e=document.createElement("template"),t=this.getHTML();return void 0!==fe&&(t=fe.createHTML(t)),e.innerHTML=t,e}},ye=class extends me{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var e=super.getTemplateElement(),t=e.content,n=t.firstChild;return t.removeChild(n),Y(t,n.firstChild),e}},ge=e=>null===e||!("object"==typeof e||"function"==typeof e),we=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]),_e=class{constructor(e,t,n){this.dirty=!0,this.element=e,this.name=t,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}_createPart(){return new be(this)}_getValue(){var e=this.strings,t=e.length-1,n=this.parts;if(1===t&&""===e[0]&&""===e[1]){var r=n[0].value;if("symbol"==typeof r)return String(r);if("string"==typeof r||!we(r))return r}for(var i="",o=0;o<t;o++){i+=e[o];var s=n[o];if(void 0!==s){var a=s.value;if(ge(a)||!we(a))i+="string"==typeof a?a:String(a);else for(var l of a)i+="string"==typeof l?l:String(l)}}return i+=e[t]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}},be=class{constructor(e){this.value=void 0,this.committer=e}setValue(e){e!==he&&(!ge(e)||e!==this.value)&&(this.value=e,ue(e)||(this.committer.dirty=!0))}commit(){for(;ue(this.value);){var e=this.value;this.value=he,e(this)}this.value!==he&&this.committer.commit()}},Se=class{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(re()),this.endNode=e.appendChild(re())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=re()),e.__insert(this.endNode=re())}insertAfterPart(e){e.__insert(this.startNode=re()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null!==this.startNode.parentNode){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}var t=this.__pendingValue;t!==he&&(ge(t)?t!==this.value&&this.__commitText(t):t instanceof me?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):we(t)?this.__commitIterable(t):t===de?(this.value=de,this.clear()):this.__commitText(t))}}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){var t=this.startNode.nextSibling,n="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}__commitTemplateResult(e){var t=this.options.templateFactory(e);if(this.value instanceof pe&&this.value.template===t)this.value.update(e.values);else{var n=new pe(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());var t,n=this.value,r=0;for(var i of e)void 0===(t=n[r])&&(t=new Se(this.options),n.push(t),0===r?t.appendIntoPart(this):t.insertAfterPart(n[r-1])),t.setValue(i),t.commit(),r++;r<n.length&&(n.length=r,this.clear(t&&t.endNode))}clear(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;K(this.startNode.parentNode,e.nextSibling,this.endNode)}},Ce=class{constructor(e,t,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=n}setValue(e){this.__pendingValue=e}commit(){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}if(this.__pendingValue!==he){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=he}}},xe=class extends _e{constructor(e,t,n){super(e,t,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new ke(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}},ke=class extends be{},Pe=!1;(()=>{try{var e={get capture(){return Pe=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();var Ne=class{constructor(e,t,n){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=n,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}if(this.__pendingValue!==he){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=Ae(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=he}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}},Ae=e=>e&&(Pe?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);function Le(e){var t=Ee.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},Ee.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(Z);return void 0===(n=t.keyString.get(r))&&(n=new ee(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var Ee=new Map,Me=new WeakMap,Te=new class{handleAttributeExpressions(e,t,n,r){var i=t[0];return"."===i?new xe(e,t.slice(1),n).parts:"@"===i?[new Ne(e,t.slice(1),r.eventContext)]:"?"===i?[new Ce(e,t.slice(1),n)]:new _e(e,t,n).parts}handleTextExpression(e){return new Se(e)}};"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Ue=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new me(e,n,"html",Te)},Oe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new ye(e,n,"svg",Te)},Ve=(e,t)=>"".concat(e,"--").concat(t),je=!0;void 0===window.ShadyCSS?je=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),je=!1);var Ie=e=>t=>{var n=Ve(t.type,e),r=Ee.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},Ee.set(n,r));var i=r.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(Z);if(void 0===(i=r.keyString.get(o))){var s=t.getTemplateElement();je&&window.ShadyCSS.prepareTemplateDom(s,e),i=new ee(t,s),r.keyString.set(o,i)}return r.stringsArray.set(t.strings,i),i},Re=["html","svg"],Be=new Set,De=(e,t,n)=>{Be.add(e);var r=n?n.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:o}=i;if(0!==o){for(var s=document.createElement("style"),a=0;a<o;a++){var l=i[a];l.parentNode.removeChild(l),s.textContent+=l.textContent}(e=>{Re.forEach(t=>{var n=Ee.get(Ve(t,e));void 0!==n&&n.keyString.forEach(e=>{var{element:{content:t}}=e,n=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{n.add(e)}),oe(e,n)})})})(e);var c=r.content;n?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:r},parts:i}=e;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),s=ae(i),a=0,l=-1;o.nextNode();)for(l++,o.currentNode===n&&(a=se(t),n.parentNode.insertBefore(t,n));-1!==s&&i[s].index===l;){if(a>0){for(;-1!==s;)i[s].index+=a,s=ae(i,s);return}s=ae(i,s)}else r.appendChild(t)}(n,s,c.firstChild):c.insertBefore(s,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var u=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==u)t.insertBefore(u.cloneNode(!0),t.firstChild);else if(n){c.insertBefore(s,c.firstChild);var h=new Set;h.add(s),oe(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,e)};window.JSCompiler_renameProperty=(e,t)=>e;var ze={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},We=(e,t)=>t!==e&&(t==t||e==e),qe={attribute:!0,type:String,converter:ze,reflect:!1,hasChanged:We},He="finalized",Je=class extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,n)=>{var r=this._attributeNameForProperty(n,t);void 0!==r&&(this._attributeToPropertyMap.set(r,n),e.push(r))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"==typeof e?Symbol():"__".concat(e),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){var i=this[e];this[t]=r,this.requestUpdateInternal(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||qe}static finalize(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty(He)||e.finalize(),this[He]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var r of n)this.createProperty(r,t[r])}}static _attributeNameForProperty(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:We)(e,t)}static _propertyValueFromAttribute(e,t){var n=t.type,r=t.converter||ze,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ze.toAttribute)(e,n)}}initialize(){this._updateState=0,this._updatePromise=new Promise(e=>this._enableUpdatingResolver=e),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var n=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,n)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,n){t!==n&&this._attributeToProperty(e,n)}_propertyToAttribute(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qe,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(e,t,n){var r=!0;if(void 0!==e){var i=this.constructor;n=n||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}_enqueueUpdate(){var e=this;return f((function*(){e._updateState=4|e._updateState;try{yield e._updatePromise}catch(e){}var t=e.performUpdate();return null!=t&&(yield t),!e._hasRequestedUpdate}))()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}};Je.finalized=!0;var Fe=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{var{kind:n,elements:r}=t;return{kind:n,elements:r,finisher(t){window.customElements.define(e,t)}}})(e,t),$e=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function Ye(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):$e(e,t)}var Ke=(e,t,n)=>{Object.defineProperty(t,n,e)},Ze=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),Ge=Element.prototype,Xe=(Ge.msMatchesSelector||Ge.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),Qe=Symbol(),et=class{constructor(e,t){if(t!==Qe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(Xe?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}},tt=e=>{if(e instanceof et)return e.cssText;if("number"==typeof e)return e;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(e,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var nt={},rt=class extends Je{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var e=this.getStyles();if(Array.isArray(e)){var t=(e,n)=>e.reduceRight((e,n)=>Array.isArray(n)?t(n,e):(e.add(n),e),n),n=t(e,new Set),r=[];n.forEach(e=>r.unshift(e)),this._styles=r}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(e=>{if(e instanceof CSSStyleSheet&&!Xe){var t=Array.prototype.slice.call(e.cssRules).reduce((e,t)=>e+t.cssText,"");return new et(String(t),Qe)}return e})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Xe?this.renderRoot.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){var t=this.render();super.update(e),t!==nt&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return nt}};rt.finalized=!0,rt.render=(e,t,n)=>{if(!n||"object"!=typeof n||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,i=Me.has(t),o=je&&11===t.nodeType&&!!t.host,s=o&&!Be.has(r),a=s?document.createDocumentFragment():t;if(((e,t,n)=>{var r=Me.get(t);void 0===r&&(K(t,t.firstChild),Me.set(t,r=new Se(Object.assign({templateFactory:Le},n))),r.appendInto(t)),r.setValue(e),r.commit()})(e,a,Object.assign({templateFactory:Ie(r)},n)),s){var l=Me.get(a);Me.delete(a);var c=l.value instanceof pe?l.value.template:void 0;De(r,a,c),K(t,t.firstChild),t.appendChild(a),Me.set(t,l)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var it=new WeakMap,ot=ce(e=>t=>{if(!(t instanceof be)||t instanceof ke||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=t,{element:r}=n,i=it.get(t);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),it.set(t,i=new Set));var o=r.classList||new class{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;var t=(e.getAttribute("class")||"").split(/\s+/);for(var n of t)this.classes.add(n)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){var e="";this.classes.forEach(t=>e+=t+" "),this.element.setAttribute("class",e)}}}(r);for(var s in i.forEach(t=>{t in e||(o.remove(t),i.delete(t))}),e){var a=e[s];a!=i.has(s)&&(a?(o.add(s),i.add(s)):(o.remove(s),i.delete(s)))}"function"==typeof o.commit&&o.commit()}),st=new WeakMap,at=ce(e=>t=>{if(!(t instanceof be)||t instanceof ke||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=t,{style:r}=n.element,i=st.get(t);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),st.set(t,i=new Set)),i.forEach(t=>{t in e||(i.delete(t),-1===t.indexOf("-")?r[t]=null:r.removeProperty(t))}),e)i.add(o),-1===o.indexOf("-")?r[o]=e[o]:r.setProperty(o,e[o])}),lt=(e,t)=>{var n=e.startNode.parentNode,r=void 0===t?e.endNode:t.startNode,i=n.insertBefore(re(),r);n.insertBefore(re(),r);var o=new Se(e.options);return o.insertAfterNode(i),o},ct=(e,t)=>(e.setValue(t),e.commit(),e),ut=(e,t,n)=>{var r=e.startNode.parentNode,i=n?n.startNode:e.endNode,o=t.endNode.nextSibling;o!==i&&Y(r,t.startNode,o,i)},ht=e=>{K(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},dt=(e,t,n)=>{for(var r=new Map,i=t;i<=n;i++)r.set(e[i],i);return r},pt=new WeakMap,ft=new WeakMap,vt=ce((e,t,n)=>{var r;return void 0===n?n=t:void 0!==t&&(r=t),t=>{if(!(t instanceof Se))throw new Error("repeat can only be used in text bindings");var i=pt.get(t)||[],o=ft.get(t)||[],s=[],a=[],l=[],c=0;for(var u of e)l[c]=r?r(u,c):c,a[c]=n(u,c),c++;for(var h,d,p=0,f=i.length-1,v=0,m=a.length-1;p<=f&&v<=m;)if(null===i[p])p++;else if(null===i[f])f--;else if(o[p]===l[v])s[v]=ct(i[p],a[v]),p++,v++;else if(o[f]===l[m])s[m]=ct(i[f],a[m]),f--,m--;else if(o[p]===l[m])s[m]=ct(i[p],a[m]),ut(t,i[p],s[m+1]),p++,m--;else if(o[f]===l[v])s[v]=ct(i[f],a[v]),ut(t,i[f],i[p]),f--,v++;else if(void 0===h&&(h=dt(l,v,m),d=dt(o,p,f)),h.has(o[p]))if(h.has(o[f])){var y=d.get(l[v]),g=void 0!==y?i[y]:null;if(null===g){var w=lt(t,i[p]);ct(w,a[v]),s[v]=w}else s[v]=ct(g,a[v]),ut(t,g,i[p]),i[y]=null;v++}else ht(i[f]),f--;else ht(i[p]),p++;for(;v<=m;){var _=lt(t,s[m+1]);ct(_,a[v]),s[v++]=_}for(;p<=f;){var b=i[p++];null!==b&&ht(b)}pt.set(t,s),ft.set(t,l)}}),mt=new WeakMap,yt=ce(e=>t=>{if(!(t instanceof Se))throw new Error("unsafeHTML can only be used in text bindings");var n=mt.get(t);if(void 0===n||!ge(e)||e!==n.value||t.value!==n.fragment){var r=document.createElement("template");r.innerHTML=e;var i=document.importNode(r.content,!0);t.setValue(i),mt.set(t,{value:e,fragment:i})}}),gt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n.reduce((t,n,r)=>t+tt(n)+e[r+1],e[0]);return new et(i,Qe)}(n||(n=d(["\n:host {\n display: block;\n position: relative;\n width: 5em;\n height: 5em;\n margin: 5em auto;\n}\n.style-root {\n position: absolute;\n fill: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n .style-root .error { color: indianred }\n .style-root button {\n -webkit-tap-highlight-color: transparent;\n cursor: pointer; \n border: none;\n background: none;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n .style-root button:disabled {\n cursor: default; }\n .style-root .shockwave {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n border-radius: 50%; }\n .style-root svg {\n position: absolute;\n width: 60%;\n height: 60%;\n margin: 20%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0.8;\n stroke: none;\n overflow: visible !important; }\n .style-root svg g.flat {\n visibility: hidden; }\n .style-root svg g.outline {\n visibility: visible; }\n .style-root.clapped:not(.loading) svg g.flat {\n visibility: visible; }\n .style-root.clapped svg g.outline {\n visibility: hidden; }\n .style-root.loading svg g.outline {\n visibility: visible; }\n .style-root .count-container {\n position: absolute;\n width: 100%;\n color: inherit;\n user-select: none; }\n .style-root .count-container.container-top {\n top: -2.5em; }\n .style-root .count-container.container-bottom {\n bottom: -2.5em; }\n .style-root .count-container > div {\n width: 300%;\n margin-left: -100%;\n text-align: center; }\n .style-root g.sparkle circle {\n opacity: 0;\n stroke-width: 0; }\n .style-root:not(.clapped):not(.no-shockwave):not(.no-animation) .shockwave {\n animation-name: shockwave;\n animation-duration: 1.5s;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in; }\n .style-root.clap {\n animation-name: pulse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; \n animation-timing-function: ease-out; }\n .style-root.clap .sparkle circle {\n animation-name: explode;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-top .count {\n animation-name: hide-then-show;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-bottom .count {\n animation-name: hide-then-show-inverse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n\n#hand-svg {\n margin-top: 22%;\n margin-left: 22%;\n}\n\n#countdown-svg {\n width: 100%;\n height: 100%;\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n margin: 0;\n}\n\n.countdown {\n fill: none; \n transform: rotateZ(0deg);\n transform-origin: center;\n}\n\n.countdown circle {\n stroke-width: 2px;\n opacity: 1;\n stroke-linecap: round;\n stroke-dasharray: 308 308;\n transform: rotate(-90deg);\n transform-origin: center;\n}\n\n.style-root.ticking .countdown circle {\n animation-timing-function: ease;\n animation-name: countdown;\n animation-duration: 3s; \n}\n\n.style-root.loading:not(.no-animation) .countdown {\n animation: 2s linear infinite svg-animation; \n}\n\n.style-root.loading:not(.no-animation) .countdown circle {\n animation: 1.4s ease-in-out infinite both circle-animation;\n stroke-dasharray: 308;\n stroke-dashoffset: 302; \n}\n\n@keyframes svg-animation {\n 0% { \n transform: rotateZ(-90deg);\n }\n 100% { \n transform: rotateZ(270deg);\n }\n}\n\n@keyframes circle-animation {\n 0%,\n 15% {\n stroke-dashoffset: 280;\n transform: rotate(0); \n }\n 50%,\n 65% {\n stroke-dashoffset: 75;\n transform: rotate(45deg); \n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(360deg); \n }\n}\n\n@keyframes countdown {\n 0% {\n stroke-dasharray: 308 308;\n }\n 50% {\n stroke-dasharray: 308 308;\n }\n 100% {\n stroke-dasharray: 0 308;\n }\n}\n\n@keyframes explode {\n 0% {\n transform: translateX(10px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(25px);\n }\n}\n\n@keyframes shockwave {\n 0% {\n transform: scale(1);\n opacity: 1; \n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n 89.99% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 50px, inset 0 0 10px;\n }\n 90%, 100% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes hide-then-show {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 80% {\n transform: translateY(10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0); \n }\n}\n\n@keyframes hide-then-show-inverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(10px);\n }\n 50% {\n transform: translateY(-10px);\n }\n 80% {\n transform: translateY(-10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n"]))),wt=e=>e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength),_t=wt,bt=e=>parseInt(e,16);function St(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((e,t)=>e+t.length,0),i=new Uint8Array(r),o=0;for(var s of t)i.set(s,o),o+=s.length;return i}function Ct(e){var t=(e=>Array.from(_t(e),e=>(e=>e.toString(16).padStart(2,"0"))(e)))(e);return t.splice(4,0,"-"),t.splice(7,0,"-"),t.splice(10,0,"-"),t.splice(13,0,"-"),t.join("")}function xt(){var e=crypto.getRandomValues(new Uint8Array(16));return e[6]=15&e[6]|64,e[8]=63&e[8]|128,e.buffer}function kt(e){var t=e.replace(/[^0-9a-f]/gi,"").slice(0,32);if(t.length<32)throw Error("UUID too short");return(e=>new Uint8Array(e.match(/[0-9a-f]{1,2}/gi).map(bt)))(t).buffer}function Pt(e){return e=unescape(encodeURIComponent(e)),(new TextEncoder).encode(e)}function Nt(){return(Nt=f((function*(e,t){var n="string"==typeof e?Pt(e):wt(e),r="string"==typeof t?new At(t):t,i=new Uint8Array(yield crypto.subtle.digest("SHA-1",St(r,n)));return i[6]=15&i[6]|80,i[8]=63&i[8]|128,i.buffer.slice(0,16)}))).apply(this,arguments)}var At=class extends Uint8Array{static v4(){return new At(xt())}static v5(e,t){return f((function*(){return new At(yield function(e,t){return Nt.apply(this,arguments)}(e,t))}))()}constructor(e,t){if(null==e)super(xt());else if("string"==typeof e)super(kt(e));else if(e instanceof At)super(e.buffer.slice(0));else{var n=e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?new Uint8Array(e,null!=t?t:0,16):new Uint8Array(e);if(n.length<16)throw Error("UUID too short");super(n.buffer.slice(0,16))}}get id(){return Ct(this)}get uuid(){return Ct(this)}toString(){return Ct(this)}toJSON(){return Ct(this)}static get[Symbol.species](){return Uint8Array}},Lt=Symbol.for("nodejs.util.inspect.custom"),Et="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();At.prototype[Lt]=function(){return"UUID [ ".concat(this.uuid," ]")},At.prototype[Et]=function(){return"UUID [ ".concat(this.uuid," ]")};var Mt=e=>e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength);function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((e,t)=>e+t.length,0),i=new Uint8Array(r),o=0;for(var s of t)i.set(s,o),o+=s.length;return i}function Ut(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tt(...t.map(Mt))}var Ot=e=>crypto.subtle.digest("SHA-256",e),Vt=e=>Ot((new TextEncoder).encode(e));function jt(e){return It.apply(this,arguments)}function It(){return(It=f((function*(e){var{url:t,id:n,claps:r,nonce:i}=e;return Ut(yield Vt(t.toString()),new At(n.toString()),new Uint32Array([r]),new Uint32Array([i])).buffer}))).apply(this,arguments)}function Rt(e,t){for(var n=new Uint8Array(e),r=Math.ceil(t/8),i=0;i<r;i++)for(var o=Math.min(8,t-8*i),s=0;s<o;s++)if(0!=(n[i]>>7-s&1))return!1;return!0}var Bt=e=>8+Math.round(Math.log2(15+e));function Dt(){return(Dt=f((function*(e){for(var{url:t,claps:n,id:r}=e,i=Bt(n),o=0,s=new Uint32Array(yield jt({url:t,id:r,claps:n,nonce:o})),a=yield Ot(s);!Rt(a,i);)o++,s[s.length-1]=o,a=yield Ot(s);return o}))).apply(this,arguments)}var zt=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function Wt(e,t,n){var r=new URL(e,n);for(var[i,o]of Object.entries(t||{}))r.searchParams.append(i,o);return r.href}var qt,Ht,Jt,Ft,$t=new Map,Yt=!1,Kt=function(){var e=f((function*(e,t,n){var r=$t.get(t);return r||$t.set(t,r=$t.get(t)||f((function*(){var e,r=Wt("/views",g({href:t},n&&!Yt?{referrer:n}:{}),zt),i=yield fetch(r,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});if(Yt=!0,i.ok&&(null==(e=i.headers.get("Content-Type"))?void 0:e.includes("json")))return yield i.json();if(404===i.status)return{};throw 402===i.status?i:($t.delete(t),Error())}))()),(yield r)[e]||{claps:0}}));return function(t,n,r){return e.apply(this,arguments)}}(),Zt=function(){var e=f((function*(e,t){var n=new URL(t);n.search="";var r=new At,i=yield function(e){return Dt.apply(this,arguments)}({url:n,claps:e,id:r});return{href:n.href,id:r,nonce:i}}));return function(t,n){return e.apply(this,arguments)}}(),Gt=function(){var e=f((function*(e,t,n,r,i){var o,s=Wt("/claps",{href:t},zt),a=yield fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:r,nonce:i}),mode:"cors",credentials:"include",headers:{accept:"application/json","content-type":"application/json;charset=UTF-8"}});if(a.ok&&(null==(o=a.headers.get("Content-Type"))?void 0:o.includes("json")))return $t.delete(n),a.clone().json();throw Error()}));return function(t,n,r,i,o){return e.apply(this,arguments)}}(),Xt=new Map,Qt=class extends rt{constructor(){super(...arguments),qt.set(this,void 0)}get connectedCountKey(){}allDisconnectedCallback(){}connectedCallback(){var e;super.connectedCallback(),S(this,qt,null!=(e=this.connectedCountKey)?e:this),Xt.set(b(this,qt),1+(Xt.get(b(this,qt))||0))}disconnectedCallback(){var e;super.disconnectedCallback();var t=((null==Xt?void 0:Xt.get(b(this,qt)))||0)-1;t>0?Xt.set(b(this,qt),t):(Xt.delete(b(this,qt)),null==(e=this.allDisconnectedCallback)||e.call(this))}};qt=new WeakMap,(Jt=Ht||(Ht={})).Top="top",Jt.Bottom="bottom",function(e){e[e.PaymentRequired=1]="PaymentRequired",e[e.CryptoRequired=2]="CryptoRequired",e[e.Generic=3]="Generic"}(Ft||(Ft={}));var en=new J("clap-button"),tn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.classList.remove(...n),e.offsetWidth,e.classList.add(...n)},nn=e=>{var t=new URL(e);return t.hash="",t.search="",t.href},rn=class extends rt{};rn=w([Fe("clap-config")],rn);var on=class extends rt{constructor(){super(...arguments),this.at=1}};w([Ye({type:Number,reflect:!0})],on.prototype,"at",2),on=w([Fe("clap-text")],on);var sn,an,ln,cn,un,hn,dn,pn,fn=class extends Qt{constructor(){var e;super(...arguments),e=this,sn.set(this,void 0),this.textPlacement=Ht.Bottom,this.noWave=!1,this.messages=!1,this.uiClaps=0,this.bufferedClaps=0,this.loading=!1,this.clapped=!1,this.clicking=!1,this.ready=!1,this.error=null,this.isIntersecting=!1,an.set(this,void 0),ln.set(this,void 0),cn.set(this,new BroadcastChannel("clap-button")),un.set(this,Math.trunc(1e9*Math.random())),hn.set(this,e=>{0===e.button&&(e.preventDefault(),this.clapped=!0,this.clicking=!0,this.bufferedClaps++,tn(this.styleRoot,"clap","ticking"),b(this,dn).call(this),this.uiClaps=this.bufferedClaps)}),dn.set(this,((e,t)=>{var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(()=>e(...i),t)}})(f((function*(){var t,n=e.bufferedClaps;e.bufferedClaps=0,e.loading=!0;var{href:r,id:i,nonce:o}=yield Zt(n,e.canonical),{claps:s}=yield Gt(n,r,e.parentHref,i,o);e.loading=!1,e.clicking=!1,e.styleRoot.classList.remove("ticking"),tn(e.styleRoot,"clap"),b(e,cn).postMessage({btnId:b(e,un),claps:n,totalClaps:s,href:r}),setTimeout(()=>{e.uiClaps=s},250);var a=null!=(t=yield en.get(r))?t:{claps:0};yield en.set(r,g(g({},a),{claps:a.claps+n}))})),3e3)),pn.set(this,e=>{var{data:{href:t,claps:n,btnId:r}}=e;r!==b(this,un)&&[t,nn(t)].includes(this.canonical)&&(this.clapped=!0,this.uiClaps+=n,tn(this.styleRoot,"clap"))})}get canonical(){var e=this.href||this.url||"",t=S(this,an,b(this,an)||this.ownerDocument.head.querySelector("link[rel=canonical]")),n=null!=t?new URL(t.href):this.ownerDocument.location;return new URL(e,n.origin).href}get parentHref(){return nn(this.canonical)}get referrer(){var e=new URLSearchParams(this.ownerDocument.location.search);return e.get("referrer")||e.get("referer")||this.ownerDocument.referrer}connectedCallback(){var e=this;if(super.connectedCallback(),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){b(this,cn).addEventListener("message",b(this,pn)),fn.intersectionObserver.observe(this);var t=this.ownerDocument.querySelector("clap-config");S(this,sn,new MutationObserver(()=>{var e,n=Array.from(null!=(e=null==t?void 0:t.querySelectorAll("clap-text"))?e:[]);S(this,ln,new Map(null==n?void 0:n.map(e=>[e.at,e.innerHTML]).sort((e,t)=>{var[n]=e,[r]=t;return r-n})))})),t&&b(this,sn).observe(t,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),f((function*(){e.loading=!0,e.clapped=null!=(yield en.get(e.canonical));try{var{claps:t}=yield Kt(e.canonical,e.parentHref,e.referrer);e.loading=!1,e.ready=!0,e.uiClaps=t}catch(t){e.loading=!1,e.ready=!1,e.error=402===t.status?1:3}}))()}else this.error=2}disconnectedCallback(){super.disconnectedCallback(),fn.intersectionObserver.unobserve(this),b(this,sn).disconnect(),b(this,cn).removeEventListener("message",b(this,pn))}get connectedCountKey(){return this.parentHref}allDisconnectedCallback(){(e=>{$t.delete(e)})(this.parentHref)}render(){var e,t,n=Oe(r||(r=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" id="hand-svg">\n <g class="flat">\n <path d="M57.0443547 6.86206897C57.6058817 6.46227795 57.7389459 5.67962382 57.3416215 5.11431557 56.9442971 4.54900731 56.1672933 4.41483804 55.6055588 4.81504702L52.4950525 7.030721C51.9335255 7.43051202 51.8004613 8.21316614 52.1977857 8.7784744 52.4404567 9.12371996 52.8251182 9.30825496 53.2153846 9.30825496 53.4640757 9.30825496 53.7152578 9.23343783 53.9338485 9.07753396L57.0443547 6.86206897zM48.8035059 6.1414838C48.94778 6.19623824 49.0959982 6.22215256 49.2415177 6.22215256 49.7455426 6.22215256 50.2198824 5.91201672 50.4075424 5.40898642L51.7485642 1.81818182C51.9906124 1.17011494 51.664906.447021944 51.0209664.203343783 50.3772345-.0405433647 49.6587706.287774295 49.4167224.93584117L48.0757006 4.52664577C47.83386 5.17471264 48.1595664 5.89780564 48.8035059 6.1414838zM58.5931726 11.6219436C58.5846615 11.6219436 58.5761504 11.6219436 58.5674317 11.6219436L54.7579749 11.6541275C54.0702341 11.6681296 53.5240687 12.1985371 53.5379772 12.8909091 53.551678 13.5745037 54.1065621 14.1297806 54.7828855 14.1297806 54.7913966 14.1297806 54.7999077 14.1297806 54.8086265 14.1297806L58.6180833 14.0643678C59.305824 14.0501567 59.8519894 13.4934169 59.838081 12.8010449 59.8243801 12.1174504 59.269496 11.6219436 58.5931726 11.6219436z"/>\n <path d="M37.1910045 6.68944619C37.7313574 6.14566353 38.4431784 5.8737722 39.155207 5.8737722 39.967916 5.8737722 40.7808327 6.22800418 41.3380002 6.93667712 42.2214969 8.06039707 42.0666359 9.69111808 41.0600392 10.7042842L39.777765 11.9949843C39.5801407 12.1276907 39.3877061 12.2695925 39.2075193 12.430303 39.0619998 11.5985371 38.7167801 10.7954023 38.1668781 10.0961338 37.4907623 9.23636364 36.588375 8.62424242 35.5772114 8.31410658L37.1910045 6.68944619zM28.5289586 3.66394984C29.0691039 3.12016719 29.7811325 2.84827586 30.4931611 2.84827586 31.3060777 2.84848485 32.1187868 3.20271682 32.6759543 3.91138976 33.559451 5.03510972 33.40459 6.66562173 32.3979933 7.67878788L17.6760235 22.3467085 17.6276554 20.6499478C17.6149925 19.014629 16.8595779 17.554441 15.6854573 16.5945664L28.5289586 3.66394984zM.624996757 36.9889537C.491717597 36.554099.508245877 35.7327064.906400646 35.2666667L3.45579518 32.2829676C3.45662553 32.2819923 4.33763118 25.8376176 6.09881213 12.9498433 6.09881213 11.4271682 7.33624726 10.1814002 8.84873717 10.1814002 10.3612271 10.1814002 11.5988698 11.4271682 11.5988698 12.9498433L11.6704878 15.4649948C9.18191673 15.8089864 7.24428555 17.9170324 7.14921001 20.492581L4.62804751 38.9475444 3.8946373 39.8060606C3.04504924 39.4926018 2.3776139 39.1458968 1.89233128 38.7659456 1.16440735 38.1960189.758275917 37.4238085.624996757 36.9889537z"/>\n <path d="M49.6070811,36.8942529 L42.4182909,44.1316614 C36.2784454,50.3128527 29.8604313,55.2743992 24.2225349,56.5113898 C24.0512744,56.5492163 23.8901857,56.6217346 23.7511014,56.7293626 L20.5013032,59.2417973 C20.2908084,59.4045977 20.1673015,59.6181154 19.5026647,59.6181154 C18.8380279,59.6181154 13.0160695,55.8303982 10.3595306,53.2846814 C7.96626306,50.9912532 3.77432047,43.9549368 4.44453927,43.0079415 L6.99372621,40.0244514 C6.99469496,40.0233368 7.87570061,33.578962 9.63674317,20.6913271 C9.63674317,19.168652 10.8743859,17.922675 12.3868758,17.922675 C13.8993657,17.922675 15.1368008,19.168652 15.1368008,20.6913271 L15.2667512,25.2522466 C15.2883404,26.0100313 15.907577,26.5034483 16.5519317,26.5034483 C16.8662207,26.5034483 17.1867374,26.3857889 17.4464306,26.1245559 L32.0670972,11.4054336 C32.6074501,10.861442 33.3190635,10.5897597 34.0312997,10.5897597 C34.8440088,10.5897597 35.6569254,10.9439916 36.214093,11.6526646 C37.0975897,12.7763845 36.942521,14.4071055 35.9359243,15.4202717 L25.8641449,25.5598746 C25.3412294,26.0865204 25.3412294,26.9398119 25.8641449,27.4660397 C26.1288202,27.7324974 26.4757006,27.8658307 26.822581,27.8658307 C27.1694614,27.8658307 27.5165494,27.7324974 27.7810172,27.4660397 L40.7291431,14.43093 C41.2692884,13.8869383 41.9811094,13.615256 42.6933456,13.615256 C43.5060547,13.615465 44.3189713,13.969697 44.8761389,14.6783699 C45.7596356,15.8018809 45.6045669,17.4326019 44.5979702,18.445768 L31.7106677,31.4198537 C31.1806943,31.953605 31.1806943,32.8183908 31.7106677,33.3521421 C31.9718141,33.615047 32.31392,33.7464995 32.656441,33.7464995 C32.9985469,33.7464995 33.3408603,33.615047 33.6020067,33.3521421 L43.7346096,23.1515152 C44.2749625,22.6075235 44.9867835,22.3358412 45.6988121,22.3358412 C46.5115212,22.3358412 47.3244378,22.6900731 47.8816054,23.3989551 C48.7651021,24.522466 48.6100334,26.153187 47.6034367,27.1663532 L37.5667397,37.2708464 C37.0245185,37.8165099 37.0245185,38.7017764 37.5667397,39.2474399 C37.8334909,39.5161964 38.161896,39.6422153 38.4900934,39.6422153 C38.8184984,39.6422153 39.1469035,39.5161964 39.3972552,39.2639498 L45.6195133,32.999791 C46.1802099,32.4353187 46.93085,32.1368861 47.678999,32.1368861 C48.2741552,32.1368861 48.8676508,32.3258098 49.361919,32.7197492 C50.682182,33.7717868 50.7639719,35.7297806 49.6070811,36.8942529 Z"/>\n </g>\n <g class="outline">\n <path d="M57.1428763 6.63333333C57.6856856 6.24686869 57.8143144 5.49030303 57.4302341 4.94383838 57.0461538 4.39737374 56.2950502 4.26767677 55.7520401 4.65454545L52.7452174 6.79636364C52.202408 7.18282828 52.0737793 7.93939394 52.4578595 8.48585859 52.6924415 8.81959596 53.0642809 8.9979798 53.4415385 8.9979798 53.6819398 8.9979798 53.9247492 8.92565657 54.1360535 8.77494949L57.1428763 6.63333333zM49.1767224 5.93676768C49.3161873 5.98969697 49.4594649 6.01474747 49.6001338 6.01474747 50.0873579 6.01474747 50.5458863 5.71494949 50.727291 5.22868687L52.023612 1.75757576C52.257592 1.13111111 51.9427425.432121212 51.3202676.196565657 50.6979933-.0391919192 50.0034783.278181818 49.7694983.904646465L48.4731773 4.37575758C48.239398 5.00222222 48.5542475 5.70121212 49.1767224 5.93676768zM58.6400669 11.2345455C58.6318395 11.2345455 58.623612 11.2345455 58.6151839 11.2345455L54.932709 11.2656566C54.267893 11.2791919 53.7399331 11.7919192 53.7533779 12.4612121 53.7666221 13.1220202 54.30301 13.6587879 54.9567893 13.6587879 54.9650167 13.6587879 54.9732441 13.6587879 54.9816722 13.6587879L58.6641472 13.5955556C59.3289632 13.5818182 59.8569231 13.0436364 59.8434783 12.3743434 59.8302341 11.7135354 59.2938462 11.2345455 58.6400669 11.2345455zM51.2107023 29.7280808C50.5940468 29.2365657 49.8640134 28.9020202 49.0922408 28.7448485 49.1432107 28.6519192 49.1907692 28.5573737 49.2357191 28.4614141L49.7189298 27.9749495C51.5799331 26.1012121 51.7753846 23.1519192 50.1732441 21.1141414 49.4169231 20.1523232 48.3670234 19.5131313 47.2009365 19.2745455 47.284214 19.120202 47.3580602 18.9624242 47.4250836 18.8022222 48.6925084 16.9539394 48.6718395 14.469899 47.2681605 12.6844444 46.5116388 11.7220202 45.4613378 11.0808081 44.2946488 10.8426263 45.2578595 9.05959596 45.1348495 6.83737374 43.8481605 5.20121212 42.8753177 3.96383838 41.4182609 3.25393939 39.8502341 3.25393939 38.5946488 3.25393939 37.4101003 3.70565657 36.480602 4.53272727 36.3399331 3.72888889 36.0064214 2.95252525 35.4748495 2.27636364 34.501806 1.0389899 33.0447492.329292929 31.4767224.329090909 30.1141806.329090909 28.8351171.861414141 27.8753177 1.82767677L15.6666221 14.1185859 15.6200669 12.4781818C15.5985953 9.68424242 13.3340468 7.41777778 10.5537793 7.41777778 7.8238796 7.41777778 5.59143813 9.60262626 5.49110368 12.3264646L3.05377926 30.1660606 1.05050167 32.510303C-.150100334 33.9157576.751318148 36.4103164 1.05050167 37.002855 1.3496852 37.5953936 1.66593319 37.9666982 2.51271962 38.8651283 2.8050341 39.1752704 3.3712736 39.6680391 4.21143813 40.3434343 3.2935786 41.7335354 4.72327715 47.298456 9.51045561 52.4226263 15.4436869 58.7735254 20.1888963 59.9262626 21.1316388 59.9262626 21.9056187 59.9262626 22.6703679 59.6646465 23.2846154 59.189899L26.2031438 56.9337374C29.0107023 56.2660606 32.1060201 54.7492929 35.4086288 52.4226263 38.2924415 50.3907071 41.4210702 47.6832323 44.7070234 44.3749495L51.656388 37.3787879C52.681204 36.3470707 53.220602 34.9165657 53.1363211 33.4541414 53.0520401 31.9941414 52.350301 30.6361616 51.2107023 29.7280808zM37.9513043 6.46646465C38.4736455 5.94080808 39.1617391 5.6779798 39.8500334 5.6779798 40.6356522 5.6779798 41.4214716 6.02040404 41.9600669 6.70545455 42.8141137 7.79171717 42.6644147 9.36808081 41.6913712 10.3474747L40.4518395 11.5951515C40.2608027 11.7234343 40.0747826 11.8606061 39.900602 12.0159596 39.7599331 11.2119192 39.4262207 10.4355556 38.8946488 9.75959596 38.2410702 8.92848485 37.3687625 8.33676768 36.3913043 8.0369697L37.9513043 6.46646465zM29.5779933 3.54181818C30.1001338 3.01616162 30.7884281 2.75333333 31.4767224 2.75333333 32.2625418 2.75353535 33.0481605 3.0959596 33.5867559 3.7810101 34.4408027 4.86727273 34.2911037 6.44343434 33.3180602 7.42282828L19.0868227 21.6018182 19.0400669 19.9616162C19.0278261 18.3808081 18.297592 16.9692929 17.1626087 16.0414141L29.5779933 3.54181818zM2.60416353 35.7559886C2.47532701 35.335629 2.49130435 34.5416162 2.87618729 34.0911111L5.34060201 31.2068687C5.34140468 31.2059259 6.19304348 24.9763636 7.89551839 12.5181818 7.89551839 11.0462626 9.09170569 9.8420202 10.5537793 9.8420202 12.0158528 9.8420202 13.2122408 11.0462626 13.2122408 12.5181818L13.2814716 14.9494949C10.8758528 15.2820202 9.00280936 17.319798 8.91090301 19.8094949L6.47377926 37.6492929 5.76481605 38.4791919C4.9435476 38.1761817 4.2983601 37.8410335 3.82925357 37.4737474 3.12559377 36.9228183 2.73300005 36.1763482 2.60416353 35.7559886zM49.9535117 35.6644444L43.0043478 42.6606061C37.0691639 48.6357576 30.8650836 53.4319192 25.4151171 54.6276768 25.2495652 54.6642424 25.0938462 54.7343434 24.959398 54.8383838L21.8179264 57.2670707C21.6144482 57.4244444 21.4950582 57.6308449 20.8525759 57.6308449 20.2100936 57.6308449 14.5822005 53.9693849 12.0142129 51.5085254 9.70072096 49.2915447 5.64850979 42.4897722 6.29638796 41.5743434L8.76060201 38.690303C8.76153846 38.6892256 9.61317726 32.4596633 11.3155184 20.0016162 11.3155184 18.529697 12.5119064 17.3252525 13.9739799 17.3252525 15.4360535 17.3252525 16.6322408 18.529697 16.6322408 20.0016162L16.7578595 24.4105051C16.7787291 25.1430303 17.3773244 25.62 18.0002007 25.62 18.3040134 25.62 18.6138462 25.5062626 18.8648829 25.2537374L32.998194 11.0252525C33.5205351 10.4993939 34.2084281 10.2367677 34.8969231 10.2367677 35.6825418 10.2367677 36.4683612 10.5791919 37.0069565 11.2642424 37.8610033 12.3505051 37.7111037 13.9268687 36.7380602 14.9062626L27.0020067 24.7078788C26.4965217 25.2169697 26.4965217 26.0418182 27.0020067 26.5505051 27.2578595 26.8080808 27.5931773 26.9369697 27.928495 26.9369697 28.2638127 26.9369697 28.5993311 26.8080808 28.8549833 26.5505051L41.371505 13.949899C41.8936455 13.4240404 42.5817391 13.1614141 43.2702341 13.1614141 44.0558528 13.1616162 44.8416722 13.5040404 45.3802676 14.1890909 46.2343144 15.2751515 46.0844147 16.8515152 45.1113712 17.8309091L32.6536455 30.3725253C32.1413378 30.8884848 32.1413378 31.7244444 32.6536455 32.240404 32.906087 32.4945455 33.2367893 32.6216162 33.567893 32.6216162 33.8985953 32.6216162 34.2294983 32.4945455 34.4819398 32.240404L44.2767893 22.379798C44.7991304 21.8539394 45.4872241 21.5913131 46.1755184 21.5913131 46.9611371 21.5913131 47.7469565 21.9337374 48.2855518 22.6189899 49.1395987 23.7050505 48.989699 25.2814141 48.0166555 26.2608081L38.3145151 36.0284848C37.7903679 36.5559596 37.7903679 37.4117172 38.3145151 37.9391919 38.5723746 38.1989899 38.8898328 38.3208081 39.2070903 38.3208081 39.5245485 38.3208081 39.8420067 38.1989899 40.0840134 37.9551515L46.0988629 31.899798C46.6408696 31.3541414 47.3664883 31.0656566 48.089699 31.0656566 48.6650167 31.0656566 49.2387291 31.2482828 49.7165217 31.6290909 50.9927759 32.6460606 51.0718395 34.5387879 49.9535117 35.6644444z"/>\n </g>\n </svg>']))),p=Oe(i||(i=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" id="countdown-svg">\n <g class="countdown">\n <circle cx="50" cy="50" r="49"/>\n </g>\n </svg>\n ']))),f=this.bufferedClaps,v=5+f,m=300*(1-Math.E**(-f/15)),y=Oe(o||(o=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">\n <g class="sparkle">\n ',"\n </g>\n </svg>"])),vt((e=>[...new Array(e).keys()])(v),e=>e,e=>Oe(s||(s=d(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),at({transform:"rotate(".concat(Math.floor(360/v*e),"deg) translateX(10px)")}),at({animationDelay:"".concat(Math.floor(Math.random()*m),"ms")}))));return Ue(a||(a=d(["\n <div \n class=","\n style=",'\n >\n <div class="shockwave"></div>\n <div class=','>\n <div class="count">\n ',"","\n ","\n ","\n ","\n </div>\n </div>\n <div class=",">\n ","\n </div>\n ","\n ","\n ","\n <button\n ?disabled=","\n @mousedown=","\n @touchstart=","\n ></button>\n </div>\n "])),ot({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),at(g({},null!=this.error?{"--clap-button-color":"indianred"}:{})),ot({"count-container":!0,"container-top":this.textPlacement===Ht.Top,"container-bottom":this.textPlacement===Ht.Bottom}),this.clicking?"+":"",this.ready?(e=>null!=e?e.toLocaleString("en"):"")(this.uiClaps):"",1===this.error?Ue(l||(l=d(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Ue(c||(c=d(['<span class="error">Crypto required</span>']))):null,3===this.error?Ue(u||(u=d(['<span class="error">Error</span>']))):null,ot({"count-container":!0,"container-top":this.textPlacement===Ht.Bottom,"container-bottom":this.textPlacement===Ht.Top}),this.messages?Ue(h||(h=d(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?yt(null!=(t=null==(e=[...b(this,ln)].find(e=>{var[t]=e;return this.uiClaps>=t}))?void 0:e[1])?t:""):""):null,n,y,p,this.loading||!this.ready,this.loading||!this.ready?null:b(this,hn),this.loading||!this.ready?null:b(this,hn))}};sn=new WeakMap,an=new WeakMap,ln=new WeakMap,cn=new WeakMap,un=new WeakMap,hn=new WeakMap,dn=new WeakMap,pn=new WeakMap,fn.styles=gt,fn.intersectionObserver=new IntersectionObserver(e=>{e.forEach(e=>e.target.isIntersecting=e.isIntersecting)}),w([function(e,t){return(n,r)=>{var i={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){var o="symbol"==typeof r?Symbol():"__".concat(r);i.get=function(){return void 0===this[o]&&(this[o]=this.renderRoot.querySelector(e)),this[o]}}return void 0!==r?Ke(i,n,r):Ze(i,n)}}(".style-root")],fn.prototype,"styleRoot",2),w([Ye({type:String,reflect:!0,attribute:"text-placement"})],fn.prototype,"textPlacement",2),w([Ye({type:Boolean,reflect:!0})],fn.prototype,"noWave",2),w([Ye({type:Boolean,reflect:!0})],fn.prototype,"messages",2),w([Ye({type:String,reflect:!1})],fn.prototype,"href",2),w([Ye({type:String,reflect:!1})],fn.prototype,"url",2),w([Ye()],fn.prototype,"uiClaps",2),w([Ye()],fn.prototype,"bufferedClaps",2),w([Ye()],fn.prototype,"loading",2),w([Ye()],fn.prototype,"clapped",2),w([Ye()],fn.prototype,"clicking",2),w([Ye()],fn.prototype,"ready",2),w([Ye()],fn.prototype,"error",2),w([Ye()],fn.prototype,"isIntersecting",2),fn=w([Fe("clap-button")],fn)})()}}]);
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{197:function(e,t,n){"use strict";n.r(t),n.d(t,"HyDrawer",(function(){return ae}));var i=n(1),r=n(178),a=n(166);
|
15
|
+
/**
|
16
|
+
* @license
|
17
|
+
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
18
|
+
* This code may only be used under the BSD style license found at
|
19
|
+
* http://polymer.github.io/LICENSE.txt
|
20
|
+
* The complete set of authors may be found at
|
21
|
+
* http://polymer.github.io/AUTHORS.txt
|
22
|
+
* The complete set of contributors may be found at
|
23
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
24
|
+
* Code distributed by Google as part of the polymer project is also
|
25
|
+
* subject to an additional IP rights grant found at
|
26
|
+
* http://polymer.github.io/PATENTS.txt
|
27
|
+
*/
|
28
|
+
class s{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;var t=(e.getAttribute("class")||"").split(/\s+/);for(var n of t)this.classes.add(n)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){var e="";this.classes.forEach(t=>e+=t+" "),this.element.setAttribute("class",e)}}}var c=new WeakMap,o=Object(a.c)(e=>t=>{if(!(t instanceof a.a)||t instanceof a.b||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=t,{element:i}=n,r=c.get(t);void 0===r&&(i.setAttribute("class",n.strings.join(" ")),c.set(t,r=new Set));var o=i.classList||new s(i);for(var l in r.forEach(t=>{t in e||(o.remove(t),r.delete(t))}),e){var b=e[l];b!=r.has(l)&&(b?(o.add(l),r.add(l)):(o.remove(l),r.delete(l)))}"function"==typeof o.commit&&o.commit()}),l=new WeakMap,b=Object(a.c)(e=>t=>{if(!(t instanceof a.a)||t instanceof a.b||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=t,{style:i}=n.element,r=l.get(t);for(var s in void 0===r&&(i.cssText=n.strings.join(" "),l.set(t,r=new Set)),r.forEach(t=>{t in e||(r.delete(t),-1===t.indexOf("-")?i[t]=null:i.removeProperty(t))}),e)r.add(s),-1===s.indexOf("-")?i[s]=e[s]:i.setProperty(s,e[s])}),h=n(202),p=n(212),u=n(184),d=n(162),v=n(97),O=n(205),j=n(173),f=n(25),g=n(199),m=n(98),w=n(99),y=n(4),E=n(16),x=n(3);var k=n(90);var S=n(185),C=n(95),M=n(183),z=n(96),X=n(203),$=n(204);var D=n(164),I=n(70);function T(e,t,n,i){return n*Math.sin(e/i*(Math.PI/2))+t}function W(e){return("ResizeObserver"in window?Object(D.e)(e):Object(I.a)({contentRect:{width:e.clientWidth}})).pipe(Object(f.a)(e=>{var{contentRect:{width:t}}=e;return t}))}var A={fromAttribute:e=>(null!=e?e:"").replace(/[\[\]]/g,"").split(",").map(Number),toAttribute:e=>e.join(",")};var P=n(182),Y=n(201);var R=Math.abs.bind(Math);class B{getStartObservable(){return Object(p.a)([this.$.mouseEvents]).pipe(Object(z.a)(e=>{var[t]=e,n=Object(d.a)(document,"touchstart",{passive:!0}).pipe(Object(C.a)(e=>{var{touches:t}=e;return 1===t.length}),Object(f.a)(e=>{var{touches:t}=e;return t[0]})),i=t?Object(d.a)(document,"mousedown").pipe(Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(n,i)}))}getMoveObservable(e,t){return Object(p.a)([this.$.mouseEvents,this.$.preventDefault]).pipe(Object(z.a)(n=>{var[i,r]=n,a=Object(d.a)(document,"touchmove",{passive:!r}).pipe(Object(f.a)(e=>(e.touches[0].event=e,e.touches[0]))),s=i?Object(d.a)(document,"mousemove",{passive:!r}).pipe(Object(D.l)(Object(u.a)(e.pipe(Object(P.a)(!0)),t.pipe(Object(P.a)(!1)))),Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(a,s)}))}getEndObservable(){return Object(p.a)([this.$.mouseEvents]).pipe(Object(z.a)(e=>{var[t]=e,n=Object(d.a)(document,"touchend",{passive:!0}).pipe(Object(C.a)(e=>{var{touches:t}=e;return 0===t.length}),Object(f.a)(e=>e.changedTouches[0])),i=t?Object(d.a)(document,"mouseup",{passive:!0}).pipe(Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(n,i)}))}getIsSlidingObservable(e,t,n){return this.getIsSlidingObservableInner(e,t).pipe(Object(Y.a)(1),Object(M.a)(void 0),(i=()=>n,Object(y.b)((function(e,t){var n,r,a=!1,s=!1,c=!1,o=function(){return c&&s&&(t.complete(),!0)},l=function(){return r||(r=new j.a,i(r).subscribe(new x.a(t,(function(){n?b():a=!0}),void 0,(function(){s=!0,o()})))),r},b=function i(){c=!1,n=e.subscribe(new x.a(t,void 0,void 0,(function(){c=!0,!o()&&l().next()}))),a&&(n.unsubscribe(),n=null,a=!1,i())};b()}))));var i}getIsSlidingObservableInner(e,t){return this.threshold?e.pipe(Object(m.a)(t),(n=e=>{var[{clientX:t,clientY:n},{clientX:i,clientY:r}]=e;return R(r-n)<this.threshold&&R(i-t)<this.threshold},Object(y.b)((function(e,t){var i=!1,r=0;e.subscribe(new x.a(t,(function(e){return(i||(i=!n(e,r++)))&&t.next(e)})))}))),Object(f.a)(e=>{var[{clientX:t,clientY:n},{clientX:i,clientY:r}]=e;return R(i-t)>=R(r-n)})):e.pipe(Object(m.a)(t),Object(f.a)(e=>{var[{clientX:t,clientY:n,event:i},{clientX:r,clientY:a}]=e,s=R(r-t)>=R(a-n);return this.noScroll&&s&&i&&i.preventDefault(),s}));var n}}var _,F=Math.min.bind(Math),J=Math.max.bind(Math);class N{calcIsInRange(e,t){var{clientX:n}=e;switch(this.side){case"left":var[i,r]=this.range;return n>i&&(t||n<r);case"right":var a=window.innerWidth-this.range[0],s=window.innerWidth-this.range[1];return n<a&&(t||n>s);default:throw Error()}}calcIsSwipe(e,t,n,i,r){var{clientX:a}=e,{clientX:s}=t;return s!==a||n>0&&n<i}calcWillOpen(e,t,n,i,r){switch(this.side){case"left":return r>.15||!(r<-.15)&&n>=i/2;case"right":return-r>.15||!(-r<-.15)&&n<=-i/2;default:throw Error()}}calcTranslateX(e,t,n,i){var{clientX:r}=e,{clientX:a}=t;switch(this.side){case"left":return J(0,F(i,n+(r-a)));case"right":return F(0,J(-i,n+(r-a)));default:throw Error()}}}class U{updateDOM(e,t){var n=e/t*("left"===this.side?1:-1)||0;this.translateX=e,this.opacity=n,this.updater.updateDOM(e,n)}}class H{constructor(e){this.parent=e}static getUpdaterForPlatform(e){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new V(e):new L(e)}get contentEl(){return this.parent.contentEl}get scrimEl(){return this.parent.scrimEl}}class L extends H{constructor(e){super(e)}updateDOM(e,t){this.contentEl.style.transform="translate(".concat(e,"px, 0px)"),this.scrimEl.style.opacity="".concat(t)}}class V extends H{constructor(e){super(e),this.tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),this.ovalue=CSS.number(1)}updateDOM(e,t){this.tvalue[0].x.value=e,this.ovalue.value=t,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}var q,G,K,Q,Z,ee,te,ne,ie=Object(r.b)(_||(q=["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"],G||(G=q.slice(0)),_=Object.freeze(Object.defineProperties(q,{raw:{value:Object.freeze(G)}}))));function re(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}
|
29
|
+
/**
|
30
|
+
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
31
|
+
*
|
32
|
+
* This program is free software: you can redistribute it and/or modify
|
33
|
+
* it under the terms of the GNU General Public License as published by
|
34
|
+
* the Free Software Foundation, either version 3 of the License, or
|
35
|
+
* (at your option) any later version.
|
36
|
+
*
|
37
|
+
* This program is distributed in the hope that it will be useful,
|
38
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
39
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
40
|
+
* GNU General Public License for more details.
|
41
|
+
*
|
42
|
+
* You should have received a copy of the GNU General Public License
|
43
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
44
|
+
*
|
45
|
+
* @license
|
46
|
+
* @nocompile
|
47
|
+
*/
|
48
|
+
var ae=class extends(Object(D.b)(D.a,[B,U,N])){constructor(){super(...arguments),this.opened=!1,this.side="left",this.persistent=!1,this.threshold=10,this.noScroll=!1,this.mouseEvents=!1,this.range=[0,100],this.willChange=!1,Z.set(this,Object(D.f)()),ee.set(this,void 0),te.set(this,void 0),ne.set(this,void 0),this.upgrade=()=>{var e,t=this.getDrawerWidth(),n=this.$.persistent.pipe(Object(f.a)(e=>!e)),r=this.getStartObservable().pipe(Object(D.h)(n),Object(g.a)()),a=Object(h.a)(()=>Object(i.c)(this,ee).pipe(Object(f.a)(e=>0!==e))),s=r.pipe(Object(m.a)(a),Object(f.a)(e=>this.calcIsInRange(...e)),Object(w.a)(e=>{e&&(this.willChange=!0,this.fireEvent("prepare"))}),Object(g.a)()),c=this.getEndObservable().pipe(Object(D.h)(n,s),Object(w.a)(()=>{this.mouseEvents&&(this.grabbing=!1)}),Object(g.a)()),o=this.getMoveObservable(r,c).pipe(Object(D.h)(n,s),Object(g.a)()),l=this.getIsSlidingObservable(o,r,c).pipe(Object(w.a)(e=>{this.isSliding=e,e&&this.mouseEvents&&(this.grabbing=!0)})),b=Object(i.d)(this,ee,Object(h.a)(()=>{var e=Object(p.a)([this.$.opened,this.$.side,t]).pipe(Object(f.a)(e=>{var[t,n,i]=e;return t?i*("left"===n?1:-1):0})),n=o.pipe(Object(D.h)(l),Object(w.a)(()=>this.scrimClickable=!1),Object(w.a)(e=>{var{event:t}=e;return t&&this.noScroll&&t.preventDefault()}),Object(m.a)(r,Object(i.c)(this,te),t),Object(f.a)(e=>this.calcTranslateX(...e)));return Object(u.a)(Object(i.c)(this,ne),e,n)}).pipe(Object(g.a)()));Object(i.d)(this,te,b.pipe((e=r,Object(y.b)((function(t,n){var i=!1,r=null;t.subscribe(new x.a(n,(function(e){i=!0,r=e}))),e.subscribe(new x.a(n,(function(){if(i){i=!1;var e=r;r=null,n.next(e)}}),void 0,E.a))})))));var O,j=b.pipe((void 0===O&&(O=k.a),Object(f.a)((function(e){return{value:e,timestamp:O.now()}}))),Object(S.a)(),Object(C.a)(e=>{var[{timestamp:t},{timestamp:n}]=e;return n-t>0}),Object(f.a)(e=>{var[{value:t,timestamp:n},{value:i,timestamp:r}]=e;return(i-t)/(r-n)}),Object(M.a)(0)),I=c.pipe(Object(m.a)(r,b,t,j),Object(C.a)(e=>this.calcIsSwipe(...e)),Object(f.a)(e=>this.calcWillOpen(...e))),W=this.animateTo$.pipe(Object(w.a)(()=>{this.willChange=!0,this.fireEvent("prepare")}));Object(i.d)(this,ne,Object(u.a)(I,W).pipe(Object(m.a)(b,t),Object(z.a)(e=>{var t,[n,i,a]=e,s="left"===this.side?1:-1,c=(n?a*s:0)-i,o=Math.ceil(200+.15*a);return Object(D.m)(T,i,c,o).pipe(Object(X.a)(()=>{this.transitioned(n)}),Object($.a)(r),Object($.a)(this.$.side.pipe((t=1,Object(C.a)((function(e,n){return t<=n}))))),Object(g.a)())}))),b.pipe(Object(m.a)(t),Object(w.a)(e=>{this.updateDOM(...e);var{translateX:t,opacity:n}=this;this.fireEvent("move",{detail:{translateX:t,opacity:n},bubbles:!1})})).subscribe(),Object(d.a)(this.scrimEl,"click").pipe(Object(w.a)(()=>this.close())).subscribe(),n.pipe(Object(w.a)(e=>{this.scrimEl.style.display=e?"block":"none"})).subscribe(),this.$.mouseEvents.pipe(Object(z.a)(e=>e?r.pipe(Object(m.a)(s)):v.a),Object(C.a)(e=>{var[t,n]=e;return n&&null!=t.event}),Object(w.a)(e=>{var[{event:t}]=e;return t&&t.preventDefault()})).subscribe(),this.fireEvent("init",{detail:this.opened}),Object(i.c)(this,Z).resolve(this)},this.transitioned=e=>{this.opened=this.scrimClickable=e,this.willChange=!1,this.fireEvent("transitioned",{detail:e})}}get initialized(){return Object(i.c)(this,Z)}getDrawerWidth(){var e=W(this.contentEl).pipe(Object(w.a)(e=>this.fireEvent("content-width-change",{detail:e}))),t=W(this.peekEl).pipe(Object(w.a)(e=>this.fireEvent("peek-width-change",{detail:e})));return Object(p.a)([e,t]).pipe(Object(f.a)(e=>{var[t,n]=e;return t-n}),Object(g.a)())}connectedCallback(){super.connectedCallback(),this.$={opened:new O.a(this.opened),side:new O.a(this.side),persistent:new O.a(this.persistent),preventDefault:new O.a(this.noScroll),mouseEvents:new O.a(this.mouseEvents)},this.scrimClickable=this.opened,this.animateTo$=new j.a,this.updater=H.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}render(){return Object(r.d)(K||(K=re(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n '])),b({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(r.d)(Q||(Q=re(['<div class="grabbing-screen full-screen"></div>']))):null,o({wrapper:!0,"full-height":!0,[this.side]:!0,grab:this.mouseEvents,grabbing:this.mouseEvents&&this.grabbing}),b({willChange:this.willChange?"transform":""}))}open(){this.animateTo$.next(!0)}close(){this.animateTo$.next(!1)}toggle(){this.animateTo$.next(!this.opened)}};Z=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,ae.styles=ie,Object(i.e)([Object(r.f)(".scrim")],ae.prototype,"scrimEl",void 0),Object(i.e)([Object(r.f)(".wrapper")],ae.prototype,"contentEl",void 0),Object(i.e)([Object(r.f)(".peek")],ae.prototype,"peekEl",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ae.prototype,"opened",void 0),Object(i.e)([Object(r.e)({type:String,reflect:!0})],ae.prototype,"side",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ae.prototype,"persistent",void 0),Object(i.e)([Object(r.e)({type:Number,reflect:!0})],ae.prototype,"threshold",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ae.prototype,"noScroll",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ae.prototype,"mouseEvents",void 0),Object(i.e)([Object(r.e)({reflect:!0,converter:A,hasChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>e!==t[n])}})],ae.prototype,"range",void 0),Object(i.e)([Object(r.e)()],ae.prototype,"scrimClickable",void 0),Object(i.e)([Object(r.e)()],ae.prototype,"grabbing",void 0),Object(i.e)([Object(r.e)()],ae.prototype,"willChange",void 0),Object(i.e)([Object(r.e)()],ae.prototype,"open",null),Object(i.e)([Object(r.e)()],ae.prototype,"close",null),Object(i.e)([Object(r.e)()],ae.prototype,"toggle",null),ae=Object(i.e)([Object(r.c)("hy-drawer")],ae)},212:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n(1),r=n(2),a=Array.isArray,s=Object.getPrototypeOf,c=Object.prototype,o=Object.keys;function l(e){if(1===e.length){var t=e[0];if(a(t))return{args:t,keys:null};if((i=t)&&"object"==typeof i&&s(i)===c){var n=o(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var i;return{args:e,keys:null}}var b=n(40),h=n(11),p=n(20),u=n(91),d=n(27);function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object(d.c)(e),i=Object(d.b)(e),a=l(e),s=a.args,c=a.keys,o=new r.a(j(s,n,c?function(e){for(var t={},n=0;n<e.length;n++)t[c[n]]=e[n];return t}:p.a));return i?o.pipe(Object(u.a)(i)):o}var O=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r._next=n,r.shouldComplete=i,r}return Object(i.f)(t,e),t.prototype._complete=function(){this.shouldComplete()?e.prototype._complete.call(this):this.unsubscribe()},t}(b.b);function j(e,t,n){return void 0===n&&(n=p.a),function(i){f(t,(function(){for(var r=e.length,a=new Array(r),s=r,c=e.map((function(){return!1})),o=!0,l=function(r){f(t,(function(){Object(h.a)(e[r],t).subscribe(new O(i,(function(e){a[r]=e,o&&(c[r]=!0,o=!c.every(p.a)),o||i.next(n(a.slice()))}),(function(){return 0==--s})))}),i)},b=0;b<r;b++)l(b)}),i)}}function f(e,t,n){e?n.add(e.schedule(t)):t()}},213:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(53),r=n(4),a=n(3),s=n(11),c={leading:!0,trailing:!1};var o=n(93);function l(e,t,n){void 0===t&&(t=i.b),void 0===n&&(n=c);var l,b,h,p,u,d=Object(o.a)(e,t);return l=function(){return d},p=(h=void 0===(b=n)?c:b).leading,u=h.trailing,Object(r.b)((function(e,t){var n=!1,i=null,r=null,c=!1,o=function(){null==r||r.unsubscribe(),r=null,u&&(d(),c&&t.complete())},b=function(){r=null,c&&t.complete()},h=function(e){return r=Object(s.c)(l(e)).subscribe(new a.a(t,o,void 0,b))},d=function(){n&&(t.next(i),!c&&h(i)),n=!1,i=null};e.subscribe(new a.a(t,(function(e){n=!0,i=e,(!r||r.closed)&&(p?d():h(e))}),void 0,(function(){c=!0,(!(u&&n&&r)||r.closed)&&t.complete()})))}))}}}]);
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.3 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{164:function(t,e,r){"use strict";r.d(e,"g",(function(){return i.a})),r.d(e,"m",(function(){return i.c})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"e",(function(){return l.b})),r.d(e,"d",(function(){return l.a})),r.d(e,"l",(function(){return d.c})),r.d(e,"h",(function(){return d.b})),r.d(e,"c",(function(){return d.a})),r.d(e,"i",(function(){return h.b})),r.d(e,"j",(function(){return h.c})),r.d(e,"k",(function(){return h.d})),r.d(e,"f",(function(){return h.a}));var n,i=r(58),s=r(1),o=r(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{164:function(t,e,r){"use strict";r.d(e,"g",(function(){return i.a})),r.d(e,"m",(function(){return i.c})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"e",(function(){return l.b})),r.d(e,"d",(function(){return l.a})),r.d(e,"l",(function(){return d.c})),r.d(e,"h",(function(){return d.b})),r.d(e,"c",(function(){return d.a})),r.d(e,"i",(function(){return h.b})),r.d(e,"j",(function(){return h.c})),r.d(e,"k",(function(){return h.d})),r.d(e,"f",(function(){return h.a}));var n,i=r(58),s=r(1),o=r(178),a=r(173);class u extends o.a{constructor(){super(...arguments),this.$connected=new a.a,n.set(this,void 0),this.$={}}connectedCallback(){super.connectedCallback(),this.$connected.next(!0)}disconnectedCallback(){super.disconnectedCallback(),this.$connected.next(!1)}firstUpdated(){Object(s.d)(this,n,!0)}updated(t){if(!Object(s.c)(this,n))for(var e of t.keys())e in this.$&&this.$[e].next(this[e]);Object(s.d)(this,n,!1)}fireEvent(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}function c(t,e){return e.forEach(e=>{Object.getOwnPropertyNames(e.prototype).forEach(r=>{t.prototype[r]=e.prototype[r]})}),t}n=new WeakMap;var l=r(73),d=r(57),h=r(42)},165:function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return h})),r.d(e,"e",(function(){return p})),r.d(e,"c",(function(){return f})),r.d(e,"f",(function(){return v})),r.d(e,"g",(function(){return b})),r.d(e,"d",(function(){return y}));var n=r(175),i=r(168),s=r(176),o=r(177),a=r(171),u=r(167),c=t=>null===t||!("object"==typeof t||"function"==typeof t),l=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class d{constructor(t,e,r){this.dirty=!0,this.element=t,this.name=e,this.strings=r,this.parts=[];for(var n=0;n<r.length-1;n++)this.parts[n]=this._createPart()}_createPart(){return new h(this)}_getValue(){var t=this.strings,e=t.length-1,r=this.parts;if(1===e&&""===t[0]&&""===t[1]){var n=r[0].value;if("symbol"==typeof n)return String(n);if("string"==typeof n||!l(n))return n}for(var i="",s=0;s<e;s++){i+=t[s];var o=r[s];if(void 0!==o){var a=o.value;if(c(a)||!l(a))i+="string"==typeof a?a:String(a);else for(var u of a)i+="string"==typeof u?u:String(u)}}return i+=t[e]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class h{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===s.a||c(t)&&t===this.value||(this.value=t,Object(n.b)(t)||(this.committer.dirty=!0))}commit(){for(;Object(n.b)(this.value);){var t=this.value;this.value=s.a,t(this)}this.value!==s.a&&this.committer.commit()}}class p{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Object(u.c)()),this.endNode=t.appendChild(Object(u.c)())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Object(u.c)()),t.__insert(this.endNode=Object(u.c)())}insertAfterPart(t){t.__insert(this.startNode=Object(u.c)()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null!==this.startNode.parentNode){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}var e=this.__pendingValue;e!==s.a&&(c(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):l(e)?this.__commitIterable(e):e===s.b?(this.value=s.b,this.clear()):this.__commitText(e))}}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){var e=this.startNode.nextSibling,r="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=r:this.__commitNode(document.createTextNode(r)),this.value=t}__commitTemplateResult(t){var e=this.options.templateFactory(t);if(this.value instanceof o.a&&this.value.template===e)this.value.update(t.values);else{var r=new o.a(e,t.processor,this.options),n=r._clone();r.update(t.values),this.__commitNode(n),this.value=r}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,r=this.value,n=0;for(var i of t)void 0===(e=r[n])&&(e=new p(this.options),r.push(e),0===n?e.appendIntoPart(this):e.insertAfterPart(r[n-1])),e.setValue(i),e.commit(),n++;n<r.length&&(r.length=n,this.clear(e&&e.endNode))}clear(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}class f{constructor(t,e,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=r}setValue(t){this.__pendingValue=t}commit(){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=s.a}}}class v extends d{constructor(t,e,r){super(t,e,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new b(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class b extends h{}var _=!1;(()=>{try{var t={get capture(){return _=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class y{constructor(t,e,r){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=r,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=this.__pendingValue,r=this.value,i=null==e||null!=r&&(e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive),o=null!=e&&(null==r||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=m(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=s.a}}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}var m=t=>t&&(_?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},166:function(t,e,r){"use strict";r.d(e,"c",(function(){return o.a})),r.d(e,"a",(function(){return n.b})),r.d(e,"b",(function(){return n.g})),r.d(e,"d",(function(){return a}));var n=r(165);
|
15
15
|
/**
|
16
16
|
* @license
|
17
17
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -24,7 +24,7 @@
|
|
24
24
|
* Code distributed by Google as part of the polymer project is also
|
25
25
|
* subject to an additional IP rights grant found at
|
26
26
|
* http://polymer.github.io/PATENTS.txt
|
27
|
-
*/var i=new class{handleAttributeExpressions(t,e,r,i){var s=e[0];return"."===s?new n.f(t,e.slice(1),r).parts:"@"===s?[new n.d(t,e.slice(1),i.eventContext)]:"?"===s?[new n.c(t,e.slice(1),r)]:new n.a(t,e,r).parts}handleTextExpression(t){return new n.e(t)}},s=r(
|
27
|
+
*/var i=new class{handleAttributeExpressions(t,e,r,i){var s=e[0];return"."===s?new n.f(t,e.slice(1),r).parts:"@"===s?[new n.d(t,e.slice(1),i.eventContext)]:"?"===s?[new n.c(t,e.slice(1),r)]:new n.a(t,e,r).parts}handleTextExpression(t){return new n.e(t)}},s=r(171),o=r(175);r(168),r(176),r(174),r(172),r(177),r(167);
|
28
28
|
/**
|
29
29
|
* @license
|
30
30
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -66,7 +66,7 @@ var n="{{lit-".concat(String(Math.random()).slice(2),"}}"),i="\x3c!--".concat(n,
|
|
66
66
|
* subject to an additional IP rights grant found at
|
67
67
|
* http://polymer.github.io/PATENTS.txt
|
68
68
|
*/
|
69
|
-
var n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==r;){var i=e.nextSibling;t.insertBefore(e,n),e=i}},s=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==r;){var n=e.nextSibling;t.removeChild(e),e=n}}},
|
69
|
+
var n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==r;){var i=e.nextSibling;t.insertBefore(e,n),e=i}},s=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==r;){var n=e.nextSibling;t.removeChild(e),e=n}}},169:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=Array.isArray;function i(t){return 1===t.length&&n(t[0])?t[0]:t}},170:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(2),i=new n.a((function(t){return t.complete()}))},171:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return u}));var n=r(168),i=r(167),s=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),o=" ".concat(i.f," ");class a{constructor(t,e,r,n){this.strings=t,this.values=e,this.type=r,this.processor=n}getHTML(){for(var t=this.strings.length-1,e="",r=!1,n=0;n<t;n++){var s=this.strings[n],a=s.lastIndexOf("\x3c!--");r=(a>-1||r)&&-1===s.indexOf("--\x3e",a+1);var u=i.e.exec(s);e+=null===u?s+(r?o:i.g):s.substr(0,u.index)+u[1]+u[2]+i.b+u[3]+i.f}return e+=this.strings[t]}getTemplateElement(){var t=document.createElement("template"),e=this.getHTML();return void 0!==s&&(e=s.createHTML(e)),t.innerHTML=e,t}}class u extends a{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var t=super.getTemplateElement(),e=t.content,r=e.firstChild;return e.removeChild(r),Object(n.c)(e,r.firstChild),t}}},172:function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return s}));var n=r(167);
|
70
70
|
/**
|
71
71
|
* @license
|
72
72
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -79,7 +79,7 @@ var n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.c
|
|
79
79
|
* Code distributed by Google as part of the polymer project is also
|
80
80
|
* subject to an additional IP rights grant found at
|
81
81
|
* http://polymer.github.io/PATENTS.txt
|
82
|
-
*/function i(t){var e=s.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},s.set(t.type,e));var r=e.stringsArray.get(t.strings);if(void 0!==r)return r;var i=t.strings.join(n.f);return void 0===(r=e.keyString.get(i))&&(r=new n.a(t,t.getTemplateElement()),e.keyString.set(i,r)),e.stringsArray.set(t.strings,r),r}var s=new Map},
|
82
|
+
*/function i(t){var e=s.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},s.set(t.type,e));var r=e.stringsArray.get(t.strings);if(void 0!==r)return r;var i=t.strings.join(n.f);return void 0===(r=e.keyString.get(i))&&(r=new n.a(t,t.getTemplateElement()),e.keyString.set(i,r)),e.stringsArray.set(t.strings,r),r}var s=new Map},173:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(1),i=r(2),s=r(7),o=r(74),a=Object(o.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),u=r(39),c=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(n.f)(e,t),e.prototype.lift=function(t){var e=new l(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new a},e.prototype.next=function(t){var e,r;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var s=Object(n.j)(i),o=s.next();!o.done;o=s.next()){o.value.next(t)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}},e.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var e=this.observers;e.length;)e.shift().error(t)}},e.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this.hasError,n=this.isStopped,i=this.observers;return r||n?s.a:(i.push(t),new s.b((function(){return Object(u.a)(e.observers,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,r=this.thrownError,n=this.isStopped;e?t.error(r):n&&t.complete()},e.prototype.asObservable=function(){var t=new i.a;return t.source=this,t},e.create=function(t,e){return new l(t,e)},e}(i.a),l=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Object(n.f)(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:s.a},e}(c)},174:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n=r(168),i=r(165),s=r(172),o=new WeakMap,a=(t,e,r)=>{var a=o.get(e);void 0===a&&(Object(n.b)(e,e.firstChild),o.set(e,a=new i.e(Object.assign({templateFactory:s.b},r))),a.appendInto(e)),a.setValue(t),a.commit()}},175:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return s}));
|
83
83
|
/**
|
84
84
|
* @license
|
85
85
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -93,7 +93,7 @@ var n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.c
|
|
93
93
|
* subject to an additional IP rights grant found at
|
94
94
|
* http://polymer.github.io/PATENTS.txt
|
95
95
|
*/
|
96
|
-
var n=new WeakMap,i=t=>function(){var e=t(...arguments);return n.set(e,!0),e},s=t=>"function"==typeof t&&n.has(t)},
|
96
|
+
var n=new WeakMap,i=t=>function(){var e=t(...arguments);return n.set(e,!0),e},s=t=>"function"==typeof t&&n.has(t)},176:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}));
|
97
97
|
/**
|
98
98
|
* @license
|
99
99
|
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
@@ -107,7 +107,7 @@ var n=new WeakMap,i=t=>function(){var e=t(...arguments);return n.set(e,!0),e},s=
|
|
107
107
|
* subject to an additional IP rights grant found at
|
108
108
|
* http://polymer.github.io/PATENTS.txt
|
109
109
|
*/
|
110
|
-
var n={},i={}},
|
110
|
+
var n={},i={}},177:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(168),i=r(167);
|
111
111
|
/**
|
112
112
|
* @license
|
113
113
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -121,7 +121,7 @@ var n={},i={}},178:function(t,e,r){"use strict";r.d(e,"a",(function(){return s})
|
|
121
121
|
* subject to an additional IP rights grant found at
|
122
122
|
* http://polymer.github.io/PATENTS.txt
|
123
123
|
*/
|
124
|
-
class s{constructor(t,e,r){this.__parts=[],this.template=t,this.processor=e,this.options=r}update(t){var e=0;for(var r of this.__parts)void 0!==r&&r.setValue(t[e]),e++;for(var n of this.__parts)void 0!==n&&n.commit()}_clone(){for(var t,e=n.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),r=[],s=this.template.parts,o=document.createTreeWalker(e,133,null,!1),a=0,u=0,c=o.nextNode();a<s.length;)if(t=s[a],Object(i.d)(t)){for(;u<t.index;)u++,"TEMPLATE"===c.nodeName&&(r.push(c),o.currentNode=c.content),null===(c=o.nextNode())&&(o.currentNode=r.pop(),c=o.nextNode());if("node"===t.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(c.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(c,t.name,t.strings,this.options));a++}else this.__parts.push(void 0),a++;return n.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}},
|
124
|
+
class s{constructor(t,e,r){this.__parts=[],this.template=t,this.processor=e,this.options=r}update(t){var e=0;for(var r of this.__parts)void 0!==r&&r.setValue(t[e]),e++;for(var n of this.__parts)void 0!==n&&n.commit()}_clone(){for(var t,e=n.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),r=[],s=this.template.parts,o=document.createTreeWalker(e,133,null,!1),a=0,u=0,c=o.nextNode();a<s.length;)if(t=s[a],Object(i.d)(t)){for(;u<t.index;)u++,"TEMPLATE"===c.nodeName&&(r.push(c),o.currentNode=c.content),null===(c=o.nextNode())&&(o.currentNode=r.pop(),c=o.nextNode());if("node"===t.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(c.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(c,t.name,t.strings,this.options));a++}else this.__parts.push(void 0),a++;return n.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}},178:function(t,e,r){"use strict";r.d(e,"c",(function(){return x})),r.d(e,"e",(function(){return P})),r.d(e,"f",(function(){return O})),r.d(e,"d",(function(){return d.d})),r.d(e,"b",(function(){return U})),r.d(e,"a",(function(){return R}));var n=r(168),i=r(167);function s(t,e){for(var{element:{content:r},parts:n}=t,i=document.createTreeWalker(r,133,null,!1),s=a(n),o=n[s],u=-1,c=0,l=[],d=null;i.nextNode();){u++;var h=i.currentNode;for(h.previousSibling===d&&(d=null),e.has(h)&&(l.push(h),null===d&&(d=h)),null!==d&&c++;void 0!==o&&o.index===u;)o.index=null!==d?-1:o.index-c,o=n[s=a(n,s)]}l.forEach(t=>t.parentNode.removeChild(t))}var o=t=>{for(var e=11===t.nodeType?0:1,r=document.createTreeWalker(t,133,null,!1);r.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=e+1;r<t.length;r++){var n=t[r];if(Object(i.d)(n))return r}return-1};var u=r(174),c=r(172),l=r(177),d=r(166),h=(t,e)=>"".concat(t,"--").concat(e),p=!0;void 0===window.ShadyCSS?p=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),p=!1);var f=t=>e=>{var r=h(e.type,t),n=c.a.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},c.a.set(r,n));var s=n.stringsArray.get(e.strings);if(void 0!==s)return s;var o=e.strings.join(i.f);if(void 0===(s=n.keyString.get(o))){var a=e.getTemplateElement();p&&window.ShadyCSS.prepareTemplateDom(a,t),s=new i.a(e,a),n.keyString.set(o,s)}return n.stringsArray.set(e.strings,s),s},v=["html","svg"],b=new Set,_=(t,e,r)=>{b.add(t);var n=r?r.element:document.createElement("template"),i=e.querySelectorAll("style"),{length:u}=i;if(0!==u){for(var l=document.createElement("style"),d=0;d<u;d++){var p=i[d];p.parentNode.removeChild(p),l.textContent+=p.textContent}(t=>{v.forEach(e=>{var r=c.a.get(h(e,t));void 0!==r&&r.keyString.forEach(t=>{var{element:{content:e}}=t,r=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{r.add(t)}),s(t,r)})})})(t);var f=n.content;r?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:n},parts:i}=t;if(null!=r)for(var s=document.createTreeWalker(n,133,null,!1),u=a(i),c=0,l=-1;s.nextNode();){l++;var d=s.currentNode;for(d===r&&(c=o(e),r.parentNode.insertBefore(e,r));-1!==u&&i[u].index===l;){if(c>0){for(;-1!==u;)i[u].index+=c,u=a(i,u);return}u=a(i,u)}}else n.appendChild(e)}(r,l,f.firstChild):f.insertBefore(l,f.firstChild),window.ShadyCSS.prepareTemplateStyles(n,t);var _=f.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==_)e.insertBefore(_.cloneNode(!0),e.firstChild);else if(r){f.insertBefore(l,f.firstChild);var y=new Set;y.add(l),s(r,y)}}else window.ShadyCSS.prepareTemplateStyles(n,t)};function y(t,e,r,n,i,s,o){try{var a=t[s](o),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,i)}window.JSCompiler_renameProperty=(t,e)=>t;var m={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},g=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:g};class w extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var t=[];return this._classProperties.forEach((e,r)=>{var n=this._attributeNameForProperty(r,e);void 0!==n&&(this._attributeToPropertyMap.set(n,r),t.push(n))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"==typeof t?Symbol():"__".concat(t),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(n){var i=this[t];this[e]=n,this.requestUpdateInternal(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||S}static finalize(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,r=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(var n of r)this.createProperty(n,e[n])}}static _attributeNameForProperty(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:g)(t,e)}static _propertyValueFromAttribute(t,e){var r=e.type,n=e.converter||m,i="function"==typeof n?n:n.fromAttribute;return i?i(t,r):t}static _propertyValueToAttribute(t,e){if(void 0!==e.reflect){var r=e.type,n=e.converter;return(n&&n.toAttribute||m.toAttribute)(t,r)}}initialize(){this._updateState=0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){var r=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S,n=this.constructor,i=n._attributeNameForProperty(t,r);if(void 0!==i){var s=n._propertyValueToAttribute(e,r);if(void 0===s)return;this._updateState=8|this._updateState,null==s?this.removeAttribute(i):this.setAttribute(i,s),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(!(8&this._updateState)){var r=this.constructor,n=r._attributeToPropertyMap.get(t);if(void 0!==n){var i=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(t,e,r){var n=!0;if(void 0!==t){var i=this.constructor;r=r||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}_enqueueUpdate(){var t,e=this;return(t=function*(){e._updateState=4|e._updateState;try{yield e._updatePromise}catch(t){}var t=e.performUpdate();return null!=t&&(yield t),!e._hasRequestedUpdate},function(){var e=this,r=arguments;return new Promise((function(n,i){var s=t.apply(e,r);function o(t){y(s,n,i,o,a,"next",t)}function a(t){y(s,n,i,o,a,"throw",t)}o(void 0)}))})()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}w.finalized=!0;
|
125
125
|
/**
|
126
126
|
* @license
|
127
127
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
@@ -160,4 +160,4 @@ var T=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow
|
|
160
160
|
* subject to an additional IP rights grant found at
|
161
161
|
* http://polymer.github.io/PATENTS.txt
|
162
162
|
*/
|
163
|
-
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var M={};class R extends w{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=(t,r)=>t.reduceRight((t,r)=>Array.isArray(r)?e(r,t):(t.add(r),t),r),r=e(t,new Set),n=[];r.forEach(t=>n.unshift(t)),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map(t=>{if(t instanceof CSSStyleSheet&&!T){var e=Array.prototype.slice.call(t.cssRules).reduce((t,e)=>t+e.cssText,"");return new k(String(e),A)}return t})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?T?this.renderRoot.adoptedStyleSheets=t.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){var e=this.render();super.update(t),e!==M&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{var e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){return M}}R.finalized=!0,R.render=(t,e,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");var i=r.scopeName,s=u.a.has(e),o=p&&11===e.nodeType&&!!e.host,a=o&&!b.has(i),c=a?document.createDocumentFragment():e;if(Object(u.b)(t,c,Object.assign({templateFactory:f(i)},r)),a){var d=u.a.get(c);u.a.delete(c);var h=d.value instanceof l.a?d.value.template:void 0;_(i,c,h),Object(n.b)(e,e.firstChild),e.appendChild(c),u.a.set(e,d)}!s&&o&&window.ShadyCSS.styleElement(e.host)}},182:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(t){return Object(n.b)((function(e,r){e.subscribe(new i.a(r,(function(){return r.next(t)})))}))}},183:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(75),i=r(27),s=r(4);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object(i.c)(t);return Object(s.b)((function(e,i){(r?Object(n.a)(t,e,r):Object(n.a)(t,e)).subscribe(i)}))}},184:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(72),i=r(30),s=r(
|
163
|
+
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var M={};class R extends w{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=(t,r)=>t.reduceRight((t,r)=>Array.isArray(r)?e(r,t):(t.add(r),t),r),r=e(t,new Set),n=[];r.forEach(t=>n.unshift(t)),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map(t=>{if(t instanceof CSSStyleSheet&&!T){var e=Array.prototype.slice.call(t.cssRules).reduce((t,e)=>t+e.cssText,"");return new k(String(e),A)}return t})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?T?this.renderRoot.adoptedStyleSheets=t.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){var e=this.render();super.update(t),e!==M&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{var e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){return M}}R.finalized=!0,R.render=(t,e,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");var i=r.scopeName,s=u.a.has(e),o=p&&11===e.nodeType&&!!e.host,a=o&&!b.has(i),c=a?document.createDocumentFragment():e;if(Object(u.b)(t,c,Object.assign({templateFactory:f(i)},r)),a){var d=u.a.get(c);u.a.delete(c);var h=d.value instanceof l.a?d.value.template:void 0;_(i,c,h),Object(n.b)(e,e.firstChild),e.appendChild(c),u.a.set(e,d)}!s&&o&&window.ShadyCSS.styleElement(e.host)}},182:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(t){return Object(n.b)((function(e,r){e.subscribe(new i.a(r,(function(){return r.next(t)})))}))}},183:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(75),i=r(27),s=r(4);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object(i.c)(t);return Object(s.b)((function(e,i){(r?Object(n.a)(t,e,r):Object(n.a)(t,e)).subscribe(i)}))}},184:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(72),i=r(30),s=r(169),o=r(11),a=r(170),u=r(27);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object(u.c)(t),c=Object(u.a)(t,1/0),l=Object(s.a)(t);return l.length?1===l.length?Object(o.c)(l[0]):Object(n.a)(c)(Object(i.a)(l,r)):a.a}},185:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(){return Object(n.b)((function(t,e){var r,n=!1;t.subscribe(new i.a(e,(function(t){var i=r;r=t,n&&e.next([i,t]),n=!0})))}))}},199:function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(1),i=r(2),s=r(7),o=r(4),a=r(3);function u(){return Object(o.b)((function(t,e){var r=null;t._refCount++;var n=new a.a(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)r=null;else{var n=t._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),e.unsubscribe()}}));t.subscribe(n),n.closed||(r=t.connect())}))}var c=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,n}return Object(n.f)(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._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new s.b;var r=this.getSubject();e.add(this.source.subscribe(new a.a(r,void 0,(function(e){t._teardown(),r.error(e)}),(function(){t._teardown(),r.complete()}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=s.b.EMPTY)}return e},e.prototype.refCount=function(){return u()(this)},e}(i.a),l=r(0);var d=r(173);function h(){return new d.a}function p(){return function(t){return u()((e=h,n=Object(l.a)(e)?e:function(){return e},Object(l.a)(r)?Object(o.b)((function(t,e){var i=n();r(i).subscribe(e).add(t.subscribe(i))})):function(t){var e=new c(t,n);return Object(o.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=n,e})(t));var e,r,n}}},200:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(t,e){return t=null!=t?t:o,Object(n.b)((function(r,n){var s,o=!0;r.subscribe(new i.a(n,(function(r){(o&&(s=r,1)||!t(s,s=e?e(r):r))&&n.next(r),o=!1})))}))}function o(t,e){return t===e}},201:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(170),i=r(4),s=r(3);function o(t){return t<=0?function(){return n.a}:Object(i.b)((function(e,r){var n=0;e.subscribe(new s.a(r,(function(e){++n<=t&&(r.next(e),t<=n&&r.complete())})))}))}},202:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2),i=r(11);function s(t){return new n.a((function(e){Object(i.c)(t()).subscribe(e)}))}},203:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(4);function i(t){return Object(n.b)((function(e,r){e.subscribe(r),r.add(t)}))}},204:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(4),i=r(3),s=r(11),o=r(16);function a(t){return Object(n.b)((function(e,r){Object(s.c)(t).subscribe(new i.a(r,(function(){return r.complete()}),void 0,o.a)),!r.closed&&e.subscribe(r)}))}},205:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(1),i=function(t){function e(e){var r=t.call(this)||this;return r._value=e,r}return Object(n.f)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,r=this._value;if(t)throw e;return this._throwIfClosed(),r},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r(173).a)}}]);
|