jekyll-theme-hydejack 9.0.2 → 9.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/scripts.html +2 -2
  5. data/_includes/head/meta-static.html +1 -1
  6. data/_includes/head/styles-inline.html +1 -1
  7. data/_includes/head/styles-no-inline.html +1 -1
  8. data/_includes/header.txt +1 -1
  9. data/_includes/styles/variables.scss +8 -6
  10. data/_layouts/compress.html +1 -1
  11. data/assets/css/{hydejack-9.0.2.css → hydejack-9.0.3.css} +0 -0
  12. data/assets/icons/favicon.ico +0 -0
  13. data/assets/icons/icon-128x128.png +0 -0
  14. data/assets/icons/icon-144x144.png +0 -0
  15. data/assets/icons/icon-152x152.png +0 -0
  16. data/assets/icons/icon-192x192.png +0 -0
  17. data/assets/icons/icon-384x384.png +0 -0
  18. data/assets/icons/icon-512x512.png +0 -0
  19. data/assets/icons/icon-72x72.png +0 -0
  20. data/assets/icons/icon-96x96.png +0 -0
  21. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +1 -1
  22. data/assets/js/LEGACY-drawer-hydejack-9.0.3.js +14 -0
  23. data/assets/js/LEGACY-fetch-hydejack-9.0.2.js +1 -1
  24. data/assets/js/LEGACY-fetch-hydejack-9.0.3.js +14 -0
  25. data/assets/js/LEGACY-hydejack-9.0.2.js +2 -2
  26. data/assets/js/LEGACY-hydejack-9.0.2.js.map +1 -0
  27. data/assets/js/LEGACY-hydejack-9.0.3.js +28 -0
  28. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +1 -1
  29. data/assets/js/LEGACY-navbar-hydejack-9.0.3.js +14 -0
  30. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +1 -1
  31. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js.map +1 -0
  32. data/assets/js/LEGACY-push-state-hydejack-9.0.3.js +14 -0
  33. data/assets/js/LEGACY-resize-observer-hydejack-9.0.2.js +1 -1
  34. data/assets/js/LEGACY-resize-observer-hydejack-9.0.3.js +14 -0
  35. data/assets/js/LEGACY-search-hydejack-9.0.2.js +14 -0
  36. data/assets/js/LEGACY-search-hydejack-9.0.3.js +14 -0
  37. data/assets/js/LEGACY-shadydom-hydejack-9.0.2.js +1 -1
  38. data/assets/js/LEGACY-shadydom-hydejack-9.0.3.js +14 -0
  39. data/assets/js/LEGACY-toc-hydejack-9.0.2.js +14 -0
  40. data/assets/js/LEGACY-toc-hydejack-9.0.3.js +14 -0
  41. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +3 -3
  42. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.3.js +47 -0
  43. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +6 -143
  44. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js.map +1 -0
  45. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.3.js +215 -0
  46. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.2.js +151 -0
  47. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.3.js +151 -0
  48. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +1 -1
  49. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.3.js +14 -0
  50. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +1 -1
  51. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.3.js +14 -0
  52. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +2 -2
  53. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.3.js +33 -0
  54. data/assets/js/LEGACY-vendors~search-hydejack-9.0.2.js +40 -0
  55. data/assets/js/LEGACY-vendors~search-hydejack-9.0.3.js +40 -0
  56. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +1 -1
  57. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.3.js +155 -0
  58. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.2.js +1 -1
  59. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.3.js +14 -0
  60. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.2.js +3 -3
  61. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.3.js +34 -0
  62. data/assets/js/LEGACY-webcomponents-hydejack-9.0.2.js +1 -1
  63. data/assets/js/LEGACY-webcomponents-hydejack-9.0.3.js +14 -0
  64. data/assets/js/drawer-hydejack-9.0.2.js +1 -1
  65. data/assets/js/drawer-hydejack-9.0.3.js +14 -0
  66. data/assets/js/fetch-hydejack-9.0.2.js +1 -1
  67. data/assets/js/fetch-hydejack-9.0.3.js +14 -0
  68. data/assets/js/{hydejack-9.0.2.js → hydejack-9.0.3.js} +3 -3
  69. data/assets/js/navbar-hydejack-9.0.2.js +1 -1
  70. data/assets/js/navbar-hydejack-9.0.3.js +14 -0
  71. data/assets/js/push-state-hydejack-9.0.2.js +1 -1
  72. data/assets/js/push-state-hydejack-9.0.2.js.map +1 -0
  73. data/assets/js/push-state-hydejack-9.0.3.js +14 -0
  74. data/assets/js/resize-observer-hydejack-9.0.2.js +1 -1
  75. data/assets/js/resize-observer-hydejack-9.0.3.js +14 -0
  76. data/assets/js/search-hydejack-9.0.2.js +14 -0
  77. data/assets/js/search-hydejack-9.0.3.js +14 -0
  78. data/assets/js/shadydom-hydejack-9.0.2.js +1 -1
  79. data/assets/js/shadydom-hydejack-9.0.3.js +14 -0
  80. data/assets/js/toc-hydejack-9.0.2.js +14 -0
  81. data/assets/js/toc-hydejack-9.0.3.js +14 -0
  82. data/assets/js/vendors~drawer-hydejack-9.0.2.js +3 -3
  83. data/assets/js/vendors~drawer-hydejack-9.0.3.js +47 -0
  84. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +4 -114
  85. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js.map +1 -0
  86. data/assets/js/vendors~drawer~push-state-hydejack-9.0.3.js +163 -0
  87. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.2.js +124 -0
  88. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.3.js +124 -0
  89. data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +1 -1
  90. data/assets/js/vendors~intersection-observer-hydejack-9.0.3.js +14 -0
  91. data/assets/js/vendors~push-state-hydejack-9.0.2.js +2 -2
  92. data/assets/js/vendors~push-state-hydejack-9.0.3.js +33 -0
  93. data/assets/js/vendors~search-hydejack-9.0.2.js +40 -0
  94. data/assets/js/vendors~search-hydejack-9.0.3.js +40 -0
  95. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +1 -1
  96. data/assets/js/vendors~shadydom-hydejack-9.0.3.js +146 -0
  97. data/assets/js/vendors~webanimations-hydejack-9.0.2.js +1 -1
  98. data/assets/js/vendors~webanimations-hydejack-9.0.3.js +14 -0
  99. data/assets/js/webcomponents-hydejack-9.0.2.js +1 -1
  100. data/assets/js/webcomponents-hydejack-9.0.3.js +14 -0
  101. data/assets/version.json +2 -2
  102. metadata +54 -4
