jekyll-theme-hydejack 9.1.9 → 9.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +53 -90
- data/_config.yml +1 -4
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/meta.html +8 -0
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/pro/dark-mode-fix.html +7 -0
- data/_includes/scripts/dark-mode-fix.js +10 -0
- data/_includes/scripts/dark-mode-fix.min.js +1 -0
- data/_includes/styles/inline.scss +6 -0
- data/_includes/styles/page-style.scss +9 -2
- data/_includes/styles/style.scss +10 -0
- data/_includes/styles/variables.scss +1 -1
- data/_includes/templates/index.html +3 -0
- data/_includes/templates/pro/dark-mode.html +6 -0
- data/_layouts/compress.html +1 -1
- data/_sass/_mixins.scss +1 -1
- data/_sass/html.scss +0 -2
- data/_sass/pooleparty/__link__/_code.scss +1 -0
- data/_sass/pooleparty/_code.pre.scss +1 -0
- data/_sass/pro/_dark-mode-dynamic-syntax.scss +9 -0
- data/_sass/pro/_dark-mode-dynamic.scss +20 -0
- data/_sass/pro/_dark-mode.scss +32 -0
- data/_sass/pro/_syntax-dark.scss +139 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +15 -1
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +48 -6
- data/assets/js/{LEGACY-clap-button-hydejack-9.1.9.js → LEGACY-clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-drawer-hydejack-9.1.9.js → LEGACY-drawer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-fetch-hydejack-9.1.9.js → LEGACY-fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.2.0.js +13 -0
- data/assets/js/{LEGACY-navbar-hydejack-9.1.9.js → LEGACY-navbar-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-push-state-hydejack-9.1.9.js → LEGACY-push-state-hydejack-9.2.0.js} +2 -2
- data/assets/js/{resize-observer-hydejack-9.1.9.js → LEGACY-resize-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.9.js → LEGACY-shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~clap-button-hydejack-9.1.9.js → LEGACY-vendors~clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~drawer-hydejack-9.1.9.js → LEGACY-vendors~drawer-hydejack-9.2.0.js} +4 -4
- data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.9.js → LEGACY-vendors~drawer~push-state-hydejack-9.2.0.js} +13 -13
- data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.9.js → LEGACY-vendors~fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.9.js → LEGACY-vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.9.js → LEGACY-vendors~push-state-hydejack-9.2.0.js} +3 -3
- data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.9.js → LEGACY-vendors~shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.9.js → LEGACY-vendors~webanimations-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.9.js → LEGACY-vendors~webcomponents-hydejack-9.2.0.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.9.js → LEGACY-webcomponents-hydejack-9.2.0.js} +2 -2
- data/assets/js/clap-button-hydejack-9.2.0.js +14 -0
- data/assets/js/drawer-hydejack-9.2.0.js +14 -0
- data/assets/js/{shadydom-hydejack-9.1.9.js → fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/hydejack-9.2.0.js +13 -0
- data/assets/js/navbar-hydejack-9.2.0.js +14 -0
- data/assets/js/push-state-hydejack-9.2.0.js +14 -0
- data/assets/js/{LEGACY-resize-observer-hydejack-9.1.9.js → resize-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{fetch-hydejack-9.1.9.js → shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~clap-button-hydejack-9.1.9.js → vendors~clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~drawer-hydejack-9.1.9.js → vendors~drawer-hydejack-9.2.0.js} +4 -4
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.9.js → vendors~drawer~push-state-hydejack-9.2.0.js} +11 -11
- data/assets/js/{vendors~fetch-hydejack-9.1.9.js → vendors~fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.9.js → vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~push-state-hydejack-9.1.9.js → vendors~push-state-hydejack-9.2.0.js} +3 -3
- data/assets/js/{vendors~shadydom-hydejack-9.1.9.js → vendors~shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~webanimations-hydejack-9.1.9.js → vendors~webanimations-hydejack-9.2.0.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.1.9.js → webcomponents-hydejack-9.2.0.js} +2 -2
- data/assets/version.json +2 -2
- metadata +46 -39
- data/_includes/scripts.html +0 -33
- data/assets/js/LEGACY-hydejack-9.1.9.js +0 -13
- data/assets/js/clap-button-hydejack-9.1.9.js +0 -14
- data/assets/js/drawer-hydejack-9.1.9.js +0 -14
- data/assets/js/hydejack-9.1.9.js +0 -13
- data/assets/js/navbar-hydejack-9.1.9.js +0 -14
- data/assets/js/push-state-hydejack-9.1.9.js +0 -14
- /data/assets/css/{hydejack-9.1.9.css → hydejack-9.2.0.css} +0 -0
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.
|
12
|
+
* Powered by Hydejack v9.2.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{343:function(t,e){!function(t){var e=[];function n(n){var r=this,o="$BroadcastChannel$"+(n=String(n))+"$";e[o]=e[o]||[],e[o].push(this),this._name=n,this._id=o,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,o.length)===o){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 o=new Error;throw o.name="InvalidStateError",o}var i=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(a,i),setTimeout((function(){t.localStorage.removeItem(a)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(i))}))},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)},344:function(t,e){var n,r,o,i,a,s,u,c,l,f;function h(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){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,e)||U(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 p(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function d(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),s=new N(r||[]);return o(a,"_invoke",{value:P(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",v="completed",y={};function m(){}function g(){}function w(){}var b={};c(b,a,(function(){return this}));var _=Object.getPrototypeOf,k=_&&_(_(O([])));k&&k!==n&&r.call(k,a)&&(b=k);var S=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==M(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=L(s,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=f(e,n,r);if("normal"===c.type){if(o=r.done?v:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=v,r.method="throw",r.arg=c.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(M(e)+" is not iterable")}return g.prototype=w,o(S,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=c(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(C.prototype),c(C.prototype,s,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new C(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),c(S,u,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=O,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}function v(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function y(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){v(i,r,o,a,s,"next",t)}function s(t){v(i,r,o,a,s,"throw",t)}a(void 0)}))}}function m(t){var e="function"==typeof Map?new Map:void 0;return(m=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;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,n)}function n(){return g(t,arguments,C(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),L(n,t)})(t)}function g(t,e,n){if(_())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&L(o,n.prototype),o}function w(t,e,n){return e=C(e),function(t,e){if(e&&("object"==M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}(t,_()?Reflect.construct(e,n||[],C(t).constructor):e.apply(t,n))}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function k(t,e,n,r){var o=S(C(1&r?t.prototype:t),e,n);return 2&r?function(t){return o.apply(n,t)}:o}function S(){return(S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=x(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(null,arguments)}function x(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=C(t)););return t}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(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&&L(t,e)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function E(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||U(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 A(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,O(r.key),r)}}function N(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function O(t){var e=function(t,e){if("object"!=M(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M(e)?e:e+""}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t){return(M="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 j(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=U(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,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,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function U(t,e){if(t){if("string"==typeof t)return I(t,e);var n={}.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)?I(t,e):void 0}}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}!function(){var t=Object.defineProperty,e=Object.prototype.hasOwnProperty,v=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertySymbols,_=Object.prototype.propertyIsEnumerable,S=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)&&S(t,r,n[r]);if(g){var o,i=j(g(n));try{for(i.s();!(o=i.n()).done;){r=o.value;_.call(n,r)&&S(t,r,n[r])}}catch(t){i.e(t)}finally{i.f()}}return t},C=function(t,n){var r={};for(var o in t)e.call(t,o)&&n.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&g){var i,a=j(g(t));try{for(a.s();!(i=a.n()).done;){o=i.value;n.indexOf(o)<0&&_.call(t,o)&&(r[o]=t[o])}}catch(t){a.e(t)}finally{a.f()}}return r},L=function(e,n,r,o){for(var i,a=o>1?void 0:o?v(n,r):n,s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o?i(n,r,a):i(a))||a);return o&&a&&t(n,r,a),a},A=function(t,e,n){if(!e.has(t))throw TypeError("Cannot "+n)},O=function(t,e,n){return A(t,e,"read from private field"),n?n.call(t):e.get(t)},U=function(t,e,n,r){return A(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,o=this.s;if(o){var i=1&o?e:n;if(i){try{R(r,1,i(this.v))}catch(t){R(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?R(r,1,e?e(o):o):n?R(r,1,n(o)):R(r,2,o)}catch(o){R(r,2,o)}},r},t}();function R(t,e,n){if(!t.s){if(n instanceof I){if(!n.s)return void(n.o=R.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(R.bind(null,t,e),R.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var V=0,B="function"==typeof WeakMap?WeakMap:function(){var t="function"==typeof Symbol?Symbol(0):"__weak$"+ ++V;this.set=function(e,n){e[t]=n},this.get=function(e){return e[t]}};function D(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 z(t,e){return D(t.openCursor(e),(function(t){return t?[t.key,t.value]:[]}))}function W(t){return new Promise((function(e,n){t.oncomplete=function(){e()},t.onabort=function(){n(t.error)},t.onerror=function(){n(t.error)}}))}function q(t){if(!("number"==typeof(e=t)||"string"==typeof e||"object"==M(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 H={};function F(t,e){return z(t,J(e))}function J(t){return t===H?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(t,!0)}var Y=new B,G=new B,$=new B,K=new B,Z=function(){};function X(t,e){return e((function(e,n){try{var r=function(){return G.set(t,i),$.set(t,void 0),{value:s,done:void 0===i}},o=G.get(t);if(void 0===o)return Promise.resolve({value:void 0,done:!0});var i,a,s,u=function(t,e){var n,r=-1;t:{for(var o=0;o<e.length;o++){var i=e[o][0];if(i){var a=i();if(a&&a.then)break t;if(a===t){r=o;break}}else r=o}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=R.bind(null,l,2);return(n?u.then(h):a.then((function n(a){for(;;){if(a===t){r=o;break}if(++o===e.length){if(-1!==r)break;return void R(l,1,u)}if(i=e[o][0]){if((a=i())&&a.then)return void a.then(n).then(void 0,f)}else r=o}do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then)return void u.then(h).then(void 0,f);var c=e[r][2];r++}while(c&&!c());R(l,1,u)}))).then(void 0,f),l;function h(t){for(;;){var n=e[r][2];if(!n||n())break;for(var o=e[++r][1];!o;)o=e[++r][1];if((t=o())&&t.then)return void t.then(h).then(void 0,f)}R(l,1,t)}}(K.get(t),[[function(){return"keys"},function(){return Promise.resolve((t=n,e=o,z(t,J(e)).then((function(t){return t[0]})))).then((function(t){s=i=t}));var t,e}],[function(){return"values"},function(){return Promise.resolve(F(n,o)).then((function(t){var e;i=(e=t)[0],s=a=e[1]}))}],[function(){return"entries"},function(){return Promise.resolve(F(n,o)).then((function(t){var e;a=(e=t)[1],s=void 0===(i=e[0])?void 0:[i,a]}))}]]);return Promise.resolve(u&&u.then?u.then(r):r())}catch(r){return Promise.reject(r)}}))}function Q(t,e){var n=new Z;return K.set(n,t),Y.set(n,e),G.set(n,H),$.set(n,void 0),n}Z.prototype.return=function(){G.set(this,void 0)},Z.prototype.next=function(){var t=this,e=Y.get(this);if(!e)return Promise.reject(new TypeError("Invalid this value"));var n,r=$.get(this);return n=void 0!==r?r.then((function(){return X(t,e)})):X(this,e),$.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(Z.prototype[Symbol.asyncIterator]=function(){return this});var tt=function(t,e,n){try{return null===nt.get(t)&&(r=t,o=et.get(r),nt.set(r,new Promise((function(t,e){var n=self.indexedDB.open(o,1);n.onsuccess=function(){var i=n.result;(function(t,e,n){if(1!==t.objectStoreNames.length||t.objectStoreNames[0]!==rt)return n(it(e)),!1;var r=t.transaction(rt,"readonly").objectStore(rt);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(it(e)),!1)})(i,o,e)&&(i.onclose=function(){nt.set(r,null)},i.onversionchange=function(){i.close(),nt.set(r,null)},t(i))},n.onerror=function(){return e(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(rt)}catch(t){e(t)}}})))),Promise.resolve(nt.get(t)).then((function(t){var r=t.transaction(rt,e),o=r.objectStore(rt);return n(r,o)}))}catch(r){return Promise.reject(r)}var r,o},et=new B,nt=new B,rt="store",ot=function(t){var e="kv-storage:"+t;nt.set(this,null),et.set(this,e),this.backingStore={database:e,store:rt,version:1}};function it(t){return new Error('kv-storage: database "'+t+'" corrupted')}ot.prototype.set=function(t,e){try{return q(t),tt(this,"readwrite",(function(n,r){return void 0===e?r.delete(t):r.put(e,t),W(n)}))}catch(t){return Promise.reject(t)}},ot.prototype.get=function(t){try{return q(t),tt(this,"readonly",(function(e,n){return D(n.get(t))}))}catch(t){return Promise.reject(t)}},ot.prototype.delete=function(t){try{return q(t),tt(this,"readwrite",(function(e,n){return n.delete(t),W(e)}))}catch(t){return Promise.reject(t)}},ot.prototype.clear=function(){try{var t,e=function(){function e(){return D(self.indexedDB.deleteDatabase(et.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=nt.get(n),o=function(){if(null!==r){var e=function(){nt.set(n,null)},o=function(e,n){try{var o=Promise.resolve(r).then((function(e){t=e}))}catch(t){return}return o&&o.then?o.then(void 0,(function(){})):o}();return o&&o.then?o.then(e):e()}}();return o&&o.then?o.then(e):e()}catch(e){return Promise.reject(e)}},ot.prototype.keys=function(){var t=this;return Q("keys",(function(e){return tt(t,"readonly",e)}))},ot.prototype.values=function(){var t=this;return Q("values",(function(e){return tt(t,"readonly",e)}))},ot.prototype.entries=function(){var t=this;return Q("entries",(function(e){return tt(t,"readonly",e)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(ot.prototype[Symbol.asyncIterator]=ot.prototype.entries);new ot("default");var at="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,st=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},ut=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}},ct="{{lit-".concat(String(Math.random()).slice(2),"}}"),lt="\x3c!--".concat(ct,"--\x3e"),ft=new RegExp("".concat(ct,"|").concat(lt)),ht="$lit$",pt=N((function t(e,n){T(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var f=i.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var h=f.attributes,p=h.length,d=0,v=0;v<p;v++)dt(h[v].name,ht)&&d++;for(;d-- >0;){var y=c[u],m=mt.exec(y)[2],g=m.toLowerCase()+ht,w=f.getAttribute(g);f.removeAttribute(g);var b=w.split(ft);this.parts.push({type:"attribute",index:s,name:m,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(o.push(f),i.currentNode=f.content)}else if(3===f.nodeType){var _=f.data;if(_.indexOf(ct)>=0){for(var k=f.parentNode,S=_.split(ft),x=S.length-1,C=0;C<x;C++){var P=void 0,L=S[C];if(""===L)P=yt();else{var E=mt.exec(L);null!==E&&dt(E[2],ht)&&(L=L.slice(0,E.index)+E[1]+E[2].slice(0,-ht.length)+E[3]),P=document.createTextNode(L)}k.insertBefore(P,f),this.parts.push({type:"node",index:++s})}""===S[x]?(k.insertBefore(yt(),f),r.push(f)):f.data=S[x],u+=x}}else if(8===f.nodeType)if(f.data===ct){var A=f.parentNode;(null===f.previousSibling||s===a)&&(s++,A.insertBefore(yt(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var N=-1;-1!==(N=f.data.indexOf(ct,N+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var O=0,M=r;O<M.length;O++){var j=M[O];j.parentNode.removeChild(j)}})),dt=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},vt=function(t){return-1!==t.index},yt=function(){return document.createComment("")},mt=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function gt(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=bt(r),a=r[i],s=-1,u=0,c=[],l=null;o.nextNode();){s++;var f=o.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[i=bt(r,i)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var wt=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},bt=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(vt(r))return n}return-1};var _t=new WeakMap,kt=function(t){return function(){var e=t.apply(void 0,arguments);return _t.set(e,!0),e}},St=function(t){return"function"==typeof t&&_t.has(t)},xt={},Ct={},Pt=function(){return N((function t(e,n,r){T(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}),[{key:"update",value:function(t){var e,n=0,r=j(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=j(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=at?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;){var u;if(t=r[i],vt(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.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,E(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)));i++}else this.__parts.push(void 0),i++}return at&&(document.adoptNode(e),customElements.upgrade(e)),e}}])}(),Lt=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),Et=" ".concat(ct," "),At=function(){return N((function t(e,n,r,o){T(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}),[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=mt.exec(o);e+=null===a?o+(n?Et:lt):o.substr(0,a.index)+a[1]+a[2]+ht+a[3]+ct}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==Lt&&(e=Lt.createHTML(e)),t.innerHTML=e,t}}])}(),Nt=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e,[{key:"getHTML",value:function(){return"<svg>".concat(k(e,"getHTML",this,3)([]),"</svg>")}},{key:"getTemplateElement",value:function(){var t=k(e,"getTemplateElement",this,3)([]),n=t.content,r=n.firstChild;return n.removeChild(r),st(n,r.firstChild),t}}])}(At),Ot=function(t){return null===t||!("object"==M(t)||"function"==typeof t)},Tt=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},Mt=function(){return N((function t(e,n,r){T(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}),[{key:"_createPart",value:function(){return new jt(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"==M(r))return String(r);if("string"==typeof r||!Tt(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var a=n[i];if(void 0!==a){var s=a.value;if(Ot(s)||!Tt(s))o+="string"==typeof s?s:String(s);else{var u,c=j(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;o+="string"==typeof l?l:String(l)}}catch(t){c.e(t)}finally{c.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}])}(),jt=function(){return N((function t(e){T(this,t),this.value=void 0,this.committer=e}),[{key:"setValue",value:function(t){t!==xt&&(!Ot(t)||t!==this.value)&&(this.value=t,St(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;St(this.value);){var t=this.value;this.value=xt,t(this)}this.value!==xt&&this.committer.commit()}}])}(),Ut=function(){return N((function t(e){T(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}),[{key:"appendInto",value:function(t){this.startNode=t.appendChild(yt()),this.endNode=t.appendChild(yt())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=yt()),t.__insert(this.endNode=yt())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=yt()),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(;St(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=xt,t(this)}var e=this.__pendingValue;e!==xt&&(Ot(e)?e!==this.value&&this.__commitText(e):e instanceof At?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):Tt(e)?this.__commitIterable(e):e===Ct?(this.value=Ct,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 Pt&&this.value.template===e)this.value.update(t.values);else{var n=new Pt(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n,r=this.value,o=0,i=j(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;void 0===(e=r[o])&&(e=new Ut(this.options),r.push(e),0===o?e.appendIntoPart(this):e.insertAfterPart(r[o-1])),e.setValue(a),e.commit(),o++}}catch(t){i.e(t)}finally{i.f()}o<r.length&&(r.length=o,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;ut(this.startNode.parentNode,t.nextSibling,this.endNode)}}])}(),It=function(){return N((function t(e,n,r){if(T(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}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;St(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}}}])}(),Rt=function(t){function e(t,n,r){var o;return T(this,e),(o=w(this,e,[t,n,r])).single=2===r.length&&""===r[0]&&""===r[1],o}return P(e,t),N(e,[{key:"_createPart",value:function(){return new Vt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:k(e,"_getValue",this,3)([])}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}])}(Mt),Vt=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e)}(jt),Bt=!1;!function(){try{var t={get capture(){return Bt=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var Dt=function(){return N((function t(e,n,r){var o=this;T(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;St(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),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=zt(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)}}])}(),zt=function(t){return t&&(Bt?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function Wt(t){var e=qt.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},qt.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(ct);return void 0===(n=e.keyString.get(r))&&(n=new pt(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var qt=new Map,Ht=new WeakMap,Ft=new(function(){return N((function t(){T(this,t)}),[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new Rt(t,e.slice(1),n).parts:"@"===o?[new Dt(t,e.slice(1),r.eventContext)]:"?"===o?[new It(t,e.slice(1),n)]:new Mt(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new Ut(t)}}])}());"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Jt=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 At(t,n,"html",Ft)},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 Nt(t,n,"svg",Ft)},Gt=function(t,e){return"".concat(t,"--").concat(e)},$t=!0;void 0===window.ShadyCSS?$t=!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."),$t=!1);var Kt=function(t){return function(e){var n=Gt(e.type,t),r=qt.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},qt.set(n,r));var o=r.stringsArray.get(e.strings);if(void 0!==o)return o;var i=e.strings.join(ct);if(void 0===(o=r.keyString.get(i))){var a=e.getTemplateElement();$t&&window.ShadyCSS.prepareTemplateDom(a,t),o=new pt(e,a),r.keyString.set(i,o)}return r.stringsArray.set(e.strings,o),o}},Zt=["html","svg"],Xt=new Set,Qt=function(t,e,n){Xt.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a=document.createElement("style"),s=0;s<i;s++){var u=o[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){Zt.forEach((function(e){var n=qt.get(Gt(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)})),gt(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,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),a=bt(o),s=0,u=-1;i.nextNode();)for(u++,i.currentNode===n&&(s=wt(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(s>0){for(;-1!==a;)o[a].index+=s,a=bt(o,a);return}a=bt(o,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),gt(n,f)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var te={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}},ee=function(t,e){return e!==t&&(e==e||t==t)},ne={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:ee},re="finalized",oe=function(t){function e(){var t;return T(this,e),(t=w(this,e)).initialize(),t}return P(e,t),N(e,[{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]:ne,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=y(d().mark((function t(){var e;return d().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 n.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 o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),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]:ne;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==M(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||ne}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(re)||t.finalize(),this[re]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=j([].concat(E(Object.getOwnPropertyNames(n)),E("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||te,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||te.toAttribute)(t,n)}}}]);var n}(m(HTMLElement));oe.finalized=!0;var ie=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 ae(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 se=function(t,e,n){Object.defineProperty(e,n,t)},ue=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}},ce=Element.prototype,le=(ce.msMatchesSelector||ce.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),fe=Symbol(),he=function(){return N((function t(e,n){if(T(this,t),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}),[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(le?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}])}(),pe=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 de={},ve=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e,[{key:"initialize",value:function(){k(e,"initialize",this,3)([]),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?le?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(){k(e,"connectedCallback",this,3)([]),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this,r=this.render();k(e,"update",this,3)([t]),r!==de&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var e=document.createElement("style");e.textContent=t.cssText,n.renderRoot.appendChild(e)})))}},{key:"render",value:function(){return de}}],[{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,n){return t.reduceRight((function(t,n){return Array.isArray(n)?e(n,t):(t.add(n),t)}),n)},n=e(t,new Set),r=[];n.forEach((function(t){return r.unshift(t)})),this._styles=r}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!le){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new he(String(e),fe)}return t}))}}}])}(oe);ve.finalized=!0,ve.render=function(t,e,n){if(!n||"object"!=M(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,o=Ht.has(e),i=$t&&11===e.nodeType&&!!e.host,a=i&&!Xt.has(r),s=a?document.createDocumentFragment():e;if(function(t,e,n){var r=Ht.get(e);void 0===r&&(ut(e,e.firstChild),Ht.set(e,r=new Ut(Object.assign({templateFactory:Wt},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,s,Object.assign({templateFactory:Kt(r)},n)),a){var u=Ht.get(s);Ht.delete(s);var c=u.value instanceof Pt?u.value.template:void 0;Qt(r,s,c),ut(e,e.firstChild),e.appendChild(s),Ht.set(e,u)}!o&&i&&window.ShadyCSS.styleElement(e.host)};var ye=function(){return N((function t(e){T(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=j((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var o=n.value;this.classes.add(o)}}catch(t){r.e(t)}finally{r.f()}}),[{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)}}}])}(),me=new WeakMap,ge=kt((function(t){return function(e){if(!(e instanceof jt)||e instanceof Vt||"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,o=me.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),me.set(e,o=new Set));var i=r.classList||new ye(r);for(var a in o.forEach((function(e){e in t||(i.remove(e),o.delete(e))})),t){var s=t[a];s!=o.has(a)&&(s?(i.add(a),o.add(a)):(i.remove(a),o.delete(a)))}"function"==typeof i.commit&&i.commit()}})),we=new WeakMap,be=kt((function(t){return function(e){if(!(e instanceof jt)||e instanceof Vt||"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,o=we.get(e);for(var i in void 0===o&&(r.cssText=n.strings.join(" "),we.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(i),-1===i.indexOf("-")?r[i]=t[i]:r.setProperty(i,t[i])}})),_e=function(t,e){var n=t.startNode.parentNode,r=void 0===e?t.endNode:e.startNode,o=n.insertBefore(yt(),r);n.insertBefore(yt(),r);var i=new Ut(t.options);return i.insertAfterNode(o),i},ke=function(t,e){return t.setValue(e),t.commit(),t},Se=function(t,e,n){var r=t.startNode.parentNode,o=n?n.startNode:t.endNode,i=e.endNode.nextSibling;i!==o&&st(r,e.startNode,i,o)},xe=function(t){ut(t.startNode.parentNode,t.startNode,t.endNode.nextSibling)},Ce=function(t,e,n){for(var r=new Map,o=e;o<=n;o++)r.set(t[o],o);return r},Pe=new WeakMap,Le=new WeakMap,Ee=kt((function(t,e,n){var r;return void 0===n?n=e:void 0!==e&&(r=e),function(e){if(!(e instanceof Ut))throw new Error("repeat can only be used in text bindings");var o,i=Pe.get(e)||[],a=Le.get(e)||[],s=[],u=[],c=[],l=0,f=j(t);try{for(f.s();!(o=f.n()).done;){var h=o.value;c[l]=r?r(h,l):l,u[l]=n(h,l),l++}}catch(t){f.e(t)}finally{f.f()}for(var p,d,v=0,y=i.length-1,m=0,g=u.length-1;v<=y&&m<=g;)if(null===i[v])v++;else if(null===i[y])y--;else if(a[v]===c[m])s[m]=ke(i[v],u[m]),v++,m++;else if(a[y]===c[g])s[g]=ke(i[y],u[g]),y--,g--;else if(a[v]===c[g])s[g]=ke(i[v],u[g]),Se(e,i[v],s[g+1]),v++,g--;else if(a[y]===c[m])s[m]=ke(i[y],u[m]),Se(e,i[y],i[v]),y--,m++;else if(void 0===p&&(p=Ce(c,m,g),d=Ce(a,v,y)),p.has(a[v]))if(p.has(a[y])){var w=d.get(c[m]),b=void 0!==w?i[w]:null;if(null===b){var _=_e(e,i[v]);ke(_,u[m]),s[m]=_}else s[m]=ke(b,u[m]),Se(e,b,i[v]),i[w]=null;m++}else xe(i[y]),y--;else xe(i[v]),v++;for(;m<=g;){var k=_e(e,s[g+1]);ke(k,u[m]),s[m++]=k}for(;v<=y;){var S=i[v++];null!==S&&xe(S)}Pe.set(e,s),Le.set(e,c)}})),Ae=new WeakMap,Ne=kt((function(t){return function(e){if(!(e instanceof Ut))throw new Error("unsafeHTML can only be used in text bindings");var n=Ae.get(e);if(void 0===n||!Ot(t)||t!==n.value||e.value!==n.fragment){var r=document.createElement("template");r.innerHTML=t;var o=document.importNode(r.content,!0);e.setValue(o),Ae.set(e,{value:t,fragment:o})}}})),Oe=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+pe(n)+t[r+1]}),t[0]);return new he(o,fe)}(n||(n=p(["\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"]))),Te=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},Me=Te,je=function(t){return parseInt(t,16)};function Ue(){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),o=new Uint8Array(r),i=0,a=0,s=e;a<s.length;a++){var u=s[a];o.set(u,i),i+=u.length}return o}function Ie(t){var e=function(t){return Array.from(Me(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 Re(){var t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t.buffer}function Ve(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(je))}(e).buffer}function Be(t){return t=unescape(encodeURIComponent(t)),(new TextEncoder).encode(t)}function De(t,e){return ze.apply(this,arguments)}function ze(){return(ze=y(d().mark((function t(e,n){var r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="string"==typeof e?Be(e):Te(e),o="string"==typeof n?new We(n):n,t.t0=Uint8Array,t.next=5,crypto.subtle.digest("SHA-1",Ue(o,r));case 5:return t.t1=t.sent,i=new t.t0(t.t1),t.abrupt("return",(i[6]=15&i[6]|80,i[8]=63&i[8]|128,i.buffer.slice(0,16)));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var We=function(t){function e(t,n){var r;if(T(this,e),null==t)r=w(this,e,[Re()]);else if("string"==typeof t)r=w(this,e,[Ve(t)]);else if(t instanceof We)r=w(this,e,[t.buffer.slice(0)]);else{var o=t instanceof ArrayBuffer||t instanceof SharedArrayBuffer?new Uint8Array(t,null!=n?n:0,16):new Uint8Array(t);if(o.length<16)throw Error("UUID too short");r=w(this,e,[o.buffer.slice(0,16)])}return b(r)}return P(e,t),N(e,[{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 We(Re())}},{key:"v5",value:(n=y(d().mark((function t(e,n){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=We,t.next=3,De(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:Symbol.species,get:function(){return Uint8Array}}]);var n}(m(Uint8Array)),qe=Symbol.for("nodejs.util.inspect.custom"),He="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();We.prototype[qe]=function(){return"UUID [ ".concat(this.uuid," ]")},We.prototype[He]=function(){return"UUID [ ".concat(this.uuid," ]")};var Fe=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};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),o=new Uint8Array(r),i=0,a=0,s=e;a<s.length;a++){var u=s[a];o.set(u,i),i+=u.length}return o}function Ye(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je.apply(void 0,E(e.map(Fe)))}var Ge=function(t){return crypto.subtle.digest("SHA-256",t)},$e=function(t){return Ge((new TextEncoder).encode(t))};function Ke(t){return Ze.apply(this,arguments)}function Ze(){return(Ze=y(d().mark((function t(e){var n,r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.id,o=e.claps,i=e.nonce,t.t0=Ye,t.next=4,$e(n.toString());case 4:return t.t1=t.sent,t.t2=new We(r.toString()),t.t3=new Uint32Array([o]),t.t4=new Uint32Array([i]),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 Xe(t,e){for(var n=new Uint8Array(t),r=Math.ceil(e/8),o=0;o<r;o++)for(var i=Math.min(8,e-8*o),a=0;a<i;a++)if(0!=(n[o]>>7-a&1))return!1;return!0}var Qe=function(t){return 8+Math.round(Math.log2(15+t))};function tn(t){return en.apply(this,arguments)}function en(){return(en=y(d().mark((function t(e){var n,r,o,i,a,s,u;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.claps,o=e.id,i=Qe(r),a=0,t.t0=Uint32Array,t.next=6,Ke({url:n,id:o,claps:r,nonce:a});case 6:return t.t1=t.sent,s=new t.t0(t.t1),t.next=10,Ge(s);case 10:u=t.sent;case 11:if(Xe(u,i)){t.next=19;break}return a++,s[s.length-1]=a,t.next=16,Ge(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 nn=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function rn(t,e,n){for(var r=new URL(t,n),o=0,i=Object.entries(e||{});o<i.length;o++){var a=h(i[o],2),s=a[0],u=a[1];r.searchParams.append(s,u)}return r.href}var on,an,sn,un,cn=new Map,ln=!1,fn=function(){var t=y(d().mark((function t(e,n,r){var o;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(o=cn.get(n))||cn.set(n,o=cn.get(n)||y(d().mark((function t(){var e,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=rn("/views",x({href:n},r&&!ln?{referrer:r}:{}),nn),t.next=3,fetch(o,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});case 3:if(i=t.sent,ln=!0,!i.ok||!(null==(e=i.headers.get("Content-Type"))?void 0:e.includes("json"))){t.next=8;break}return t.next=7,i.json();case 7:return t.abrupt("return",t.sent);case 8:if(404!==i.status){t.next=10;break}return t.abrupt("return",{});case 10:throw 402===i.status?i:(cn.delete(n),Error());case 11:case"end":return t.stop()}}),t)})))()),t.next=4,o;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=y(d().mark((function t(e,n){var r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(n)).search="",o=new We,t.next=5,tn({url:r,claps:e,id:o});case 5:return i=t.sent,t.abrupt("return",{href:r.href,id:o,nonce:i});case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),pn=function(){var t=y(d().mark((function t(e,n,r,o,i){var a,s,u;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=rn("/claps",{href:n},nn),t.next=3,fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:o,nonce:i}),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",(cn.delete(r),u.clone().json()));case 6:throw Error();case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,o,i){return t.apply(this,arguments)}}(),dn=new Map,vn=function(t){function e(){var t;return T(this,e),t=w(this,e,arguments),on.set(t,void 0),t}return P(e,t),N(e,[{key:"connectedCountKey",get:function(){}},{key:"allDisconnectedCallback",value:function(){}},{key:"connectedCallback",value:function(){var t;k(e,"connectedCallback",this,3)([]),U(this,on,null!=(t=this.connectedCountKey)?t:this),dn.set(O(this,on),1+(dn.get(O(this,on))||0))}},{key:"disconnectedCallback",value:function(){var t;k(e,"disconnectedCallback",this,3)([]);var n=((null==dn?void 0:dn.get(O(this,on)))||0)-1;n>0?dn.set(O(this,on),n):(dn.delete(O(this,on)),null==(t=this.allDisconnectedCallback)||t.call(this))}}])}(ve);on=new WeakMap,(sn=an||(an={})).Top="top",sn.Bottom="bottom",function(t){t[t.PaymentRequired=1]="PaymentRequired",t[t.CryptoRequired=2]="CryptoRequired",t[t.Generic=3]="Generic"}(un||(un={}));var yn=new ot("clap-button"),mn=function(t){for(var e,n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];(e=t.classList).remove.apply(e,o),t.offsetWidth,(n=t.classList).add.apply(n,o)},gn=function(t,e){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){return t.apply(void 0,o)}),e)}},wn=function(t){var e=new URL(t);return e.hash="",e.search="",e.href},bn=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e)}(ve);bn=L([ie("clap-config")],bn);var _n=function(t){function e(){var t;return T(this,e),(t=w(this,e,arguments)).at=1,t}return P(e,t),N(e)}(ve);L([ae({type:Number,reflect:!0})],_n.prototype,"at",2),_n=L([ie("clap-text")],_n);var kn,Sn,xn,Cn,Pn,Ln,En,An,Nn=function(t){function e(){var t;return T(this,e),t=w(this,e,arguments),kn.set(t,void 0),t.textPlacement=an.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,Sn.set(t,void 0),xn.set(t,void 0),Cn.set(t,"BroadcastChannel"in window?new BroadcastChannel("clap-button"):null),Pn.set(t,Math.trunc(1e9*Math.random())),Ln.set(t,(function(e){0===e.button&&(e.preventDefault(),t.clapped=!0,t.clicking=!0,t.bufferedClaps++,mn(t.styleRoot,"clap","ticking"),O(t,En).call(t),t.uiClaps=t.bufferedClaps)})),En.set(t,gn(y(d().mark((function e(){var n,r,o,i,a,s,u,c,l,f,h,p;return d().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 o=e.sent,i=o.href,a=o.id,s=o.nonce,e.next=10,pn(r,i,t.parentHref,a,s);case 10:return u=e.sent,c=u.claps,t.loading=!1,t.clicking=!1,t.styleRoot.classList.remove("ticking"),mn(t.styleRoot,"clap"),l={btnId:O(t,Pn),claps:r,totalClaps:c,href:i},O(t,Cn)?O(t,Cn).postMessage(l):O(t,An).call(t,{data:l}),setTimeout((function(){t.uiClaps=c}),250),e.next=17,yn.get(i);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,h=f.claps,p=C(f,["claps"]),e.next=28,yn.set(i,x(x({},p),{claps:h+r}));case 28:case"end":return e.stop()}}),e)}))),3e3)),An.set(t,(function(e){var n=e.data,r=n.href,o=n.claps;n.btnId!==O(t,Pn)&&[r,wn(r)].includes(t.canonical)&&(t.clapped=!0,t.uiClaps+=o,mn(t.styleRoot,"clap"))})),t}return P(e,t),N(e,[{key:"canonical",get:function(){var t=this.href||this.url||"",e=U(this,Sn,O(this,Sn)||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 wn(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,n=this;if(k(e,"connectedCallback",this,3)([]),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){null==(t=O(this,Cn))||t.addEventListener("message",O(this,An)),Nn.intersectionObserver.observe(this);var r=this.ownerDocument.querySelector("clap-config");U(this,kn,new MutationObserver((function(){var t,e=Array.from(null!=(t=null==r?void 0:r.querySelectorAll("clap-text"))?t:[]);U(n,xn,new Map(null==e?void 0:e.map((function(t){return[t.at,t.innerHTML]})).sort((function(t,e){var n=h(t,1)[0];return h(e,1)[0]-n}))))}))),r&&O(this,kn).observe(r,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),y(d().mark((function t(){var e,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.loading=!0,t.next=3,yn.get(n.canonical);case 3:return t.t0=t.sent,n.clapped=null!=t.t0,t.prev=5,t.next=8,fn(n.canonical,n.parentHref,n.referrer);case 8:e=t.sent,r=e.claps,n.loading=!1,n.ready=!0,n.uiClaps=r,t.next=16;break;case 13:t.prev=13,t.t1=t.catch(5),n.loading=!1,n.ready=!1,n.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;k(e,"disconnectedCallback",this,3)([]),Nn.intersectionObserver.unobserve(this),O(this,kn).disconnect(),null==(t=O(this,Cn))||t.removeEventListener("message",O(this,An))}},{key:"connectedCountKey",get:function(){return this.parentHref}},{key:"allDisconnectedCallback",value:function(){!function(t){cn.delete(t)}(this.parentHref)}},{key:"render",value:function(){var t,e,n=this,d=Yt(r||(r=p(['\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=Yt(o||(o=p(['\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=Yt(i||(i=p(['\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 E(new Array(t).keys())}(m),(function(t){return t}),(function(t){return Yt(a||(a=p(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),be({transform:"rotate(".concat(Math.floor(360/m*t),"deg) translateX(10px)")}),be({animationDelay:"".concat(Math.floor(Math.random()*g),"ms")}))})));return Jt(s||(s=p(["\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 "])),ge({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),be(x({},null!=this.error?{"--clap-button-color":"indianred"}:{})),ge({"count-container":!0,"container-top":this.textPlacement===an.Top,"container-bottom":this.textPlacement===an.Bottom}),this.clicking?"+":"",this.ready?function(t){return null!=t?t.toLocaleString("en"):""}(this.uiClaps):"",1===this.error?Jt(u||(u=p(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Jt(c||(c=p(['<span class="error">Crypto required</span>']))):null,3===this.error?Jt(l||(l=p(['<span class="error">Error</span>']))):null,ge({"count-container":!0,"container-top":this.textPlacement===an.Bottom,"container-bottom":this.textPlacement===an.Top}),this.messages?Jt(f||(f=p(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?Ne(null!=(e=null==(t=E(O(this,xn)).find((function(t){var e=h(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:O(this,Ln),this.loading||!this.ready?null:O(this,Ln))}}])}(vn);kn=new WeakMap,Sn=new WeakMap,xn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Ln=new WeakMap,En=new WeakMap,An=new WeakMap,Nn.styles=Oe,Nn.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){return t.target.isIntersecting=t.isIntersecting}))})),L([function(t,e){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var i="symbol"==M(r)?Symbol():"__".concat(r);o.get=function(){return void 0===this[i]&&(this[i]=this.renderRoot.querySelector(t)),this[i]}}return void 0!==r?se(o,n,r):ue(o,n)}}(".style-root")],Nn.prototype,"styleRoot",2),L([ae({type:String,reflect:!0,attribute:"text-placement"})],Nn.prototype,"textPlacement",2),L([ae({type:Boolean,reflect:!0})],Nn.prototype,"noWave",2),L([ae({type:Boolean,reflect:!0})],Nn.prototype,"messages",2),L([ae({type:String,reflect:!1})],Nn.prototype,"href",2),L([ae({type:String,reflect:!1})],Nn.prototype,"url",2),L([ae()],Nn.prototype,"uiClaps",2),L([ae()],Nn.prototype,"bufferedClaps",2),L([ae()],Nn.prototype,"loading",2),L([ae()],Nn.prototype,"clapped",2),L([ae()],Nn.prototype,"clicking",2),L([ae()],Nn.prototype,"ready",2),L([ae()],Nn.prototype,"error",2),L([ae()],Nn.prototype,"isIntersecting",2),Nn=L([ie("clap-button")],Nn)}()}}]);
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{344:function(t,e){!function(t){var e=[];function n(n){var r=this,o="$BroadcastChannel$"+(n=String(n))+"$";e[o]=e[o]||[],e[o].push(this),this._name=n,this._id=o,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,o.length)===o){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 o=new Error;throw o.name="InvalidStateError",o}var i=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(a,i),setTimeout((function(){t.localStorage.removeItem(a)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(i))}))},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,o,i,a,s,u,c,l,f;function h(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){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,e)||U(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 p(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function d(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),s=new N(r||[]);return o(a,"_invoke",{value:P(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",v="completed",y={};function m(){}function g(){}function w(){}var b={};c(b,a,(function(){return this}));var _=Object.getPrototypeOf,k=_&&_(_(O([])));k&&k!==n&&r.call(k,a)&&(b=k);var S=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==M(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=L(s,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=f(e,n,r);if("normal"===c.type){if(o=r.done?v:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=v,r.method="throw",r.arg=c.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(M(e)+" is not iterable")}return g.prototype=w,o(S,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=c(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(C.prototype),c(C.prototype,s,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new C(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),c(S,u,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=O,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}function v(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function y(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){v(i,r,o,a,s,"next",t)}function s(t){v(i,r,o,a,s,"throw",t)}a(void 0)}))}}function m(t){var e="function"==typeof Map?new Map:void 0;return(m=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;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,n)}function n(){return g(t,arguments,C(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),L(n,t)})(t)}function g(t,e,n){if(_())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&L(o,n.prototype),o}function w(t,e,n){return e=C(e),function(t,e){if(e&&("object"==M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}(t,_()?Reflect.construct(e,n||[],C(t).constructor):e.apply(t,n))}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function k(t,e,n,r){var o=S(C(1&r?t.prototype:t),e,n);return 2&r?function(t){return o.apply(n,t)}:o}function S(){return(S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=x(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(null,arguments)}function x(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=C(t)););return t}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(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&&L(t,e)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function E(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||U(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 A(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,O(r.key),r)}}function N(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function O(t){var e=function(t,e){if("object"!=M(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M(e)?e:e+""}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t){return(M="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 j(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=U(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,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,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function U(t,e){if(t){if("string"==typeof t)return I(t,e);var n={}.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)?I(t,e):void 0}}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}!function(){var t=Object.defineProperty,e=Object.prototype.hasOwnProperty,v=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertySymbols,_=Object.prototype.propertyIsEnumerable,S=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)&&S(t,r,n[r]);if(g){var o,i=j(g(n));try{for(i.s();!(o=i.n()).done;){r=o.value;_.call(n,r)&&S(t,r,n[r])}}catch(t){i.e(t)}finally{i.f()}}return t},C=function(t,n){var r={};for(var o in t)e.call(t,o)&&n.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&g){var i,a=j(g(t));try{for(a.s();!(i=a.n()).done;){o=i.value;n.indexOf(o)<0&&_.call(t,o)&&(r[o]=t[o])}}catch(t){a.e(t)}finally{a.f()}}return r},L=function(e,n,r,o){for(var i,a=o>1?void 0:o?v(n,r):n,s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o?i(n,r,a):i(a))||a);return o&&a&&t(n,r,a),a},A=function(t,e,n){if(!e.has(t))throw TypeError("Cannot "+n)},O=function(t,e,n){return A(t,e,"read from private field"),n?n.call(t):e.get(t)},U=function(t,e,n,r){return A(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,o=this.s;if(o){var i=1&o?e:n;if(i){try{R(r,1,i(this.v))}catch(t){R(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?R(r,1,e?e(o):o):n?R(r,1,n(o)):R(r,2,o)}catch(o){R(r,2,o)}},r},t}();function R(t,e,n){if(!t.s){if(n instanceof I){if(!n.s)return void(n.o=R.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(R.bind(null,t,e),R.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var V=0,B="function"==typeof WeakMap?WeakMap:function(){var t="function"==typeof Symbol?Symbol(0):"__weak$"+ ++V;this.set=function(e,n){e[t]=n},this.get=function(e){return e[t]}};function D(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 z(t,e){return D(t.openCursor(e),(function(t){return t?[t.key,t.value]:[]}))}function W(t){return new Promise((function(e,n){t.oncomplete=function(){e()},t.onabort=function(){n(t.error)},t.onerror=function(){n(t.error)}}))}function q(t){if(!("number"==typeof(e=t)||"string"==typeof e||"object"==M(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 H={};function F(t,e){return z(t,J(e))}function J(t){return t===H?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(t,!0)}var Y=new B,G=new B,$=new B,K=new B,Z=function(){};function X(t,e){return e((function(e,n){try{var r=function(){return G.set(t,i),$.set(t,void 0),{value:s,done:void 0===i}},o=G.get(t);if(void 0===o)return Promise.resolve({value:void 0,done:!0});var i,a,s,u=function(t,e){var n,r=-1;t:{for(var o=0;o<e.length;o++){var i=e[o][0];if(i){var a=i();if(a&&a.then)break t;if(a===t){r=o;break}}else r=o}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=R.bind(null,l,2);return(n?u.then(h):a.then((function n(a){for(;;){if(a===t){r=o;break}if(++o===e.length){if(-1!==r)break;return void R(l,1,u)}if(i=e[o][0]){if((a=i())&&a.then)return void a.then(n).then(void 0,f)}else r=o}do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then)return void u.then(h).then(void 0,f);var c=e[r][2];r++}while(c&&!c());R(l,1,u)}))).then(void 0,f),l;function h(t){for(;;){var n=e[r][2];if(!n||n())break;for(var o=e[++r][1];!o;)o=e[++r][1];if((t=o())&&t.then)return void t.then(h).then(void 0,f)}R(l,1,t)}}(K.get(t),[[function(){return"keys"},function(){return Promise.resolve((t=n,e=o,z(t,J(e)).then((function(t){return t[0]})))).then((function(t){s=i=t}));var t,e}],[function(){return"values"},function(){return Promise.resolve(F(n,o)).then((function(t){var e;i=(e=t)[0],s=a=e[1]}))}],[function(){return"entries"},function(){return Promise.resolve(F(n,o)).then((function(t){var e;a=(e=t)[1],s=void 0===(i=e[0])?void 0:[i,a]}))}]]);return Promise.resolve(u&&u.then?u.then(r):r())}catch(r){return Promise.reject(r)}}))}function Q(t,e){var n=new Z;return K.set(n,t),Y.set(n,e),G.set(n,H),$.set(n,void 0),n}Z.prototype.return=function(){G.set(this,void 0)},Z.prototype.next=function(){var t=this,e=Y.get(this);if(!e)return Promise.reject(new TypeError("Invalid this value"));var n,r=$.get(this);return n=void 0!==r?r.then((function(){return X(t,e)})):X(this,e),$.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(Z.prototype[Symbol.asyncIterator]=function(){return this});var tt=function(t,e,n){try{return null===nt.get(t)&&(r=t,o=et.get(r),nt.set(r,new Promise((function(t,e){var n=self.indexedDB.open(o,1);n.onsuccess=function(){var i=n.result;(function(t,e,n){if(1!==t.objectStoreNames.length||t.objectStoreNames[0]!==rt)return n(it(e)),!1;var r=t.transaction(rt,"readonly").objectStore(rt);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(it(e)),!1)})(i,o,e)&&(i.onclose=function(){nt.set(r,null)},i.onversionchange=function(){i.close(),nt.set(r,null)},t(i))},n.onerror=function(){return e(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(rt)}catch(t){e(t)}}})))),Promise.resolve(nt.get(t)).then((function(t){var r=t.transaction(rt,e),o=r.objectStore(rt);return n(r,o)}))}catch(r){return Promise.reject(r)}var r,o},et=new B,nt=new B,rt="store",ot=function(t){var e="kv-storage:"+t;nt.set(this,null),et.set(this,e),this.backingStore={database:e,store:rt,version:1}};function it(t){return new Error('kv-storage: database "'+t+'" corrupted')}ot.prototype.set=function(t,e){try{return q(t),tt(this,"readwrite",(function(n,r){return void 0===e?r.delete(t):r.put(e,t),W(n)}))}catch(t){return Promise.reject(t)}},ot.prototype.get=function(t){try{return q(t),tt(this,"readonly",(function(e,n){return D(n.get(t))}))}catch(t){return Promise.reject(t)}},ot.prototype.delete=function(t){try{return q(t),tt(this,"readwrite",(function(e,n){return n.delete(t),W(e)}))}catch(t){return Promise.reject(t)}},ot.prototype.clear=function(){try{var t,e=function(){function e(){return D(self.indexedDB.deleteDatabase(et.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=nt.get(n),o=function(){if(null!==r){var e=function(){nt.set(n,null)},o=function(e,n){try{var o=Promise.resolve(r).then((function(e){t=e}))}catch(t){return}return o&&o.then?o.then(void 0,(function(){})):o}();return o&&o.then?o.then(e):e()}}();return o&&o.then?o.then(e):e()}catch(e){return Promise.reject(e)}},ot.prototype.keys=function(){var t=this;return Q("keys",(function(e){return tt(t,"readonly",e)}))},ot.prototype.values=function(){var t=this;return Q("values",(function(e){return tt(t,"readonly",e)}))},ot.prototype.entries=function(){var t=this;return Q("entries",(function(e){return tt(t,"readonly",e)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(ot.prototype[Symbol.asyncIterator]=ot.prototype.entries);new ot("default");var at="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,st=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var o=e.nextSibling;t.insertBefore(e,r),e=o}},ut=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}},ct="{{lit-".concat(String(Math.random()).slice(2),"}}"),lt="\x3c!--".concat(ct,"--\x3e"),ft=new RegExp("".concat(ct,"|").concat(lt)),ht="$lit$",pt=N((function t(e,n){T(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var f=i.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var h=f.attributes,p=h.length,d=0,v=0;v<p;v++)dt(h[v].name,ht)&&d++;for(;d-- >0;){var y=c[u],m=mt.exec(y)[2],g=m.toLowerCase()+ht,w=f.getAttribute(g);f.removeAttribute(g);var b=w.split(ft);this.parts.push({type:"attribute",index:s,name:m,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(o.push(f),i.currentNode=f.content)}else if(3===f.nodeType){var _=f.data;if(_.indexOf(ct)>=0){for(var k=f.parentNode,S=_.split(ft),x=S.length-1,C=0;C<x;C++){var P=void 0,L=S[C];if(""===L)P=yt();else{var E=mt.exec(L);null!==E&&dt(E[2],ht)&&(L=L.slice(0,E.index)+E[1]+E[2].slice(0,-ht.length)+E[3]),P=document.createTextNode(L)}k.insertBefore(P,f),this.parts.push({type:"node",index:++s})}""===S[x]?(k.insertBefore(yt(),f),r.push(f)):f.data=S[x],u+=x}}else if(8===f.nodeType)if(f.data===ct){var A=f.parentNode;(null===f.previousSibling||s===a)&&(s++,A.insertBefore(yt(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var N=-1;-1!==(N=f.data.indexOf(ct,N+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var O=0,M=r;O<M.length;O++){var j=M[O];j.parentNode.removeChild(j)}})),dt=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},vt=function(t){return-1!==t.index},yt=function(){return document.createComment("")},mt=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function gt(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=bt(r),a=r[i],s=-1,u=0,c=[],l=null;o.nextNode();){s++;var f=o.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[i=bt(r,i)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var wt=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},bt=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(vt(r))return n}return-1};var _t=new WeakMap,kt=function(t){return function(){var e=t.apply(void 0,arguments);return _t.set(e,!0),e}},St=function(t){return"function"==typeof t&&_t.has(t)},xt={},Ct={},Pt=function(){return N((function t(e,n,r){T(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}),[{key:"update",value:function(t){var e,n=0,r=j(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=j(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=at?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;){var u;if(t=r[i],vt(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.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,E(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)));i++}else this.__parts.push(void 0),i++}return at&&(document.adoptNode(e),customElements.upgrade(e)),e}}])}(),Lt=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),Et=" ".concat(ct," "),At=function(){return N((function t(e,n,r,o){T(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}),[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=mt.exec(o);e+=null===a?o+(n?Et:lt):o.substr(0,a.index)+a[1]+a[2]+ht+a[3]+ct}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==Lt&&(e=Lt.createHTML(e)),t.innerHTML=e,t}}])}(),Nt=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e,[{key:"getHTML",value:function(){return"<svg>".concat(k(e,"getHTML",this,3)([]),"</svg>")}},{key:"getTemplateElement",value:function(){var t=k(e,"getTemplateElement",this,3)([]),n=t.content,r=n.firstChild;return n.removeChild(r),st(n,r.firstChild),t}}])}(At),Ot=function(t){return null===t||!("object"==M(t)||"function"==typeof t)},Tt=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},Mt=function(){return N((function t(e,n,r){T(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}),[{key:"_createPart",value:function(){return new jt(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"==M(r))return String(r);if("string"==typeof r||!Tt(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var a=n[i];if(void 0!==a){var s=a.value;if(Ot(s)||!Tt(s))o+="string"==typeof s?s:String(s);else{var u,c=j(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;o+="string"==typeof l?l:String(l)}}catch(t){c.e(t)}finally{c.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}])}(),jt=function(){return N((function t(e){T(this,t),this.value=void 0,this.committer=e}),[{key:"setValue",value:function(t){t!==xt&&(!Ot(t)||t!==this.value)&&(this.value=t,St(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;St(this.value);){var t=this.value;this.value=xt,t(this)}this.value!==xt&&this.committer.commit()}}])}(),Ut=function(){return N((function t(e){T(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}),[{key:"appendInto",value:function(t){this.startNode=t.appendChild(yt()),this.endNode=t.appendChild(yt())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=yt()),t.__insert(this.endNode=yt())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=yt()),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(;St(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=xt,t(this)}var e=this.__pendingValue;e!==xt&&(Ot(e)?e!==this.value&&this.__commitText(e):e instanceof At?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):Tt(e)?this.__commitIterable(e):e===Ct?(this.value=Ct,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 Pt&&this.value.template===e)this.value.update(t.values);else{var n=new Pt(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n,r=this.value,o=0,i=j(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;void 0===(e=r[o])&&(e=new Ut(this.options),r.push(e),0===o?e.appendIntoPart(this):e.insertAfterPart(r[o-1])),e.setValue(a),e.commit(),o++}}catch(t){i.e(t)}finally{i.f()}o<r.length&&(r.length=o,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;ut(this.startNode.parentNode,t.nextSibling,this.endNode)}}])}(),It=function(){return N((function t(e,n,r){if(T(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}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;St(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}}}])}(),Rt=function(t){function e(t,n,r){var o;return T(this,e),(o=w(this,e,[t,n,r])).single=2===r.length&&""===r[0]&&""===r[1],o}return P(e,t),N(e,[{key:"_createPart",value:function(){return new Vt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:k(e,"_getValue",this,3)([])}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}])}(Mt),Vt=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e)}(jt),Bt=!1;!function(){try{var t={get capture(){return Bt=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var Dt=function(){return N((function t(e,n,r){var o=this;T(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;St(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),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=zt(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)}}])}(),zt=function(t){return t&&(Bt?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function Wt(t){var e=qt.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},qt.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(ct);return void 0===(n=e.keyString.get(r))&&(n=new pt(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var qt=new Map,Ht=new WeakMap,Ft=new(function(){return N((function t(){T(this,t)}),[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new Rt(t,e.slice(1),n).parts:"@"===o?[new Dt(t,e.slice(1),r.eventContext)]:"?"===o?[new It(t,e.slice(1),n)]:new Mt(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new Ut(t)}}])}());"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Jt=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 At(t,n,"html",Ft)},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 Nt(t,n,"svg",Ft)},Gt=function(t,e){return"".concat(t,"--").concat(e)},$t=!0;void 0===window.ShadyCSS?$t=!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."),$t=!1);var Kt=function(t){return function(e){var n=Gt(e.type,t),r=qt.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},qt.set(n,r));var o=r.stringsArray.get(e.strings);if(void 0!==o)return o;var i=e.strings.join(ct);if(void 0===(o=r.keyString.get(i))){var a=e.getTemplateElement();$t&&window.ShadyCSS.prepareTemplateDom(a,t),o=new pt(e,a),r.keyString.set(i,o)}return r.stringsArray.set(e.strings,o),o}},Zt=["html","svg"],Xt=new Set,Qt=function(t,e,n){Xt.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a=document.createElement("style"),s=0;s<i;s++){var u=o[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){Zt.forEach((function(e){var n=qt.get(Gt(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)})),gt(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,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,133,null,!1),a=bt(o),s=0,u=-1;i.nextNode();)for(u++,i.currentNode===n&&(s=wt(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(s>0){for(;-1!==a;)o[a].index+=s,a=bt(o,a);return}a=bt(o,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),gt(n,f)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var te={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}},ee=function(t,e){return e!==t&&(e==e||t==t)},ne={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:ee},re="finalized",oe=function(t){function e(){var t;return T(this,e),(t=w(this,e)).initialize(),t}return P(e,t),N(e,[{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]:ne,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=y(d().mark((function t(){var e;return d().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 n.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 o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),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]:ne;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==M(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||ne}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(re)||t.finalize(),this[re]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=j([].concat(E(Object.getOwnPropertyNames(n)),E("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||te,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||te.toAttribute)(t,n)}}}]);var n}(m(HTMLElement));oe.finalized=!0;var ie=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 ae(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 se=function(t,e,n){Object.defineProperty(e,n,t)},ue=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}},ce=Element.prototype,le=(ce.msMatchesSelector||ce.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),fe=Symbol(),he=function(){return N((function t(e,n){if(T(this,t),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}),[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(le?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}])}(),pe=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 de={},ve=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e,[{key:"initialize",value:function(){k(e,"initialize",this,3)([]),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?le?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(){k(e,"connectedCallback",this,3)([]),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this,r=this.render();k(e,"update",this,3)([t]),r!==de&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var e=document.createElement("style");e.textContent=t.cssText,n.renderRoot.appendChild(e)})))}},{key:"render",value:function(){return de}}],[{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,n){return t.reduceRight((function(t,n){return Array.isArray(n)?e(n,t):(t.add(n),t)}),n)},n=e(t,new Set),r=[];n.forEach((function(t){return r.unshift(t)})),this._styles=r}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!le){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new he(String(e),fe)}return t}))}}}])}(oe);ve.finalized=!0,ve.render=function(t,e,n){if(!n||"object"!=M(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,o=Ht.has(e),i=$t&&11===e.nodeType&&!!e.host,a=i&&!Xt.has(r),s=a?document.createDocumentFragment():e;if(function(t,e,n){var r=Ht.get(e);void 0===r&&(ut(e,e.firstChild),Ht.set(e,r=new Ut(Object.assign({templateFactory:Wt},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,s,Object.assign({templateFactory:Kt(r)},n)),a){var u=Ht.get(s);Ht.delete(s);var c=u.value instanceof Pt?u.value.template:void 0;Qt(r,s,c),ut(e,e.firstChild),e.appendChild(s),Ht.set(e,u)}!o&&i&&window.ShadyCSS.styleElement(e.host)};var ye=function(){return N((function t(e){T(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=j((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var o=n.value;this.classes.add(o)}}catch(t){r.e(t)}finally{r.f()}}),[{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)}}}])}(),me=new WeakMap,ge=kt((function(t){return function(e){if(!(e instanceof jt)||e instanceof Vt||"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,o=me.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),me.set(e,o=new Set));var i=r.classList||new ye(r);for(var a in o.forEach((function(e){e in t||(i.remove(e),o.delete(e))})),t){var s=t[a];s!=o.has(a)&&(s?(i.add(a),o.add(a)):(i.remove(a),o.delete(a)))}"function"==typeof i.commit&&i.commit()}})),we=new WeakMap,be=kt((function(t){return function(e){if(!(e instanceof jt)||e instanceof Vt||"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,o=we.get(e);for(var i in void 0===o&&(r.cssText=n.strings.join(" "),we.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(i),-1===i.indexOf("-")?r[i]=t[i]:r.setProperty(i,t[i])}})),_e=function(t,e){var n=t.startNode.parentNode,r=void 0===e?t.endNode:e.startNode,o=n.insertBefore(yt(),r);n.insertBefore(yt(),r);var i=new Ut(t.options);return i.insertAfterNode(o),i},ke=function(t,e){return t.setValue(e),t.commit(),t},Se=function(t,e,n){var r=t.startNode.parentNode,o=n?n.startNode:t.endNode,i=e.endNode.nextSibling;i!==o&&st(r,e.startNode,i,o)},xe=function(t){ut(t.startNode.parentNode,t.startNode,t.endNode.nextSibling)},Ce=function(t,e,n){for(var r=new Map,o=e;o<=n;o++)r.set(t[o],o);return r},Pe=new WeakMap,Le=new WeakMap,Ee=kt((function(t,e,n){var r;return void 0===n?n=e:void 0!==e&&(r=e),function(e){if(!(e instanceof Ut))throw new Error("repeat can only be used in text bindings");var o,i=Pe.get(e)||[],a=Le.get(e)||[],s=[],u=[],c=[],l=0,f=j(t);try{for(f.s();!(o=f.n()).done;){var h=o.value;c[l]=r?r(h,l):l,u[l]=n(h,l),l++}}catch(t){f.e(t)}finally{f.f()}for(var p,d,v=0,y=i.length-1,m=0,g=u.length-1;v<=y&&m<=g;)if(null===i[v])v++;else if(null===i[y])y--;else if(a[v]===c[m])s[m]=ke(i[v],u[m]),v++,m++;else if(a[y]===c[g])s[g]=ke(i[y],u[g]),y--,g--;else if(a[v]===c[g])s[g]=ke(i[v],u[g]),Se(e,i[v],s[g+1]),v++,g--;else if(a[y]===c[m])s[m]=ke(i[y],u[m]),Se(e,i[y],i[v]),y--,m++;else if(void 0===p&&(p=Ce(c,m,g),d=Ce(a,v,y)),p.has(a[v]))if(p.has(a[y])){var w=d.get(c[m]),b=void 0!==w?i[w]:null;if(null===b){var _=_e(e,i[v]);ke(_,u[m]),s[m]=_}else s[m]=ke(b,u[m]),Se(e,b,i[v]),i[w]=null;m++}else xe(i[y]),y--;else xe(i[v]),v++;for(;m<=g;){var k=_e(e,s[g+1]);ke(k,u[m]),s[m++]=k}for(;v<=y;){var S=i[v++];null!==S&&xe(S)}Pe.set(e,s),Le.set(e,c)}})),Ae=new WeakMap,Ne=kt((function(t){return function(e){if(!(e instanceof Ut))throw new Error("unsafeHTML can only be used in text bindings");var n=Ae.get(e);if(void 0===n||!Ot(t)||t!==n.value||e.value!==n.fragment){var r=document.createElement("template");r.innerHTML=t;var o=document.importNode(r.content,!0);e.setValue(o),Ae.set(e,{value:t,fragment:o})}}})),Oe=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+pe(n)+t[r+1]}),t[0]);return new he(o,fe)}(n||(n=p(["\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"]))),Te=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},Me=Te,je=function(t){return parseInt(t,16)};function Ue(){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),o=new Uint8Array(r),i=0,a=0,s=e;a<s.length;a++){var u=s[a];o.set(u,i),i+=u.length}return o}function Ie(t){var e=function(t){return Array.from(Me(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 Re(){var t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t.buffer}function Ve(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(je))}(e).buffer}function Be(t){return t=unescape(encodeURIComponent(t)),(new TextEncoder).encode(t)}function De(t,e){return ze.apply(this,arguments)}function ze(){return(ze=y(d().mark((function t(e,n){var r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="string"==typeof e?Be(e):Te(e),o="string"==typeof n?new We(n):n,t.t0=Uint8Array,t.next=5,crypto.subtle.digest("SHA-1",Ue(o,r));case 5:return t.t1=t.sent,i=new t.t0(t.t1),t.abrupt("return",(i[6]=15&i[6]|80,i[8]=63&i[8]|128,i.buffer.slice(0,16)));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var We=function(t){function e(t,n){var r;if(T(this,e),null==t)r=w(this,e,[Re()]);else if("string"==typeof t)r=w(this,e,[Ve(t)]);else if(t instanceof We)r=w(this,e,[t.buffer.slice(0)]);else{var o=t instanceof ArrayBuffer||t instanceof SharedArrayBuffer?new Uint8Array(t,null!=n?n:0,16):new Uint8Array(t);if(o.length<16)throw Error("UUID too short");r=w(this,e,[o.buffer.slice(0,16)])}return b(r)}return P(e,t),N(e,[{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 We(Re())}},{key:"v5",value:(n=y(d().mark((function t(e,n){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=We,t.next=3,De(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:Symbol.species,get:function(){return Uint8Array}}]);var n}(m(Uint8Array)),qe=Symbol.for("nodejs.util.inspect.custom"),He="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();We.prototype[qe]=function(){return"UUID [ ".concat(this.uuid," ]")},We.prototype[He]=function(){return"UUID [ ".concat(this.uuid," ]")};var Fe=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};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),o=new Uint8Array(r),i=0,a=0,s=e;a<s.length;a++){var u=s[a];o.set(u,i),i+=u.length}return o}function Ye(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je.apply(void 0,E(e.map(Fe)))}var Ge=function(t){return crypto.subtle.digest("SHA-256",t)},$e=function(t){return Ge((new TextEncoder).encode(t))};function Ke(t){return Ze.apply(this,arguments)}function Ze(){return(Ze=y(d().mark((function t(e){var n,r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.id,o=e.claps,i=e.nonce,t.t0=Ye,t.next=4,$e(n.toString());case 4:return t.t1=t.sent,t.t2=new We(r.toString()),t.t3=new Uint32Array([o]),t.t4=new Uint32Array([i]),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 Xe(t,e){for(var n=new Uint8Array(t),r=Math.ceil(e/8),o=0;o<r;o++)for(var i=Math.min(8,e-8*o),a=0;a<i;a++)if(0!=(n[o]>>7-a&1))return!1;return!0}var Qe=function(t){return 8+Math.round(Math.log2(15+t))};function tn(t){return en.apply(this,arguments)}function en(){return(en=y(d().mark((function t(e){var n,r,o,i,a,s,u;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.claps,o=e.id,i=Qe(r),a=0,t.t0=Uint32Array,t.next=6,Ke({url:n,id:o,claps:r,nonce:a});case 6:return t.t1=t.sent,s=new t.t0(t.t1),t.next=10,Ge(s);case 10:u=t.sent;case 11:if(Xe(u,i)){t.next=19;break}return a++,s[s.length-1]=a,t.next=16,Ge(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 nn=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function rn(t,e,n){for(var r=new URL(t,n),o=0,i=Object.entries(e||{});o<i.length;o++){var a=h(i[o],2),s=a[0],u=a[1];r.searchParams.append(s,u)}return r.href}var on,an,sn,un,cn=new Map,ln=!1,fn=function(){var t=y(d().mark((function t(e,n,r){var o;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(o=cn.get(n))||cn.set(n,o=cn.get(n)||y(d().mark((function t(){var e,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=rn("/views",x({href:n},r&&!ln?{referrer:r}:{}),nn),t.next=3,fetch(o,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});case 3:if(i=t.sent,ln=!0,!i.ok||!(null==(e=i.headers.get("Content-Type"))?void 0:e.includes("json"))){t.next=8;break}return t.next=7,i.json();case 7:return t.abrupt("return",t.sent);case 8:if(404!==i.status){t.next=10;break}return t.abrupt("return",{});case 10:throw 402===i.status?i:(cn.delete(n),Error());case 11:case"end":return t.stop()}}),t)})))()),t.next=4,o;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=y(d().mark((function t(e,n){var r,o,i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(n)).search="",o=new We,t.next=5,tn({url:r,claps:e,id:o});case 5:return i=t.sent,t.abrupt("return",{href:r.href,id:o,nonce:i});case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),pn=function(){var t=y(d().mark((function t(e,n,r,o,i){var a,s,u;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=rn("/claps",{href:n},nn),t.next=3,fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:o,nonce:i}),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",(cn.delete(r),u.clone().json()));case 6:throw Error();case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,o,i){return t.apply(this,arguments)}}(),dn=new Map,vn=function(t){function e(){var t;return T(this,e),t=w(this,e,arguments),on.set(t,void 0),t}return P(e,t),N(e,[{key:"connectedCountKey",get:function(){}},{key:"allDisconnectedCallback",value:function(){}},{key:"connectedCallback",value:function(){var t;k(e,"connectedCallback",this,3)([]),U(this,on,null!=(t=this.connectedCountKey)?t:this),dn.set(O(this,on),1+(dn.get(O(this,on))||0))}},{key:"disconnectedCallback",value:function(){var t;k(e,"disconnectedCallback",this,3)([]);var n=((null==dn?void 0:dn.get(O(this,on)))||0)-1;n>0?dn.set(O(this,on),n):(dn.delete(O(this,on)),null==(t=this.allDisconnectedCallback)||t.call(this))}}])}(ve);on=new WeakMap,(sn=an||(an={})).Top="top",sn.Bottom="bottom",function(t){t[t.PaymentRequired=1]="PaymentRequired",t[t.CryptoRequired=2]="CryptoRequired",t[t.Generic=3]="Generic"}(un||(un={}));var yn=new ot("clap-button"),mn=function(t){for(var e,n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];(e=t.classList).remove.apply(e,o),t.offsetWidth,(n=t.classList).add.apply(n,o)},gn=function(t,e){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){return t.apply(void 0,o)}),e)}},wn=function(t){var e=new URL(t);return e.hash="",e.search="",e.href},bn=function(t){function e(){return T(this,e),w(this,e,arguments)}return P(e,t),N(e)}(ve);bn=L([ie("clap-config")],bn);var _n=function(t){function e(){var t;return T(this,e),(t=w(this,e,arguments)).at=1,t}return P(e,t),N(e)}(ve);L([ae({type:Number,reflect:!0})],_n.prototype,"at",2),_n=L([ie("clap-text")],_n);var kn,Sn,xn,Cn,Pn,Ln,En,An,Nn=function(t){function e(){var t;return T(this,e),t=w(this,e,arguments),kn.set(t,void 0),t.textPlacement=an.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,Sn.set(t,void 0),xn.set(t,void 0),Cn.set(t,"BroadcastChannel"in window?new BroadcastChannel("clap-button"):null),Pn.set(t,Math.trunc(1e9*Math.random())),Ln.set(t,(function(e){0===e.button&&(e.preventDefault(),t.clapped=!0,t.clicking=!0,t.bufferedClaps++,mn(t.styleRoot,"clap","ticking"),O(t,En).call(t),t.uiClaps=t.bufferedClaps)})),En.set(t,gn(y(d().mark((function e(){var n,r,o,i,a,s,u,c,l,f,h,p;return d().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 o=e.sent,i=o.href,a=o.id,s=o.nonce,e.next=10,pn(r,i,t.parentHref,a,s);case 10:return u=e.sent,c=u.claps,t.loading=!1,t.clicking=!1,t.styleRoot.classList.remove("ticking"),mn(t.styleRoot,"clap"),l={btnId:O(t,Pn),claps:r,totalClaps:c,href:i},O(t,Cn)?O(t,Cn).postMessage(l):O(t,An).call(t,{data:l}),setTimeout((function(){t.uiClaps=c}),250),e.next=17,yn.get(i);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,h=f.claps,p=C(f,["claps"]),e.next=28,yn.set(i,x(x({},p),{claps:h+r}));case 28:case"end":return e.stop()}}),e)}))),3e3)),An.set(t,(function(e){var n=e.data,r=n.href,o=n.claps;n.btnId!==O(t,Pn)&&[r,wn(r)].includes(t.canonical)&&(t.clapped=!0,t.uiClaps+=o,mn(t.styleRoot,"clap"))})),t}return P(e,t),N(e,[{key:"canonical",get:function(){var t=this.href||this.url||"",e=U(this,Sn,O(this,Sn)||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 wn(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,n=this;if(k(e,"connectedCallback",this,3)([]),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){null==(t=O(this,Cn))||t.addEventListener("message",O(this,An)),Nn.intersectionObserver.observe(this);var r=this.ownerDocument.querySelector("clap-config");U(this,kn,new MutationObserver((function(){var t,e=Array.from(null!=(t=null==r?void 0:r.querySelectorAll("clap-text"))?t:[]);U(n,xn,new Map(null==e?void 0:e.map((function(t){return[t.at,t.innerHTML]})).sort((function(t,e){var n=h(t,1)[0];return h(e,1)[0]-n}))))}))),r&&O(this,kn).observe(r,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),y(d().mark((function t(){var e,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.loading=!0,t.next=3,yn.get(n.canonical);case 3:return t.t0=t.sent,n.clapped=null!=t.t0,t.prev=5,t.next=8,fn(n.canonical,n.parentHref,n.referrer);case 8:e=t.sent,r=e.claps,n.loading=!1,n.ready=!0,n.uiClaps=r,t.next=16;break;case 13:t.prev=13,t.t1=t.catch(5),n.loading=!1,n.ready=!1,n.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;k(e,"disconnectedCallback",this,3)([]),Nn.intersectionObserver.unobserve(this),O(this,kn).disconnect(),null==(t=O(this,Cn))||t.removeEventListener("message",O(this,An))}},{key:"connectedCountKey",get:function(){return this.parentHref}},{key:"allDisconnectedCallback",value:function(){!function(t){cn.delete(t)}(this.parentHref)}},{key:"render",value:function(){var t,e,n=this,d=Yt(r||(r=p(['\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=Yt(o||(o=p(['\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=Yt(i||(i=p(['\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 E(new Array(t).keys())}(m),(function(t){return t}),(function(t){return Yt(a||(a=p(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),be({transform:"rotate(".concat(Math.floor(360/m*t),"deg) translateX(10px)")}),be({animationDelay:"".concat(Math.floor(Math.random()*g),"ms")}))})));return Jt(s||(s=p(["\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 "])),ge({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),be(x({},null!=this.error?{"--clap-button-color":"indianred"}:{})),ge({"count-container":!0,"container-top":this.textPlacement===an.Top,"container-bottom":this.textPlacement===an.Bottom}),this.clicking?"+":"",this.ready?function(t){return null!=t?t.toLocaleString("en"):""}(this.uiClaps):"",1===this.error?Jt(u||(u=p(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Jt(c||(c=p(['<span class="error">Crypto required</span>']))):null,3===this.error?Jt(l||(l=p(['<span class="error">Error</span>']))):null,ge({"count-container":!0,"container-top":this.textPlacement===an.Bottom,"container-bottom":this.textPlacement===an.Top}),this.messages?Jt(f||(f=p(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?Ne(null!=(e=null==(t=E(O(this,xn)).find((function(t){var e=h(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:O(this,Ln),this.loading||!this.ready?null:O(this,Ln))}}])}(vn);kn=new WeakMap,Sn=new WeakMap,xn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Ln=new WeakMap,En=new WeakMap,An=new WeakMap,Nn.styles=Oe,Nn.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){return t.target.isIntersecting=t.isIntersecting}))})),L([function(t,e){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var i="symbol"==M(r)?Symbol():"__".concat(r);o.get=function(){return void 0===this[i]&&(this[i]=this.renderRoot.querySelector(t)),this[i]}}return void 0!==r?se(o,n,r):ue(o,n)}}(".style-root")],Nn.prototype,"styleRoot",2),L([ae({type:String,reflect:!0,attribute:"text-placement"})],Nn.prototype,"textPlacement",2),L([ae({type:Boolean,reflect:!0})],Nn.prototype,"noWave",2),L([ae({type:Boolean,reflect:!0})],Nn.prototype,"messages",2),L([ae({type:String,reflect:!1})],Nn.prototype,"href",2),L([ae({type:String,reflect:!1})],Nn.prototype,"url",2),L([ae()],Nn.prototype,"uiClaps",2),L([ae()],Nn.prototype,"bufferedClaps",2),L([ae()],Nn.prototype,"loading",2),L([ae()],Nn.prototype,"clapped",2),L([ae()],Nn.prototype,"clicking",2),L([ae()],Nn.prototype,"ready",2),L([ae()],Nn.prototype,"error",2),L([ae()],Nn.prototype,"isIntersecting",2),Nn=L([ie("clap-button")],Nn)}()}}]);
|