jekyll-theme-hydejack 9.1.2 → 9.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/body/breadcrumbs.html +10 -10
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/scripts.html +2 -2
  5. data/_includes/components/dingbat.html +2 -8
  6. data/_includes/components/post.html +3 -3
  7. data/_includes/head/index.html +1 -1
  8. data/_includes/head/links-static.html +5 -2
  9. data/_includes/head/meta-static.html +1 -5
  10. data/_includes/head/meta.html +5 -1
  11. data/_includes/head/styles-inline.html +4 -2
  12. data/_includes/head/styles-no-inline.html +4 -2
  13. data/_includes/header.txt +1 -1
  14. data/_includes/scripts/load-js.min.js +1 -1
  15. data/_includes/templates/index.html +0 -20
  16. data/_layouts/compress.html +1 -1
  17. data/_layouts/list.html +1 -1
  18. data/_layouts/plain.html +1 -1
  19. data/_sass/_tippy.scss +5 -1
  20. data/_sass/hydejack/__link__/_mark-external.scss +1 -1
  21. data/_sass/hydejack/_mark-external.pre.scss +1 -1
  22. data/_sass/pooleparty/__inline__/_posts.scss +1 -1
  23. data/_sass/pooleparty/_posts.pre.scss +1 -1
  24. data/assets/css/{hydejack-9.1.2.css → hydejack-9.1.6.css} +0 -0
  25. data/assets/js/LEGACY-clap-button-hydejack-9.1.6.js +14 -0
  26. data/assets/js/LEGACY-drawer-hydejack-9.1.6.js +14 -0
  27. data/assets/js/{LEGACY-shadydom-hydejack-9.1.2.js → LEGACY-fetch-hydejack-9.1.6.js} +2 -2
  28. data/assets/js/LEGACY-hydejack-9.1.6.js +27 -0
  29. data/assets/js/LEGACY-navbar-hydejack-9.1.6.js +14 -0
  30. data/assets/js/LEGACY-push-state-hydejack-9.1.6.js +14 -0
  31. data/assets/js/LEGACY-resize-observer-hydejack-9.1.6.js +14 -0
  32. data/assets/js/{shadydom-hydejack-9.1.2.js → LEGACY-shadydom-hydejack-9.1.6.js} +2 -2
  33. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.6.js +14 -0
  34. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.6.js +48 -0
  35. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.6.js +214 -0
  36. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.6.js +14 -0
  37. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.2.js → LEGACY-vendors~intersection-observer-hydejack-9.1.6.js} +2 -2
  38. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.6.js +34 -0
  39. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.6.js +155 -0
  40. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.2.js → LEGACY-vendors~webanimations-hydejack-9.1.6.js} +2 -2
  41. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.6.js +34 -0
  42. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.2.js → LEGACY-webcomponents-hydejack-9.1.6.js} +2 -2
  43. data/assets/js/clap-button-hydejack-9.1.6.js +14 -0
  44. data/assets/js/drawer-hydejack-9.1.6.js +14 -0
  45. data/assets/js/{fetch-hydejack-9.1.2.js → fetch-hydejack-9.1.6.js} +2 -2
  46. data/assets/js/hydejack-9.1.6.js +28 -0
  47. data/assets/js/navbar-hydejack-9.1.6.js +14 -0
  48. data/assets/js/push-state-hydejack-9.1.6.js +14 -0
  49. data/assets/js/resize-observer-hydejack-9.1.6.js +14 -0
  50. data/assets/js/{LEGACY-fetch-hydejack-9.1.2.js → shadydom-hydejack-9.1.6.js} +2 -2
  51. data/assets/js/vendors~clap-button-hydejack-9.1.6.js +14 -0
  52. data/assets/js/vendors~drawer-hydejack-9.1.6.js +48 -0
  53. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.2.js → vendors~drawer~push-state-hydejack-9.1.6.js} +12 -12
  54. data/assets/js/vendors~fetch-hydejack-9.1.6.js +14 -0
  55. data/assets/js/{vendors~intersection-observer-hydejack-9.1.2.js → vendors~intersection-observer-hydejack-9.1.6.js} +2 -2
  56. data/assets/js/vendors~push-state-hydejack-9.1.6.js +34 -0
  57. data/assets/js/vendors~shadydom-hydejack-9.1.6.js +146 -0
  58. data/assets/js/{vendors~webanimations-hydejack-9.1.2.js → vendors~webanimations-hydejack-9.1.6.js} +2 -2
  59. data/assets/js/{webcomponents-hydejack-9.1.2.js → webcomponents-hydejack-9.1.6.js} +2 -2
  60. data/assets/version.json +2 -2
  61. metadata +39 -39
  62. data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +0 -14
  63. data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +0 -14
  64. data/assets/js/LEGACY-hydejack-9.1.2.js +0 -27
  65. data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +0 -14
  66. data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +0 -14
  67. data/assets/js/LEGACY-resize-observer-hydejack-9.1.2.js +0 -14
  68. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +0 -182
  69. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +0 -48
  70. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +0 -214
  71. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +0 -14
  72. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +0 -34
  73. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +0 -155
  74. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.2.js +0 -34
  75. data/assets/js/clap-button-hydejack-9.1.2.js +0 -14
  76. data/assets/js/drawer-hydejack-9.1.2.js +0 -14
  77. data/assets/js/hydejack-9.1.2.js +0 -28
  78. data/assets/js/navbar-hydejack-9.1.2.js +0 -14
  79. data/assets/js/push-state-hydejack-9.1.2.js +0 -14
  80. data/assets/js/resize-observer-hydejack-9.1.2.js +0 -14
  81. data/assets/js/vendors~clap-button-hydejack-9.1.2.js +0 -222
  82. data/assets/js/vendors~drawer-hydejack-9.1.2.js +0 -48
  83. data/assets/js/vendors~fetch-hydejack-9.1.2.js +0 -14
  84. data/assets/js/vendors~push-state-hydejack-9.1.2.js +0 -34
  85. data/assets/js/vendors~shadydom-hydejack-9.1.2.js +0 -146