@@ -0,0 +1,151 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{310:function(t,e,n){"use strict";n.d(e,"e",(function(){return a.a})),n.d(e,"g",(function(){return s.b})),n.d(e,"i",(function(){return s.c})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.e})),n.d(e,"c",(function(){return r.g})),n.d(e,"h",(function(){return c.b})),n.d(e,"d",(function(){return l.c})),n.d(e,"f",(function(){return f}));var r=n(311);function i(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)}}
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
+ */
28
+ var o=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,o;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,i){var o=e[0];return"."===o?new r.f(t,e.slice(1),n).parts:"@"===o?[new r.d(t,e.slice(1),i.eventContext)]:"?"===o?[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)}}])&&i(e.prototype,n),o&&i(e,o),t}()),u=n(316),a=n(318),s=n(314),c=(n(319),n(321)),l=(n(317),n(320),n(312));
29
+ /**
30
+ * @license
31
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
32
+ * This code may only be used under the BSD style license found at
33
+ * http://polymer.github.io/LICENSE.txt
34
+ * The complete set of authors may be found at
35
+ * http://polymer.github.io/AUTHORS.txt
36
+ * The complete set of contributors may be found at
37
+ * http://polymer.github.io/CONTRIBUTORS.txt
38
+ * Code distributed by Google as part of the polymer project is also
39
+ * subject to an additional IP rights grant found at
40
+ * http://polymer.github.io/PATENTS.txt
41
+ */
42
+ "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");var f=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",o)}},311:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return N})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return S})),n.d(e,"f",(function(){return j})),n.d(e,"g",(function(){return E})),n.d(e,"d",(function(){return A}));var r=n(318),i=n(314),o=n(319),u=n(320),a=n(316),s=n(312);function c(t,e,n){return(c="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=p(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.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 h(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=p(t);if(e){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(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 p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(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 y(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 y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,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,o=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw o}}}}function y(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 m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(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&&b(t.prototype,e),n&&b(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)}
43
+ /**
44
+ * @license
45
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
46
+ * This code may only be used under the BSD style license found at
47
+ * http://polymer.github.io/LICENSE.txt
48
+ * The complete set of authors may be found at
49
+ * http://polymer.github.io/AUTHORS.txt
50
+ * The complete set of contributors may be found at
51
+ * http://polymer.github.io/CONTRIBUTORS.txt
52
+ * Code distributed by Google as part of the polymer project is also
53
+ * subject to an additional IP rights grant found at
54
+ * http://polymer.github.io/PATENTS.txt
55
+ */var w=function(t){return null===t||!("object"===_(t)||"function"==typeof t)},x=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},O=function(){function t(e,n,r){m(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var i=0;i<r.length-1;i++)this.parts[i]=this._createPart()}return g(t,[{key:"_createPart",value:function(){return new N(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var i=this.parts[r];if(void 0!==i){var o=i.value;if(w(o)||!x(o))n+="string"==typeof o?o:String(o);else{var u,a=v(o);try{for(a.s();!(u=a.n()).done;){var s=u.value;n+="string"==typeof s?s:String(s)}}catch(t){a.e(t)}finally{a.f()}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),N=function(){function t(e){m(this,t),this.value=void 0,this.committer=e}return g(t,[{key:"setValue",value:function(t){t===o.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=o.a,t(this)}this.value!==o.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){m(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(s.c)()),this.endNode=t.appendChild(Object(s.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(s.c)()),t.__insert(this.endNode=Object(s.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(s.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=o.a,t(this)}var e=this.__pendingValue;e!==o.a&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):x(e)?this.__commitIterable(e):e===o.b?(this.value=o.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,i=this.value,o=0,u=v(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=i[o])&&(n=new t(this.options),i.push(n),0===o?n.appendIntoPart(this):n.insertAfterPart(i[o-1])),n.setValue(a),n.commit(),o++}}catch(t){u.e(t)}finally{u.f()}o<i.length&&(i.length=o,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),S=function(){function t(e,n,r){if(m(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=o.a,t(this)}if(this.__pendingValue!==o.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=o.a}}}]),t}(),j=function(t){l(n,t);var e=h(n);function n(t,r,i){var o;return m(this,n),(o=e.call(this,t,r,i)).single=2===i.length&&""===i[0]&&""===i[1],o}return g(n,[{key:"_createPart",value:function(){return new E(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:c(p(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(O),E=function(t){l(n,t);var e=h(n);function n(){return m(this,n),e.apply(this,arguments)}return n}(N),T=!1;!function(){try{var t={get capture(){return T=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var i=this;m(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return i.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=o.a,t(this)}if(this.__pendingValue!==o.a){var e=this.__pendingValue,n=this.value,i=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=V(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=o.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),V=function(t){return t&&(T?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},312:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return i})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return c})),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),"}}"),i="\x3c!--".concat(r,"--\x3e"),o=new RegExp("".concat(r,"|").concat(i)),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 i=[],a=[],c=document.createTreeWalker(n.content,133,null,!1),h=0,d=-1,p=0,v=e.strings,y=e.values.length;p<y;){var m=c.nextNode();if(null!==m){if(d++,1===m.nodeType){if(m.hasAttributes()){for(var b=m.attributes,g=b.length,_=0,w=0;w<g;w++)s(b[w].name,u)&&_++;for(;_-- >0;){var x=v[p],O=f.exec(x)[2],N=O.toLowerCase()+u,k=m.getAttribute(N);m.removeAttribute(N);var S=k.split(o);this.parts.push({type:"attribute",index:d,name:O,strings:S}),p+=S.length-1}}"TEMPLATE"===m.tagName&&(a.push(m),c.currentNode=m.content)}else if(3===m.nodeType){var j=m.data;if(j.indexOf(r)>=0){for(var E=m.parentNode,T=j.split(o),A=T.length-1,V=0;V<A;V++){var P=void 0,C=T[V];if(""===C)P=l();else{var R=f.exec(C);null!==R&&s(R[2],u)&&(C=C.slice(0,R.index)+R[1]+R[2].slice(0,-u.length)+R[3]),P=document.createTextNode(C)}E.insertBefore(P,m),this.parts.push({type:"node",index:++d})}""===T[A]?(E.insertBefore(l(),m),i.push(m)):m.data=T[A],p+=A}}else if(8===m.nodeType)if(m.data===r){var I=m.parentNode;null!==m.previousSibling&&d!==h||(d++,I.insertBefore(l(),m)),h=d,this.parts.push({type:"node",index:d}),null===m.nextSibling?m.data="":(i.push(m),d--),p++}else for(var M=-1;-1!==(M=m.data.indexOf(r,M+1));)this.parts.push({type:"node",index:-1}),p++}else c.currentNode=a.pop()}for(var L=0,H=i;L<H.length;L++){var B=H[L];B.parentNode.removeChild(B)}},s=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},c=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"'`<>=]*|"[^"]*|'[^']*))$/},314:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o}));
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,i=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 i=e.nextSibling;t.insertBefore(e,r),e=i}},o=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}}},316:function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return y}));var r=n(314),i=n(312);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function 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 i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(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 i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==o(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 h(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 d(t,e,n){return e&&h(t.prototype,e),n&&h(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 p=" ".concat(i.f," "),v=function(){function t(e,n,r,i){f(this,t),this.strings=e,this.values=n,this.type=r,this.processor=i}return d(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],u=o.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===o.indexOf("--\x3e",u+1);var a=i.e.exec(o);e+=null===a?o+(n?p:i.g):o.substr(0,a.index)+a[1]+a[2]+i.b+a[3]+i.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),t}(),y=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=s(n);function n(){return f(this,n),e.apply(this,arguments)}return d(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,i=e.firstChild;return e.removeChild(i),Object(r.c)(e,i.firstChild),t}}]),n}(v)},317:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r=n(312);
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 i(t){var e=o.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},o.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var i=t.strings.join(r.f);return void 0===(n=e.keyString.get(i))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(i,n)),e.stringsArray.set(t.strings,n),n}var o=new Map},318:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));
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,i=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},o=function(t){return"function"==typeof t&&r.has(t)}},319:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));
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={},i={}},320:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(314),i=n(312);function o(t){return function(t){if(Array.isArray(t))return s(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,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,u=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){s=!0,o=t},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw o}}}}function a(t,e){if(t){if("string"==typeof t)return s(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)?s(t,e):void 0}}function s(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 c(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 i=e.value;void 0!==i&&i.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var o,a=u(this.__parts);try{for(a.s();!(o=a.n()).done;){var s=o.value;void 0!==s&&s.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),s=0,c=0,l=a.nextNode();s<u.length;)if(t=u[s],Object(i.d)(t)){for(;c<t.index;)c++,"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 h;(h=this.__parts).push.apply(h,o(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}s++}else this.__parts.push(void 0),s++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&c(e.prototype,n),a&&c(e,a),t}()},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(314),i=n(311),o=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 i.e(Object.assign({templateFactory:o.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}}}]);
@@ -11,4 +11,4 @@
11
11
  *
12
12
  * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{320: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},332:function(t,e,r){"use strict";var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?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 p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=v(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):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(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(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=p(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(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-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");this._initBody(o)}function O(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 _(t,e){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:"OK",this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},m.call(g.prototype),m.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).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 s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=y,self.Request=g,self.Response=_)},333: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
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{324: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},343:function(t,e,r){"use strict";var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?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 p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=v(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):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(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(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=p(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(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-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");this._initBody(o)}function O(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 _(t,e){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:"OK",this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},m.call(g.prototype),m.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).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 s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=y,self.Request=g,self.Response=_)},344: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
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{320: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},332:function(t,e,r){"use strict";var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?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 p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=v(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):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(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(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=p(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(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)},s&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}y.prototype.append=function(t,e){t=l(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},y.prototype.delete=function(t){delete this.map[l(t)]},y.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},y.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},y.prototype.set=function(t,e){this.map[l(t)]=c(e)},y.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},y.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),h(t)},y.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),h(t)},y.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),h(t)},o&&(y.prototype[Symbol.iterator]=y.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var r,n,o=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new y(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 y(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),w.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");this._initBody(o)}function O(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 _(t,e){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:"OK",this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},m.call(g.prototype),m.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).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 s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=y,self.Request=g,self.Response=_)},333: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,r){return(u="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 f=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(e)}},{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]===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){var e=this;if(t.type in this.listeners){for(var r=function(r){setTimeout((function(){return r.call(e,t)}))},n=this.listeners[t.type],o=0,i=n.length;o<i;o++)r(n[o]);return!t.defaultPrevented}}}]),e}(),l=function(e){function n(){var e;return t(this,n),(e=function(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?a(t):e}(this,o(n).call(this))).listeners||f.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 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)}(n,e),r(n,[{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)),u(o(n.prototype),"dispatchEvent",this).call(this,t)}}]),n}(f),c=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new l,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 h(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&&(c.prototype[Symbol.toStringTag]="AbortController",l.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(h(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(!h({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 f=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,f(t,e)])}return f(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:c}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:l})}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(320))}}]);
@@ -11,4 +11,4 @@
11
11
  *
