jekyll-theme-hydejack 9.1.6 → 9.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +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/scripts/load-js.min.js +1 -1
  10. data/_includes/scripts/nomodule.min.js +1 -1
  11. data/_includes/styles/page-style.scss +2 -0
  12. data/_includes/styles/variables.scss +3 -1
  13. data/_layouts/compress.html +1 -1
  14. data/_sass/_mixins.scss +3 -1
  15. data/_sass/html.scss +2 -2
  16. data/_sass/hydejack/__inline__/_avatar.scss +4 -1
  17. data/_sass/hydejack/__inline__/_links.scss +1 -1
  18. data/_sass/hydejack/__link__/_avatar.scss +2 -0
  19. data/_sass/hydejack/__link__/_break-layout.scss +2 -2
  20. data/_sass/hydejack/__link__/_links.scss +4 -2
  21. data/_sass/hydejack/__link__/_sidebar.scss +1 -1
  22. data/_sass/hydejack/_avatar.pre.scss +4 -1
  23. data/_sass/hydejack/_break-layout.pre.scss +2 -2
  24. data/_sass/hydejack/_links.pre.scss +5 -3
  25. data/_sass/hydejack/_sidebar.pre.scss +1 -1
  26. data/_sass/pooleparty/__link__/_code.scss +1 -1
  27. data/_sass/pooleparty/_code.pre.scss +1 -1
  28. data/assets/js/LEGACY-clap-button-hydejack-9.1.7.js +14 -0
  29. data/assets/js/LEGACY-drawer-hydejack-9.1.7.js +14 -0
  30. data/assets/js/{LEGACY-fetch-hydejack-9.1.6.js → LEGACY-fetch-hydejack-9.1.7.js} +2 -2
  31. data/assets/js/LEGACY-hydejack-9.1.7.js +13 -0
  32. data/assets/js/LEGACY-navbar-hydejack-9.1.7.js +14 -0
  33. data/assets/js/LEGACY-push-state-hydejack-9.1.7.js +14 -0
  34. data/assets/js/LEGACY-resize-observer-hydejack-9.1.7.js +14 -0
  35. data/assets/js/{LEGACY-shadydom-hydejack-9.1.6.js → LEGACY-shadydom-hydejack-9.1.7.js} +2 -2
  36. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.7.js +14 -0
  37. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.7.js +47 -0
  38. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.7.js +211 -0
  39. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.7.js +14 -0
  40. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.6.js → LEGACY-vendors~intersection-observer-hydejack-9.1.7.js} +2 -2
  41. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.7.js +34 -0
  42. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.7.js +155 -0
  43. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.6.js → LEGACY-vendors~webanimations-hydejack-9.1.7.js} +1 -1
  44. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.6.js → LEGACY-vendors~webcomponents-hydejack-9.1.7.js} +4 -4
  45. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.6.js → LEGACY-webcomponents-hydejack-9.1.7.js} +2 -2
  46. data/assets/js/{clap-button-hydejack-9.1.6.js → clap-button-hydejack-9.1.7.js} +2 -2
  47. data/assets/js/{drawer-hydejack-9.1.6.js → drawer-hydejack-9.1.7.js} +2 -2
  48. data/assets/js/{fetch-hydejack-9.1.6.js → fetch-hydejack-9.1.7.js} +2 -2
  49. data/assets/js/hydejack-9.1.7.js +13 -0
  50. data/assets/js/navbar-hydejack-9.1.7.js +14 -0
  51. data/assets/js/push-state-hydejack-9.1.7.js +14 -0
  52. data/assets/js/resize-observer-hydejack-9.1.7.js +14 -0
  53. data/assets/js/{shadydom-hydejack-9.1.6.js → shadydom-hydejack-9.1.7.js} +1 -1
  54. data/assets/js/{vendors~clap-button-hydejack-9.1.6.js → vendors~clap-button-hydejack-9.1.7.js} +1 -1
  55. data/assets/js/vendors~drawer-hydejack-9.1.7.js +48 -0
  56. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.6.js → vendors~drawer~push-state-hydejack-9.1.7.js} +12 -12
  57. data/assets/js/vendors~fetch-hydejack-9.1.7.js +14 -0
  58. data/assets/js/{vendors~intersection-observer-hydejack-9.1.6.js → vendors~intersection-observer-hydejack-9.1.7.js} +2 -2
  59. data/assets/js/vendors~push-state-hydejack-9.1.7.js +34 -0
  60. data/assets/js/vendors~shadydom-hydejack-9.1.7.js +146 -0
  61. data/assets/js/{vendors~webanimations-hydejack-9.1.6.js → vendors~webanimations-hydejack-9.1.7.js} +2 -2
  62. data/assets/js/webcomponents-hydejack-9.1.7.js +14 -0
  63. data/assets/version.json +2 -2
  64. metadata +43 -43
  65. data/assets/js/LEGACY-clap-button-hydejack-9.1.6.js +0 -14
  66. data/assets/js/LEGACY-drawer-hydejack-9.1.6.js +0 -14
  67. data/assets/js/LEGACY-hydejack-9.1.6.js +0 -27
  68. data/assets/js/LEGACY-navbar-hydejack-9.1.6.js +0 -14
  69. data/assets/js/LEGACY-push-state-hydejack-9.1.6.js +0 -14
  70. data/assets/js/LEGACY-resize-observer-hydejack-9.1.6.js +0 -14
  71. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.6.js +0 -14
  72. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.6.js +0 -48
  73. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.6.js +0 -214
  74. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.6.js +0 -14
  75. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.6.js +0 -34
  76. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.6.js +0 -155
  77. data/assets/js/hydejack-9.1.6.js +0 -28
  78. data/assets/js/navbar-hydejack-9.1.6.js +0 -14
  79. data/assets/js/push-state-hydejack-9.1.6.js +0 -14
  80. data/assets/js/resize-observer-hydejack-9.1.6.js +0 -14
  81. data/assets/js/vendors~drawer-hydejack-9.1.6.js +0 -48
  82. data/assets/js/vendors~fetch-hydejack-9.1.6.js +0 -14
  83. data/assets/js/vendors~push-state-hydejack-9.1.6.js +0 -34
  84. data/assets/js/vendors~shadydom-hydejack-9.1.6.js +0 -146
  85. data/assets/js/webcomponents-hydejack-9.1.6.js +0 -14
  86. /data/assets/css/{hydejack-9.1.6.css → hydejack-9.1.7.css} +0 -0
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{353:function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},f=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},v="undefined"!=typeof window?window:{},p=new WeakMap,l=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},E=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:E(),borderBoxSize:E(),contentBoxSize:E(),contentRect:new u(0,0,0,0)}),T=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(d(e))return p.set(e,x),x;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&l.test(n.overflowY||""),c=!r&&l.test(n.overflowX||""),f=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),T=r?0:w(n.paddingBottom),m=r?0:w(n.paddingLeft),z=r?0:w(n.borderTopWidth),y=r?0:w(n.borderRightWidth),B=r?0:w(n.borderBottomWidth),S=m+v,O=f+T,R=(r?0:w(n.borderLeftWidth))+y,k=z+B,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?S+R:0,M=i?O+k:0,P=r?r.width:w(n.width)-D-N,_=r?r.height:w(n.height)-M-C,F=P+S+N+R,I=_+O+C+k,L=a({devicePixelContentBoxSize:E(Math.round(P*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:E(F,I,o),contentBoxSize:E(P,_,o),contentRect:new u(m,f,P,_)});return p.set(e,L),L},m=function(e,t,n){var i=T(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},z=function(e){var t=T(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},y=function(e){if(d(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},B=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new z(t.target),i=y(t.target);r.push(n),t.lastReportedSize=m(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},S=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(y(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(S(t);i.some((function(e){return e.activeTargets.length>0}));)t=B(),S(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},R=[],k=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return R.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}R.push(e),s()},C=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],M=function(e){return void 0===e&&(e=0),Date.now()+e},P=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!P){P=!0;var n,r=M(e);n=function(){var n=!1;try{n=O()}finally{if(P=!1,e=r-M(),!C)return;n?t.run(1e3):e>0?t.run(e):t.start()}},k((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,N)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),F=function(e){!C&&e>0&&_.start(),!(C+=e)&&_.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=m(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),L=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,X=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},A=function(){function e(){}return e.connect=function(e,t){var n=new L(e,t);W.set(e,n)},e.observe=function(e,t,n){var r=W.get(e),o=0===r.observationTargets.length;X(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new I(t,n&&n.box)),F(1),_.schedule())},e.unobserve=function(e,t){var n=W.get(e),r=X(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),F(-1))},e.disconnect=function(e){var t=this,n=W.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");A.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");A.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");A.unobserve(this,e)},e.prototype.disconnect=function(){A.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();window.ResizeObserver=window.ResizeObserver||V}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{344:function(t,e){!function(t){var e=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";e[i]=e[i]||[],e[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),t.addEventListener("storage",(function(e){if(e.storageArea===t.localStorage&&null!=e.newValue&&""!==e.newValue&&e.key.substring(0,i.length)===i){var n=JSON.parse(e.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(a,o),setTimeout((function(){t.localStorage.removeItem(a)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var t=e[this._id].indexOf(this);e[this._id].splice(t,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(t){this._mc.port1.onmessage=t},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},t.BroadcastChannel=t.BroadcastChannel||n}(self)},345:function(t,e){var n,r,i,o,a,s,u,c,l,f;function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||O(t,e)||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 h(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function d(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function v(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))}}function y(t){var e="function"==typeof Map?new Map:void 0;return(y=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return m(t,arguments,P(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_(r,t)})(t)}function m(t,e,n){return(m=x()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&_(i,n.prototype),i}).apply(null,arguments)}function g(){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=w(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}}).apply(this,arguments)}function w(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=P(t)););return t}function b(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=x();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 S(this,n)}}function S(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return C(t)}function C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t){return function(t){if(Array.isArray(t))return R(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(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 N(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 E(t,e,n){return e&&N(t.prototype,e),n&&N(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t){return(T="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 M(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=O(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,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function O(t,e){if(t){if("string"==typeof t)return R(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)?R(t,e):void 0}}function R(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(){var t=Object.defineProperty,e=Object.prototype.hasOwnProperty,d=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertySymbols,w=Object.prototype.propertyIsEnumerable,_=function(e,n,r){return n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},x=function(t,n){for(var r in n||(n={}))e.call(n,r)&&_(t,r,n[r]);if(m){var i,o=M(m(n));try{for(o.s();!(i=o.n()).done;){r=i.value;w.call(n,r)&&_(t,r,n[r])}}catch(t){o.e(t)}finally{o.f()}}return t},N=function(t,n){var r={};for(var i in t)e.call(t,i)&&n.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&m){var o,a=M(m(t));try{for(a.s();!(o=a.n()).done;){i=o.value;n.indexOf(i)<0&&w.call(t,i)&&(r[i]=t[i])}}catch(t){a.e(t)}finally{a.f()}}return r},O=function(e,n,r,i){for(var o,a=i>1?void 0:i?d(n,r):n,s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i?o(n,r,a):o(a))||a);return i&&a&&t(n,r,a),a},R=function(t,e,n){if(!e.has(t))throw TypeError("Cannot "+n)},U=function(t,e,n){return R(t,e,"read from private field"),n?n.call(t):e.get(t)},j=function(t,e,n,r){return R(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n},I=function(){function t(){}return t.prototype.then=function(e,n){var r=new t,i=this.s;if(i){var o=1&i?e:n;if(o){try{V(r,1,o(this.v))}catch(t){V(r,2,t)}return r}return this}return this.o=function(t){try{var i=t.v;1&t.s?V(r,1,e?e(i):i):n?V(r,1,n(i)):V(r,2,i)}catch(i){V(r,2,i)}},r},t}();function V(t,e,n){if(!t.s){if(n instanceof I){if(!n.s)return void(n.o=V.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(V.bind(null,t,e),V.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var B=0,D="function"==typeof WeakMap?WeakMap:function(){var t="function"==typeof Symbol?Symbol(0):"__weak$"+ ++B;this.set=function(e,n){e[t]=n},this.get=function(e){return e[t]}};function z(t,e){return new Promise((function(n,r){t.onsuccess=function(){var r=t.result;e&&(r=e(r)),n(r)},t.onerror=function(){r(t.error)}}))}function W(t,e){return z(t.openCursor(e),(function(t){return t?[t.key,t.value]:[]}))}function q(t){return new Promise((function(e,n){t.oncomplete=function(){e()},t.onabort=function(){n(t.error)},t.onerror=function(){n(t.error)}}))}function H(t){if(!("number"==typeof(e=t)||"string"==typeof e||"object"==T(e)&&e&&(Array.isArray(e)||"setUTCFullYear"in e||"function"==typeof ArrayBuffer&&ArrayBuffer.isView(e)||"byteLength"in e&&"length"in e)))throw Error("kv-storage: The given value is not allowed as a key");var e}var F={};function J(t,e){return W(t,Y(e))}function Y(t){return t===F?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(t,!0)}var $=new D,K=new D,Z=new D,G=new D,X=function(){};function Q(t,e){return e((function(e,n){try{var r=function(){return K.set(t,o),Z.set(t,void 0),{value:s,done:void 0===o}},i=K.get(t);if(void 0===i)return Promise.resolve({value:void 0,done:!0});var o,a,s,u=function(t,e){var n,r=-1;t:{for(var i=0;i<e.length;i++){var o=e[i][0];if(o){var a=o();if(a&&a.then)break t;if(a===t){r=i;break}}else r=i}if(-1!==r){do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then){n=!0;break t}var c=e[r][2];r++}while(c&&!c());return u}}var l=new I,f=V.bind(null,l,2);return(n?u.then(p):a.then((function n(a){for(;;){if(a===t){r=i;break}if(++i===e.length){if(-1!==r)break;return void V(l,1,u)}if(o=e[i][0]){if((a=o())&&a.then)return void a.then(n).then(void 0,f)}else r=i}do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then)return void u.then(p).then(void 0,f);var c=e[r][2];r++}while(c&&!c());V(l,1,u)}))).then(void 0,f),l;function p(t){for(;;){var n=e[r][2];if(!n||n())break;for(var i=e[++r][1];!i;)i=e[++r][1];if((t=i())&&t.then)return void t.then(p).then(void 0,f)}V(l,1,t)}}(G.get(t),[[function(){return"keys"},function(){return Promise.resolve((t=n,e=i,W(t,Y(e)).then((function(t){return t[0]})))).then((function(t){s=o=t}));var t,e}],[function(){return"values"},function(){return Promise.resolve(J(n,i)).then((function(t){var e;o=(e=t)[0],s=a=e[1]}))}],[function(){return"entries"},function(){return Promise.resolve(J(n,i)).then((function(t){var e;a=(e=t)[1],s=void 0===(o=e[0])?void 0:[o,a]}))}]]);return Promise.resolve(u&&u.then?u.then(r):r())}catch(r){return Promise.reject(r)}}))}function tt(t,e){var n=new X;return G.set(n,t),$.set(n,e),K.set(n,F),Z.set(n,void 0),n}X.prototype.return=function(){K.set(this,void 0)},X.prototype.next=function(){var t=this,e=$.get(this);if(!e)return Promise.reject(new TypeError("Invalid this value"));var n,r=Z.get(this);return n=void 0!==r?r.then((function(){return Q(t,e)})):Q(this,e),Z.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(X.prototype[Symbol.asyncIterator]=function(){return this});var et=function(t,e,n){try{return null===rt.get(t)&&(r=t,i=nt.get(r),rt.set(r,new Promise((function(t,e){var n=self.indexedDB.open(i,1);n.onsuccess=function(){var o=n.result;(function(t,e,n){if(1!==t.objectStoreNames.length||t.objectStoreNames[0]!==it)return n(at(e)),!1;var r=t.transaction(it,"readonly").objectStore(it);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(at(e)),!1)})(o,i,e)&&(o.onclose=function(){rt.set(r,null)},o.onversionchange=function(){o.close(),rt.set(r,null)},t(o))},n.onerror=function(){return e(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(it)}catch(t){e(t)}}})))),Promise.resolve(rt.get(t)).then((function(t){var r=t.transaction(it,e),i=r.objectStore(it);return n(r,i)}))}catch(r){return Promise.reject(r)}var r,i},nt=new D,rt=new D,it="store",ot=function(t){var e="kv-storage:"+t;rt.set(this,null),nt.set(this,e),this.backingStore={database:e,store:it,version:1}};function at(t){return new Error('kv-storage: database "'+t+'" corrupted')}ot.prototype.set=function(t,e){try{return H(t),et(this,"readwrite",(function(n,r){return void 0===e?r.delete(t):r.put(e,t),q(n)}))}catch(t){return Promise.reject(t)}},ot.prototype.get=function(t){try{return H(t),et(this,"readonly",(function(e,n){return z(n.get(t))}))}catch(t){return Promise.reject(t)}},ot.prototype.delete=function(t){try{return H(t),et(this,"readwrite",(function(e,n){return n.delete(t),q(e)}))}catch(t){return Promise.reject(t)}},ot.prototype.clear=function(){try{var t,e=function(){function e(){return z(self.indexedDB.deleteDatabase(nt.get(n)))}var r=function(){if(t){try{t.close()}catch(t){}return Promise.resolve(new Promise(setTimeout)).then((function(){}))}}();return r&&r.then?r.then(e):e()},n=this,r=rt.get(n),i=function(){if(null!==r){var e=function(){rt.set(n,null)},i=function(e,n){try{var i=Promise.resolve(r).then((function(e){t=e}))}catch(t){return}return i&&i.then?i.then(void 0,(function(){})):i}();return i&&i.then?i.then(e):e()}}();return i&&i.then?i.then(e):e()}catch(e){return Promise.reject(e)}},ot.prototype.keys=function(){var t=this;return tt("keys",(function(e){return et(t,"readonly",e)}))},ot.prototype.values=function(){var t=this;return tt("values",(function(e){return et(t,"readonly",e)}))},ot.prototype.entries=function(){var t=this;return tt("entries",(function(e){return et(t,"readonly",e)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(ot.prototype[Symbol.asyncIterator]=ot.prototype.entries);new ot("default");var st="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,ut=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}},ct=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}},lt="{{lit-".concat(String(Math.random()).slice(2),"}}"),ft="\x3c!--".concat(lt,"--\x3e"),pt=new RegExp("".concat(lt,"|").concat(ft)),ht="$lit$",dt=E((function t(e,n){L(this,t),this.parts=[],this.element=n;for(var r=[],i=[],o=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var f=o.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var p=f.attributes,h=p.length,d=0,v=0;v<h;v++)vt(p[v].name,ht)&&d++;for(;d-- >0;){var y=c[u],m=gt.exec(y)[2],g=m.toLowerCase()+ht,w=f.getAttribute(g);f.removeAttribute(g);var b=w.split(pt);this.parts.push({type:"attribute",index:s,name:m,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(i.push(f),o.currentNode=f.content)}else if(3===f.nodeType){var _=f.data;if(_.indexOf(lt)>=0){for(var k=f.parentNode,S=_.split(pt),C=S.length-1,x=0;x<C;x++){var P=void 0,A=S[x];if(""===A)P=mt();else{var N=gt.exec(A);null!==N&&vt(N[2],ht)&&(A=A.slice(0,N.index)+N[1]+N[2].slice(0,-ht.length)+N[3]),P=document.createTextNode(A)}k.insertBefore(P,f),this.parts.push({type:"node",index:++s})}""===S[C]?(k.insertBefore(mt(),f),r.push(f)):f.data=S[C],u+=C}}else if(8===f.nodeType)if(f.data===lt){var E=f.parentNode;(null===f.previousSibling||s===a)&&(s++,E.insertBefore(mt(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var T=-1;-1!==(T=f.data.indexOf(lt,T+1));)this.parts.push({type:"node",index:-1}),u++}else o.currentNode=i.pop()}for(var M=0,O=r;M<O.length;M++){var R=O[M];R.parentNode.removeChild(R)}})),vt=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},yt=function(t){return-1!==t.index},mt=function(){return document.createComment("")},gt=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function wt(t,e){for(var n=t.element.content,r=t.parts,i=document.createTreeWalker(n,133,null,!1),o=_t(r),a=r[o],s=-1,u=0,c=[],l=null;i.nextNode();){s++;var f=i.currentNode;for(f.previousSibling===l&&(l=null),e.has(f)&&(c.push(f),null===l&&(l=f)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[o=_t(r,o)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var bt=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},_t=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(yt(r))return n}return-1};var kt=new WeakMap,St=function(t){return function(){var e=t.apply(void 0,arguments);return kt.set(e,!0),e}},Ct=function(t){return"function"==typeof t&&kt.has(t)},xt={},Pt={},At=function(){function t(e,n,r){L(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return E(t,[{key:"update",value:function(t){var e,n=0,r=M(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=M(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=st?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(e,133,null,!1),o=0,a=0,s=i.nextNode();o<r.length;){var u;if(t=r[o],yt(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),i.currentNode=s.content),null===(s=i.nextNode())&&(i.currentNode=n.pop(),s=i.nextNode());if("node"===t.type){var c=this.processor.handleTextExpression(this.options);c.insertAfterNode(s.previousSibling),this.__parts.push(c)}else(u=this.__parts).push.apply(u,A(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)));o++}else this.__parts.push(void 0),o++}return st&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),Nt=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),Et=" ".concat(lt," "),Lt=function(){function t(e,n,r,i){L(this,t),this.strings=e,this.values=n,this.type=r,this.processor=i}return E(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var a=gt.exec(i);e+=null===a?i+(n?Et:ft):i.substr(0,a.index)+a[1]+a[2]+ht+a[3]+lt}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==Nt&&(e=Nt.createHTML(e)),t.innerHTML=e,t}}]),t}(),Tt=function(t){b(n,t);var e=k(n);function n(){return L(this,n),e.apply(this,arguments)}return E(n,[{key:"getHTML",value:function(){return"<svg>".concat(g(P(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=g(P(n.prototype),"getTemplateElement",this).call(this),e=t.content,r=e.firstChild;return e.removeChild(r),ut(e,r.firstChild),t}}]),n}(Lt),Mt=function(t){return null===t||!("object"==T(t)||"function"==typeof t)},Ot=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},Rt=function(){function t(e,n,r){L(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 E(t,[{key:"_createPart",value:function(){return new Ut(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"==T(r))return String(r);if("string"==typeof r||!Ot(r))return r}for(var i="",o=0;o<e;o++){i+=t[o];var a=n[o];if(void 0!==a){var s=a.value;if(Mt(s)||!Ot(s))i+="string"==typeof s?s:String(s);else{var u,c=M(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;i+="string"==typeof l?l:String(l)}}catch(t){c.e(t)}finally{c.f()}}}}return i+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),Ut=function(){function t(e){L(this,t),this.value=void 0,this.committer=e}return E(t,[{key:"setValue",value:function(t){t!==xt&&(!Mt(t)||t!==this.value)&&(this.value=t,Ct(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Ct(this.value);){var t=this.value;this.value=xt,t(this)}this.value!==xt&&this.committer.commit()}}]),t}(),jt=function(){function t(e){L(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return E(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(mt()),this.endNode=t.appendChild(mt())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=mt()),t.__insert(this.endNode=mt())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=mt()),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(;Ct(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=xt,t(this)}var e=this.__pendingValue;e!==xt&&(Mt(e)?e!==this.value&&this.__commitText(e):e instanceof Lt?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):Ot(e)?this.__commitIterable(e):e===Pt?(this.value=Pt,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 At&&this.value.template===e)this.value.update(t.values);else{var n=new At(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,a=M(e);try{for(a.s();!(r=a.n()).done;){var s=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(s),n.commit(),o++}}catch(t){a.e(t)}finally{a.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;ct(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),It=function(){function t(e,n,r){if(L(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 E(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Ct(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=xt,t(this)}if(this.__pendingValue!==xt){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=xt}}}]),t}(),Vt=function(t){b(n,t);var e=k(n);function n(t,r,i){var o;return L(this,n),(o=e.call(this,t,r,i)).single=2===i.length&&""===i[0]&&""===i[1],o}return E(n,[{key:"_createPart",value:function(){return new Bt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:g(P(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(Rt),Bt=function(t){b(n,t);var e=k(n);function n(){return L(this,n),e.apply(this,arguments)}return E(n)}(Ut),Dt=!1;!function(){try{var t={get capture(){return Dt=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var zt=function(){function t(e,n,r){var i=this;L(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 E(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Ct(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=xt,t(this)}if(this.__pendingValue!==xt){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=Wt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=xt}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),Wt=function(t){return t&&(Dt?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function qt(t){var e=Ht.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},Ht.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(lt);return void 0===(n=e.keyString.get(r))&&(n=new dt(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var Ht=new Map,Ft=new WeakMap,Jt=new(function(){function t(){L(this,t)}return E(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var i=e[0];return"."===i?new Vt(t,e.slice(1),n).parts:"@"===i?[new zt(t,e.slice(1),r.eventContext)]:"?"===i?[new It(t,e.slice(1),n)]:new Rt(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new jt(t)}}]),t}());"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Yt=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 Lt(t,n,"html",Jt)},$t=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 Tt(t,n,"svg",Jt)},Kt=function(t,e){return"".concat(t,"--").concat(e)},Zt=!0;void 0===window.ShadyCSS?Zt=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),Zt=!1);var Gt=function(t){return function(e){var n=Kt(e.type,t),r=Ht.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},Ht.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var o=e.strings.join(lt);if(void 0===(i=r.keyString.get(o))){var a=e.getTemplateElement();Zt&&window.ShadyCSS.prepareTemplateDom(a,t),i=new dt(e,a),r.keyString.set(o,i)}return r.stringsArray.set(e.strings,i),i}},Xt=["html","svg"],Qt=new Set,te=function(t,e,n){Qt.add(t);var r=n?n.element:document.createElement("template"),i=e.querySelectorAll("style"),o=i.length;if(0!==o){for(var a=document.createElement("style"),s=0;s<o;s++){var u=i[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){Xt.forEach((function(e){var n=Ht.get(Kt(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),wt(t,n)}))}))}(t);var c=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,i=t.parts;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),a=_t(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=bt(e),n.parentNode.insertBefore(e,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=_t(i,a);return}a=_t(i,a)}else r.appendChild(e)}(n,a,c.firstChild):c.insertBefore(a,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var l=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)e.insertBefore(l.cloneNode(!0),e.firstChild);else if(n){c.insertBefore(a,c.firstChild);var f=new Set;f.add(a),wt(n,f)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var ee={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},ne=function(t,e){return e!==t&&(e==e||t==t)},re={attribute:!0,type:String,converter:ee,reflect:!1,hasChanged:ne},ie="finalized",oe=function(t){b(r,t);var e,n=k(r);function r(){var t;return L(this,r),(t=n.call(this)).initialize(),t}return E(r,[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:re,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var o=r._propertyValueToAttribute(e,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var i=this.constructor;n=n||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=v(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(e=this.performUpdate(),t.t1=null!=e,!t.t1){t.next=13;break}return t.next=13,e;case 13:return t.abrupt("return",!this._hasRequestedUpdate);case 14:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return e.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var i=t._attributeNameForProperty(r,n);void 0!==i&&(t._attributeToPropertyMap.set(i,r),e.push(i))})),e}},{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==T(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var i=this[t];this[e]=r,this.requestUpdateInternal(t,i,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||re}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(ie)||t.finalize(),this[ie]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=M([].concat(A(Object.getOwnPropertyNames(n)),A("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var i=e.value;this.createProperty(i,n[i])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ne;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||ee,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||ee.toAttribute)(t,n)}}}]),r}(y(HTMLElement));oe.finalized=!0;var ae=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function se(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}var ue=function(t,e,n){Object.defineProperty(e,n,t)},ce=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}},le=Element.prototype,fe=(le.msMatchesSelector||le.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),pe=Symbol(),he=function(){function t(e,n){if(L(this,t),n!==pe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return E(t,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(fe?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),t}(),de=function(t){if(t instanceof he)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var ve={},ye=function(t){b(n,t);var e=k(n);function n(){return L(this,n),e.apply(this,arguments)}return E(n,[{key:"initialize",value:function(){g(P(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?fe?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){g(P(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,r=this.render();g(P(n.prototype),"update",this).call(this,t),r!==ve&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return ve}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!fe){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new he(String(e),pe)}return t}))}}}]),n}(oe);ye.finalized=!0,ye.render=function(t,e,n){if(!n||"object"!=T(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,i=Ft.has(e),o=Zt&&11===e.nodeType&&!!e.host,a=o&&!Qt.has(r),s=a?document.createDocumentFragment():e;if(function(t,e,n){var r=Ft.get(e);void 0===r&&(ct(e,e.firstChild),Ft.set(e,r=new jt(Object.assign({templateFactory:qt},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,s,Object.assign({templateFactory:Gt(r)},n)),a){var u=Ft.get(s);Ft.delete(s);var c=u.value instanceof At?u.value.template:void 0;te(r,s,c),ct(e,e.firstChild),e.appendChild(s),Ft.set(e,u)}!i&&o&&window.ShadyCSS.styleElement(e.host)};var me=function(){function t(e){L(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=M((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}return E(t,[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}]),t}(),ge=new WeakMap,we=St((function(t){return function(e){if(!(e instanceof Ut)||e instanceof Bt||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,i=ge.get(e);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),ge.set(e,i=new Set));var o=r.classList||new me(r);for(var a in i.forEach((function(e){e in t||(o.remove(e),i.delete(e))})),t){var s=t[a];s!=i.has(a)&&(s?(o.add(a),i.add(a)):(o.remove(a),i.delete(a)))}"function"==typeof o.commit&&o.commit()}})),be=new WeakMap,_e=St((function(t){return function(e){if(!(e instanceof Ut)||e instanceof Bt||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,i=be.get(e);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),be.set(e,i=new Set)),i.forEach((function(e){e in t||(i.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)i.add(o),-1===o.indexOf("-")?r[o]=t[o]:r.setProperty(o,t[o])}})),ke=function(t,e){var n=t.startNode.parentNode,r=void 0===e?t.endNode:e.startNode,i=n.insertBefore(mt(),r);n.insertBefore(mt(),r);var o=new jt(t.options);return o.insertAfterNode(i),o},Se=function(t,e){return t.setValue(e),t.commit(),t},Ce=function(t,e,n){var r=t.startNode.parentNode,i=n?n.startNode:t.endNode,o=e.endNode.nextSibling;o!==i&&ut(r,e.startNode,o,i)},xe=function(t){ct(t.startNode.parentNode,t.startNode,t.endNode.nextSibling)},Pe=function(t,e,n){for(var r=new Map,i=e;i<=n;i++)r.set(t[i],i);return r},Ae=new WeakMap,Ne=new WeakMap,Ee=St((function(t,e,n){var r;return void 0===n?n=e:void 0!==e&&(r=e),function(e){if(!(e instanceof jt))throw new Error("repeat can only be used in text bindings");var i,o=Ae.get(e)||[],a=Ne.get(e)||[],s=[],u=[],c=[],l=0,f=M(t);try{for(f.s();!(i=f.n()).done;){var p=i.value;c[l]=r?r(p,l):l,u[l]=n(p,l),l++}}catch(t){f.e(t)}finally{f.f()}for(var h,d,v=0,y=o.length-1,m=0,g=u.length-1;v<=y&&m<=g;)if(null===o[v])v++;else if(null===o[y])y--;else if(a[v]===c[m])s[m]=Se(o[v],u[m]),v++,m++;else if(a[y]===c[g])s[g]=Se(o[y],u[g]),y--,g--;else if(a[v]===c[g])s[g]=Se(o[v],u[g]),Ce(e,o[v],s[g+1]),v++,g--;else if(a[y]===c[m])s[m]=Se(o[y],u[m]),Ce(e,o[y],o[v]),y--,m++;else if(void 0===h&&(h=Pe(c,m,g),d=Pe(a,v,y)),h.has(a[v]))if(h.has(a[y])){var w=d.get(c[m]),b=void 0!==w?o[w]:null;if(null===b){var _=ke(e,o[v]);Se(_,u[m]),s[m]=_}else s[m]=Se(b,u[m]),Ce(e,b,o[v]),o[w]=null;m++}else xe(o[y]),y--;else xe(o[v]),v++;for(;m<=g;){var k=ke(e,s[g+1]);Se(k,u[m]),s[m++]=k}for(;v<=y;){var S=o[v++];null!==S&&xe(S)}Ae.set(e,s),Ne.set(e,c)}})),Le=new WeakMap,Te=St((function(t){return function(e){if(!(e instanceof jt))throw new Error("unsafeHTML can only be used in text bindings");var n=Le.get(e);if(void 0===n||!Mt(t)||t!==n.value||e.value!==n.fragment){var r=document.createElement("template");r.innerHTML=t;var i=document.importNode(r.content,!0);e.setValue(i),Le.set(e,{value:t,fragment:i})}}})),Me=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=n.reduce((function(e,n,r){return e+de(n)+t[r+1]}),t[0]);return new he(i,pe)}(n||(n=h(["\n:host {\n display: block;\n position: relative;\n width: 5em;\n height: 5em;\n margin: 5em auto;\n}\n.style-root {\n position: absolute;\n fill: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n .style-root .error { color: indianred }\n .style-root button {\n -webkit-tap-highlight-color: transparent;\n cursor: pointer; \n border: none;\n background: none;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n .style-root button:disabled {\n cursor: default; }\n .style-root .shockwave {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n border-radius: 50%; }\n .style-root svg {\n position: absolute;\n width: 60%;\n height: 60%;\n margin: 20%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0.8;\n stroke: none;\n overflow: visible !important; }\n .style-root svg g.flat {\n visibility: hidden; }\n .style-root svg g.outline {\n visibility: visible; }\n .style-root.clapped:not(.loading) svg g.flat {\n visibility: visible; }\n .style-root.clapped svg g.outline {\n visibility: hidden; }\n .style-root.loading svg g.outline {\n visibility: visible; }\n .style-root .count-container {\n position: absolute;\n width: 100%;\n color: inherit;\n user-select: none; }\n .style-root .count-container.container-top {\n top: -2.5em; }\n .style-root .count-container.container-bottom {\n bottom: -2.5em; }\n .style-root .count-container > div {\n width: 300%;\n margin-left: -100%;\n text-align: center; }\n .style-root g.sparkle circle {\n opacity: 0;\n stroke-width: 0; }\n .style-root:not(.clapped):not(.no-shockwave):not(.no-animation) .shockwave {\n animation-name: shockwave;\n animation-duration: 1.5s;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in; }\n .style-root.clap {\n animation-name: pulse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; \n animation-timing-function: ease-out; }\n .style-root.clap .sparkle circle {\n animation-name: explode;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-top .count {\n animation-name: hide-then-show;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-bottom .count {\n animation-name: hide-then-show-inverse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n\n#hand-svg {\n margin-top: 22%;\n margin-left: 22%;\n}\n\n#countdown-svg {\n width: 100%;\n height: 100%;\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n margin: 0;\n}\n\n.countdown {\n fill: none; \n transform: rotateZ(0deg);\n transform-origin: center;\n}\n\n.countdown circle {\n stroke-width: 2px;\n opacity: 1;\n stroke-linecap: round;\n stroke-dasharray: 308 308;\n transform: rotate(-90deg);\n transform-origin: center;\n}\n\n.style-root.ticking .countdown circle {\n animation-timing-function: ease;\n animation-name: countdown;\n animation-duration: 3s; \n}\n\n.style-root.loading:not(.no-animation) .countdown {\n animation: 2s linear infinite svg-animation; \n}\n\n.style-root.loading:not(.no-animation) .countdown circle {\n animation: 1.4s ease-in-out infinite both circle-animation;\n stroke-dasharray: 308;\n stroke-dashoffset: 302; \n}\n\n@keyframes svg-animation {\n 0% { \n transform: rotateZ(-90deg);\n }\n 100% { \n transform: rotateZ(270deg);\n }\n}\n\n@keyframes circle-animation {\n 0%,\n 15% {\n stroke-dashoffset: 280;\n transform: rotate(0); \n }\n 50%,\n 65% {\n stroke-dashoffset: 75;\n transform: rotate(45deg); \n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(360deg); \n }\n}\n\n@keyframes countdown {\n 0% {\n stroke-dasharray: 308 308;\n }\n 50% {\n stroke-dasharray: 308 308;\n }\n 100% {\n stroke-dasharray: 0 308;\n }\n}\n\n@keyframes explode {\n 0% {\n transform: translateX(10px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(25px);\n }\n}\n\n@keyframes shockwave {\n 0% {\n transform: scale(1);\n opacity: 1; \n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n 89.99% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 50px, inset 0 0 10px;\n }\n 90%, 100% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes hide-then-show {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 80% {\n transform: translateY(10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0); \n }\n}\n\n@keyframes hide-then-show-inverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(10px);\n }\n 50% {\n transform: translateY(-10px);\n }\n 80% {\n transform: translateY(-10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n"]))),Oe=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},Re=Oe,Ue=function(t){return parseInt(t,16)};function je(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=e.reduce((function(t,e){return t+e.length}),0),i=new Uint8Array(r),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i}function Ie(t){var e=function(t){return Array.from(Re(t),(function(t){return function(t){return t.toString(16).padStart(2,"0")}(t)}))}(t);return e.splice(4,0,"-"),e.splice(7,0,"-"),e.splice(10,0,"-"),e.splice(13,0,"-"),e.join("")}function Ve(){var t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t.buffer}function Be(t){var e=t.replace(/[^0-9a-f]/gi,"").slice(0,32);if(e.length<32)throw Error("UUID too short");return function(t){return new Uint8Array(t.match(/[0-9a-f]{1,2}/gi).map(Ue))}(e).buffer}function De(t){return t=unescape(encodeURIComponent(t)),(new TextEncoder).encode(t)}function ze(t,e){return We.apply(this,arguments)}function We(){return(We=v(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="string"==typeof e?De(e):Oe(e),i="string"==typeof n?new qe(n):n,t.t0=Uint8Array,t.next=5,crypto.subtle.digest("SHA-1",je(i,r));case 5:return t.t1=t.sent,o=new t.t0(t.t1),t.abrupt("return",(o[6]=15&o[6]|80,o[8]=63&o[8]|128,o.buffer.slice(0,16)));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var qe=function(t,e){b(i,t);var n,r=k(i);function i(t,e){var n;if(L(this,i),null==t)n=r.call(this,Ve());else if("string"==typeof t)n=r.call(this,Be(t));else if(t instanceof i)n=r.call(this,t.buffer.slice(0));else{var o=t instanceof ArrayBuffer||t instanceof SharedArrayBuffer?new Uint8Array(t,null!=e?e:0,16):new Uint8Array(t);if(o.length<16)throw Error("UUID too short");n=r.call(this,o.buffer.slice(0,16))}return S(n)}return E(i,[{key:"id",get:function(){return Ie(this)}},{key:"uuid",get:function(){return Ie(this)}},{key:"toString",value:function(){return Ie(this)}},{key:"toJSON",value:function(){return Ie(this)}}],[{key:"v4",value:function(){return new i(Ve())}},{key:"v5",value:(n=v(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=i,t.next=3,ze(e,n);case 3:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 5:case"end":return t.stop()}}),t)}))),function(t,e){return n.apply(this,arguments)})},{key:e,get:function(){return Uint8Array}}]),i}(y(Uint8Array),Symbol.species),He=Symbol.for("nodejs.util.inspect.custom"),Fe="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();qe.prototype[He]=function(){return"UUID [ ".concat(this.uuid," ]")},qe.prototype[Fe]=function(){return"UUID [ ".concat(this.uuid," ]")};var Je=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};function Ye(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=e.reduce((function(t,e){return t+e.length}),0),i=new Uint8Array(r),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i}function $e(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Ye.apply(void 0,A(e.map(Je)))}var Ke=function(t){return crypto.subtle.digest("SHA-256",t)},Ze=function(t){return Ke((new TextEncoder).encode(t))};function Ge(t){return Xe.apply(this,arguments)}function Xe(){return(Xe=v(regeneratorRuntime.mark((function t(e){var n,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.id,i=e.claps,o=e.nonce,t.t0=$e,t.next=4,Ze(n.toString());case 4:return t.t1=t.sent,t.t2=new qe(r.toString()),t.t3=new Uint32Array([i]),t.t4=new Uint32Array([o]),t.abrupt("return",(0,t.t0)(t.t1,t.t2,t.t3,t.t4).buffer);case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Qe(t,e){for(var n=new Uint8Array(t),r=Math.ceil(e/8),i=0;i<r;i++)for(var o=Math.min(8,e-8*i),a=0;a<o;a++)if(0!=(n[i]>>7-a&1))return!1;return!0}var tn=function(t){return 8+Math.round(Math.log2(15+t))};function en(t){return nn.apply(this,arguments)}function nn(){return(nn=v(regeneratorRuntime.mark((function t(e){var n,r,i,o,a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.claps,i=e.id,o=tn(r),a=0,t.t0=Uint32Array,t.next=6,Ge({url:n,id:i,claps:r,nonce:a});case 6:return t.t1=t.sent,s=new t.t0(t.t1),t.next=10,Ke(s);case 10:u=t.sent;case 11:if(Qe(u,o)){t.next=19;break}return a++,s[s.length-1]=a,t.next=16,Ke(s);case 16:u=t.sent;case 17:t.next=11;break;case 19:return t.abrupt("return",a);case 20:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var rn=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function on(t,e,n){for(var r=new URL(t,n),i=0,o=Object.entries(e||{});i<o.length;i++){var a=p(o[i],2),s=a[0],u=a[1];r.searchParams.append(s,u)}return r.href}var an,sn,un,cn,ln=new Map,fn=!1,pn=function(){var t=v(regeneratorRuntime.mark((function t(e,n,r){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(i=ln.get(n))||ln.set(n,i=ln.get(n)||v(regeneratorRuntime.mark((function t(){var e,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=on("/views",x({href:n},r&&!fn?{referrer:r}:{}),rn),t.next=3,fetch(i,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});case 3:if(o=t.sent,fn=!0,!o.ok||!(null==(e=o.headers.get("Content-Type"))?void 0:e.includes("json"))){t.next=8;break}return t.next=7,o.json();case 7:return t.abrupt("return",t.sent);case 8:if(404!==o.status){t.next=10;break}return t.abrupt("return",{});case 10:throw 402===o.status?o:(ln.delete(n),Error());case 11:case"end":return t.stop()}}),t)})))()),t.next=4,i;case 4:if(t.t1=e,t.t0=t.sent[t.t1],t.t0){t.next=8;break}t.t0={claps:0};case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),hn=function(){var t=v(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(n)).search="",i=new qe,t.next=5,en({url:r,claps:e,id:i});case 5:return o=t.sent,t.abrupt("return",{href:r.href,id:i,nonce:o});case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),dn=function(){var t=v(regeneratorRuntime.mark((function t(e,n,r,i,o){var a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=on("/claps",{href:n},rn),t.next=3,fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:i,nonce:o}),mode:"cors",credentials:"include",headers:{accept:"application/json","content-type":"application/json;charset=UTF-8"}});case 3:if(!(u=t.sent).ok||!(null==(a=u.headers.get("Content-Type"))?void 0:a.includes("json"))){t.next=6;break}return t.abrupt("return",(ln.delete(r),u.clone().json()));case 6:throw Error();case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}(),vn=new Map,yn=function(t){b(n,t);var e=k(n);function n(){var t;return L(this,n),t=e.apply(this,arguments),an.set(C(t),void 0),t}return E(n,[{key:"connectedCountKey",get:function(){}},{key:"allDisconnectedCallback",value:function(){}},{key:"connectedCallback",value:function(){var t;g(P(n.prototype),"connectedCallback",this).call(this),j(this,an,null!=(t=this.connectedCountKey)?t:this),vn.set(U(this,an),1+(vn.get(U(this,an))||0))}},{key:"disconnectedCallback",value:function(){var t;g(P(n.prototype),"disconnectedCallback",this).call(this);var e=((null==vn?void 0:vn.get(U(this,an)))||0)-1;e>0?vn.set(U(this,an),e):(vn.delete(U(this,an)),null==(t=this.allDisconnectedCallback)||t.call(this))}}]),n}(ye);an=new WeakMap,(un=sn||(sn={})).Top="top",un.Bottom="bottom",function(t){t[t.PaymentRequired=1]="PaymentRequired",t[t.CryptoRequired=2]="CryptoRequired",t[t.Generic=3]="Generic"}(cn||(cn={}));var mn=new ot("clap-button"),gn=function(t){for(var e,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(e=t.classList).remove.apply(e,i),t.offsetWidth,(n=t.classList).add.apply(n,i)},wn=function(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){return t.apply(void 0,i)}),e)}},bn=function(t){var e=new URL(t);return e.hash="",e.search="",e.href},_n=function(t){b(n,t);var e=k(n);function n(){return L(this,n),e.apply(this,arguments)}return E(n)}(ye);_n=O([ae("clap-config")],_n);var kn=function(t){b(n,t);var e=k(n);function n(){var t;return L(this,n),(t=e.apply(this,arguments)).at=1,t}return E(n)}(ye);O([se({type:Number,reflect:!0})],kn.prototype,"at",2),kn=O([ae("clap-text")],kn);var Sn,Cn,xn,Pn,An,Nn,En,Ln,Tn=function(t){b(n,t);var e=k(n);function n(){var t;return L(this,n),t=e.apply(this,arguments),Sn.set(C(t),void 0),t.textPlacement=sn.Bottom,t.noWave=!1,t.messages=!1,t.uiClaps=0,t.bufferedClaps=0,t.loading=!1,t.clapped=!1,t.clicking=!1,t.ready=!1,t.error=null,t.isIntersecting=!1,Cn.set(C(t),void 0),xn.set(C(t),void 0),Pn.set(C(t),"BroadcastChannel"in window?new BroadcastChannel("clap-button"):null),An.set(C(t),Math.trunc(1e9*Math.random())),Nn.set(C(t),(function(e){0===e.button&&(e.preventDefault(),t.clapped=!0,t.clicking=!0,t.bufferedClaps++,gn(t.styleRoot,"clap","ticking"),U(C(t),En).call(C(t)),t.uiClaps=t.bufferedClaps)})),En.set(C(t),wn(v(regeneratorRuntime.mark((function e(){var n,r,i,o,a,s,u,c,l,f,p,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bufferedClaps,t.bufferedClaps=0,t.loading=!0,e.next=4,hn(r,t.canonical);case 4:return i=e.sent,o=i.href,a=i.id,s=i.nonce,e.next=10,dn(r,o,t.parentHref,a,s);case 10:return u=e.sent,c=u.claps,t.loading=!1,t.clicking=!1,t.styleRoot.classList.remove("ticking"),gn(t.styleRoot,"clap"),l={btnId:U(C(t),An),claps:r,totalClaps:c,href:o},U(C(t),Pn)?U(C(t),Pn).postMessage(l):U(C(t),Ln).call(C(t),{data:l}),setTimeout((function(){t.uiClaps=c}),250),e.next=17,mn.get(o);case 17:if(e.t0=n=e.sent,null==e.t0){e.next=22;break}e.t1=n,e.next=23;break;case 22:e.t1={claps:0};case 23:return f=e.t1,p=f.claps,h=N(f,["claps"]),e.next=28,mn.set(o,x(x({},h),{claps:p+r}));case 28:case"end":return e.stop()}}),e)}))),3e3)),Ln.set(C(t),(function(e){var n=e.data,r=n.href,i=n.claps;n.btnId!==U(C(t),An)&&[r,bn(r)].includes(t.canonical)&&(t.clapped=!0,t.uiClaps+=i,gn(t.styleRoot,"clap"))})),t}return E(n,[{key:"canonical",get:function(){var t=this.href||this.url||"",e=j(this,Cn,U(this,Cn)||this.ownerDocument.head.querySelector("link[rel=canonical]")),n=null!=e?new URL(e.href):this.ownerDocument.location;return new URL(t,n.href).href}},{key:"parentHref",get:function(){return bn(this.canonical)}},{key:"referrer",get:function(){var t=new URLSearchParams(this.ownerDocument.location.search);return t.get("referrer")||t.get("referer")||this.ownerDocument.referrer}},{key:"connectedCallback",value:function(){var t,e=this;if(g(P(n.prototype),"connectedCallback",this).call(this),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){null==(t=U(this,Pn))||t.addEventListener("message",U(this,Ln)),Tn.intersectionObserver.observe(this);var r=this.ownerDocument.querySelector("clap-config");j(this,Sn,new MutationObserver((function(){var t,n=Array.from(null!=(t=null==r?void 0:r.querySelectorAll("clap-text"))?t:[]);j(e,xn,new Map(null==n?void 0:n.map((function(t){return[t.at,t.innerHTML]})).sort((function(t,e){var n=p(t,1)[0];return p(e,1)[0]-n}))))}))),r&&U(this,Sn).observe(r,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),v(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,mn.get(e.canonical);case 3:return t.t0=t.sent,e.clapped=null!=t.t0,t.prev=5,t.next=8,pn(e.canonical,e.parentHref,e.referrer);case 8:n=t.sent,r=n.claps,e.loading=!1,e.ready=!0,e.uiClaps=r,t.next=16;break;case 13:t.prev=13,t.t1=t.catch(5),e.loading=!1,e.ready=!1,e.error=402===t.t1.status?1:3;case 16:case"end":return t.stop()}}),t,null,[[5,13]])})))()}else this.error=2}},{key:"disconnectedCallback",value:function(){var t;g(P(n.prototype),"disconnectedCallback",this).call(this),Tn.intersectionObserver.unobserve(this),U(this,Sn).disconnect(),null==(t=U(this,Pn))||t.removeEventListener("message",U(this,Ln))}},{key:"connectedCountKey",get:function(){return this.parentHref}},{key:"allDisconnectedCallback",value:function(){!function(t){ln.delete(t)}(this.parentHref)}},{key:"render",value:function(){var t,e,n=this,d=$t(r||(r=h(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" id="hand-svg">\n <g class="flat">\n <path d="M57.0443547 6.86206897C57.6058817 6.46227795 57.7389459 5.67962382 57.3416215 5.11431557 56.9442971 4.54900731 56.1672933 4.41483804 55.6055588 4.81504702L52.4950525 7.030721C51.9335255 7.43051202 51.8004613 8.21316614 52.1977857 8.7784744 52.4404567 9.12371996 52.8251182 9.30825496 53.2153846 9.30825496 53.4640757 9.30825496 53.7152578 9.23343783 53.9338485 9.07753396L57.0443547 6.86206897zM48.8035059 6.1414838C48.94778 6.19623824 49.0959982 6.22215256 49.2415177 6.22215256 49.7455426 6.22215256 50.2198824 5.91201672 50.4075424 5.40898642L51.7485642 1.81818182C51.9906124 1.17011494 51.664906.447021944 51.0209664.203343783 50.3772345-.0405433647 49.6587706.287774295 49.4167224.93584117L48.0757006 4.52664577C47.83386 5.17471264 48.1595664 5.89780564 48.8035059 6.1414838zM58.5931726 11.6219436C58.5846615 11.6219436 58.5761504 11.6219436 58.5674317 11.6219436L54.7579749 11.6541275C54.0702341 11.6681296 53.5240687 12.1985371 53.5379772 12.8909091 53.551678 13.5745037 54.1065621 14.1297806 54.7828855 14.1297806 54.7913966 14.1297806 54.7999077 14.1297806 54.8086265 14.1297806L58.6180833 14.0643678C59.305824 14.0501567 59.8519894 13.4934169 59.838081 12.8010449 59.8243801 12.1174504 59.269496 11.6219436 58.5931726 11.6219436z"/>\n <path d="M37.1910045 6.68944619C37.7313574 6.14566353 38.4431784 5.8737722 39.155207 5.8737722 39.967916 5.8737722 40.7808327 6.22800418 41.3380002 6.93667712 42.2214969 8.06039707 42.0666359 9.69111808 41.0600392 10.7042842L39.777765 11.9949843C39.5801407 12.1276907 39.3877061 12.2695925 39.2075193 12.430303 39.0619998 11.5985371 38.7167801 10.7954023 38.1668781 10.0961338 37.4907623 9.23636364 36.588375 8.62424242 35.5772114 8.31410658L37.1910045 6.68944619zM28.5289586 3.66394984C29.0691039 3.12016719 29.7811325 2.84827586 30.4931611 2.84827586 31.3060777 2.84848485 32.1187868 3.20271682 32.6759543 3.91138976 33.559451 5.03510972 33.40459 6.66562173 32.3979933 7.67878788L17.6760235 22.3467085 17.6276554 20.6499478C17.6149925 19.014629 16.8595779 17.554441 15.6854573 16.5945664L28.5289586 3.66394984zM.624996757 36.9889537C.491717597 36.554099.508245877 35.7327064.906400646 35.2666667L3.45579518 32.2829676C3.45662553 32.2819923 4.33763118 25.8376176 6.09881213 12.9498433 6.09881213 11.4271682 7.33624726 10.1814002 8.84873717 10.1814002 10.3612271 10.1814002 11.5988698 11.4271682 11.5988698 12.9498433L11.6704878 15.4649948C9.18191673 15.8089864 7.24428555 17.9170324 7.14921001 20.492581L4.62804751 38.9475444 3.8946373 39.8060606C3.04504924 39.4926018 2.3776139 39.1458968 1.89233128 38.7659456 1.16440735 38.1960189.758275917 37.4238085.624996757 36.9889537z"/>\n <path d="M49.6070811,36.8942529 L42.4182909,44.1316614 C36.2784454,50.3128527 29.8604313,55.2743992 24.2225349,56.5113898 C24.0512744,56.5492163 23.8901857,56.6217346 23.7511014,56.7293626 L20.5013032,59.2417973 C20.2908084,59.4045977 20.1673015,59.6181154 19.5026647,59.6181154 C18.8380279,59.6181154 13.0160695,55.8303982 10.3595306,53.2846814 C7.96626306,50.9912532 3.77432047,43.9549368 4.44453927,43.0079415 L6.99372621,40.0244514 C6.99469496,40.0233368 7.87570061,33.578962 9.63674317,20.6913271 C9.63674317,19.168652 10.8743859,17.922675 12.3868758,17.922675 C13.8993657,17.922675 15.1368008,19.168652 15.1368008,20.6913271 L15.2667512,25.2522466 C15.2883404,26.0100313 15.907577,26.5034483 16.5519317,26.5034483 C16.8662207,26.5034483 17.1867374,26.3857889 17.4464306,26.1245559 L32.0670972,11.4054336 C32.6074501,10.861442 33.3190635,10.5897597 34.0312997,10.5897597 C34.8440088,10.5897597 35.6569254,10.9439916 36.214093,11.6526646 C37.0975897,12.7763845 36.942521,14.4071055 35.9359243,15.4202717 L25.8641449,25.5598746 C25.3412294,26.0865204 25.3412294,26.9398119 25.8641449,27.4660397 C26.1288202,27.7324974 26.4757006,27.8658307 26.822581,27.8658307 C27.1694614,27.8658307 27.5165494,27.7324974 27.7810172,27.4660397 L40.7291431,14.43093 C41.2692884,13.8869383 41.9811094,13.615256 42.6933456,13.615256 C43.5060547,13.615465 44.3189713,13.969697 44.8761389,14.6783699 C45.7596356,15.8018809 45.6045669,17.4326019 44.5979702,18.445768 L31.7106677,31.4198537 C31.1806943,31.953605 31.1806943,32.8183908 31.7106677,33.3521421 C31.9718141,33.615047 32.31392,33.7464995 32.656441,33.7464995 C32.9985469,33.7464995 33.3408603,33.615047 33.6020067,33.3521421 L43.7346096,23.1515152 C44.2749625,22.6075235 44.9867835,22.3358412 45.6988121,22.3358412 C46.5115212,22.3358412 47.3244378,22.6900731 47.8816054,23.3989551 C48.7651021,24.522466 48.6100334,26.153187 47.6034367,27.1663532 L37.5667397,37.2708464 C37.0245185,37.8165099 37.0245185,38.7017764 37.5667397,39.2474399 C37.8334909,39.5161964 38.161896,39.6422153 38.4900934,39.6422153 C38.8184984,39.6422153 39.1469035,39.5161964 39.3972552,39.2639498 L45.6195133,32.999791 C46.1802099,32.4353187 46.93085,32.1368861 47.678999,32.1368861 C48.2741552,32.1368861 48.8676508,32.3258098 49.361919,32.7197492 C50.682182,33.7717868 50.7639719,35.7297806 49.6070811,36.8942529 Z"/>\n </g>\n <g class="outline">\n <path d="M57.1428763 6.63333333C57.6856856 6.24686869 57.8143144 5.49030303 57.4302341 4.94383838 57.0461538 4.39737374 56.2950502 4.26767677 55.7520401 4.65454545L52.7452174 6.79636364C52.202408 7.18282828 52.0737793 7.93939394 52.4578595 8.48585859 52.6924415 8.81959596 53.0642809 8.9979798 53.4415385 8.9979798 53.6819398 8.9979798 53.9247492 8.92565657 54.1360535 8.77494949L57.1428763 6.63333333zM49.1767224 5.93676768C49.3161873 5.98969697 49.4594649 6.01474747 49.6001338 6.01474747 50.0873579 6.01474747 50.5458863 5.71494949 50.727291 5.22868687L52.023612 1.75757576C52.257592 1.13111111 51.9427425.432121212 51.3202676.196565657 50.6979933-.0391919192 50.0034783.278181818 49.7694983.904646465L48.4731773 4.37575758C48.239398 5.00222222 48.5542475 5.70121212 49.1767224 5.93676768zM58.6400669 11.2345455C58.6318395 11.2345455 58.623612 11.2345455 58.6151839 11.2345455L54.932709 11.2656566C54.267893 11.2791919 53.7399331 11.7919192 53.7533779 12.4612121 53.7666221 13.1220202 54.30301 13.6587879 54.9567893 13.6587879 54.9650167 13.6587879 54.9732441 13.6587879 54.9816722 13.6587879L58.6641472 13.5955556C59.3289632 13.5818182 59.8569231 13.0436364 59.8434783 12.3743434 59.8302341 11.7135354 59.2938462 11.2345455 58.6400669 11.2345455zM51.2107023 29.7280808C50.5940468 29.2365657 49.8640134 28.9020202 49.0922408 28.7448485 49.1432107 28.6519192 49.1907692 28.5573737 49.2357191 28.4614141L49.7189298 27.9749495C51.5799331 26.1012121 51.7753846 23.1519192 50.1732441 21.1141414 49.4169231 20.1523232 48.3670234 19.5131313 47.2009365 19.2745455 47.284214 19.120202 47.3580602 18.9624242 47.4250836 18.8022222 48.6925084 16.9539394 48.6718395 14.469899 47.2681605 12.6844444 46.5116388 11.7220202 45.4613378 11.0808081 44.2946488 10.8426263 45.2578595 9.05959596 45.1348495 6.83737374 43.8481605 5.20121212 42.8753177 3.96383838 41.4182609 3.25393939 39.8502341 3.25393939 38.5946488 3.25393939 37.4101003 3.70565657 36.480602 4.53272727 36.3399331 3.72888889 36.0064214 2.95252525 35.4748495 2.27636364 34.501806 1.0389899 33.0447492.329292929 31.4767224.329090909 30.1141806.329090909 28.8351171.861414141 27.8753177 1.82767677L15.6666221 14.1185859 15.6200669 12.4781818C15.5985953 9.68424242 13.3340468 7.41777778 10.5537793 7.41777778 7.8238796 7.41777778 5.59143813 9.60262626 5.49110368 12.3264646L3.05377926 30.1660606 1.05050167 32.510303C-.150100334 33.9157576.751318148 36.4103164 1.05050167 37.002855 1.3496852 37.5953936 1.66593319 37.9666982 2.51271962 38.8651283 2.8050341 39.1752704 3.3712736 39.6680391 4.21143813 40.3434343 3.2935786 41.7335354 4.72327715 47.298456 9.51045561 52.4226263 15.4436869 58.7735254 20.1888963 59.9262626 21.1316388 59.9262626 21.9056187 59.9262626 22.6703679 59.6646465 23.2846154 59.189899L26.2031438 56.9337374C29.0107023 56.2660606 32.1060201 54.7492929 35.4086288 52.4226263 38.2924415 50.3907071 41.4210702 47.6832323 44.7070234 44.3749495L51.656388 37.3787879C52.681204 36.3470707 53.220602 34.9165657 53.1363211 33.4541414 53.0520401 31.9941414 52.350301 30.6361616 51.2107023 29.7280808zM37.9513043 6.46646465C38.4736455 5.94080808 39.1617391 5.6779798 39.8500334 5.6779798 40.6356522 5.6779798 41.4214716 6.02040404 41.9600669 6.70545455 42.8141137 7.79171717 42.6644147 9.36808081 41.6913712 10.3474747L40.4518395 11.5951515C40.2608027 11.7234343 40.0747826 11.8606061 39.900602 12.0159596 39.7599331 11.2119192 39.4262207 10.4355556 38.8946488 9.75959596 38.2410702 8.92848485 37.3687625 8.33676768 36.3913043 8.0369697L37.9513043 6.46646465zM29.5779933 3.54181818C30.1001338 3.01616162 30.7884281 2.75333333 31.4767224 2.75333333 32.2625418 2.75353535 33.0481605 3.0959596 33.5867559 3.7810101 34.4408027 4.86727273 34.2911037 6.44343434 33.3180602 7.42282828L19.0868227 21.6018182 19.0400669 19.9616162C19.0278261 18.3808081 18.297592 16.9692929 17.1626087 16.0414141L29.5779933 3.54181818zM2.60416353 35.7559886C2.47532701 35.335629 2.49130435 34.5416162 2.87618729 34.0911111L5.34060201 31.2068687C5.34140468 31.2059259 6.19304348 24.9763636 7.89551839 12.5181818 7.89551839 11.0462626 9.09170569 9.8420202 10.5537793 9.8420202 12.0158528 9.8420202 13.2122408 11.0462626 13.2122408 12.5181818L13.2814716 14.9494949C10.8758528 15.2820202 9.00280936 17.319798 8.91090301 19.8094949L6.47377926 37.6492929 5.76481605 38.4791919C4.9435476 38.1761817 4.2983601 37.8410335 3.82925357 37.4737474 3.12559377 36.9228183 2.73300005 36.1763482 2.60416353 35.7559886zM49.9535117 35.6644444L43.0043478 42.6606061C37.0691639 48.6357576 30.8650836 53.4319192 25.4151171 54.6276768 25.2495652 54.6642424 25.0938462 54.7343434 24.959398 54.8383838L21.8179264 57.2670707C21.6144482 57.4244444 21.4950582 57.6308449 20.8525759 57.6308449 20.2100936 57.6308449 14.5822005 53.9693849 12.0142129 51.5085254 9.70072096 49.2915447 5.64850979 42.4897722 6.29638796 41.5743434L8.76060201 38.690303C8.76153846 38.6892256 9.61317726 32.4596633 11.3155184 20.0016162 11.3155184 18.529697 12.5119064 17.3252525 13.9739799 17.3252525 15.4360535 17.3252525 16.6322408 18.529697 16.6322408 20.0016162L16.7578595 24.4105051C16.7787291 25.1430303 17.3773244 25.62 18.0002007 25.62 18.3040134 25.62 18.6138462 25.5062626 18.8648829 25.2537374L32.998194 11.0252525C33.5205351 10.4993939 34.2084281 10.2367677 34.8969231 10.2367677 35.6825418 10.2367677 36.4683612 10.5791919 37.0069565 11.2642424 37.8610033 12.3505051 37.7111037 13.9268687 36.7380602 14.9062626L27.0020067 24.7078788C26.4965217 25.2169697 26.4965217 26.0418182 27.0020067 26.5505051 27.2578595 26.8080808 27.5931773 26.9369697 27.928495 26.9369697 28.2638127 26.9369697 28.5993311 26.8080808 28.8549833 26.5505051L41.371505 13.949899C41.8936455 13.4240404 42.5817391 13.1614141 43.2702341 13.1614141 44.0558528 13.1616162 44.8416722 13.5040404 45.3802676 14.1890909 46.2343144 15.2751515 46.0844147 16.8515152 45.1113712 17.8309091L32.6536455 30.3725253C32.1413378 30.8884848 32.1413378 31.7244444 32.6536455 32.240404 32.906087 32.4945455 33.2367893 32.6216162 33.567893 32.6216162 33.8985953 32.6216162 34.2294983 32.4945455 34.4819398 32.240404L44.2767893 22.379798C44.7991304 21.8539394 45.4872241 21.5913131 46.1755184 21.5913131 46.9611371 21.5913131 47.7469565 21.9337374 48.2855518 22.6189899 49.1395987 23.7050505 48.989699 25.2814141 48.0166555 26.2608081L38.3145151 36.0284848C37.7903679 36.5559596 37.7903679 37.4117172 38.3145151 37.9391919 38.5723746 38.1989899 38.8898328 38.3208081 39.2070903 38.3208081 39.5245485 38.3208081 39.8420067 38.1989899 40.0840134 37.9551515L46.0988629 31.899798C46.6408696 31.3541414 47.3664883 31.0656566 48.089699 31.0656566 48.6650167 31.0656566 49.2387291 31.2482828 49.7165217 31.6290909 50.9927759 32.6460606 51.0718395 34.5387879 49.9535117 35.6644444z"/>\n </g>\n </svg>']))),v=$t(i||(i=h(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" id="countdown-svg">\n <g class="countdown">\n <circle cx="50" cy="50" r="49"/>\n </g>\n </svg>\n ']))),y=this.bufferedClaps,m=5+y,g=300*(1-Math.pow(Math.E,-y/15)),w=$t(o||(o=h(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">\n <g class="sparkle">\n ',"\n </g>\n </svg>"])),Ee(function(t){return A(new Array(t).keys())}(m),(function(t){return t}),(function(t){return $t(a||(a=h(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),_e({transform:"rotate(".concat(Math.floor(360/m*t),"deg) translateX(10px)")}),_e({animationDelay:"".concat(Math.floor(Math.random()*g),"ms")}))})));return Yt(s||(s=h(["\n <div \n class=","\n style=",'\n >\n <div class="shockwave"></div>\n <div class=','>\n <div class="count">\n ',"","\n ","\n ","\n ","\n </div>\n </div>\n <div class=",">\n ","\n </div>\n ","\n ","\n ","\n <button\n ?disabled=","\n @mousedown=","\n @touchstart=","\n ></button>\n </div>\n "])),we({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),_e(x({},null!=this.error?{"--clap-button-color":"indianred"}:{})),we({"count-container":!0,"container-top":this.textPlacement===sn.Top,"container-bottom":this.textPlacement===sn.Bottom}),this.clicking?"+":"",this.ready?function(t){return null!=t?t.toLocaleString("en"):""}(this.uiClaps):"",1===this.error?Yt(u||(u=h(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Yt(c||(c=h(['<span class="error">Crypto required</span>']))):null,3===this.error?Yt(l||(l=h(['<span class="error">Error</span>']))):null,we({"count-container":!0,"container-top":this.textPlacement===sn.Bottom,"container-bottom":this.textPlacement===sn.Top}),this.messages?Yt(f||(f=h(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?Te(null!=(e=null==(t=A(U(this,xn)).find((function(t){var e=p(t,1)[0];return n.uiClaps>=e})))?void 0:t[1])?e:""):""):null,d,w,v,this.loading||!this.ready,this.loading||!this.ready?null:U(this,Nn),this.loading||!this.ready?null:U(this,Nn))}}]),n}(yn);Sn=new WeakMap,Cn=new WeakMap,xn=new WeakMap,Pn=new WeakMap,An=new WeakMap,Nn=new WeakMap,En=new WeakMap,Ln=new WeakMap,Tn.styles=Me,Tn.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){return t.target.isIntersecting=t.isIntersecting}))})),O([function(t,e){return function(n,r){var i={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var o="symbol"==T(r)?Symbol():"__".concat(r);i.get=function(){return void 0===this[o]&&(this[o]=this.renderRoot.querySelector(t)),this[o]}}return void 0!==r?ue(i,n,r):ce(i,n)}}(".style-root")],Tn.prototype,"styleRoot",2),O([se({type:String,reflect:!0,attribute:"text-placement"})],Tn.prototype,"textPlacement",2),O([se({type:Boolean,reflect:!0})],Tn.prototype,"noWave",2),O([se({type:Boolean,reflect:!0})],Tn.prototype,"messages",2),O([se({type:String,reflect:!1})],Tn.prototype,"href",2),O([se({type:String,reflect:!1})],Tn.prototype,"url",2),O([se()],Tn.prototype,"uiClaps",2),O([se()],Tn.prototype,"bufferedClaps",2),O([se()],Tn.prototype,"loading",2),O([se()],Tn.prototype,"clapped",2),O([se()],Tn.prototype,"clicking",2),O([se()],Tn.prototype,"ready",2),O([se()],Tn.prototype,"error",2),O([se()],Tn.prototype,"isIntersecting",2),Tn=O([ae("clap-button")],Tn)}()}}]);
@@ -1,48 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.6 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{355:function(e,t,n){"use strict";n.r(t),n.d(t,"HyDrawer",(function(){return Ue}));var r=n(1),i=n(333),o=n(322);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(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 c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function c(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}function u(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)}}
15
- /**
16
- * @license
17
- * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
18
- * This code may only be used under the BSD style license found at
19
- * http://polymer.github.io/LICENSE.txt
20
- * The complete set of authors may be found at
21
- * http://polymer.github.io/AUTHORS.txt
22
- * The complete set of contributors may be found at
23
- * http://polymer.github.io/CONTRIBUTORS.txt
24
- * Code distributed by Google as part of the polymer project is also
25
- * subject to an additional IP rights grant found at
26
- * http://polymer.github.io/PATENTS.txt
27
- */
28
- var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.classes=new Set,this.changed=!1,this.element=t;var n,r=a((t.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(e){r.e(e)}finally{r.f()}}var t,n,r;return t=e,(n=[{key:"add",value:function(e){this.classes.add(e),this.changed=!0}},{key:"remove",value:function(e){this.classes.delete(e),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var e="";this.classes.forEach((function(t){return e+=t+" "})),this.element.setAttribute("class",e)}}}])&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),s=new WeakMap,f=Object(o.c)((function(e){return function(t){if(!(t instanceof o.a)||t instanceof o.b||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=t.committer,r=n.element,i=s.get(t);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),s.set(t,i=new Set));var a=r.classList||new l(r);for(var c in i.forEach((function(t){t in e||(a.remove(t),i.delete(t))})),e){var u=e[c];u!=i.has(c)&&(u?(a.add(c),i.add(c)):(a.remove(c),i.delete(c)))}"function"==typeof a.commit&&a.commit()}})),p=new WeakMap,b=Object(o.c)((function(e){return function(t){if(!(t instanceof o.a)||t instanceof o.b||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=t.committer,r=n.element.style,i=p.get(t);for(var a in void 0===i&&(r.cssText=n.strings.join(" "),p.set(t,i=new Set)),i.forEach((function(t){t in e||(i.delete(t),-1===t.indexOf("-")?r[t]=null:r.removeProperty(t))})),e)i.add(a),-1===a.indexOf("-")?r[a]=e[a]:r.setProperty(a,e[a])}})),v=n(359),h=n(369),y=n(342),d=n(318),O=n(158),j=n(362),m=n(328),g=n(48),w=n(339),S=n(159),k=n(160),E=n(11),x=n(33),A=n(9);function C(e){return Object(E.a)((function(t,n){var r=!1,i=null;t.subscribe(new A.a(n,(function(e){r=!0,i=e})));e.subscribe(new A.a(n,(function(){if(r){r=!1;var e=i;i=null,n.next(e)}}),x.a))}))}var P=n(152);function M(e){return void 0===e&&(e=P.a),Object(g.a)((function(t){return{value:t,timestamp:e.now()}}))}var I=n(343),T=n(156),R=n(341),$=n(157),z=n(360),D=n(361);function X(e){return Object(T.a)((function(t,n){return e<=n}))}var _=n(320),W=n(116);function B(e,t,n,r){return n*Math.sin(e/r*(Math.PI/2))+t}function U(e){return("ResizeObserver"in window?Object(_.e)(e):Object(W.a)({contentRect:{width:e.clientWidth}})).pipe(Object(g.a)((function(e){return e.contentRect.width})))}var Y={fromAttribute:function(e){return(null!=e?e:"").replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute:function(e){return e.join(",")}};var F=n(340),J=n(334);function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(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 H(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 H(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}function L(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 V=Math.abs.bind(Math),q=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:"getStartObservable",value:function(){return Object(h.a)([this.$.mouseEvents]).pipe(Object($.a)((function(e){var t=N(e,1)[0],n=Object(d.a)(document,"touchstart",{passive:!0}).pipe(Object(T.a)((function(e){return 1===e.touches.length})),Object(g.a)((function(e){return e.touches[0]}))),r=t?Object(d.a)(document,"mousedown").pipe(Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(y.a)(n,r)})))}},{key:"getMoveObservable",value:function(e,t){return Object(h.a)([this.$.mouseEvents,this.$.preventDefault]).pipe(Object($.a)((function(n){var r=N(n,2),i=r[0],o=r[1],a=Object(d.a)(document,"touchmove",{passive:!o}).pipe(Object(g.a)((function(e){return e.touches[0].event=e,e.touches[0]}))),c=i?Object(d.a)(document,"mousemove",{passive:!o}).pipe(Object(_.l)(Object(y.a)(e.pipe(Object(F.a)(!0)),t.pipe(Object(F.a)(!1)))),Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(y.a)(a,c)})))}},{key:"getEndObservable",value:function(){return Object(h.a)([this.$.mouseEvents]).pipe(Object($.a)((function(e){var t=N(e,1)[0],n=Object(d.a)(document,"touchend",{passive:!0}).pipe(Object(T.a)((function(e){return 0===e.touches.length})),Object(g.a)((function(e){return e.changedTouches[0]}))),r=t?Object(d.a)(document,"mouseup",{passive:!0}).pipe(Object(g.a)((function(e){return e.event=e,e}))):O.a;return Object(y.a)(n,r)})))}},{key:"getIsSlidingObservable",value:function(e,t,n){return this.getIsSlidingObservableInner(e,t).pipe(Object(J.a)(1),Object(R.a)(void 0),(r=function(){return n},Object(E.a)((function(e,t){var n,i,o=!1,a=!1,c=!1,u=function(){return c&&a&&(t.complete(),!0)},l=function(){return i||(i=new m.a,r(i).subscribe(new A.a(t,(function(){n?s():o=!0}),(function(){a=!0,u()})))),i},s=function r(){c=!1,n=e.subscribe(new A.a(t,void 0,(function(){c=!0,!u()&&l().next()}))),o&&(n.unsubscribe(),n=null,o=!1,r())};s()}))));var r}},{key:"getIsSlidingObservableInner",value:function(e,t){var n,r=this;return this.threshold?e.pipe(Object(S.a)(t),(n=function(e){var t=N(e,2),n=t[0],i=n.clientX,o=n.clientY,a=t[1],c=a.clientX,u=a.clientY;return V(u-o)<r.threshold&&V(c-i)<r.threshold},Object(E.a)((function(e,t){var r=!1,i=0;e.subscribe(new A.a(t,(function(e){return(r||(r=!n(e,i++)))&&t.next(e)})))}))),Object(g.a)((function(e){var t=N(e,2),n=t[0],r=n.clientX,i=n.clientY,o=t[1],a=o.clientX,c=o.clientY;return V(a-r)>=V(c-i)}))):e.pipe(Object(S.a)(t),Object(g.a)((function(e){var t=N(e,2),n=t[0],i=n.clientX,o=n.clientY,a=n.event,c=t[1],u=c.clientX,l=c.clientY,s=V(u-i)>=V(l-o);return r.noScroll&&s&&a&&a.preventDefault(),s})))}}])&&L(t.prototype,n),r&&L(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return K(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 K(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 K(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}function Q(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 Z=Math.min.bind(Math),ee=Math.max.bind(Math),te=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:"calcIsInRange",value:function(e,t){var n=e.clientX;switch(this.side){case"left":var r=G(this.range,2),i=r[0],o=r[1];return n>i&&(t||n<o);case"right":var a=window.innerWidth-this.range[0],c=window.innerWidth-this.range[1];return n<a&&(t||n>c);default:throw Error()}}},{key:"calcIsSwipe",value:function(e,t,n,r,i){var o=e.clientX;return t.clientX!==o||n>0&&n<r}},{key:"calcWillOpen",value:function(e,t,n,r,i){switch(this.side){case"left":return i>.15||!(i<-.15)&&n>=r/2;case"right":return-i>.15||!(-i<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(e,t,n,r){var i=e.clientX,o=t.clientX;switch(this.side){case"left":return ee(0,Z(r,n+(i-o)));case"right":return Z(0,ee(-r,n+(i-o)));default:throw Error()}}}])&&Q(t.prototype,n),r&&Q(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ne(e){return(ne="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 re(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var i=ce(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){if(t&&("object"===ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function le(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 se(e,t,n){return t&&le(e.prototype,t),n&&le(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var fe,pe=function(){function e(){ue(this,e)}return se(e,[{key:"updateDOM",value:function(e,t){var n=e/t*("left"===this.side?1:-1)||0;this.translateX=e,this.opacity=n,this.updater.updateDOM(e,n)}}]),e}(),be=function(){function e(t){ue(this,e),this.parent=t}return se(e,[{key:"contentEl",get:function(){return this.parent.contentEl}},{key:"scrimEl",get:function(){return this.parent.scrimEl}}],[{key:"getUpdaterForPlatform",value:function(e){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new he(e):new ve(e)}}]),e}(),ve=function(e){re(n,e);var t=oe(n);function n(e){return ue(this,n),t.call(this,e)}return se(n,[{key:"updateDOM",value:function(e,t){this.contentEl.style.transform="translate(".concat(e,"px, 0px)"),this.scrimEl.style.opacity="".concat(t)}}]),n}(be),he=function(e){re(n,e);var t=oe(n);function n(e){var r;return ue(this,n),(r=t.call(this,e)).tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),r.ovalue=CSS.number(1),r}return se(n,[{key:"updateDOM",value:function(e,t){this.tvalue[0].x.value=e,this.ovalue.value=t,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}]),n}(be);var ye,de,Oe,je,me,ge,we,Se,ke=Object(i.b)(fe||(ye=["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"],de||(de=ye.slice(0)),fe=Object.freeze(Object.defineProperties(ye,{raw:{value:Object.freeze(de)}}))));function Ee(e){return(Ee="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 xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||Me(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 Pe(e){return function(e){if(Array.isArray(e))return Ie(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Me(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 Me(e,t){if(e){if("string"==typeof e)return Ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(e,t):void 0}}function Ie(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}function Te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(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 $e(){return($e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=ze(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function ze(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Be(e)););return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Be(e);if(t){var i=Be(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _e(this,n)}}function _e(e,t){if(t&&("object"===Ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return We(e)}function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
29
- /**
30
- * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
31
- *
32
- * This program is free software: you can redistribute it and/or modify
33
- * it under the terms of the GNU General Public License as published by
34
- * the Free Software Foundation, either version 3 of the License, or
35
- * (at your option) any later version.
36
- *
37
- * This program is distributed in the hope that it will be useful,
38
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40
- * GNU General Public License for more details.
41
- *
42
- * You should have received a copy of the GNU General Public License
43
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
44
- *
45
- * @license
46
- * @nocompile
47
- */
48
- var Ue=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&De(e,t)}(c,e);var t,n,o,a=Xe(c);function c(){var e;return Te(this,c),(e=a.apply(this,arguments)).opened=!1,e.side="left",e.persistent=!1,e.threshold=10,e.noScroll=!1,e.mouseEvents=!1,e.range=[0,100],e.willChange=!1,me.set(We(e),Object(_.f)()),ge.set(We(e),void 0),we.set(We(e),void 0),Se.set(We(e),void 0),e.upgrade=function(){var t=e.getDrawerWidth(),n=e.$.persistent.pipe(Object(g.a)((function(e){return!e}))),i=e.getStartObservable().pipe(Object(_.h)(n),Object(w.a)()),o=Object(v.a)((function(){return Object(r.e)(We(e),ge,"f").pipe(Object(g.a)((function(e){return 0!==e})))})),a=i.pipe(Object(S.a)(o),Object(g.a)((function(t){var n;return(n=e).calcIsInRange.apply(n,Pe(t))})),Object(k.a)((function(t){t&&(e.willChange=!0,e.fireEvent("prepare"))})),Object(w.a)()),c=e.getEndObservable().pipe(Object(_.h)(n,a),Object(k.a)((function(){e.mouseEvents&&(e.grabbing=!1)})),Object(w.a)()),u=e.getMoveObservable(i,c).pipe(Object(_.h)(n,a),Object(w.a)()),l=e.getIsSlidingObservable(u,i,c).pipe(Object(k.a)((function(t){e.isSliding=t,t&&e.mouseEvents&&(e.grabbing=!0)}))),s=Object(r.f)(We(e),ge,Object(v.a)((function(){var n=Object(h.a)([e.$.opened,e.$.side,t]).pipe(Object(g.a)((function(e){var t=Ce(e,3),n=t[0],r=t[1],i=t[2];return n?i*("left"===r?1:-1):0}))),o=u.pipe(Object(_.h)(l),Object(k.a)((function(){return e.scrimClickable=!1})),Object(k.a)((function(t){var n=t.event;return n&&e.noScroll&&n.preventDefault()})),Object(S.a)(i,Object(r.e)(We(e),we,"f"),t),Object(g.a)((function(t){var n;return(n=e).calcTranslateX.apply(n,Pe(t))})));return Object(y.a)(Object(r.e)(We(e),Se,"f"),n,o)})).pipe(Object(w.a)()),"f");Object(r.f)(We(e),we,s.pipe(C(i)),"f");var f=s.pipe(M(),Object(I.a)(),Object(T.a)((function(e){var t=Ce(e,2),n=t[0].timestamp;return t[1].timestamp-n>0})),Object(g.a)((function(e){var t=Ce(e,2),n=t[0],r=n.value,i=n.timestamp,o=t[1];return(o.value-r)/(o.timestamp-i)})),Object(R.a)(0)),p=c.pipe(Object(S.a)(i,s,t,f),Object(T.a)((function(t){var n;return(n=e).calcIsSwipe.apply(n,Pe(t))})),Object(g.a)((function(t){var n;return(n=e).calcWillOpen.apply(n,Pe(t))}))),b=e.animateTo$.pipe(Object(k.a)((function(){e.willChange=!0,e.fireEvent("prepare")})));Object(r.f)(We(e),Se,Object(y.a)(p,b).pipe(Object(S.a)(s,t),Object($.a)((function(t){var n=Ce(t,3),r=n[0],o=n[1],a=n[2],c="left"===e.side?1:-1,u=(r?a*c:0)-o,l=Math.ceil(200+.15*a);return Object(_.m)(B,o,u,l).pipe(Object(z.a)((function(){e.transitioned(r)})),Object(D.a)(i),Object(D.a)(e.$.side.pipe(X(1))),Object(w.a)())}))),"f"),s.pipe(Object(S.a)(t),Object(k.a)((function(t){var n;(n=e).updateDOM.apply(n,Pe(t));var r=We(e),i=r.translateX,o=r.opacity;e.fireEvent("move",{detail:{translateX:i,opacity:o},bubbles:!1})}))).subscribe(),Object(d.a)(e.scrimEl,"click").pipe(Object(k.a)((function(){return e.close()}))).subscribe(),n.pipe(Object(k.a)((function(t){e.scrimEl.style.display=t?"block":"none"}))).subscribe(),e.$.mouseEvents.pipe(Object($.a)((function(e){return e?i.pipe(Object(S.a)(a)):O.a})),Object(T.a)((function(e){var t=Ce(e,2),n=t[0];return t[1]&&null!=n.event})),Object(k.a)((function(e){var t=Ce(e,1)[0].event;return t&&t.preventDefault()}))).subscribe(),e.fireEvent("init",{detail:e.opened}),Object(r.e)(We(e),me,"f").resolve(We(e))},e.transitioned=function(t){e.opened=e.scrimClickable=t,e.willChange=!1,e.fireEvent("transitioned",{detail:t})},e}return t=c,(n=[{key:"initialized",get:function(){return Object(r.e)(this,me,"f")}},{key:"getDrawerWidth",value:function(){var e=this,t=U(this.contentEl).pipe(Object(k.a)((function(t){return e.fireEvent("content-width-change",{detail:t})}))),n=U(this.peekEl).pipe(Object(k.a)((function(t){return e.fireEvent("peek-width-change",{detail:t})})));return Object(h.a)([t,n]).pipe(Object(g.a)((function(e){var t=Ce(e,2);return t[0]-t[1]})),Object(w.a)())}},{key:"connectedCallback",value:function(){$e(Be(c.prototype),"connectedCallback",this).call(this),this.$={opened:new j.a(this.opened),side:new j.a(this.side),persistent:new j.a(this.persistent),preventDefault:new j.a(this.noScroll),mouseEvents:new j.a(this.mouseEvents)},this.scrimClickable=this.opened,this.animateTo$=new m.a,this.updater=be.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}},{key:"render",value:function(){var e;return Object(i.d)(Oe||(Oe=Ae(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n '])),b({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(i.d)(je||(je=Ae(['<div class="grabbing-screen full-screen"></div>']))):null,f((xe(e={wrapper:!0,"full-height":!0},this.side,!0),xe(e,"grab",this.mouseEvents),xe(e,"grabbing",this.mouseEvents&&this.grabbing),e)),b({willChange:this.willChange?"transform":""}))}},{key:"open",value:function(){this.animateTo$.next(!0)}},{key:"close",value:function(){this.animateTo$.next(!1)}},{key:"toggle",value:function(){this.animateTo$.next(!this.opened)}}])&&Re(t.prototype,n),o&&Re(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(Object(_.b)(_.a,[q,pe,te]));me=new WeakMap,ge=new WeakMap,we=new WeakMap,Se=new WeakMap,Ue.styles=ke,Object(r.g)([Object(i.f)(".scrim")],Ue.prototype,"scrimEl",void 0),Object(r.g)([Object(i.f)(".wrapper")],Ue.prototype,"contentEl",void 0),Object(r.g)([Object(i.f)(".peek")],Ue.prototype,"peekEl",void 0),Object(r.g)([Object(i.e)({type:Boolean,reflect:!0})],Ue.prototype,"opened",void 0),Object(r.g)([Object(i.e)({type:String,reflect:!0})],Ue.prototype,"side",void 0),Object(r.g)([Object(i.e)({type:Boolean,reflect:!0})],Ue.prototype,"persistent",void 0),Object(r.g)([Object(i.e)({type:Number,reflect:!0})],Ue.prototype,"threshold",void 0),Object(r.g)([Object(i.e)({type:Boolean,reflect:!0})],Ue.prototype,"noScroll",void 0),Object(r.g)([Object(i.e)({type:Boolean,reflect:!0})],Ue.prototype,"mouseEvents",void 0),Object(r.g)([Object(i.e)({reflect:!0,converter:Y,hasChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((function(e,n){return e!==t[n]}))}})],Ue.prototype,"range",void 0),Object(r.g)([Object(i.e)()],Ue.prototype,"scrimClickable",void 0),Object(r.g)([Object(i.e)()],Ue.prototype,"grabbing",void 0),Object(r.g)([Object(i.e)()],Ue.prototype,"willChange",void 0),Object(r.g)([Object(i.e)()],Ue.prototype,"open",null),Object(r.g)([Object(i.e)()],Ue.prototype,"close",null),Object(r.g)([Object(i.e)()],Ue.prototype,"toggle",null),Ue=Object(r.g)([Object(i.c)("hy-drawer")],Ue)},369:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(8);function i(e){return(i="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 o=Array.isArray,a=Object.getPrototypeOf,c=Object.prototype,u=Object.keys;function l(e){if(1===e.length){var t=e[0];if(o(t))return{args:t,keys:null};if((r=t)&&"object"===i(r)&&a(r)===c){var n=u(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var r;return{args:e,keys:null}}var s=n(67),f=n(39),p=n(153),b=n(51);function v(e,t){return e.reduce((function(e,n,r){return e[n]=t[r],e}),{})}var h=n(9),y=n(21);function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object(b.c)(e),i=Object(b.b)(e),o=l(e),a=o.args,c=o.keys;if(0===a.length)return Object(s.a)([],n);var u=new r.a(O(a,n,c?function(e){return v(c,e)}:f.a));return i?u.pipe(Object(p.a)(i)):u}function O(e,t,n){return void 0===n&&(n=f.a),function(r){j(t,(function(){for(var i=e.length,o=new Array(i),a=i,c=i,u=function(i){j(t,(function(){var u=Object(s.a)(e[i],t),l=!1;u.subscribe(new h.a(r,(function(e){o[i]=e,l||(l=!0,c--),c||r.next(n(o.slice()))}),(function(){--a||r.complete()})))}),r)},l=0;l<i;l++)u(l)}),r)}}function j(e,t,n){e?Object(y.a)(n,e,t):t()}},370:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(121),i=n(11),o=n(9),a=n(15),c={leading:!0,trailing:!1};var u=n(357);function l(e,t,n){void 0===t&&(t=r.b),void 0===n&&(n=c);var l=Object(u.a)(e,t);return function(e,t){return void 0===t&&(t=c),Object(i.a)((function(n,r){var i=t.leading,c=t.trailing,u=!1,l=null,s=null,f=!1,p=function(){null==s||s.unsubscribe(),s=null,c&&(h(),f&&r.complete())},b=function(){s=null,f&&r.complete()},v=function(t){return s=Object(a.a)(e(t)).subscribe(new o.a(r,p,b))},h=function(){if(u){u=!1;var e=l;l=null,r.next(e),!f&&v(e)}};n.subscribe(new o.a(r,(function(e){u=!0,l=e,(!s||s.closed)&&(i?h():v(e))}),(function(){f=!0,(!(c&&u&&s)||s.closed)&&r.complete()})))}))}((function(){return l}),n)}}}]);