@@ -1,214 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{308:function(t,e,n){"use strict";n.d(e,"g",(function(){return o.a})),n.d(e,"m",(function(){return o.c})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return _})),n.d(e,"e",(function(){return w.b})),n.d(e,"d",(function(){return w.a})),n.d(e,"l",(function(){return S.c})),n.d(e,"h",(function(){return S.b})),n.d(e,"c",(function(){return S.a})),n.d(e,"i",(function(){return O.b})),n.d(e,"j",(function(){return O.c})),n.d(e,"k",(function(){return O.d})),n.d(e,"f",(function(){return O.a}));var r,o=n(83),i=n(2),u=n(323),a=n(318);function c(t){return(c="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 s(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=m(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(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 n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?b(t):e}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!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&&d(t,e)}(c,t);var e,n,o,u=y(c);function c(){var t;return f(this,c),(t=u.apply(this,arguments)).$connected=new a.a,r.set(b(t),void 0),t.$={},t}return e=c,(n=[{key:"connectedCallback",value:function(){h(m(c.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){h(m(c.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){Object(i.d)(this,r,!0)}},{key:"updated",value:function(t){if(!Object(i.c)(this,r)){var e,n=s(t.keys());try{for(n.s();!(e=n.n()).done;){var o=e.value;o in this.$&&this.$[o].next(this[o])}}catch(t){n.e(t)}finally{n.f()}}Object(i.d)(this,r,!1)}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&p(e.prototype,n),o&&p(e,o),c}(u.a);function _(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}r=new WeakMap;var w=n(111),S=n(82),O=n(67)},309:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return P})),n.d(e,"f",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"d",(function(){return A}));var r=n(320),o=n(312),i=n(321),u=n(322),a=n(316),c=n(311);function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(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&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(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 n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}function _(t){return(_="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)}
15
- /**
16
- * @license
17
- * Copyright (c) 2017 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
- */var w=function(t){return null===t||!("object"===_(t)||"function"==typeof t)},S=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},O=function(){function t(e,n,r){b(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return g(t,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"===_(r))return String(r);if("string"==typeof r||!S(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var u=n[i];if(void 0!==u){var a=u.value;if(w(a)||!S(a))o+="string"==typeof a?a:String(a);else{var c,s=y(a);try{for(s.s();!(c=s.n()).done;){var l=c.value;o+="string"==typeof l?l:String(l)}}catch(t){s.e(t)}finally{s.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),j=function(){function t(e){b(this,t),this.value=void 0,this.committer=e}return g(t,[{key:"setValue",value:function(t){t===i.a||w(t)&&t===this.value||(this.value=t,Object(r.b)(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Object(r.b)(this.value);){var t=this.value;this.value=i.a,t(this)}this.value!==i.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){b(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return g(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Object(c.c)()),this.endNode=t.appendChild(Object(c.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),t.__insert(this.endNode=Object(c.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}var e=this.__pendingValue;e!==i.a&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):S(e)?this.__commitIterable(e):e===i.b?(this.value=i.b,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof u.a&&this.value.template===e)this.value.update(t.values);else{var n=new u.a(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,u=y(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(a),n.commit(),i++}}catch(t){u.e(t)}finally{u.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(o.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),P=function(){function t(e,n,r){if(b(this,t),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=e,this.name=n,this.strings=r}return g(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.a}}}]),t}(),x=function(t){l(n,t);var e=p(n);function n(t,r,o){var i;return b(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return g(n,[{key:"_createPart",value:function(){return new C(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:s(d(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(O),C=function(t){l(n,t);var e=p(n);function n(){return b(this,n),e.apply(this,arguments)}return n}(j),E=!1;!function(){try{var t={get capture(){return E=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var o=this;b(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return g(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=this.__pendingValue,n=this.value,o=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||o);o&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=T(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),T=function(t){return t&&(E?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},310:function(t,e,n){"use strict";n.d(e,"c",(function(){return a.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return c}));var r=n(309);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
28
- /**
29
- * @license
30
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
31
- * This code may only be used under the BSD style license found at
32
- * http://polymer.github.io/LICENSE.txt
33
- * The complete set of authors may be found at
34
- * http://polymer.github.io/AUTHORS.txt
35
- * The complete set of contributors may be found at
36
- * http://polymer.github.io/CONTRIBUTORS.txt
37
- * Code distributed by Google as part of the polymer project is also
38
- * subject to an additional IP rights grant found at
39
- * http://polymer.github.io/PATENTS.txt
40
- */
41
- var i=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,o){var i=e[0];return"."===i?new r.f(t,e.slice(1),n).parts:"@"===i?[new r.d(t,e.slice(1),o.eventContext)]:"?"===i?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new r.e(t)}}])&&o(e.prototype,n),i&&o(e,i),t}()),u=n(316),a=n(320);n(312),n(321),n(319),n(317),n(322),n(311);
42
- /**
43
- * @license
44
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
45
- * This code may only be used under the BSD style license found at
46
- * http://polymer.github.io/LICENSE.txt
47
- * The complete set of authors may be found at
48
- * http://polymer.github.io/AUTHORS.txt
49
- * The complete set of contributors may be found at
50
- * http://polymer.github.io/CONTRIBUTORS.txt
51
- * Code distributed by Google as part of the polymer project is also
52
- * subject to an additional IP rights grant found at
53
- * http://polymer.github.io/PATENTS.txt
54
- */
55
- "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var c=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];return new u.b(t,n,"html",i)}},311:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return f}));
56
- /**
57
- * @license
58
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
59
- * This code may only be used under the BSD style license found at
60
- * http://polymer.github.io/LICENSE.txt
61
- * The complete set of authors may be found at
62
- * http://polymer.github.io/AUTHORS.txt
63
- * The complete set of contributors may be found at
64
- * http://polymer.github.io/CONTRIBUTORS.txt
65
- * Code distributed by Google as part of the polymer project is also
66
- * subject to an additional IP rights grant found at
67
- * http://polymer.github.io/PATENTS.txt
68
- */
69
- var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),o="\x3c!--".concat(r,"--\x3e"),i=new RegExp("".concat(r,"|").concat(o)),u="$lit$",a=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var o=[],a=[],s=document.createTreeWalker(n.content,133,null,!1),p=0,h=-1,d=0,y=e.strings,v=e.values.length;d<v;){var b=s.nextNode();if(null!==b){if(h++,1===b.nodeType){if(b.hasAttributes()){for(var m=b.attributes,g=m.length,_=0,w=0;w<g;w++)c(m[w].name,u)&&_++;for(;_-- >0;){var S=y[d],O=f.exec(S)[2],j=O.toLowerCase()+u,k=b.getAttribute(j);b.removeAttribute(j);var P=k.split(i);this.parts.push({type:"attribute",index:h,name:O,strings:P}),d+=P.length-1}}"TEMPLATE"===b.tagName&&(a.push(b),s.currentNode=b.content)}else if(3===b.nodeType){var x=b.data;if(x.indexOf(r)>=0){for(var C=b.parentNode,E=x.split(i),A=E.length-1,T=0;T<A;T++){var N=void 0,R=E[T];if(""===R)N=l();else{var V=f.exec(R);null!==V&&c(V[2],u)&&(R=R.slice(0,V.index)+V[1]+V[2].slice(0,-u.length)+V[3]),N=document.createTextNode(R)}C.insertBefore(N,b),this.parts.push({type:"node",index:++h})}""===E[A]?(C.insertBefore(l(),b),o.push(b)):b.data=E[A],d+=A}}else if(8===b.nodeType)if(b.data===r){var U=b.parentNode;null!==b.previousSibling&&h!==p||(h++,U.insertBefore(l(),b)),p=h,this.parts.push({type:"node",index:h}),null===b.nextSibling?b.data="":(o.push(b),h--),d++}else for(var I=-1;-1!==(I=b.data.indexOf(r,I+1));)this.parts.push({type:"node",index:-1}),d++}else s.currentNode=a.pop()}for(var M=0,D=o;M<D.length;M++){var F=D[M];F.parentNode.removeChild(F)}},c=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},s=function(t){return-1!==t.index},l=function(){return document.createComment("")},f=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},312:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i}));
70
- /**
71
- * @license
72
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
73
- * This code may only be used under the BSD style license found at
74
- * http://polymer.github.io/LICENSE.txt
75
- * The complete set of authors may be found at
76
- * http://polymer.github.io/AUTHORS.txt
77
- * The complete set of contributors may be found at
78
- * http://polymer.github.io/CONTRIBUTORS.txt
79
- * Code distributed by Google as part of the polymer project is also
80
- * subject to an additional IP rights grant found at
81
- * http://polymer.github.io/PATENTS.txt
82
- */
83
- var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},i=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}}},314: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}},315:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6),o=new r.a((function(t){return t.complete()}))},316:function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return b}));var r=n(312),o=n(311);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(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 n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}
84
- /**
85
- * @license
86
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
87
- * This code may only be used under the BSD style license found at
88
- * http://polymer.github.io/LICENSE.txt
89
- * The complete set of authors may be found at
90
- * http://polymer.github.io/AUTHORS.txt
91
- * The complete set of contributors may be found at
92
- * http://polymer.github.io/CONTRIBUTORS.txt
93
- * Code distributed by Google as part of the polymer project is also
94
- * subject to an additional IP rights grant found at
95
- * http://polymer.github.io/PATENTS.txt
96
- */var d=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),y=" ".concat(o.f," "),v=function(){function t(e,n,r,o){f(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return h(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],u=i.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===i.indexOf("--\x3e",u+1);var a=o.e.exec(i);e+=null===a?i+(n?y:o.g):i.substr(0,a.index)+a[1]+a[2]+o.b+a[3]+o.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==d&&(e=d.createHTML(e)),t.innerHTML=e,t}}]),t}(),b=function(t){!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&&a(t,e)}(n,t);var e=c(n);function n(){return f(this,n),e.apply(this,arguments)}return h(n,[{key:"getHTML",value:function(){return"<svg>".concat(u(l(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=u(l(n.prototype),"getTemplateElement",this).call(this),e=t.content,o=e.firstChild;return e.removeChild(o),Object(r.c)(e,o.firstChild),t}}]),n}(v)},317:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(311);
97
- /**
98
- * @license
99
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
100
- * This code may only be used under the BSD style license found at
101
- * http://polymer.github.io/LICENSE.txt
102
- * The complete set of authors may be found at
103
- * http://polymer.github.io/AUTHORS.txt
104
- * The complete set of contributors may be found at
105
- * http://polymer.github.io/CONTRIBUTORS.txt
106
- * Code distributed by Google as part of the polymer project is also
107
- * subject to an additional IP rights grant found at
108
- * http://polymer.github.io/PATENTS.txt
109
- */function o(t){var e=i.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},i.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(r.f);return void 0===(n=e.keyString.get(o))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(o,n)),e.stringsArray.set(t.strings,n),n}var i=new Map},318:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(2),o=n(6),i=n(15),u=n(112),a=Object(u.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),c=n(64),s=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 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,n;if(this._throwIfClosed(),!this.isStopped){var o=this.observers.slice();try{for(var i=Object(r.j)(o),u=i.next();!u.done;u=i.next()){u.value.next(t)}}catch(t){e={error:t}}finally{try{u&&!u.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(c.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 l(t,e)},e}(o.a),l=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}(s)},319:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(312),o=n(309),i=n(317),u=new WeakMap,a=function(t,e,n){var a=u.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),u.set(e,a=new o.e(Object.assign({templateFactory:i.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},320:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));
110
- /**
111
- * @license
112
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
113
- * This code may only be used under the BSD style license found at
114
- * http://polymer.github.io/LICENSE.txt
115
- * The complete set of authors may be found at
116
- * http://polymer.github.io/AUTHORS.txt
117
- * The complete set of contributors may be found at
118
- * http://polymer.github.io/CONTRIBUTORS.txt
119
- * Code distributed by Google as part of the polymer project is also
120
- * subject to an additional IP rights grant found at
121
- * http://polymer.github.io/PATENTS.txt
122
- */
123
- var r=new WeakMap,o=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},i=function(t){return"function"==typeof t&&r.has(t)}},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));
124
- /**
125
- * @license
126
- * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
127
- * This code may only be used under the BSD style license found at
128
- * http://polymer.github.io/LICENSE.txt
129
- * The complete set of authors may be found at
130
- * http://polymer.github.io/AUTHORS.txt
131
- * The complete set of contributors may be found at
132
- * http://polymer.github.io/CONTRIBUTORS.txt
133
- * Code distributed by Google as part of the polymer project is also
134
- * subject to an additional IP rights grant found at
135
- * http://polymer.github.io/PATENTS.txt
136
- */
137
- var r={},o={}},322:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(312),o=n(311);function i(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||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 u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
138
- /**
139
- * @license
140
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
141
- * This code may only be used under the BSD style license found at
142
- * http://polymer.github.io/LICENSE.txt
143
- * The complete set of authors may be found at
144
- * http://polymer.github.io/AUTHORS.txt
145
- * The complete set of contributors may be found at
146
- * http://polymer.github.io/CONTRIBUTORS.txt
147
- * Code distributed by Google as part of the polymer project is also
148
- * subject to an additional IP rights grant found at
149
- * http://polymer.github.io/PATENTS.txt
150
- */
151
- var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}var e,n,a;return e=t,(n=[{key:"update",value:function(t){var e,n=0,r=u(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=u(this.__parts);try{for(a.s();!(i=a.n()).done;){var c=i.value;void 0!==c&&c.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],u=this.template.parts,a=document.createTreeWalker(e,133,null,!1),c=0,s=0,l=a.nextNode();c<u.length;)if(t=u[c],Object(o.d)(t)){for(;s<t.index;)s++,"TEMPLATE"===l.nodeName&&(n.push(l),a.currentNode=l.content),null===(l=a.nextNode())&&(a.currentNode=n.pop(),l=a.nextNode());if("node"===t.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(l.previousSibling),this.__parts.push(f)}else{var p;(p=this.__parts).push.apply(p,i(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}c++}else this.__parts.push(void 0),c++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&s(e.prototype,n),a&&s(e,a),t}()},323:function(t,e,n){"use strict";n.d(e,"c",(function(){return I})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return D})),n.d(e,"d",(function(){return f.d})),n.d(e,"b",(function(){return J})),n.d(e,"a",(function(){return rt}));var r=n(312),o=n(311);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=a(r),u=r[i],c=-1,s=0,l=[],f=null;o.nextNode();){c++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===c;)u.index=null!==f?-1:u.index-s,u=r[i=a(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var c=n(319),s=n(317),l=n(322),f=n(310);function p(t){return(p="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)}
152
- /**
153
- * @license
154
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
155
- * This code may only be used under the BSD style license found at
156
- * http://polymer.github.io/LICENSE.txt
157
- * The complete set of authors may be found at
158
- * http://polymer.github.io/AUTHORS.txt
159
- * The complete set of contributors may be found at
160
- * http://polymer.github.io/CONTRIBUTORS.txt
161
- * Code distributed by Google as part of the polymer project is also
162
- * subject to an additional IP rights grant found at
163
- * http://polymer.github.io/PATENTS.txt
164
- */var h=function(t,e){return"".concat(t,"--").concat(e)},d=!0;void 0===window.ShadyCSS?d=!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."),d=!1);var y=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var a=e.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,t),i=new o.a(e,a),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},v=["html","svg"],b=new Set,m=function(t,e,n){b.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),c=o.length;if(0!==c){for(var l=document.createElement("style"),f=0;f<c;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){v.forEach((function(e){var n=s.a.get(h(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),i(t,n)}))}))}(t);var d=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),c=a(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==c&&o[c].index===l;){if(s>0){for(;-1!==c;)o[c].index+=s,c=a(o,c);return}c=a(o,c)}}else r.appendChild(e)}(n,l,d.firstChild):d.insertBefore(l,d.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){d.insertBefore(l,d.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function g(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||_(t)||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 _(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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)}function O(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){var e="function"==typeof Map?new Map:void 0;return(P=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return x(t,arguments,A(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function x(t,e,n){return(x=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function C(){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}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
165
- /**
166
- * @license
167
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
168
- * This code may only be used under the BSD style license found at
169
- * http://polymer.github.io/LICENSE.txt
170
- * The complete set of authors may be found at
171
- * http://polymer.github.io/AUTHORS.txt
172
- * The complete set of contributors may be found at
173
- * http://polymer.github.io/CONTRIBUTORS.txt
174
- * Code distributed by Google as part of the polymer project is also
175
- * subject to an additional IP rights grant found at
176
- * http://polymer.github.io/PATENTS.txt
177
- */window.JSCompiler_renameProperty=function(t,e){return t};var T={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(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}},N=function(t,e){return e!==t&&(e==e||t==t)},R={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:N},V=function(t){!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&&E(t,e)}(s,t);var e,n,r,o,i,u,a,c=(e=s,n=C(),function(){var t,r=A(e);if(n){var o=A(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return k(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this)).initialize(),t}return r=s,o=[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(u=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,a,"next",t)}function a(t){O(o,n,r,i,a,"throw",t)}i(void 0)}))},function(){return a.apply(this,arguments)})},{key:"performUpdate",value:function(){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))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===S(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||R}},{key:"finalize",value:function(){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,n=this.properties,r=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}([].concat(g(Object.getOwnPropertyNames(n)),g("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||T,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||T.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}}],o&&j(r.prototype,o),i&&j(r,i),s}(P(HTMLElement));function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
178
- /**
179
- * @license
180
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
181
- * This code may only be used under the BSD style license found at
182
- * http://polymer.github.io/LICENSE.txt
183
- * The complete set of authors may be found at
184
- * http://polymer.github.io/AUTHORS.txt
185
- * The complete set of contributors may be found at
186
- * http://polymer.github.io/CONTRIBUTORS.txt
187
- * Code distributed by Google as part of the polymer project is also
188
- * subject to an additional IP rights grant found at
189
- * http://polymer.github.io/PATENTS.txt
190
- */V.finalized=!0;var I=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function M(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function D(t,e){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var i="symbol"===U(r)?Symbol():"__".concat(r);o.get=function(){return void 0===this[i]&&(this[i]=this.renderRoot.querySelector(t)),this[i]}}return void 0!==r?F(o,n,r):q(o,n)}}var F=function(t,e,n){Object.defineProperty(e,n,t)},q=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};var z=Element.prototype;z.msMatchesSelector||z.webkitMatchesSelector;function L(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
191
- /**
192
- @license
193
- Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
194
- This code may only be used under the BSD style license found at
195
- http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
196
- http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
197
- found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
198
- part of the polymer project is also subject to an additional IP rights grant
199
- found at http://polymer.github.io/PATENTS.txt
200
- */
201
- var H=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$=Symbol(),B=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==$)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(H?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}])&&L(e.prototype,n),r&&L(e,r),t}(),W=function(t){if(t instanceof B)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},J=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];var o=n.reduce((function(e,n,r){return e+W(n)+t[r+1]}),t[0]);return new B(o,$)};function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return(Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=et(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Z(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 n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
202
- /**
203
- * @license
204
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
205
- * This code may only be used under the BSD style license found at
206
- * http://polymer.github.io/LICENSE.txt
207
- * The complete set of authors may be found at
208
- * http://polymer.github.io/AUTHORS.txt
209
- * The complete set of contributors may be found at
210
- * http://polymer.github.io/CONTRIBUTORS.txt
211
- * Code distributed by Google as part of the polymer project is also
212
- * subject to an additional IP rights grant found at
213
- * http://polymer.github.io/PATENTS.txt
214
- */(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var nt={},rt=function(t){!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&&X(t,e)}(i,t);var e,n,r,o=Z(i);function i(){return G(this,i),o.apply(this,arguments)}return e=i,r=[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!H){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new B(String(e),$)}return t}))}}}],(n=[{key:"initialize",value:function(){Q(et(i.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?H?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){Q(et(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();Q(et(i.prototype),"update",this).call(this,t),n!==nt&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return nt}}])&&K(e.prototype,n),r&&K(e,r),i}(V);rt.finalized=!0,rt.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=c.a.has(e),u=d&&11===e.nodeType&&!!e.host,a=u&&!b.has(o),s=a?document.createDocumentFragment():e;if(Object(c.b)(t,s,Object.assign({templateFactory:y(o)},n)),a){var f=c.a.get(s);c.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),c.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)}},326:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);function i(t){return Object(r.b)((function(e,n){e.subscribe(new o.a(n,(function(){return n.next(t)})))}))}},327:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(113),o=n(48),i=n(13);function u(){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)}))}},328:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(110),o=n(56),i=n(314),u=n(17),a=n(315),c=n(48);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(c.c)(t),s=Object(c.a)(t,1/0),l=Object(i.a)(t);return l.length?1===l.length?Object(u.c)(l[0]):Object(r.a)(s)(Object(o.a)(l,n)):a.a}},329:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);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})))}))}},346:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(2),o=n(6),i=n(15),u=n(13),a=n(10);function c(){return Object(u.b)((function(t,e){var n=null;t._refCount++;var r=new a.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 s=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 a.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 c()(this)},e}(o.a),l=n(1);var f=n(318);function p(){return new f.a}function h(){return function(t){return c()((e=p,r=Object(l.a)(e)?e:function(){return e},Object(l.a)(n)?Object(u.b)((function(t,e){var o=r();n(o).subscribe(e).add(t.subscribe(o))})):function(t){var e=new s(t,r);return Object(u.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=r,e})(t));var e,n,r}}},347:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13),o=n(10);function i(t,e){return t=null!=t?t:u,Object(r.b)((function(n,r){var i,u=!0;n.subscribe(new o.a(r,(function(n){(u&&(i=n,1)||!t(i,i=e?e(n):n))&&r.next(n),u=!1})))}))}function u(t,e){return t===e}},348:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(315),o=n(13),i=n(10);function u(t){return t<=0?function(){return r.a}:Object(o.b)((function(e,n){var r=0;e.subscribe(new i.a(n,(function(e){++r<=t&&(n.next(e),t<=r&&n.complete())})))}))}},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(6),o=n(17);function i(t){return new r.a((function(e){Object(o.c)(t()).subscribe(e)}))}},350:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(13);function o(t){return Object(r.b)((function(e,n){e.subscribe(n),n.add(t)}))}},351:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(13),o=n(10),i=n(17),u=n(23);function a(t){return Object(r.b)((function(e,n){Object(i.c)(t).subscribe(new o.a(n,(function(){return n.complete()}),void 0,u.a)),!n.closed&&e.subscribe(n)}))}},352:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),o=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.f)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,n=this._value;if(t)throw e;return this._throwIfClosed(),n},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(n(318).a)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{313: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 n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},340:function(t,e,r){"use strict";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 o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,i="URLSearchParams"in o,s="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),u="FormData"in o,c="ArrayBuffer"in o;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");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,n=b(this);if(n)return n;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),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);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,n,o=(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,o||null==t._bodyInit||(o=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",n=r.toUpperCase(),O.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("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("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),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="statusText"in e?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=o.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,n={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(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){r(new A(o,n))}),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&&o.location.href?o.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"!==n(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,o.fetch||(o.fetch=R,o.Headers=d,o.Request=_,o.Response=A)},341:function(t,e,r){(function(n){var o,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(o=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 n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function o(t){return(o=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,n=o(t);if(e){var i=o(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.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 n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,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],n=0,o=r.length;n<o;n++)if(r[n].callback===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,n=e.length;r<n;r++){var o=e[r];try{o.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}o.options&&o.options.once&&this.removeEventListener(t.type,o.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 n=c(s);function s(){var e;return t(this,s),(e=n.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(o(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,n=e.Request,o=void 0===n?r.Request:n,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!p({fetch:r,Request:o,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=o;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new o(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=o.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 n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var o=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([o,c(t,e)])}return c(t,e)},Request:u}}(t),r=e.fetch,n=e.Request;t.fetch=r,t.Request=n,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:n)})?o.call(e,r,e,t):o)||(t.exports=i)}).call(this,r(313))}}]);
@@ -1,34 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.2 <https://hydejack.com/>
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)}
15
- /**
16
- * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
17
- *
18
- * This program is free software: you can redistribute it and/or modify
19
- * it under the terms of the GNU General Public License as published by
20
- * the Free Software Foundation, either version 3 of the License, or
21
- * (at your option) any later version.
22
- *
23
- * This program is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- * GNU General Public License for more details.
27
- *
28
- * You should have received a copy of the GNU General Public License
29
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
30
- *
31
- * @license
32
- * @nocompile
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(Be(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:"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)}},{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}}])&&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)},353: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))}))}},354: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(314),a=r(315),u=r(10),l=r(48);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}},355:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(46),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()})))}))}}}]);