12
12
  * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{302:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":n(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],o=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(t,n){i=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,i=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,r=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),u(t,"resize",o,!0)),u(e,"scroll",o,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var s=d(e);s&&this._monitorIntersections(s.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=d(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var r=d(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!o||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var i=n.element,s=c(i),h=this._rootContainsTarget(i),u=n.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,s,e),l=n.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:o&&!this.root?null:e,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,n,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,a,f,d,g,m,b=n,v=p(e),w=!1;!w&&v;){var _=null,y=1==v.nodeType?window.getComputedStyle(v):{};if("none"==y.display)return null;if(v==this.root||9==v.nodeType)if(w=!0,v==this.root||v==t)o&&!this.root?!i||0==i.width&&0==i.height?(v=null,_=null,b=null):_=i:_=r;else{var I=p(v),E=I&&c(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(v=I,_=l(E,T)):(v=null,b=null)}else{var R=v.ownerDocument;v!=R.body&&v!=R.documentElement&&"visible"!=y.overflow&&(_=c(v))}if(_&&(s=_,h=b,u=void 0,a=void 0,f=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),a=Math.min(s.bottom,h.bottom),f=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=a-u,b=(g=d-f)>=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!b)break;v=v&&p(v)}return b}},s.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){return f(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=a(t.rootBounds),this.boundingClientRect=a(t.boundingClientRect),this.intersectionRect=a(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function u(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function l(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?d(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}}]);
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{306:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":n(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],o=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(t,n){i=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,i=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,r=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),u(t,"resize",o,!0)),u(e,"scroll",o,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var s=d(e);s&&this._monitorIntersections(s.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=d(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var r=d(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!o||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var i=n.element,s=c(i),h=this._rootContainsTarget(i),u=n.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,s,e),l=n.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:o&&!this.root?null:e,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,n,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,a,f,d,g,m,b=n,v=p(e),w=!1;!w&&v;){var _=null,y=1==v.nodeType?window.getComputedStyle(v):{};if("none"==y.display)return null;if(v==this.root||9==v.nodeType)if(w=!0,v==this.root||v==t)o&&!this.root?!i||0==i.width&&0==i.height?(v=null,_=null,b=null):_=i:_=r;else{var I=p(v),E=I&&c(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(v=I,_=l(E,T)):(v=null,b=null)}else{var R=v.ownerDocument;v!=R.body&&v!=R.documentElement&&"visible"!=y.overflow&&(_=c(v))}if(_&&(s=_,h=b,u=void 0,a=void 0,f=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),a=Math.min(s.bottom,h.bottom),f=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=a-u,b=(g=d-f)>=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!b)break;v=v&&p(v)}return b}},s.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){return f(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=a(t.rootBounds),this.boundingClientRect=a(t.boundingClientRect),this.intersectionRect=a(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function u(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function l(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?d(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}}]);
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{302:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":n(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],o=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(t,n){i=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,i=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,r=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),u(t,"resize",o,!0)),u(e,"scroll",o,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var s=d(e);s&&this._monitorIntersections(s.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=d(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var r=d(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!o||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var i=n.element,s=c(i),h=this._rootContainsTarget(i),u=n.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,s,e),l=n.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:o&&!this.root?null:e,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,n,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,a,f,d,g,m,b=n,v=p(e),w=!1;!w&&v;){var _=null,y=1==v.nodeType?window.getComputedStyle(v):{};if("none"==y.display)return null;if(v==this.root||9==v.nodeType)if(w=!0,v==this.root||v==t)o&&!this.root?!i||0==i.width&&0==i.height?(v=null,_=null,b=null):_=i:_=r;else{var I=p(v),E=I&&c(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(v=I,_=l(E,T)):(v=null,b=null)}else{var R=v.ownerDocument;v!=R.body&&v!=R.documentElement&&"visible"!=y.overflow&&(_=c(v))}if(_&&(s=_,h=b,u=void 0,a=void 0,f=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),a=Math.min(s.bottom,h.bottom),f=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=a-u,b=(g=d-f)>=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!b)break;v=v&&p(v)}return b}},s.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){return f(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=a(t.rootBounds),this.boundingClientRect=a(t.boundingClientRect),this.intersectionRect=a(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function u(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function l(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?d(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}}]);
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{336:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return Ke}));var n,o=r(318),i=r(310),c=r(298),a=r(321),u=r(1),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(u.e)(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=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&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(147).a),l=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.e)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}function U(e){return e&&""===e.target}function D(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!i&&!c&&U(n)&&!q(r,t)}function H(e,t){var r=e.url;return U(e.anchor)&&!q(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 $(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash;return n===e.oldURL.pathname&&(t===k.Pop||t===k.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(k||(k={}));var V=r(346),B=r(349);function F(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,i=void 0===o?"":o,c=new CustomEvent(e);return c.oldURL=n,c.newURL=i,c};var Me=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(!q(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(!q(this.parent))switch(t){case k.Init:case k.Push:var i=this.parent.histId;if(r||n.href===location.href){var c=Ne(Ne({},history.state),{},Re({},i,{}));history.replaceState(c,document.title,n.href)}else history.pushState(Re({},i,{}),document.title,n.href);case k.Pop:this.parent.simulateHashChange&&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,q(this.parent)||t!==k.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Ne(Ne({},e),{},Re({},t,Ne(Ne({},e[t]),{},{scrollTop:Object(I.j)(),scrollHeight:Object(I.i)()})))}}])&&xe(t.prototype,r),n&&xe(t,n),e}();function Le(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;a--)(o=e[a])&&(c=(i<3?o(c):i>3?o(t,r,c):o(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Ke=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&&Ve(e,t)}(u,e);var t,r,n,o=Be(u);function u(){var e;return De(this,u),(e=o.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,e._initialized=Object(I.f)(),e.$={},e.fadePromise=Promise.resolve(null),e.scrollManager=new _e(ze(e)),e.historyManager=new Me(ze(e)),e.fetchManager=new G(ze(e)),e.updateManager=new ye(ze(e)),e.eventManager=new Ae(ze(e)),e._url=new URL(e.baseURL),e.reload$=new i.a,e.cacheNr=0,e.upgrade=function(){var t=e.setupEventListeners(),r=t.pushEvent$,n=t.hintEvent$,o={},i=r.pipe(Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Push,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return D(t,ze(e))})),Object(y.a)((function(t){t.event.preventDefault(),e.historyManager.updateHistoryScrollPosition()}))),u=Object(c.a)(window,"popstate").pipe(Object(b.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(p.a)((function(t){return{cause:k.Pop,url:new URL(window.location.href),cacheNr:e.cacheNr,event:t}}))),s=e.reload$,h=Object(a.a)(i,u,s).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(p.a)((function(e){var t=Ie(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(m.a)()),O=h.pipe(Object(b.a)((function(e){return!$(e)})),Object(m.a)()),j=h.pipe(Object(b.a)((function(e){return $(e)})),Object(b.a)((function(){return history.state&&history.state[e.histId]})),E(l),Object(y.a)((function(t){e.historyManager.updateHistoryState(t),e.scrollManager.manageScrollPosition(t)}))),g=Object(f.a)((function(){return Object(a.a)(O.pipe(Object(R.a)(!0)),o.response$.pipe(Object(R.a)(!1)))})).pipe(Object(d.a)(!1)),w=n.pipe(Object(I.h)(g.pipe(Object(p.a)((function(e){return!e})))),Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Hint,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return H(t,ze(e))}))),S=Object(a.a)(w,O).pipe(Object(x.a)((function(t,r){return e.compareContext(t,r)})),Object(M.a)((function(t){return e.fetchManager.fetchPage(t)})),Object(d.a)({url:{}}),Object(m.a)()),P=o.response$=O.pipe(Object(y.a)((function(t){e.eventManager.onStart(t),e.historyManager.updateHistoryState(t),e._url=t.url})),Object(L.a)(S),Object(M.a)((function(t){var r;return(r=e.fetchManager).getResponse.apply(r,[S].concat(Te(t)))})),Object(m.a)()),A=P.pipe(Object(b.a)((function(e){return!e.error}))),C=P.pipe(Object(b.a)((function(e){return!!e.error}))),N=A.pipe(Object(p.a)((function(t){return e.updateManager.responseToContent(t)})),Object(y.a)((function(t){return e.eventManager.emitReady(t)})),E(l),Object(y.a)((function(t){e.updateManager.updateDOM(t),e.historyManager.updateTitle(t),e.eventManager.emitAfter(t)})),Object(d.a)({cause:k.Init,url:e._url,scripts:[]}),E(l),Object(y.a)((function(t){return e.scrollManager.manageScrollPosition(t)})),Object(y.a)({error:function(t){return e.eventManager.emitDOMError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(t){return e.updateManager.reinsertScriptTags(t)})),Object(y.a)({error:function(t){return e.eventManager.emitError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(){return e.fadePromise})),Object(y.a)((function(t){return e.eventManager.emitLoad(t)}))),q=C.pipe(Object(y.a)((function(t){return e.eventManager.emitNetworkError(t)}))),U=O.pipe(Object(M.a)((function(t){return Object(f.a)((function(){return e.animPromise})).pipe(Object(T.a)(P),Object(R.a)(t))})),Object(y.a)((function(t){return e.eventManager.emitProgress(t)})));N.subscribe(),j.subscribe(),q.subscribe(),U.subscribe(),e._initialized.resolve(ze(e)),e.fireEvent("init")},e}return t=u,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"_setLocation",value:function(e,t){var r=new URL(this._url.href);r[e]=t,this.assign(r.href)}},{key:"assign",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr})}},{key:"reload",value:function(){this.reload$.next({cause:k.Push,url:new URL(this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"replace",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"compareContext",value:function(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}},{key:"connectedCallback",value:function(){$e(We(u.prototype),"connectedCallback",this).call(this),this.$.linkSelector=new h.a(this.linkSelector),this.$.prefetch=new h.a(this.prefetch),window.addEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition),this.updateComplete.then(this.upgrade)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition)}},{key:"initialized",get:function(){return this._initialized}},{key:"hash",get:function(){return this._url.hash},set:function(e){this._setLocation("hash",e)}},{key:"host",get:function(){return this._url.host},set:function(e){this._setLocation("host",e)}},{key:"hostname",get:function(){return this._url.hostname},set:function(e){this._setLocation("hostname",e)}},{key:"href",get:function(){return this._url.href},set:function(e){this._setLocation("href",e)}},{key:"pathname",get:function(){return this._url.pathname},set:function(e){this._setLocation("pathname",e)}},{key:"port",get:function(){return this._url.port},set:function(e){this._setLocation("port",e)}},{key:"protocol",get:function(){return this._url.protocol},set:function(e){this._setLocation("protocol",e)}},{key:"search",get:function(){return this._url.search},set:function(e){this._setLocation("search",e)}},{key:"origin",get:function(){return this._url.origin},set:function(e){}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins},set:function(e){}},{key:"histId",get:function(){return this.id||this.tagName}}])&&He(t.prototype,r),n&&He(t,n),u}(Object(I.b)(I.a,[ge]));
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{347:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return Ke}));var n,o=r(322),i=r(313),c=r(300),a=r(326),u=r(1),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(u.e)(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=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&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(147).a),l=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.e)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}function U(e){return e&&""===e.target}function D(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!i&&!c&&U(n)&&!q(r,t)}function H(e,t){var r=e.url;return U(e.anchor)&&!q(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 $(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash;return n===e.oldURL.pathname&&(t===k.Pop||t===k.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(k||(k={}));var V=r(354),B=r(357);function F(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,i=void 0===o?"":o,c=new CustomEvent(e);return c.oldURL=n,c.newURL=i,c};var Me=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(!q(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(!q(this.parent))switch(t){case k.Init:case k.Push:var i=this.parent.histId;if(r||n.href===location.href){var c=Ne(Ne({},history.state),{},Re({},i,{}));history.replaceState(c,document.title,n.href)}else history.pushState(Re({},i,{}),document.title,n.href);case k.Pop:this.parent.simulateHashChange&&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,q(this.parent)||t!==k.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Ne(Ne({},e),{},Re({},t,Ne(Ne({},e[t]),{},{scrollTop:Object(I.j)(),scrollHeight:Object(I.i)()})))}}])&&xe(t.prototype,r),n&&xe(t,n),e}();function Le(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;a--)(o=e[a])&&(c=(i<3?o(c):i>3?o(t,r,c):o(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Ke=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&&Ve(e,t)}(u,e);var t,r,n,o=Be(u);function u(){var e;return De(this,u),(e=o.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,e._initialized=Object(I.f)(),e.$={},e.fadePromise=Promise.resolve(null),e.scrollManager=new _e(ze(e)),e.historyManager=new Me(ze(e)),e.fetchManager=new G(ze(e)),e.updateManager=new ye(ze(e)),e.eventManager=new Ae(ze(e)),e._url=new URL(e.baseURL),e.reload$=new i.a,e.cacheNr=0,e.upgrade=function(){var t=e.setupEventListeners(),r=t.pushEvent$,n=t.hintEvent$,o={},i=r.pipe(Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Push,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return D(t,ze(e))})),Object(y.a)((function(t){t.event.preventDefault(),e.historyManager.updateHistoryScrollPosition()}))),u=Object(c.a)(window,"popstate").pipe(Object(b.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(p.a)((function(t){return{cause:k.Pop,url:new URL(window.location.href),cacheNr:e.cacheNr,event:t}}))),s=e.reload$,h=Object(a.a)(i,u,s).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(p.a)((function(e){var t=Ie(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(m.a)()),O=h.pipe(Object(b.a)((function(e){return!$(e)})),Object(m.a)()),j=h.pipe(Object(b.a)((function(e){return $(e)})),Object(b.a)((function(){return history.state&&history.state[e.histId]})),E(l),Object(y.a)((function(t){e.historyManager.updateHistoryState(t),e.scrollManager.manageScrollPosition(t)}))),g=Object(f.a)((function(){return Object(a.a)(O.pipe(Object(R.a)(!0)),o.response$.pipe(Object(R.a)(!1)))})).pipe(Object(d.a)(!1)),w=n.pipe(Object(I.h)(g.pipe(Object(p.a)((function(e){return!e})))),Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Hint,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return H(t,ze(e))}))),S=Object(a.a)(w,O).pipe(Object(x.a)((function(t,r){return e.compareContext(t,r)})),Object(M.a)((function(t){return e.fetchManager.fetchPage(t)})),Object(d.a)({url:{}}),Object(m.a)()),P=o.response$=O.pipe(Object(y.a)((function(t){e.eventManager.onStart(t),e.historyManager.updateHistoryState(t),e._url=t.url})),Object(L.a)(S),Object(M.a)((function(t){var r;return(r=e.fetchManager).getResponse.apply(r,[S].concat(Te(t)))})),Object(m.a)()),A=P.pipe(Object(b.a)((function(e){return!e.error}))),C=P.pipe(Object(b.a)((function(e){return!!e.error}))),N=A.pipe(Object(p.a)((function(t){return e.updateManager.responseToContent(t)})),Object(y.a)((function(t){return e.eventManager.emitReady(t)})),E(l),Object(y.a)((function(t){e.updateManager.updateDOM(t),e.historyManager.updateTitle(t),e.eventManager.emitAfter(t)})),Object(d.a)({cause:k.Init,url:e._url,scripts:[]}),E(l),Object(y.a)((function(t){return e.scrollManager.manageScrollPosition(t)})),Object(y.a)({error:function(t){return e.eventManager.emitDOMError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(t){return e.updateManager.reinsertScriptTags(t)})),Object(y.a)({error:function(t){return e.eventManager.emitError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(){return e.fadePromise})),Object(y.a)((function(t){return e.eventManager.emitLoad(t)}))),q=C.pipe(Object(y.a)((function(t){return e.eventManager.emitNetworkError(t)}))),U=O.pipe(Object(M.a)((function(t){return Object(f.a)((function(){return e.animPromise})).pipe(Object(T.a)(P),Object(R.a)(t))})),Object(y.a)((function(t){return e.eventManager.emitProgress(t)})));N.subscribe(),j.subscribe(),q.subscribe(),U.subscribe(),e._initialized.resolve(ze(e)),e.fireEvent("init")},e}return t=u,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"_setLocation",value:function(e,t){var r=new URL(this._url.href);r[e]=t,this.assign(r.href)}},{key:"assign",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr})}},{key:"reload",value:function(){this.reload$.next({cause:k.Push,url:new URL(this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"replace",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"compareContext",value:function(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}},{key:"connectedCallback",value:function(){$e(We(u.prototype),"connectedCallback",this).call(this),this.$.linkSelector=new h.a(this.linkSelector),this.$.prefetch=new h.a(this.prefetch),window.addEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition),this.updateComplete.then(this.upgrade)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition)}},{key:"initialized",get:function(){return this._initialized}},{key:"hash",get:function(){return this._url.hash},set:function(e){this._setLocation("hash",e)}},{key:"host",get:function(){return this._url.host},set:function(e){this._setLocation("host",e)}},{key:"hostname",get:function(){return this._url.hostname},set:function(e){this._setLocation("hostname",e)}},{key:"href",get:function(){return this._url.href},set:function(e){this._setLocation("href",e)}},{key:"pathname",get:function(){return this._url.pathname},set:function(e){this._setLocation("pathname",e)}},{key:"port",get:function(){return this._url.port},set:function(e){this._setLocation("port",e)}},{key:"protocol",get:function(){return this._url.protocol},set:function(e){this._setLocation("protocol",e)}},{key:"search",get:function(){return this._url.search},set:function(e){this._setLocation("search",e)}},{key:"origin",get:function(){return this._url.origin},set:function(e){}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins},set:function(e){}},{key:"histId",get:function(){return this.id||this.tagName}}])&&He(t.prototype,r),n&&He(t,n),u}(Object(I.b)(I.a,[ge]));
15
15
  /**
16
16
  * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
17
17
  *
@@ -30,4 +30,4 @@
30
30
  *
31
31
  * @license
32
32
  * @nocompile
33
- */Je([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],Ke.prototype,"replaceSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],Ke.prototype,"linkSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],Ke.prototype,"scriptSelector",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"prefetch"})],Ke.prototype,"prefetch",void 0),Je([Object(o.e)({type:Number,reflect:!0,attribute:"duration"})],Ke.prototype,"duration",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],Ke.prototype,"simulateHashChange",void 0),Je([Object(o.e)({type:String})],Ke.prototype,"baseURL",void 0),Je([Object(o.e)()],Ke.prototype,"assign",null),Je([Object(o.e)()],Ke.prototype,"reload",null),Je([Object(o.e)()],Ke.prototype,"replace",null),Ke=Je([Object(o.c)("hy-push-state")],Ke)},345:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),o=r(47),i=r(55),c=r(46);function a(e){return function(t){var r=new u(e),n=t.lift(r);return r.caught=n}}var u=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return Object(n.e)(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new i.a(this,void 0,void 0);this.add(n);var o=Object(c.a)(this,r,void 0,void 0,n);o!==n&&this.add(o)}},t}(o.a)},346:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(114),i=r(68),c=r(9),a=r(47),u=r(46),s=r(38);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1],n=void 0;return"function"==typeof r&&(n=e.pop()),Object(o.a)(e,void 0).lift(new f(n))}var f=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.resultSelector))},e}(),h=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.iterators=[],o.active=0,o.resultSelector=r,o.values=n,o}return Object(n.e)(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.a)(e)?t.push(new b(e)):"function"==typeof e[s.a]?t.push(new p(e[s.a]())):t.push(new y(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(c=e[n]).hasValue&&!c.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var c,a=(c=e[n]).next();if(c.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(c.a),p=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&!!e.done},e}(),b=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[s.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),y=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return Object(n.e)(t,e),t.prototype[s.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,o){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(u.a)(this,this.observable,this,t)},t}(a.a)},347:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),o=r(47),i=r(55),c=r(46),a=r(31),u=r(79);function s(e,t){return t?function(r){return r.pipe(s((function(r,n){return Object(u.a)(e(r,n)).pipe(Object(a.a)((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return Object(n.e)(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new i.a(this,t,r),o=this.destination;o.add(n);var a=Object(c.a)(this,e,void 0,void 0,n);a!==n&&o.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.a)},351:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(5),o=r(115),i=r(68);function c(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}var a=r(113);function u(e,t,r){void 0===e&&(e=0);var i=-1;return c(t)?i=Number(t)<1?1:Number(t):Object(a.a)(t)&&(r=t),Object(a.a)(r)||(r=o.a),new n.a((function(t){var n=c(e)?e:+e-r.now();return r.schedule(s,n,{index:0,period:i,subscriber:t})}))}function s(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}}}]);
33
+ */Je([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],Ke.prototype,"replaceSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],Ke.prototype,"linkSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],Ke.prototype,"scriptSelector",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"prefetch"})],Ke.prototype,"prefetch",void 0),Je([Object(o.e)({type:Number,reflect:!0,attribute:"duration"})],Ke.prototype,"duration",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],Ke.prototype,"simulateHashChange",void 0),Je([Object(o.e)({type:String})],Ke.prototype,"baseURL",void 0),Je([Object(o.e)()],Ke.prototype,"assign",null),Je([Object(o.e)()],Ke.prototype,"reload",null),Je([Object(o.e)()],Ke.prototype,"replace",null),Ke=Je([Object(o.c)("hy-push-state")],Ke)},353:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),o=r(47),i=r(55),c=r(46);function a(e){return function(t){var r=new u(e),n=t.lift(r);return r.caught=n}}var u=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return Object(n.e)(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new i.a(this,void 0,void 0);this.add(n);var o=Object(c.a)(this,r,void 0,void 0,n);o!==n&&this.add(o)}},t}(o.a)},354:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(114),i=r(68),c=r(9),a=r(47),u=r(46),s=r(38);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1],n=void 0;return"function"==typeof r&&(n=e.pop()),Object(o.a)(e,void 0).lift(new f(n))}var f=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.resultSelector))},e}(),h=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.iterators=[],o.active=0,o.resultSelector=r,o.values=n,o}return Object(n.e)(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.a)(e)?t.push(new b(e)):"function"==typeof e[s.a]?t.push(new p(e[s.a]())):t.push(new y(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(c=e[n]).hasValue&&!c.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var c,a=(c=e[n]).next();if(c.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(c.a),p=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&!!e.done},e}(),b=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[s.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),y=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return Object(n.e)(t,e),t.prototype[s.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,o){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(u.a)(this,this.observable,this,t)},t}(a.a)},355:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),o=r(47),i=r(55),c=r(46),a=r(31),u=r(79);function s(e,t){return t?function(r){return r.pipe(s((function(r,n){return Object(u.a)(e(r,n)).pipe(Object(a.a)((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return Object(n.e)(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new i.a(this,t,r),o=this.destination;o.add(n);var a=Object(c.a)(this,e,void 0,void 0,n);a!==n&&o.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.a)},359:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(5),o=r(115),i=r(68);function c(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}var a=r(113);function u(e,t,r){void 0===e&&(e=0);var i=-1;return c(t)?i=Number(t)<1?1:Number(t):Object(a.a)(t)&&(r=t),Object(a.a)(r)||(r=o.a),new n.a((function(t){var n=c(e)?e:+e-r.now();return r.schedule(s,n,{index:0,period:i,subscriber:t})}))}function s(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}}}]);
@@ -0,0 +1,33 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{336:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return Ke}));var n,o=r(318),i=r(310),c=r(298),a=r(321),u=r(1),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(u.e)(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=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&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(147).a),l=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.e)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();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),f=r(341),h=r(344),p=r(31),b=r(151),y=r(152),d=r(323),v=r(324),m=r(338),O=r(9),j=r(319),g=r(64),w=r(5);function S(e){var t=e.error;e.subscriber.error(t)}!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(n||(n={}));var P=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e,t;switch(this.kind){case"N":return Object(g.a)(this.value);case"E":return e=this.error,t?new w.a((function(r){return t.schedule(S,0,{error:e,subscriber:r})})):new w.a((function(t){return t.error(e)}));case"C":return j.a}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();function E(e,t){return void 0===t&&(t=0),function(r){return r.lift(new A(e,t))}}var k,A=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new C(e,this.scheduler,this.delay))},e}(),C=function(e){function t(t,r,n){void 0===n&&(n=0);var o=e.call(this,t)||this;return o.scheduler=r,o.delay=n,o}return Object(u.e)(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new N(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(P.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(P.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(P.createComplete()),this.unsubscribe()},t}(O.a),N=function(e,t){this.notification=e,this.destination=t},R=r(322),x=r(340),M=r(148),L=r(150),_=r(345),T=r(343),I=r(305);function q(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 U(e){return e&&""===e.target}function D(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!i&&!c&&U(n)&&!q(r,t)}function H(e,t){var r=e.url;return U(e.anchor)&&!q(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 $(e){var t=e.cause,r=e.url,n=r.pathname,o=r.hash;return n===e.oldURL.pathname&&(t===k.Pop||t===k.Push&&""!==o)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(k||(k={}));var V=r(346),B=r(349);function F(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(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 W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){J(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(e,t){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 G=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(I.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(M.a)((function(e){return e.text()})),Object(p.a)((function(t){return X(X({},e),{},{responseText:t})})),Object(_.a)((function(t){return Object(g.a)(X(X({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(g.a)(t):r.pipe(Object(B.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(V.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(p.a)((function(e){return X(X({},F(e,1)[0]),t)})))}}])&&K(t.prototype,r),n&&K(t,n),e}(),Q=r(79),Y=r(299),Z=r(342);function ee(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return te(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 te(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 te(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 re(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 ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(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 ce=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){return e.querySelectorAll(t.scriptSelector).forEach((function(e){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(Q.a)(r).pipe(Object(Y.a)((function(e){return t.insertScript(e)})),Object(_.a)((function(t){return Object(g.a)(ne(ne({},e),{},{error:t}))})),Object(Z.a)((function(){return document.write=n})),Object(R.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=ee(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){return n.parentNode.insertBefore(e,n)}))},new Promise((function(e,t){""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),n.parentNode.replaceChild(r,n)):(n.parentNode.replaceChild(r,n),e({}))}))}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&ie(t.prototype,r),n&&ie(t,n),e}();function ae(e,t){e.forEach((function(e){e.querySelectorAll("[href]").forEach(ue("href",t)),e.querySelectorAll("[src]").forEach(ue("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{r.setAttribute(e,r.getAttribute(e).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(ue("cite",t)),e.querySelectorAll("del[cite]").forEach(ue("cite",t)),e.querySelectorAll("ins[cite]").forEach(ue("cite",t)),e.querySelectorAll("q[cite]").forEach(ue("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ue("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ue("usemap",t)),e.querySelectorAll("form[action]").forEach(ue("action",t)),e.querySelectorAll("button[formaction]").forEach(ue("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ue("formaction",t)),e.querySelectorAll("video[poster]").forEach(ue("poster",t)),e.querySelectorAll("object[data]").forEach(ue("data",t)),e.querySelectorAll("object[codebase]").forEach(ue("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{r.setAttribute(e,r.getAttribute(e).split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t))}))}function ue(e,t){return function(r){try{r.setAttribute(e,new URL(r.getAttribute(e),t).href)}catch(e){}}}function se(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return le(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 le(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 le(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 fe(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 he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function be(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 ye=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 ce(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){try{var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,i=this.getReplaceElements(r),c=this.scriptSelector?this.scriptManager.removeScriptTags(i):[];return he(he({},e),{},{document:r,title:o,replaceEls:i,scripts:c})}catch(e){console.error(e)}}},{key:"replaceContentWithSelector",value:function(e){this.replaceSelector.split(",").map((function(e){return document.querySelector(e)})).forEach((function(t,r){return t.parentNode.replaceChild(e[r],t)}))}},{key:"replaceContentWholesale",value:function(e){var t=se(e,1)[0];this.el.innerHTML=t.innerHTML}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(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]"),i=e.head.querySelector("meta[name=description]");o&&i&&(o.content=i.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;q(this.parent)&&ae(t,this.parent.href),this.replaceContent(t),this.replaceHead(r)}catch(t){throw he(he({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}},{key:"el",get:function(){return this.parent.el}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}}])&&be(t.prototype,r),n&&be(t,n),e}(),de=r(65),ve=r(117);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 Oe=function(e){return Array.prototype.concat.apply([],e)},je=function(e){return{addedNodes:new Set(Oe(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(Oe(e.map((function(e){return Array.from(e.removedNodes)}))))}},ge=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(c.a)(this.el,"click").pipe(Object(p.a)((function(t){var r=Object(I.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(b.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)?Object(g.a)(e):Object(Q.a)(e.querySelectorAll(t))};return{hintEvent$:this.$.linkSelector.pipe(Object(M.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(a.a)(Object(c.a)(e,"mouseenter",{passive:!0}),Object(c.a)(e,"touchstart",{passive:!0}),Object(c.a)(e,"focus",{passive:!0})).pipe(Object(p.a)((function(t){return[t,e]})))}(e))},i=function(e){n.delete(e)};return Object(I.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(d.a)({addedNodes:[e.el],removedNodes:[]}),Object(I.c)(500),Object(p.a)(je),Object(M.a)((function(e){var c=e.addedNodes,a=e.removedNodes;return Object(Q.a)(a).pipe(Object(b.a)((function(e){return e instanceof Element})),Object(de.a)((function(e){return r(e,t)})),Object(y.a)(i)).subscribe(),Object(Q.a)(c).pipe(Object(b.a)((function(e){return e instanceof Element})),Object(de.a)((function(e){return r(e,t)})),Object(y.a)(o)).subscribe(),Object(Q.a)(n.values()).pipe(Object(ve.a)())})),Object(I.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&me(t.prototype,r),n&&me(t,n),e}();function we(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 Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pe(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 ke=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Ae=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=ke(this.parent.duration),this.parent.fireEvent("start",{detail:Se(Se({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=e.replaceElMissing,r=e.url;t?(window.history.back(),setTimeout((function(){return document.location.assign(r)}),100)):this.parent.fireEvent("error",{detail:e})}},{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=ke(this.parent.duration),this.parent.fireEvent("after",{detail:Se(Se({},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})}}])&&Ee(t.prototype,r),n&&Ee(t,n),e}();function Ce(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 Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(r),!0).forEach((function(t){Re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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)}}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,i=void 0===o?"":o,c=new CustomEvent(e);return c.oldURL=n,c.newURL=i,c};var Me=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(!q(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(!q(this.parent))switch(t){case k.Init:case k.Push:var i=this.parent.histId;if(r||n.href===location.href){var c=Ne(Ne({},history.state),{},Re({},i,{}));history.replaceState(c,document.title,n.href)}else history.pushState(Re({},i,{}),document.title,n.href);case k.Pop:this.parent.simulateHashChange&&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,q(this.parent)||t!==k.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return Ne(Ne({},e),{},Re({},t,Ne(Ne({},e[t]),{},{scrollTop:Object(I.j)(),scrollHeight:Object(I.i)()})))}}])&&xe(t.prototype,r),n&&xe(t,n),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 _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 k.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case k.Pop:this.restoreScrollPosition();break;case k.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(I.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Le(t.prototype,r),n&&Le(t,n),e}();function Te(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||qe(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 Ie(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(e,t)||qe(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 qe(e,t){if(e){if("string"==typeof e)return Ue(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)?Ue(e,t):void 0}}function Ue(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 De(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function $e(e,t,r){return($e="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=We(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(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=We(e);if(t){var o=We(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Fe(this,r)}}function Fe(e,t){return!t||"object"!==Xe(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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xe(e){return(Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Je=function(e,t,r,n){var o,i=arguments.length,c=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===("undefined"==typeof Reflect?"undefined":Xe(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(c=(i<3?o(c):i>3?o(t,r,c):o(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Ke=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&&Ve(e,t)}(u,e);var t,r,n,o=Be(u);function u(){var e;return De(this,u),(e=o.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,e._initialized=Object(I.f)(),e.$={},e.fadePromise=Promise.resolve(null),e.scrollManager=new _e(ze(e)),e.historyManager=new Me(ze(e)),e.fetchManager=new G(ze(e)),e.updateManager=new ye(ze(e)),e.eventManager=new Ae(ze(e)),e._url=new URL(e.baseURL),e.reload$=new i.a,e.cacheNr=0,e.upgrade=function(){var t=e.setupEventListeners(),r=t.pushEvent$,n=t.hintEvent$,o={},i=r.pipe(Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Push,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return D(t,ze(e))})),Object(y.a)((function(t){t.event.preventDefault(),e.historyManager.updateHistoryScrollPosition()}))),u=Object(c.a)(window,"popstate").pipe(Object(b.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(p.a)((function(t){return{cause:k.Pop,url:new URL(window.location.href),cacheNr:e.cacheNr,event:t}}))),s=e.reload$,h=Object(a.a)(i,u,s).pipe(Object(d.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(p.a)((function(e){var t=Ie(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(m.a)()),O=h.pipe(Object(b.a)((function(e){return!$(e)})),Object(m.a)()),j=h.pipe(Object(b.a)((function(e){return $(e)})),Object(b.a)((function(){return history.state&&history.state[e.histId]})),E(l),Object(y.a)((function(t){e.historyManager.updateHistoryState(t),e.scrollManager.manageScrollPosition(t)}))),g=Object(f.a)((function(){return Object(a.a)(O.pipe(Object(R.a)(!0)),o.response$.pipe(Object(R.a)(!1)))})).pipe(Object(d.a)(!1)),w=n.pipe(Object(I.h)(g.pipe(Object(p.a)((function(e){return!e})))),Object(p.a)((function(t){var r=Ie(t,2),n=r[0],o=r[1];return{cause:k.Hint,url:new URL(o.href,e.href),anchor:o,event:n,cacheNr:e.cacheNr}})),Object(b.a)((function(t){return H(t,ze(e))}))),S=Object(a.a)(w,O).pipe(Object(x.a)((function(t,r){return e.compareContext(t,r)})),Object(M.a)((function(t){return e.fetchManager.fetchPage(t)})),Object(d.a)({url:{}}),Object(m.a)()),P=o.response$=O.pipe(Object(y.a)((function(t){e.eventManager.onStart(t),e.historyManager.updateHistoryState(t),e._url=t.url})),Object(L.a)(S),Object(M.a)((function(t){var r;return(r=e.fetchManager).getResponse.apply(r,[S].concat(Te(t)))})),Object(m.a)()),A=P.pipe(Object(b.a)((function(e){return!e.error}))),C=P.pipe(Object(b.a)((function(e){return!!e.error}))),N=A.pipe(Object(p.a)((function(t){return e.updateManager.responseToContent(t)})),Object(y.a)((function(t){return e.eventManager.emitReady(t)})),E(l),Object(y.a)((function(t){e.updateManager.updateDOM(t),e.historyManager.updateTitle(t),e.eventManager.emitAfter(t)})),Object(d.a)({cause:k.Init,url:e._url,scripts:[]}),E(l),Object(y.a)((function(t){return e.scrollManager.manageScrollPosition(t)})),Object(y.a)({error:function(t){return e.eventManager.emitDOMError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(t){return e.updateManager.reinsertScriptTags(t)})),Object(y.a)({error:function(t){return e.eventManager.emitError(t)}}),Object(_.a)((function(e,t){return t})),Object(M.a)((function(){return e.fadePromise})),Object(y.a)((function(t){return e.eventManager.emitLoad(t)}))),q=C.pipe(Object(y.a)((function(t){return e.eventManager.emitNetworkError(t)}))),U=O.pipe(Object(M.a)((function(t){return Object(f.a)((function(){return e.animPromise})).pipe(Object(T.a)(P),Object(R.a)(t))})),Object(y.a)((function(t){return e.eventManager.emitProgress(t)})));N.subscribe(),j.subscribe(),q.subscribe(),U.subscribe(),e._initialized.resolve(ze(e)),e.fireEvent("init")},e}return t=u,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"_setLocation",value:function(e,t){var r=new URL(this._url.href);r[e]=t,this.assign(r.href)}},{key:"assign",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr})}},{key:"reload",value:function(){this.reload$.next({cause:k.Push,url:new URL(this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"replace",value:function(e){this.reload$.next({cause:k.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"compareContext",value:function(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}},{key:"connectedCallback",value:function(){$e(We(u.prototype),"connectedCallback",this).call(this),this.$.linkSelector=new h.a(this.linkSelector),this.$.prefetch=new h.a(this.prefetch),window.addEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition),this.updateComplete.then(this.upgrade)}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition)}},{key:"initialized",get:function(){return this._initialized}},{key:"hash",get:function(){return this._url.hash},set:function(e){this._setLocation("hash",e)}},{key:"host",get:function(){return this._url.host},set:function(e){this._setLocation("host",e)}},{key:"hostname",get:function(){return this._url.hostname},set:function(e){this._setLocation("hostname",e)}},{key:"href",get:function(){return this._url.href},set:function(e){this._setLocation("href",e)}},{key:"pathname",get:function(){return this._url.pathname},set:function(e){this._setLocation("pathname",e)}},{key:"port",get:function(){return this._url.port},set:function(e){this._setLocation("port",e)}},{key:"protocol",get:function(){return this._url.protocol},set:function(e){this._setLocation("protocol",e)}},{key:"search",get:function(){return this._url.search},set:function(e){this._setLocation("search",e)}},{key:"origin",get:function(){return this._url.origin},set:function(e){}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins},set:function(e){}},{key:"histId",get:function(){return this.id||this.tagName}}])&&He(t.prototype,r),n&&He(t,n),u}(Object(I.b)(I.a,[ge]));
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
+ */Je([Object(o.e)({type:String,reflect:!0,attribute:"replace-selector"})],Ke.prototype,"replaceSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"link-selector"})],Ke.prototype,"linkSelector",void 0),Je([Object(o.e)({type:String,reflect:!0,attribute:"script-selector"})],Ke.prototype,"scriptSelector",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"prefetch"})],Ke.prototype,"prefetch",void 0),Je([Object(o.e)({type:Number,reflect:!0,attribute:"duration"})],Ke.prototype,"duration",void 0),Je([Object(o.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],Ke.prototype,"simulateHashChange",void 0),Je([Object(o.e)({type:String})],Ke.prototype,"baseURL",void 0),Je([Object(o.e)()],Ke.prototype,"assign",null),Je([Object(o.e)()],Ke.prototype,"reload",null),Je([Object(o.e)()],Ke.prototype,"replace",null),Ke=Je([Object(o.c)("hy-push-state")],Ke)},345:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),o=r(47),i=r(55),c=r(46);function a(e){return function(t){var r=new u(e),n=t.lift(r);return r.caught=n}}var u=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return Object(n.e)(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new i.a(this,void 0,void 0);this.add(n);var o=Object(c.a)(this,r,void 0,void 0,n);o!==n&&this.add(o)}},t}(o.a)},346:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(114),i=r(68),c=r(9),a=r(47),u=r(46),s=r(38);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1],n=void 0;return"function"==typeof r&&(n=e.pop()),Object(o.a)(e,void 0).lift(new f(n))}var f=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.resultSelector))},e}(),h=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.iterators=[],o.active=0,o.resultSelector=r,o.values=n,o}return Object(n.e)(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.a)(e)?t.push(new b(e)):"function"==typeof e[s.a]?t.push(new p(e[s.a]())):t.push(new y(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(c=e[n]).hasValue&&!c.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var c,a=(c=e[n]).next();if(c.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(c.a),p=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&!!e.done},e}(),b=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[s.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),y=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return Object(n.e)(t,e),t.prototype[s.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,o){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(u.a)(this,this.observable,this,t)},t}(a.a)},347:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),o=r(47),i=r(55),c=r(46),a=r(31),u=r(79);function s(e,t){return t?function(r){return r.pipe(s((function(r,n){return Object(u.a)(e(r,n)).pipe(Object(a.a)((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return Object(n.e)(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new i.a(this,t,r),o=this.destination;o.add(n);var a=Object(c.a)(this,e,void 0,void 0,n);a!==n&&o.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.a)},351:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(5),o=r(115),i=r(68);function c(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}var a=r(113);function u(e,t,r){void 0===e&&(e=0);var i=-1;return c(t)?i=Number(t)<1?1:Number(t):Object(a.a)(t)&&(r=t),Object(a.a)(r)||(r=o.a),new n.a((function(t){var n=c(e)?e:+e-r.now();return r.schedule(s,n,{index:0,period:i,subscriber:t})}))}function s(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}}}]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{330:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var u=i>=0?arguments[i]:e.cwd();if("string"!=typeof u)throw new TypeError("Arguments to path.resolve must be strings");u&&(t=u+"/"+t,o="/"===u.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),u="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&u&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),u=Math.min(o.length,i.length),a=u,s=0;s<u;s++)if(o[s]!==i[s]){a=s;break}var f=[];for(s=a;s<o.length;s++)f.push("..");return(f=f.concat(i.slice(a))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,u=e.length-1;u>=0;--u){var a=e.charCodeAt(u);if(47!==a)-1===r&&(o=!1,r=u+1),46===a?-1===t?t=u:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=u+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(331))},331:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var s,f=[],c=!1,l=-1;function h(){c&&s&&(c=!1,s.length?f=s.concat(f):l=-1,f.length&&v())}function v(){if(!c){var e=a(h);c=!0;for(var t=f.length;t;){for(s=f,f=[];++l<t;)s&&s[l].run();l=-1,t=f.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new d(e,t)),1!==f.length||c||a(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},332:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(310);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 u,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
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 u=function(e,t){var n=e.startNode.parentNode,o=void 0===t?e.endNode:t.startNode,i=n.insertBefore(Object(r.d)(),o);n.insertBefore(Object(r.d)(),o);var u=new r.b(e.options);return u.insertAfterNode(i),u},a=function(e,t){return e.setValue(t),e.commit(),e},s=function(e,t,n){var o=e.startNode.parentNode,i=n?n.startNode:e.endNode,u=t.endNode.nextSibling;u!==i&&Object(r.i)(o,t.startNode,u,i)},f=function(e){Object(r.g)(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},c=function(e,t,n){for(var r=new Map,o=t;o<=n;o++)r.set(e[o],o);return r},l=new WeakMap,h=new WeakMap,v=Object(r.e)((function(e,t,n){var i;return void 0===n?n=t:void 0!==t&&(i=t),function(t){if(!(t instanceof r.b))throw new Error("repeat can only be used in text bindings");var v,d,p,g=l.get(t)||[],m=h.get(t)||[],b=[],y=[],w=[],A=0,T=o(e);try{for(T.s();!(v=T.n()).done;){var j=v.value;w[A]=i?i(j,A):A,y[A]=n(j,A),A++}}catch(e){T.e(e)}finally{T.f()}for(var N=0,k=g.length-1,O=0,E=y.length-1;N<=k&&O<=E;)if(null===g[N])N++;else if(null===g[k])k--;else if(m[N]===w[O])b[O]=a(g[N],y[O]),N++,O++;else if(m[k]===w[E])b[E]=a(g[k],y[E]),k--,E--;else if(m[N]===w[E])b[E]=a(g[N],y[E]),s(t,g[N],b[E+1]),N++,E--;else if(m[k]===w[O])b[O]=a(g[k],y[O]),s(t,g[k],g[N]),k--,O++;else if(void 0===d&&(d=c(w,O,E),p=c(m,N,k)),d.has(m[N]))if(d.has(m[k])){var S=p.get(w[O]),x=void 0!==S?g[S]:null;if(null===x){var M=u(t,g[N]);a(M,y[O]),b[O]=M}else b[O]=a(x,y[O]),s(t,x,g[N]),g[S]=null;O++}else f(g[k]),k--;else f(g[N]),N++;for(;O<=E;){var C=u(t,b[E+1]);a(C,y[O]),b[O++]=C}for(;N<=k;){var L=g[N++];null!==L&&f(L)}l.set(t,b),h.set(t,w)}}))},333:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(310),o=new WeakMap,i=Object(r.e)((function(e){return function(t){var n=o.get(t);if(void 0===e&&t instanceof r.a){if(void 0!==n||!o.has(t)){var i=t.committer.name;t.committer.element.removeAttribute(i)}}else e!==n&&t.setValue(e);o.set(t,e)}}));
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2018 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
+ */}}]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{330:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var u=i>=0?arguments[i]:e.cwd();if("string"!=typeof u)throw new TypeError("Arguments to path.resolve must be strings");u&&(t=u+"/"+t,o="/"===u.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),u="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&u&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),u=Math.min(o.length,i.length),a=u,s=0;s<u;s++)if(o[s]!==i[s]){a=s;break}var f=[];for(s=a;s<o.length;s++)f.push("..");return(f=f.concat(i.slice(a))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,u=e.length-1;u>=0;--u){var a=e.charCodeAt(u);if(47!==a)-1===r&&(o=!1,r=u+1),46===a?-1===t?t=u:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=u+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(331))},331:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var s,f=[],c=!1,l=-1;function h(){c&&s&&(c=!1,s.length?f=s.concat(f):l=-1,f.length&&v())}function v(){if(!c){var e=a(h);c=!0;for(var t=f.length;t;){for(s=f,f=[];++l<t;)s&&s[l].run();l=-1,t=f.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new d(e,t)),1!==f.length||c||a(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},332:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(310);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 u,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
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 u=function(e,t){var n=e.startNode.parentNode,o=void 0===t?e.endNode:t.startNode,i=n.insertBefore(Object(r.d)(),o);n.insertBefore(Object(r.d)(),o);var u=new r.b(e.options);return u.insertAfterNode(i),u},a=function(e,t){return e.setValue(t),e.commit(),e},s=function(e,t,n){var o=e.startNode.parentNode,i=n?n.startNode:e.endNode,u=t.endNode.nextSibling;u!==i&&Object(r.i)(o,t.startNode,u,i)},f=function(e){Object(r.g)(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},c=function(e,t,n){for(var r=new Map,o=t;o<=n;o++)r.set(e[o],o);return r},l=new WeakMap,h=new WeakMap,v=Object(r.e)((function(e,t,n){var i;return void 0===n?n=t:void 0!==t&&(i=t),function(t){if(!(t instanceof r.b))throw new Error("repeat can only be used in text bindings");var v,d,p,g=l.get(t)||[],m=h.get(t)||[],b=[],y=[],w=[],A=0,T=o(e);try{for(T.s();!(v=T.n()).done;){var j=v.value;w[A]=i?i(j,A):A,y[A]=n(j,A),A++}}catch(e){T.e(e)}finally{T.f()}for(var N=0,k=g.length-1,O=0,E=y.length-1;N<=k&&O<=E;)if(null===g[N])N++;else if(null===g[k])k--;else if(m[N]===w[O])b[O]=a(g[N],y[O]),N++,O++;else if(m[k]===w[E])b[E]=a(g[k],y[E]),k--,E--;else if(m[N]===w[E])b[E]=a(g[N],y[E]),s(t,g[N],b[E+1]),N++,E--;else if(m[k]===w[O])b[O]=a(g[k],y[O]),s(t,g[k],g[N]),k--,O++;else if(void 0===d&&(d=c(w,O,E),p=c(m,N,k)),d.has(m[N]))if(d.has(m[k])){var S=p.get(w[O]),x=void 0!==S?g[S]:null;if(null===x){var M=u(t,g[N]);a(M,y[O]),b[O]=M}else b[O]=a(x,y[O]),s(t,x,g[N]),g[S]=null;O++}else f(g[k]),k--;else f(g[N]),N++;for(;O<=E;){var C=u(t,b[E+1]);a(C,y[O]),b[O++]=C}for(;N<=k;){var L=g[N++];null!==L&&f(L)}l.set(t,b),h.set(t,w)}}))},333:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(310),o=new WeakMap,i=Object(r.e)((function(e){return function(t){var n=o.get(t);if(void 0===e&&t instanceof r.a){if(void 0!==n||!o.has(t)){var i=t.committer.name;t.committer.element.removeAttribute(i)}}else e!==n&&t.setValue(e);o.set(t,e)}}));
28
+ /**
29
+ * @license
30
+ * Copyright (c) 2018 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
+ */}}]);
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{320:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},331:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t]/g;function Ve(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Ge(e){for(var t={},n=0;n";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;on.indexOf(r))||n.push(r);for(t=0;t
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{324:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},342:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t]/g;function Ve(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Ge(e){for(var t={},n=0;n";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;on.indexOf(r))||n.push(r);for(t=0;t
15
15
  /**
16
16
  @license
17
17
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -0,0 +1,155 @@
1
+ /*!
2
+ * __ __ __ __
3
+ * /\ \/\ \ /\ \ __ /\ \
4
+ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
+ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
+ * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
+ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
+ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
+ * /\___/ \ \____/
10
+ * \/__/ \/___/
11
+ *
12
+ * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
+ */
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{320:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},331:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,o:[],u:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.u++,o++;break;case 3:t||(t=a(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.A=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),N=0,E=[];function b(e){E.push(e),S.textContent=N++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=N++,e}})).observe(S,{characterData:!0});var C=!!document.contains;function w(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,b(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}F.list=L;var j=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),B=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function U(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}U(j),U(H),U(B);var q,V=f.c||!0===f.g,G=V?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,B))},W=V?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,H))},K="__eventWrappers"+Date.now(),X=(q=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return q.get.call(e)}:null,$=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function z(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:$?e:n}}var Y={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},J={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Q(e){return e instanceof Node?e.__shady_getRootNode():e}function Z(e,t){var n=[],r=e;for(e=Q(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ee(e,t){if(!y)return e;e=Z(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Q(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var ne={focus:!0,blur:!0};function re(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!re(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ie(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(oe(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(oe(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function se(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ae(e){return F(),this.__shady_native_dispatchEvent(e)}function le(e,n,r){var o=z(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(J[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[K]){if(-1<se(l,c,e,i,s,a))return}else n[K]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||de(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(re(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var i="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget),i}},n[K].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),ne[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l)):this.__shady_native_addEventListener(e,l,o)}}}function ue(e,t,n){if(t){var r=z(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,J[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[K]}catch(e){}l&&(-1<(o=se(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[K]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ne[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var ce=D({get composed(){return void 0===this.__composed&&(X?this.__composed="focusin"===this.type||"focusout"===this.type||X(this):!1!==this.isTrusted&&(this.__composed=Y[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Z(this.__target,this.composed)),this.__composedPath},get target(){return ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Z(this.__relatedTarget,!0)),ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function de(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,f.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,ce)}var he=te(Event),fe=te(CustomEvent),_e=te(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ve=D({dispatchEvent:ae,addEventListener:le,removeEventListener:ue}),ge=window.document,Se=f.A,Ne=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ee=Ne&&Ne.get;function be(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ce(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var we=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ee&&Ee.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(C){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&be(this),this.__shady_native_textContent=e}else be(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==ge&&e.ownerDocument!==ge)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;Ce(this,e);var r=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),u=!!n||!Lt(e)||Se&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,u)}a=!0;var c=(!Se||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,s),f=n&&!e.__noInsertionPoint&&(!Se||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||c)&&(c&&(l=l||Le(e)),Ie(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),c){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),r.length&&(Ot(n),n.f.push.apply(n.f,r instanceof Array?r:i(o(r))),Et(n)),p(this)&&(function(e,t,n){dt(t,2);var r=d(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(u=h(this)).root?(a=!1,m(this)&&Et(u.root)):n&&"slot"===this.localName&&(a=!1,Et(n))),a?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==ge)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Ce(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){xt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Et(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Et(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=d(this),n=t.w;return void 0===n&&(y(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return w(this,e)}}),Te=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&bt(e),(e=h(this))&&e.assignedSlot||null}});function Oe(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var xe=D({get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?T(Array.prototype.filter.call(x(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Pe=D({querySelector:function(e){return Oe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Oe(this,(function(t){return g.call(t,e)})))}}),ke=f.A&&!f.g?R({},xe):xe;R(xe,Pe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ie(e,t)}var Fe=window.document;function je(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Et(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){xt(t);var n=e.O,r=Pt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=kt(n))}}Et(t)}}var He=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==Fe?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),je(this,e))},removeAttribute:function(e){this.ownerDocument!==Fe?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),je(this,e))}});f.A||pe.forEach((function(e){He[e]=me(e)}));var Be=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Nt(t,this,e),ft(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Ot(n),n.f.push.apply(n.f,e instanceof Array?e:i(o(e))),Et(t)}t.host.__shady_native_appendChild(t)}else t=new St(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,Be);var Ue=/[&\u00A0"]/g,qe=/[&\u00A0<>]/g;function Ve(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Ge(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var We=Ge("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ke=Ge("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Xe(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(Ue,Ve)+'"';d+=">",a=We[l]?d:d+Xe(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ft(e,t){var n=d(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ct(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function wt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&wt(e,t,i)}else t.push(n[r])}function Tt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&Tt(e,t.assignedSlot)}function Ot(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function xt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ft(o);var i=o.__shady_parentNode;ft(i),(i=h(i)).s=(i.s||0)+1,i=Pt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=kt(e.b[s]);e.f=[]}}function Pt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function kt(e){return e.sort((function(e,t){e=gt(e);for(var n=gt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return xt(e),!(!e.a||!e.a.length)}if(St.prototype._renderSelf=function(){var e=vt;if(vt=!0,this.j=!1,this.a){xt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ct(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ct(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),wt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.o.length&&(_=c.o[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.u}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.u;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,vt=e,yt&&yt()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(St.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var Dt=new Map;yt=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},vt&&document.addEventListener("readystatechange",(function(){vt=!1,yt()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){vt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){vt?this.isConnected||Dt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(y(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ft=f.c,jt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function Bt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Ut(e,t){for(var n in k(e,t,"__shady_native_"),t)Bt(n)}function qt(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?jt[r]||(jt[r]=o.value):Bt(r))}}var Vt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Wt=document.implementation.createHTMLDocument("inert");function Kt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Xt=["firstElementChild","lastElementChild","children","childElementCount"],$t=["querySelector","querySelectorAll"];function zt(e){this.node=e}function Yt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},s.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),pe.forEach((function(e){return Yt(e)})),ye.forEach((function(e){return Yt(e)}));var Jt=new WeakMap;function Qt(e){if(y(e)||e instanceof zt)return e;var t=Jt.get(e);return t||(t=new zt(e),Jt.set(e,t)),t}if(f.F){var Zt=f.c?function(e){return e}:function(e){return W(e),G(e),e};window.ShadyDOM={inUse:f.F,patch:Zt,isShadyRoot:y,enqueue:I,flush:F,flushInitial:function(e){!e.H&&e.j&&bt(e)},settings:f,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=d(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?Qt:Zt,wrapIfNeeded:!0===f.g?Qt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=Z(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:jt,nativeTree:Ht,patchElementProto:lt},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?qt(window.EventTarget.prototype,e):(qt(Node.prototype,e),qt(Window.prototype,e)),Ft?qt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ut(Node.prototype,{parentNode:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},firstChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},previousSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},childNodes:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return e}},parentElement:{get:function(){return Gt.currentNode=this,Gt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Kt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),qt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),qt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Gt.currentNode=this,Gt.firstChild()}},lastElementChild:{get:function(){return Gt.currentNode=this,Gt.lastChild()}},children:{get:function(){var e=[];Gt.currentNode=this;for(var t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ft?(qt(Element.prototype,Xt),qt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),qt(HTMLElement.prototype,["children","innerHTML","className"])):(Ut(Element.prototype,e),Ut(Element.prototype,{previousElementSibling:{get:function(){return Gt.currentNode=this,Gt.previousSibling()}},nextElementSibling:{get:function(){return Gt.currentNode=this,Gt.nextSibling()}},innerHTML:{get:function(){return Xe(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Kt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Wt.namespaceURI?Wt.createElementNS(this.namespaceURI,n):Wt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),qt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),qt(Element.prototype,$t),qt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&qt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ft?qt(DocumentFragment.prototype,Xt):Ut(DocumentFragment.prototype,e),qt(DocumentFragment.prototype,$t),Ft?(qt(Document.prototype,Xt),qt(Document.prototype,["activeElement"])):Ut(Document.prototype,e),qt(Document.prototype,["importNode","getElementById"]),qt(Document.prototype,$t)}(),at("__shady_"),Object.defineProperty(document,"_activeElement",Ze.activeElement),k(Window.prototype,nt,"__shady_"),f.g?f.G&&k(Element.prototype,Be):(at(),function(){if(!X&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in ne)window.__shady_native_addEventListener(e,(function(e){e.__target||(de(e),ie(e))}),!0)}(),window.Event=he,window.CustomEvent=fe,window.MouseEvent=_e,window.ShadowRoot=St}}).call(this)}).call(this,n(320))},335:function(e,t,n){"use strict";
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 http://polymer.github.io/LICENSE.txt
19
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
+ Code distributed by Google as part of the polymer project is also
22
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
+ */var r=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(f.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(y),t.atRule?0===i.indexOf(p)?t.type=c.MEDIA_RULE:i.match(f.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(f.multipleSpaces).pop()):0===i.indexOf(_)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,u=s.length;l<u&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===d){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===h&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(f.comments,"").replace(f.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(_)}function s(e){return function(e){return e.replace(f.mixinApply,"").replace(f.varApply,"")}(e=a(e))}function a(e){return e.replace(f.customProp,"").replace(f.mixinProp,"")}var l,u,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},d="{",h="}",f={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},_="--",p="@media",y="@",m=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(m||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
24
+ /**
25
+ @license
26
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
27
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
28
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
29
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
30
+ Code distributed by Google as part of the polymer project is also
31
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
32
+ */function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
33
+ /**
34
+ @license
35
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
36
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
37
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
38
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
39
+ Code distributed by Google as part of the polymer project is also
40
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
41
+ */function k(e,t){return e?("string"==typeof e&&(e=o(e)),t&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,u=0,c=a.length;u<c&&(l=a[u]);u++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+d+"\n"),r+=o,t.selector&&(r+=h+"\n\n")),r}(e,S)):""}function M(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function D(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function R(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,u=0,d=a.length;u<d&&(l=a[u]);u++)R(l,t,n,r)}}function A(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return I(o,n,r),o}var L=null;function I(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),L)?e.compareDocumentPosition(L)===Node.DOCUMENT_POSITION_PRECEDING&&(L=e):L=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function j(e,t){m?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==u)return u;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
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 http://polymer.github.io/LICENSE.txt
46
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
47
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
48
+ Code distributed by Google as part of the polymer project is also
49
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
50
+ */(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}},{key:"SCOPE_NAME",get:function(){return"style-scope"}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),e}var _e=function(){function e(t,n,r,o,i,s){!
51
+ /**
52
+ @license
53
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
54
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
56
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
57
+ Code distributed by Google as part of the polymer project is also
58
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
59
+ */
60
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return fe(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),fe(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_e.prototype._getStyleRules=_e.prototype._getStyleRules;var ye=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},me=/:host\s*>\s*/;var ve=navigator.userAgent.match("Trident");var ge=new(function(){function e(){!
61
+ /**
62
+ @license
63
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
64
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
65
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
67
+ Code distributed by Google as part of the polymer project is also
68
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
69
+ */
70
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(N,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return R(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&ye.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(me))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return R(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;ye.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=_e.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=_e.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=A(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=A(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}])&&pe(t.prototype,n),r&&pe(t,r),e}()),Se={};
71
+ /**
72
+ @license
73
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
74
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
75
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
76
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
77
+ Code distributed by Google as part of the polymer project is also
78
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
79
+ */function Ne(e){return Se[e]||null}function Ee(e){var t,n,r,o;Se[e]||(Se[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var be=window.customElements;if(be&&!m&&!g){var Ce=be.define;be.define=function(e,t,n){Ee(e),Ce.call(be,e,t,n)}}
80
+ /**
81
+ @license
82
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
83
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
84
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
85
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
86
+ Code distributed by Google as part of the polymer project is also
87
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
88
+ */function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;we(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&Te(t.prototype,n),r&&Te(t,r),e}(),xe=function(){};
89
+ /**
90
+ @license
91
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
93
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
94
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
95
+ Code distributed by Google as part of the polymer project is also
96
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
97
+ */var Pe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function ke(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Pe);return t?t[1]:""}function Me(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function De(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=Me(r);o&&de.element(r,o)}}function Re(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=ke(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=Me(o);a!==s&&de.domReplaceScope(o,s,a),De(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(Re),Le=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Le(document);else{var Ie=function(){Le(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Ie(),document.removeEventListener("readystatechange",e)}))}else Ie()}))}xe=function(){Re(Ae.takeRecords())}}
98
+ /**
99
+ @license
100
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
101
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
102
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
103
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
104
+ Code distributed by Google as part of the polymer project is also
105
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
106
+ */var Fe={},je="_applyShimCurrentVersion",He="_applyShimNextVersion",Be=Promise.resolve();function Ue(e){var t=Fe[e];t&&function(e){e[je]=e[je]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[He]=(e[He]||0)+1}(t)}function qe(e){return e[je]===e[He]}function Ve(e){return!qe(e)&&e._applyShimValidatingVersion===e[He]}function Ge(e){e._applyShimValidatingVersion=e[He],e._validating||(e._validating=!0,Be.then((function(){e[je]=e[He],e._validating=!1})))}
107
+ /**
108
+ @license
109
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
110
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
111
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
112
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
113
+ Code distributed by Google as part of the polymer project is also
114
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
115
+ */
116
+ var We,Ke=null,Xe=window.HTMLImports&&window.HTMLImports.whenReady||null;function $e(e){requestAnimationFrame((function(){Xe?Xe(e):(Ke||(Ke=new Promise((function(e){We=e})),"complete"===document.readyState?We():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&We()}))),Ke.then((function(){e&&e()})))}))}
117
+ /**
118
+ @license
119
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
120
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
121
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
122
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
123
+ Code distributed by Google as part of the polymer project is also
124
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
125
+ */function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ye="__shadyCSSCachedStyle",Je=null,Qe=null,Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,$e((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Qe&&(this.enqueued=!0,$e(Qe))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[Ye]?e[Ye]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ye]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Je&&Je(o),n[Ye]=o}}}return e}}])&&ze(t.prototype,n),r&&ze(t,r),e}();function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ze.prototype.addCustomStyle=Ze.prototype.addCustomStyle,Ze.prototype.getStyleForCustomStyle=Ze.prototype.getStyleForCustomStyle,Ze.prototype.processStyles=Ze.prototype.processStyles,Object.defineProperties(Ze.prototype,{transformCallback:{get:function(){return Je},set:function(e){Je=e}},validateCallback:{get:function(){return Qe},set:function(e){var t=!1;Qe||(t=!0),Qe=e,t&&this.enqueueDocumentValidation()}}});var tt={},nt=new Oe,rt=function(){function e(){!
126
+ /**
127
+ @license
128
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
129
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
130
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
131
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
132
+ Code distributed by Google as part of the polymer project is also
133
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
134
+ */
135
+ function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=_e.set(this._documentOwner,new _e(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){xe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(tt[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ge.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Ne(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){tt[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?A(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ne(n),i=Fe[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new _e(s,o,a,n,r,l);return _e.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ue,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){_e.get(e)||_e.set(e,new _e(null));var n=_e.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=_e.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
136
+ /**
137
+ @license
138
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
139
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
140
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
141
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
142
+ Code distributed by Google as part of the polymer project is also
143
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
144
+ */
145
+ function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Fe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!qe(r)){if(Ve(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ge(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?_e.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=nt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ge.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ge.applyElementScopeSelector(e,t.scopeSelector,s),r||nt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=_e.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ge.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ge.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ge.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ge.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);R(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(_e.get(e)||_e.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=_e.get(e);l&&l.scopeSelector&&n.push(ge.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return _e.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return Me(e)}},{key:"currentScopeForNode",value:function(e){return ke(e)}}])&&et(t.prototype,n),i&&et(t,i),e}();rt.prototype.flush=rt.prototype.flush,rt.prototype.prepareTemplate=rt.prototype.prepareTemplate,rt.prototype.styleElement=rt.prototype.styleElement,rt.prototype.styleDocument=rt.prototype.styleDocument,rt.prototype.styleSubtree=rt.prototype.styleSubtree,rt.prototype.getComputedStyleValue=rt.prototype.getComputedStyleValue,rt.prototype.setElementClass=rt.prototype.setElementClass,rt.prototype._styleInfoForNode=rt.prototype._styleInfoForNode,rt.prototype.transformCustomStyleForDocument=rt.prototype.transformCustomStyleForDocument,rt.prototype.getStyleAst=rt.prototype.getStyleAst,rt.prototype.styleAstToString=rt.prototype.styleAstToString,rt.prototype.flushCustomStyles=rt.prototype.flushCustomStyles,rt.prototype.scopeNode=rt.prototype.scopeNode,rt.prototype.unscopeNode=rt.prototype.unscopeNode,rt.prototype.scopeForNode=rt.prototype.scopeForNode,rt.prototype.currentScopeForNode=rt.prototype.currentScopeForNode,rt.prototype.prepareAdoptedCssText=rt.prototype.prepareAdoptedCssText,Object.defineProperties(rt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
146
+ /**
147
+ @license
148
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
149
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
150
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
151
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
152
+ Code distributed by Google as part of the polymer project is also
153
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
154
+ */
155
+ var ot,it,st=new rt;window.ShadyCSS&&(ot=window.ShadyCSS.ApplyShim,it=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:st,prepareTemplate:function(e,t,n){st.flushCustomStyles(),st.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){st.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){st.flushCustomStyles(),st.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){st.flushCustomStyles(),st.styleSubtree(e,t)},styleElement:function(e){st.flushCustomStyles(),st.styleElement(e)},styleDocument:function(e){st.flushCustomStyles(),st.styleDocument(e)},flushCustomStyles:function(){st.flushCustomStyles()},getComputedStyleValue:function(e,t){return st.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},ot&&(window.ShadyCSS.ApplyShim=ot),it&&(window.ShadyCSS.CustomStyleInterface=it)}}]);