p-elements-core 1.2.3-rc1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/sample.js +2 -2
- package/dist/p-elements-core-modern.js +3 -3
- package/dist/p-elements-core.js +1 -1
- package/p-elements-core.d.ts +9 -3
- package/package.json +1 -1
- package/src/custom-element.ts +95 -68
- package/src/sample.tsx +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.3-rc1 - Thu Sep 21 2023 17:39:57 GMT+0200 (Central European Summer Time) */(()=>{var e={259:function(){(function(){"use strict";var e,t,n=!(window.ShadyDOM&&window.ShadyDOM.inUse);function r(t){e=(!t||!t.shimcssproperties)&&(n||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?e=window.ShadyCSS.nativeCss:window.ShadyCSS?(r(window.ShadyCSS),window.ShadyCSS=void 0):r(window.WebComponents&&window.WebComponents.flags);var o=e,i=t;function a(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function u(e){var t=l,n=e=e.replace(m,"").replace(h,""),r=new a;r.start=0,r.end=n.length;for(var o=r,i=0,u=n.length;i<u;i++)if("{"===n[i]){o.rules||(o.rules=[]);var c=o,s=c.rules[c.rules.length-1]||null;(o=new a).start=i+1,o.parent=c,o.previous=s,c.rules.push(o)}else"}"===n[i]&&(o.end=i+1,o=o.parent||r);return t(r,e)}function l(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e}))}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1)),n=(n=n.replace(w," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=p:n.match(S)&&(e.type=f,e.keyframesName=e.selector.split(w).pop()):e.type=0===n.indexOf("--")?d:s),n=e.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)l(i,t);return e}function c(e,t,n){n=void 0===n?"":n;var r="";if(e.cssText||e.rules){var o,i=e.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,u=void 0;o<a&&(u=i[o]);o++)r=c(u,t,r)}else t?t=e.cssText:t=(t=(t=e.cssText).replace(y,"").replace(v,"")).replace(g,"").replace(b,""),(r=t.trim())&&(r=" "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" {\n"),n+=r,e.selector&&(n+="}\n\n")),n}var s=1,f=7,p=4,d=1e3,m=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,h=/@import[^;]*;/gim,y=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,v=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,g=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,b=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,S=/^@[^\s]*keyframes/,w=/\s+/g,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,T=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,M=/@media\s(.*)/,C=new Set;function L(e){return e?("string"==typeof e&&(e=u(e)),c(e,o)):""}function A(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=u(e.textContent)),e.__cssRules||null}function O(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===p){var a=e.selector.match(M);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===s?t(e):n&&i===f?n(e):i===d&&(o=!0),(e=e.rules)&&!o)for(o=0,i=e.length,a=void 0;o<i&&(a=e[o]);o++)O(a,t,n,r)}}function H(e,t){var n=e.indexOf("var(");if(-1===n)return t(e,"","","");e:{for(var r=0,o=n+3,i=e.length;o<i;o++)if("("===e[o])r++;else if(")"===e[o]&&0==--r)break e;o=-1}return r=e.substring(n+4,o),n=e.substring(0,n),e=H(e.substring(o+1),t),-1===(o=r.indexOf(","))?t(n,r.trim(),"",e):t(n,r.substring(0,o).trim(),r.substring(o+1).trim(),e)}function x(e){if(void 0!==i)return i;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}var N=/;\s*/m,_=/^\s*(initial)|(inherit)\s*$/,j=/\s*!important/;function I(){this.a={}}I.prototype.set=function(e,t){e=e.trim(),this.a[e]={h:t,i:{}}},I.prototype.get=function(e){return e=e.trim(),this.a[e]||null};var k=null;function P(){this.b=this.c=null,this.a=new I}function R(e,t){for(var n=t;n.parent;)n=n.parent;var r={},o=!1;return O(n,(function(n){(o=o||n===t)||n.selector===t.selector&&Object.assign(r,F(e,n.parsedCssText))})),r}function D(e,t,n){for(var r;r=T.exec(t);){var o=r[0],i=r[1];r=r.index;var a=t.slice(0,r+o.indexOf("@apply"));t=t.slice(r+o.length);var u=n?R(e,n):{};Object.assign(u,F(e,a)),o=void 0;var l=e;i=i.replace(N,"");var c=[],s=l.a.get(i);if(s||(l.a.set(i,{}),s=l.a.get(i)),s){l.c&&(s.i[l.c]=!0);var f=s.h;for(o in f)s=[o,": var(",i,"_-_",o],(l=u&&u[o])&&s.push(",",l.replace(j,"")),s.push(")"),j.test(f[o])&&s.push(" !important"),c.push(s.join(""))}t=a+(o=c.join("; "))+t,T.lastIndex=r+o.length}return t}function F(e,t,n){n=void 0!==n&&n,t=t.split(";");for(var r,o,i,a={},u=0;u<t.length;u++)if((r=t[u])&&1<(i=r.split(":")).length){if(r=i[0].trim(),o=i.slice(1).join(":"),n){var l=e;i=r;var c=_.exec(o);c&&(c[1]?(l.b||(l.b=document.createElement("meta"),l.b.setAttribute("apply-shim-measure",""),l.b.style.all="initial",document.head.appendChild(l.b)),i=window.getComputedStyle(l.b).getPropertyValue(i)):i="apply-shim-inherit",o=i)}a[r]=o}return a}P.prototype.o=function(e){return e=T.test(e)||E.test(e),T.lastIndex=0,E.lastIndex=0,e},P.prototype.m=function(e,t){if(void 0===e._gatheredStyle){for(var r=[],o=e.content.querySelectorAll("style"),i=0;i<o.length;i++){var a=o[i];if(a.hasAttribute("shady-unscoped")){if(!n){var u=a.textContent;C.has(u)||(C.add(u),u=a.cloneNode(!0),document.head.appendChild(u)),a.parentNode.removeChild(a)}}else r.push(a.textContent),a.parentNode.removeChild(a)}(r=r.join("").trim())?((o=document.createElement("style")).textContent=r,e.content.insertBefore(o,e.content.firstChild),r=o):r=null,e._gatheredStyle=r}return(e=e._gatheredStyle)?this.j(e,t):null},P.prototype.j=function(e,t){t=void 0===t?"":t;var n=A(e);return this.l(n,t),e.textContent=L(n),n},P.prototype.f=function(e){var t=this,n=A(e);return O(n,(function(e){":root"===e.selector&&(e.selector="html"),t.g(e)})),e.textContent=L(n),n},P.prototype.l=function(e,t){var n=this;this.c=t,O(e,(function(e){n.g(e)})),this.c=null},P.prototype.g=function(e){e.cssText=function(e,t,n){return t=t.replace(E,(function(t,r,o,i){return function(e,t,n,r,o,i){if(r&&H(r,(function(t,n){n&&e.a.get(n)&&(o="@apply "+n+";")})),!o)return t;var a=D(e,""+o,i);i=t.slice(0,t.indexOf("--"));var u=a=F(e,a,!0),l=e.a.get(n),c=l&&l.h;c?u=Object.assign(Object.create(c),a):e.a.set(n,u);var s,f=[],p=!1;for(s in u){var d=a[s];void 0===d&&(d="initial"),!c||s in c||(p=!0),f.push(n+"_-_"+s+": "+d)}return p&&function(e,t){if(k)for(var n in t.i)n!==e.c&&k(n)}(e,l),l&&(l.h=u),r&&(i=t+";"+i),i+f.join("; ")+";"}(e,t,r,o,i,n)})),D(e,t,n)}(this,e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")},P.prototype.detectMixin=P.prototype.o,P.prototype.transformStyle=P.prototype.j,P.prototype.transformCustomStyle=P.prototype.f,P.prototype.transformRules=P.prototype.l,P.prototype.transformRule=P.prototype.g,P.prototype.transformTemplate=P.prototype.m,P.prototype._separator="_-_",Object.defineProperty(P.prototype,"invalidCallback",{get:function(){return k},set:function(e){k=e}});var V={},B=Promise.resolve();function U(e){(e=V[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function q(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var $=new P;function W(){this.a=null,$.invalidCallback=U}function z(e){!e.a&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(e){$.f(e)},e.a.validateCallback=function(){requestAnimationFrame((function(){e.a.enqueued&&e.flushCustomStyles()}))})}if(W.prototype.prepareTemplate=function(e,t){z(this),""===x(e)&&(V[t]=e,t=$.m(e,t),e._styleAst=t)},W.prototype.flushCustomStyles=function(){if(z(this),this.a){var e=this.a.processStyles();if(this.a.enqueued){for(var t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);n&&$.f(n)}this.a.enqueued=!1}}},W.prototype.styleSubtree=function(e,t){if(z(this),t)for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n]);if(e.shadowRoot)for(this.styleElement(e),e=e.shadowRoot.children||e.shadowRoot.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t]);else for(e=e.children||e.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t])},W.prototype.styleElement=function(e){z(this);var t,n=e.localName;t=n?-1<n.indexOf("-")?n:e.getAttribute&&e.getAttribute("is")||"":e.is,(n=V[t])&&""!==x(n)||!n||q(n)||((q(n)||n._applyShimValidatingVersion!==n._applyShimNextVersion)&&(this.prepareTemplate(n,t),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,B.then((function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1})))}(n)),(e=e.shadowRoot)&&(e=e.querySelector("style"))&&(e.__cssRules=n._styleAst,e.textContent=L(n._styleAst)))},W.prototype.styleDocument=function(e){z(this),this.styleSubtree(document.body,e)},!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var Z=new W,K=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(e,t){Z.flushCustomStyles(),Z.prepareTemplate(e,t)},prepareTemplateStyles:function(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom:function(){},styleSubtree:function(e,t){Z.flushCustomStyles(),Z.styleSubtree(e,t)},styleElement:function(e){Z.flushCustomStyles(),Z.styleElement(e)},styleDocument:function(e){Z.flushCustomStyles(),Z.styleDocument(e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){Z.flushCustomStyles()},nativeCss:o,nativeShadow:n,cssBuild:i},K&&(window.ShadyCSS.CustomStyleInterface=K)}window.ShadyCSS.ApplyShim=$}).call(this)},659:function(){(function(){"use strict";var e,t=null,n=window.HTMLImports&&window.HTMLImports.whenReady||null;function r(r){requestAnimationFrame((function(){n?n(r):(t||(t=new Promise((function(t){e=t})),"complete"===document.readyState?e():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&e()}))),t.then((function(){r&&r()})))}))}var o=null,i=null;function a(){this.customStyles=[],this.enqueued=!1,r((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}function u(e){!e.enqueued&&i&&(e.enqueued=!0,r(i))}function l(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}a.prototype.c=function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),u(this))},a.prototype.b=function(e){return e.__shadyCSSCachedStyle?e.__shadyCSSCachedStyle:e.getStyle?e.getStyle():e},a.prototype.a=function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n.__shadyCSSCachedStyle){var r=this.b(n);r&&(r=r.__appliedElement||r,o&&o(r),n.__shadyCSSCachedStyle=r)}}return e},a.prototype.addCustomStyle=a.prototype.c,a.prototype.getStyleForCustomStyle=a.prototype.b,a.prototype.processStyles=a.prototype.a,Object.defineProperties(a.prototype,{transformCallback:{get:function(){return o},set:function(e){o=e}},validateCallback:{get:function(){return i},set:function(e){var t=!1;i||(t=!0),i=e,t&&u(this)}}});var c,s,f=!(window.ShadyDOM&&window.ShadyDOM.inUse);function p(e){c=(!e||!e.shimcssproperties)&&(f||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(s=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?c=window.ShadyCSS.nativeCss:window.ShadyCSS?(p(window.ShadyCSS),window.ShadyCSS=void 0):p(window.WebComponents&&window.WebComponents.flags);var d=c,m=s,h=new a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTemplateStyles:function(){},styleSubtree:function(e,t){h.a(),l(e,t)},styleElement:function(){h.a()},styleDocument:function(e){h.a(),l(document.body,e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){},nativeCss:d,nativeShadow:f,cssBuild:m}),window.ShadyCSS.CustomStyleInterface=h}).call(this)},277:function(e,t,n){var r,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},a.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n.g&&null!=n.g?n.g:e},a.global=a.getGlobal(this),a.SYMBOL_PREFIX="jscomp_symbol_",a.initSymbol=function(){a.initSymbol=function(){},a.global.Symbol||(a.global.Symbol=a.Symbol)},a.symbolCounter_=0,a.Symbol=function(e){return a.SYMBOL_PREFIX+(e||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var e=a.global.Symbol.iterator;e||(e=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&a.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(e){var t=0;return a.iteratorPrototype((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))},a.iteratorPrototype=function(e){return a.initSymbolIterator(),(e={next:e})[a.global.Symbol.iterator]=function(){return this},e},a.array=a.array||{},a.iteratorFromArray=function(e,t){a.initSymbolIterator(),e instanceof String&&(e+="");var n=0,r={next:function(){if(n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r},a.polyfill=function(e,t,n,r){if(t){for(n=a.global,e=e.split("."),r=0;r<e.length-1;r++){var o=e[r];o in n||(n[o]={}),n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&a.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},a.polyfill("Array.prototype.keys",(function(e){return e||function(){return a.iteratorFromArray(this,(function(e){return e}))}}),"es6-impl","es3");var u=this;o=[],r=function(){function e(e){if(!D.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var n=e.length,r=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<n;i++)if(i in e){var a=e[i];t.call(r,a,i,e)&&o.push(a)}return o}function n(e){return e.reduce((function(e,t){return e.concat(D.arr(t)?n(t):t)}),[])}function r(t){return D.arr(t)?t:(D.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function o(e,t){return e.some((function(e){return e===t}))}function i(e){var t,n={};for(t in e)n[t]=e[t];return n}function a(e,t){var n,r=i(e);for(n in e)r[n]=t.hasOwnProperty(n)?t[n]:e[n];return r}function l(e,t){var n,r=i(e);for(n in t)r[n]=D.und(e[n])?t[n]:e[n];return r}function c(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}function s(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(n[1])/360;var r=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==r)o=r=e=o;else{var i=.5>o?o*(1+r):o+r-o*r,a=2*o-i;o=t(a,i,e+1/3),r=t(a,i,e),e=t(a,i,e-1/3)}return"rgba("+255*o+","+255*r+","+255*e+","+n+")"}function f(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function p(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}function d(e,t){return D.fnc(e)?e(t.target,t.id,t.total):e}function m(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function h(e,t){return D.dom(e)&&o(R,t)?"transform":D.dom(e)&&(e.getAttribute(t)||D.svg(e)&&e[t])?"attribute":D.dom(e)&&"transform"!==t&&m(e,t)?"css":null!=e[t]?"object":void 0}function y(e,n){var r=p(n);if(r=-1<n.indexOf("scale")?1:0+r,!(e=e.style.transform))return r;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(e);)i.push(o[1]),a.push(o[2]);return e=t(a,(function(e,t){return i[t]===n})),e.length?e[0]:r}function v(e,t){switch(h(e,t)){case"transform":return y(e,t);case"css":return m(e,t);case"attribute":return e.getAttribute(t)}return e[t]||0}function g(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=f(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(n[0],"")),n[0][0]){case"+":return t+e+r;case"-":return t-e+r;case"*":return t*e+r}}function b(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function S(e){e=e.points;for(var t,n=0,r=0;r<e.numberOfItems;r++){var o=e.getItem(r);0<r&&(n+=b(t,o)),t=o}return n}function w(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return b({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return S(e);case"polygon":var t=e.points;return S(e)+b(t.getItem(t.numberOfItems-1),t.getItem(0))}}function E(e,t){function n(n){return n=void 0===n?0:n,e.el.getPointAtLength(1<=t+n?t+n:0)}var r=n(),o=n(-1),i=n(1);switch(e.property){case"x":return r.x;case"y":return r.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function T(e,t){var n,r=/-?\d*\.?\d+/g;if(n=D.pth(e)?e.totalLength:e,D.col(n))if(D.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=D.hex(n)?c(n):D.hsl(n)?s(n):void 0;else o=(o=f(n))?n.substr(0,n.length-o.length):n,n=t&&!/\s/g.test(n)?o+t:o;return{original:n+="",numbers:n.match(r)?n.match(r).map(Number):[0],strings:D.str(e)||t?n.split(r):[]}}function M(e){return t(e=e?n(D.arr(e)?e.map(r):r(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function C(e){var t=M(e);return t.map((function(e,n){return{target:e,id:n,total:t.length}}))}function L(e,t){var n=i(t);if(D.arr(e)){var o=e.length;2!==o||D.obj(e[0])?D.fnc(t.duration)||(n.duration=t.duration/o):e={value:e}}return r(e).map((function(e,n){return n=n?0:t.delay,e=D.obj(e)&&!D.pth(e)?e:{value:e},D.und(e.delay)&&(e.delay=n),e})).map((function(e){return l(e,n)}))}function A(e,t){var n,r={};for(n in e){var o=d(e[n],t);D.arr(o)&&(o=o.map((function(e){return d(e,t)})),1===o.length&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function O(e){return D.arr(e)?F.apply(this,e):V[e]}function H(e,t){var n;return e.tweens.map((function(r){var o=(r=A(r,t)).value,i=v(t.target,e.name),a=n?n.to.original:i,u=(a=D.arr(o)?o[0]:a,g(D.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),r.from=T(a,i),r.to=T(u,i),r.start=n?n.end:e.offset,r.end=r.start+r.delay+r.duration,r.easing=O(r.easing),r.elasticity=(1e3-Math.min(Math.max(r.elasticity,1),999))/1e3,r.isPath=D.pth(o),r.isColor=D.col(r.from.original),r.isColor&&(r.round=1),n=r}))}function x(e,r){return t(n(e.map((function(e){return r.map((function(t){var n=h(e.target,t.name);if(n){var r=H(t,e);t={type:n,property:t.name,animatable:e,tweens:r,duration:r[r.length-1].end,delay:r[0].delay}}else t=void 0;return t}))}))),(function(e){return!D.und(e)}))}function N(e,t,n,r){var o="delay"===e;return t.length?(o?Math.min:Math.max).apply(Math,t.map((function(t){return t[e]}))):o?r.delay:n.offset+r.delay+r.duration}function _(e){var t,n=a(k,e),r=a(P,e),o=C(e.targets),i=[],u=l(n,r);for(t in e)u.hasOwnProperty(t)||"targets"===t||i.push({name:t,offset:u.offset,tweens:L(e[t],r)});return l(n,{children:[],animatables:o,animations:e=x(o,i),duration:N("duration",e,n,r),delay:N("delay",e,n,r)})}function j(e){function n(){return window.Promise&&new Promise((function(e){return f=e}))}function r(e){return d.reversed?d.duration-e:e}function o(e){for(var n=0,r={},o=d.animations,i=o.length;n<i;){var a=o[n],u=a.animatable,l=(c=a.tweens)[p=c.length-1];p&&(l=t(c,(function(t){return e<t.end}))[0]||l);for(var c=Math.min(Math.max(e-l.start-l.delay,0),l.duration)/l.duration,s=isNaN(c)?1:l.easing(c,l.elasticity),f=(c=l.to.strings,l.round),p=[],h=void 0,y=(h=l.to.numbers.length,0);y<h;y++){var v=void 0,g=(v=l.to.numbers[y],l.from.numbers[y]);v=l.isPath?E(l.value,s*v):g+s*(v-g),f&&(l.isColor&&2<y||(v=Math.round(v*f)/f)),p.push(v)}if(l=c.length)for(h=c[0],s=0;s<l;s++)f=c[s+1],y=p[s],isNaN(y)||(h=f?h+(y+f):h+(y+" "));else h=p[0];B[a.type](u.target,a.property,h,r,u.id),a.currentValue=h,n++}if(n=Object.keys(r).length)for(o=0;o<n;o++)I||(I=m(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[I]=r[o].join(" ");d.currentTime=e,d.progress=e/d.duration*100}function i(e){d[e]&&d[e](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(e){var t=d.duration,u=d.offset,m=u+d.delay,h=d.currentTime,y=d.reversed,v=r(e);if(d.children.length){var g=d.children,b=g.length;if(v>=d.currentTime)for(var S=0;S<b;S++)g[S].seek(v);else for(;b--;)g[b].seek(v)}(v>=m||!t)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<t?o(v):(v<=u&&0!==h&&(o(0),y&&a()),(v>=t&&h!==t||!t)&&(o(t),y||a())),i("update"),e>=t&&(d.remaining?(c=l,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=n()))),s=0)}e=void 0===e?{}:e;var l,c,s=0,f=null,p=n(),d=_(e);return d.reset=function(){var e=d.direction,t=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===e,d.remaining="alternate"===e&&1===t?2:t,o(0),e=d.children.length;e--;)d.children[e].reset()},d.tick=function(e){l=e,c||(c=l),u((s+l-c)*j.speed)},d.seek=function(e){u(r(e))},d.pause=function(){var e=U.indexOf(d);-1<e&&U.splice(e,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,s=r(d.currentTime),U.push(d),q||$())},d.reverse=function(){d.reversed=!d.reversed,c=0,s=r(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var I,k={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},P={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},R="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),D={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return D.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||D.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return D.hex(e)||D.rgb(e)||D.hsl(e)}},F=function(){function e(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}return function(t,n,r,o){if(0<=t&&1>=t&&0<=r&&1>=r){var i=new Float32Array(11);if(t!==n||r!==o)for(var a=0;11>a;++a)i[a]=e(.1*a,t,r);return function(a){if(t===n&&r===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,l=1;10!==l&&i[l]<=a;++l)u+=.1;--l,l=u+(a-i[l])/(i[l+1]-i[l])*.1;var c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t);++u){var s=e(l,t,r)-a;l-=s/c}a=l}else if(0===c)a=l;else{l=u,u+=.1;var f=0;do{0<(c=e(s=l+(u-l)/2,t,r)-a)?u=s:l=s}while(1e-7<Math.abs(c)&&10>++f);a=s}return e(a,n,o)}}}}(),V=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,n="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),r={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,n){return 1-e(1-t,n)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,n){return.5>t?e(2*t,n)/2:1-e(-2*t+2,n)/2}]},o={linear:F(.25,.25,.75,.75)},i={};for(t in r)i.type=t,r[i.type].forEach(function(e){return function(t,r){o["ease"+e.type+n[r]]=D.fnc(t)?t:F.apply(u,t)}}(i)),i={type:i.type};return o}(),B={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){r[o]||(r[o]=[]),r[o].push(t+"("+n+")")}},U=[],q=0,$=function(){function e(){q=requestAnimationFrame(t)}function t(t){var n=U.length;if(n){for(var r=0;r<n;)U[r]&&U[r].tick(t),r++;e()}else cancelAnimationFrame(q),q=0}return e}();return j.version="2.2.0",j.speed=1,j.running=U,j.remove=function(e){e=M(e);for(var t=U.length;t--;)for(var n=U[t],r=n.animations,i=r.length;i--;)o(e,r[i].animatable.target)&&(r.splice(i,1),r.length||n.pause())},j.getValue=v,j.path=function(t,n){var r=D.str(t)?e(t)[0]:t,o=n||100;return function(e){return{el:r,property:e,totalLength:w(r)*(o/100)}}},j.setDashoffset=function(e){var t=w(e);return e.setAttribute("stroke-dasharray",t),t},j.bezier=F,j.easings=V,j.timeline=function(e){var t=j(e);return t.pause(),t.duration=0,t.add=function(n){return t.children.forEach((function(e){e.began=!0,e.completed=!0})),r(n).forEach((function(n){var r=l(n,a(P,e||{}));r.targets=r.targets||e.targets,n=t.duration;var o=r.offset;r.autoplay=!1,r.direction=t.direction,r.offset=D.und(o)?n:g(o,n),t.began=!0,t.completed=!0,t.seek(r.offset),(r=j(r)).began=!0,r.completed=!0,r.duration>n&&(t.duration=r.duration),t.children.push(r)})),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},j.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},j},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},353:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},c(e)}function s(e,t,n){return s=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&p(o,n.prototype),o},s.apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var m,h=function(e,t,n){var o=n.value;if(console.warn("@Bind decorator is deprecated, use arrow function expression"),"function"!=typeof o)throw new Error("@Bind decorator can only be applied to methods not: ".concat(r(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var n=o.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){o=e,delete this[t]}}),i=!1,n},set:function(e){o=e}}},y=function(e){return function(t){customElements.define(e.tagName,t,e.options);var n=e.tagName.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));window[n.charAt(0).toUpperCase()+n.slice(1)]=t}},v=function(e,t){Reflect.get(e,"_dp_"+t)||Reflect.defineProperty(e,"_dp_"+t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(e){this["_"+t+"_value"]=e}}),e["_dp_setters_"+t]||(e["_dp_setters_"+t]=[]);e["_dp_setters_"+t].push((function(e,t){e&&e.renderNow&&e.renderNow()}));Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(n){var r=this;this["_dp_"+t]=n,e["_dp_setters_"+t]&&e["_dp_setters_"+t].forEach((function(e){e(r,n)}))}})},g=n(425);m=document.registerElement,/\{\s*\[native code\]\s*\}/.test(""+m)||g(window,"auto");var b=new Map,S=[],w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(s,e);var t,n,r,o,a,c=(t=s,n=f(),function(){var e,r=d(t);if(n){var o=d(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return l(this,e)});function s(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),t=n=c.call(this,e),n._projector=void 0,n.projectorMode=void 0,e=t,"function"==typeof n.init&&n.init(),l(n,e)}return r=s,o=[{key:"templateFromString",value:function(e){var t=this;this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML="";var n=this.shadowRoot.adoptedStyleSheets&&CSSStyleSheet,r="<style></style>",o=e.match(/<style[^>]*>([\s\S]*?)<\/style>/);if(o)if(r=o[0],n){e=e.replace(o[0],"");var i=new CSSStyleSheet;i.replaceSync(!0===b.has(this.tagName)?b.get(this.tagName):o[1]),this.shadowRoot.adoptedStyleSheets=[i]}else{var a=new Blob([b.get(this.tagName)?b.get(this.tagName):o[1]],{type:"text/css"});e=e.replace(o[0],'<link rel="stylesheet" href="'.concat(URL.createObjectURL(a),'" data-tmp="true">'))}var u=document.createElement("template");u.innerHTML=e;var l=document.importNode(u.content,!0),c=function(){if(b.has(t.tagName))return b.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent,o=new Blob([n],{type:"text/css"}),i=URL.createObjectURL(o);return b.set(t.tagName,i),i};return window.addEventListener("customStyleConnected",(function(){setTimeout((function(){if(o&&n){e=e.replace(o[0],"");var i=new CSSStyleSheet,a=function(){if(b.has(t.tagName))return b.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent;return b.set(t.tagName,n),n}();i.replaceSync(a),t.shadowRoot.adoptedStyleSheets=[i]}else{var u=t.shadowRoot.querySelector("link");u&&(u.hasAttribute("data-tmp")&&(URL.revokeObjectURL(u.href),u.removeAttribute("data-tmp")),u.href=c())}}),300)})),setTimeout((function(){var e=t.shadowRoot.querySelector("link");e&&(e.hasAttribute("data-tmp")&&(URL.revokeObjectURL(e.href),e.removeAttribute("data-tmp")),e.href=c())}),100),l}},{key:"hashCode",value:function(e){for(var t=0,n=0;t<e.length;t++)n=Math.imul(31,n)+e.charCodeAt(t)|0;return n}},{key:"adoptStyle",value:function(e,t){var n=0;if(!(e instanceof Document&&(n=this.hashCode(t),-1!==S.indexOf(n)))){if(e.adoptedStyleSheets&&CSSStyleSheet){var r=new CSSStyleSheet;r.replaceSync(t),e.adoptedStyleSheets=[].concat(i(e.adoptedStyleSheets),[r])}else{var o=new Blob([t],{type:"text/css"}),a=URL.createObjectURL(o),u=document.createElement("link");u.setAttribute("rel","stylesheet"),u.setAttribute("href",a),e instanceof Document?e.head.appendChild(u):e.appendChild(u)}0!==n&&S.push(n)}}},{key:"createProjector",value:function(e,t){var n=this;return new Promise((function(r,o){var i,a=n.projectorMode?n.projectorMode:"append";setTimeout((function(){(i=window.Maquette.createProjector())[a](e,t),n._projector=i,r(i),n.dispatchEvent(new CustomEvent("firstRender",{}))}),1)}))}},{key:"renderNow",value:function(){this._projector&&this._projector.renderNow()}}],o&&u(r.prototype,o),a&&u(r,a),Object.defineProperty(r,"prototype",{writable:!1}),s}(c(HTMLElement));function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function T(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e){var t=H();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return O(e,arguments,N(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),x(n,e)},A(e)}function O(e,t,n){return O=H()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&x(o,n.prototype),o},O.apply(null,arguments)}function H(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(i,e);var t,n,r,o=L(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"connectedCallback",value:function(){var e=this;this.logMessage("connectedCallback - start");var t=this.getAttribute("href");this.logMessage("going to fetch from: "+t),fetch(t).then((function(n){e.logMessage("succesfully fetched from: "+t+" - going to add to ShadyCSS"),n.text().then((function(t){var n=document.createElement("style");if(n.textContent=t,window.ShadyCSS.CustomStyleInterface.addCustomStyle(n),window.ShadyCSS.styleSubtree(e),document.adoptedStyleSheets&&CSSStyleSheet){var r=new CSSStyleSheet;r.replaceSync(n.textContent),document.adoptedStyleSheets=[].concat(T(document.adoptedStyleSheets),[r]),e.logMessage("added stylesheet to adoptedStyleSheets")}else{e.logMessage("supportReplaceCssSync === false");var o=new Blob([n.textContent],{type:"text/css"}),i=document.createElement("link");i.rel="stylesheet",i.href=URL.createObjectURL(o),document.getElementsByTagName("head")[0].appendChild(i)}setTimeout((function(){e.logMessage("going to dispatch event 'customStyleConnected'"),e.dispatchEvent(new CustomEvent("customStyleConnected",{detail:{customStyle:n},bubbles:!0,cancelable:!1}))}),100)}))}))}},{key:"logMessage",value:function(e){localStorage.getItem("show-logs")&&this.logMessage(""+e)}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(A(HTMLLinkElement));window.customElements.define("custom-style",_,{extends:"link"});var j=n(50),I=n(277),k=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,r){if(e)for(var o=0;o<n.length;o++)e[o]!==n[o]&&(t=void 0);return t||(t=r(),e=n),t}}},P=function(e,t,n){var r=[],o=[];return{results:o,map:function(i){for(var a=i.map(e),u=o.slice(),l=0,c=0;c<i.length;c++){var s=i[c],f=a[c];if(f===r[l])o[c]=u[l],n(s,u[l],c),l++;else{for(var p=!1,d=1;d<r.length+1;d++){var m=(l+d)%r.length;if(r[m]===f){o[c]=u[m],n(i[c],u[m],c),l=m+1,p=!0;break}}p||(o[c]=t(s,c))}}o.length=i.length,r=a}}};function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}var D="http://www.w3.org/",F=D+"2000/svg",V=D+"1999/xlink",B=[],U=[],q=!1,$=function e(t){var n;(t.children||[]).forEach(e),null!=t&&null!==(n=t.properties)&&void 0!==n&&n.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},W=function(e,t){return e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties)},z=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},Z=function(e,t,n){if(""!==t.vnodeSelector)for(var r=n;r<e.length;r++)if(W(e[r],t))return r;return-1},K=function(e,t,n,r){var o=e[t];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<e.length;a++)if(a!==t){var u=e[a];if(W(u,o))throw"added"===r?new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},X=function(e,t){if(e.properties){var n=e.properties.enterAnimation;n&&("function"==typeof n?n(e.domNode,e.properties):t.enter(e.domNode,e.properties,n))}},Y=function(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),t&&Object.keys(t).forEach((function(e){n[e]=t[e]})),n},G=function(e,t,n){if(function(e,t,n){if(t)for(var r=0;r<t.length;r++)J(t[r],e,void 0,n)}(e,t.children,n),t.text&&(e.textContent=t.text),t.properties&&t.properties.eventListeners){if(!Array.isArray(t.properties.eventListeners))throw new Error("eventListeners value must be an array");t.properties.eventListeners.forEach((function(t){e.addEventListener(t[0],t[1],t[2])}))}!function(e,t,n){if(t)for(var r=n.eventHandlerInterceptor,o=Object.keys(t),i=o.length,a=function(i){var a,u=o[i],l=t[u];if("className"===u)throw new Error('Property "className" is not supported, use "class".');if("class"===u)!function(e,t,n){t&&t.split(" ").forEach((function(t){t&&e.classList.toggle(t,n)}))}(e,l,!0);else if("classes"===u)for(var c=Object.keys(l),s=c.length,f=0;f<s;f++){var p=c[f];l[p]&&e.classList.add(p)}else if("styles"===u)for(var d=Object.keys(l),m=d.length,h=0;h<m;h++){var y=d[h],v=l[y];v&&(z(v),n.styleApplyer(e,y,v))}else if("key"!==u&&null!=l){var g=R(l);"function"===g?(0===u.lastIndexOf("on",0)&&(r&&(l=r(u,l,e,t)),"oninput"===u&&(a=l,l=function(e){a.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[u]=l):n.namespace===F?"href"===u?e.setAttributeNS(V,u,l):e.setAttribute(u,l):"string"===g&&"value"!==u&&"innerHTML"!==u?e.setAttribute(u,l):e[u]=l}},u=0;u<i;u++)a(u)}(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])},Q=function(e,t){return{update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");oe(e,n,t),e=n},domNode:e.domNode}},J=function(e,t,n,r){var o,i,a,u,l,c=0,s=e.vnodeSelector,f=t.ownerDocument;if(""===s)o=e.domNode=f.createTextNode(e.text),void 0!==n?t.insertBefore(o,n):t.appendChild(o);else{for(i=0;i<=s.length;++i)if(a=s.charAt(i),i===s.length||"."===a||"#"===a){if(u=s.charAt(c-1),l=s.slice(c,i),"."===u)o.classList.add(l);else if("#"===u)o.id=l;else{if("svg"===l&&(r=Y(r,{namespace:F})),void 0!==r.namespace)o=e.domNode=f.createElementNS(r.namespace,l);else{var p=void 0;e.properties&&e.properties.is?function(){var t=document.createElement("div");t.style.display="none",document.body.appendChild(t),t.innerHTML="<".concat(l,' is="').concat(e.properties.is,'"></').concat(l,">"),setTimeout((function(){document.body.removeChild(t)}),10),p=f.createElement(l,{is:e.properties.is})}():p=f.createElement(l),o=e.domNode=e.domNode||p,"input"===l&&e.properties&&void 0!==e.properties.type&&o.setAttribute("type",e.properties.type)}o&&(void 0!==n?t.insertBefore(o,n):o.parentNode!==t&&t.appendChild(o))}c=i+1}G(o,e,r)}},ee=function(e,t){var n=e.domNode;if(e.properties){e.properties.eventListeners&&Array.isArray(e.properties.eventListeners)&&e.properties.eventListeners.forEach((function(e){n.removeEventListener(e[0],e[1])}));var r=e.properties.exitAnimation;if(r){n.style.pointerEvents="none";var o=function(){n.parentNode&&(n.parentNode.removeChild(n),te(e))};return"function"==typeof r?void r(n,o,e.properties):void t.exit(e.domNode,e.properties,r,o)}}n.parentNode&&(n.parentNode.removeChild(n),te(e))},te=function(e){U.push(e),q||(q=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(ne,{timeout:16}):setTimeout(ne,16))},ne=function(){q=!1,U.forEach($),U.length=0},re=function(e,t,n,r,o){if(n===r)return!1;r=r||B;for(var i,a=(n=n||B).length,u=r.length,l=o.transitions,c=0,s=0,f=!1;s<u;){var p=c<a?n[c]:void 0,d=r[s];if(void 0!==p&&W(p,d))f=oe(p,d,o)||f,c++;else{var m=Z(n,d,c+1);if(m>=0){for(i=c;i<m;i++)ee(n[i],l),K(n,i,e,"removed");f=oe(n[m],d,o)||f,c=m+1}else J(d,t,c<a?n[c].domNode:void 0,o),X(d,l),K(r,s,e,"added")}s++}if(a>c)for(i=c;i<a;i++)ee(n[i],l),K(n,i,e,"removed");return f},oe=function(e,t,n){var r=e.domNode,o=!1;if(e===t)return!1;var i=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var a=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(a,r),t.domNode=a,o=!0}}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(n=Y(n,{namespace:F})),e.text!==t.text&&(i=!0,void 0===t.text?r.removeChild(r.firstChild):r.textContent=t.text),i=re(t,r,e.children,t.children,n)||i,i=ie(r,e.properties,t.properties,n)||i,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,n,t.vnodeSelector,t.properties,t.children]);return i&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),t.domNode=e.domNode,o},ie=function(e,t,n,r){if(n){for(var o=!1,i=Object.keys(n),a=i.length,u=0;u<a;u++){var l=i[u],c=n[l],s=t[l];if("class"===l){if(s!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===l)for(var f=e.classList,p=Object.keys(c),d=p.length,m=0;m<d;m++){var h=p[m],y=!!c[h];y!==!!s[h]&&(o=!0,y?f.add(h):f.remove(h))}else if("styles"===l)for(var v=Object.keys(c),g=v.length,b=0;b<g;b++){var S=v[b],w=c[S];w!==s[S]&&(o=!0,w?(z(w),r.styleApplyer(e,S,w)):r.styleApplyer(e,S,""))}else if(c||"string"!=typeof s||(c=""),"value"===l){var E=e[l];E!==c&&(e["oninput-value"]?E===e["oninput-value"]:c!==s)&&(e[l]=c,e["oninput-value"]=void 0),c!==s&&(o=!0)}else if(c!==s){var T=R(c);if("function"===T)throw new Error("Functions may not be updated on subsequent renders (property: "+l+"). Hint: declare event handler functions outside the render() function.");"string"===T&&"innerHTML"!==l?r.namespace===F&&"href"===l?e.setAttributeNS(V,l,c):"role"===l&&""===c?e.removeAttribute(l):e.setAttribute(l,c):e[l]!==c&&(e[l]=c),o=!0}}return o}},ae=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},ue={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){e.style[t]=n},transitions:{enter:ae,exit:ae}},le=function(e){return Y(ue,e)},ce={create:function(e,t){return t=le(t),J(e,document.createElement("div"),void 0,t),Q(e,t)},append:function(e,t,n){return n=le(n),J(t,e,void 0,n),Q(t,n)},insertBefore:function(e,t,n){return n=le(n),J(t,e.parentNode,e,n),Q(t,n)},merge:function(e,t,n){return n=le(n),t.domNode=e,G(e,t,n),Q(t,n)},replace:function(e,t,n){return n=le(n),J(t,e.parentNode,e,n),e.parentNode.removeChild(e),Q(t,n)}},se=function(e){var t,n=le(e);n.eventHandlerInterceptor=function(e,n,r,o){return function(){return t.scheduleRender(),n.apply(o.bind||this,arguments)}};var r,o=!0,i=!1,a=[],u=[],l=function(){if(r=void 0,o){o=!1;for(var e=0;e<a.length;e++){var t=u[e]();a[e].update(t)}o=!0}};return t={renderNow:l,scheduleRender:function(){r||i||(r=requestAnimationFrame(l))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),i=!0},resume:function(){i=!1,o=!0,t.scheduleRender()},append:function(e,t){a.push(ce.append(e,t(),n)),u.push(t)},insertBefore:function(e,t){a.push(ce.insertBefore(e,t(),n)),u.push(t)},merge:function(e,t){a.push(ce.merge(e,t(),n)),u.push(t)},replace:function(e,t){a.push(ce.replace(e,t(),n)),u.push(t)},detach:function(e){for(var t=0;t<u.length;t++)if(u[t]===e)return u.splice(t,1),a.splice(t,1)[0];throw new Error("renderMaquetteFunction was not found")}}};function fe(e){return fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(e)}var pe=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},de=function e(t,n,r){for(var o=0,i=n.length;o<i;o++){var a=n[o];Array.isArray(a)?e(t,a,r):null!=a&&(a.hasOwnProperty("vnodeSelector")||(a=pe(a)),r.push(a))}},me=function(e){var t=arguments[1];if("string"!=typeof e)throw new Error;var n,r,o=1;!t||t.hasOwnProperty("vnodeSelector")||Array.isArray(t)||"object"!==fe(t)?t=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?n=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(n=a[0])}if(void 0===n)for(r=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?de(e,u,r):u.hasOwnProperty("vnodeSelector")?r.push(u):r.push(pe(u)))}return{vnodeSelector:e,properties:t,children:r,text:""===n?void 0:n,domNode:null}};!function(e){e._=j,e.Maquette={createCache:k,createMapping:P,createProjector:se,dom:ce,h:me},e.h=me,e.anime=I,e.customElements.whenDefined("custom-style").then((function(){return document.body.parentElement.classList.add("custom-style-defined")})),e.CustomElement=w,e.CustomElementConfig=y,e.CustomStyleElement=_,e.PropertyRenderOnSet=v,e.RenderOnSet=v,e.Bind=h}(window)},765:()=>{
|
|
1
|
+
/*! P-ELEMENTS 1.2.3-rc1 - Sat Sep 23 2023 09:02:52 GMT+0200 (Central European Summer Time) */(()=>{var e={259:function(){(function(){"use strict";var e,t,n=!(window.ShadyDOM&&window.ShadyDOM.inUse);function r(t){e=(!t||!t.shimcssproperties)&&(n||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?e=window.ShadyCSS.nativeCss:window.ShadyCSS?(r(window.ShadyCSS),window.ShadyCSS=void 0):r(window.WebComponents&&window.WebComponents.flags);var o=e,i=t;function a(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function u(e){var t=l,n=e=e.replace(h,"").replace(m,""),r=new a;r.start=0,r.end=n.length;for(var o=r,i=0,u=n.length;i<u;i++)if("{"===n[i]){o.rules||(o.rules=[]);var c=o,s=c.rules[c.rules.length-1]||null;(o=new a).start=i+1,o.parent=c,o.previous=s,c.rules.push(o)}else"}"===n[i]&&(o.end=i+1,o=o.parent||r);return t(r,e)}function l(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e}))}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1)),n=(n=n.replace(w," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=p:n.match(S)&&(e.type=f,e.keyframesName=e.selector.split(w).pop()):e.type=0===n.indexOf("--")?d:s),n=e.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)l(i,t);return e}function c(e,t,n){n=void 0===n?"":n;var r="";if(e.cssText||e.rules){var o,i=e.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,u=void 0;o<a&&(u=i[o]);o++)r=c(u,t,r)}else t?t=e.cssText:t=(t=(t=e.cssText).replace(y,"").replace(v,"")).replace(g,"").replace(b,""),(r=t.trim())&&(r=" "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" {\n"),n+=r,e.selector&&(n+="}\n\n")),n}var s=1,f=7,p=4,d=1e3,h=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,m=/@import[^;]*;/gim,y=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,v=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,g=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,b=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,S=/^@[^\s]*keyframes/,w=/\s+/g,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,M=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,T=/@media\s(.*)/,C=new Set;function L(e){return e?("string"==typeof e&&(e=u(e)),c(e,o)):""}function A(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=u(e.textContent)),e.__cssRules||null}function O(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===p){var a=e.selector.match(T);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===s?t(e):n&&i===f?n(e):i===d&&(o=!0),(e=e.rules)&&!o)for(o=0,i=e.length,a=void 0;o<i&&(a=e[o]);o++)O(a,t,n,r)}}function H(e,t){var n=e.indexOf("var(");if(-1===n)return t(e,"","","");e:{for(var r=0,o=n+3,i=e.length;o<i;o++)if("("===e[o])r++;else if(")"===e[o]&&0==--r)break e;o=-1}return r=e.substring(n+4,o),n=e.substring(0,n),e=H(e.substring(o+1),t),-1===(o=r.indexOf(","))?t(n,r.trim(),"",e):t(n,r.substring(0,o).trim(),r.substring(o+1).trim(),e)}function _(e){if(void 0!==i)return i;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}var x=/;\s*/m,N=/^\s*(initial)|(inherit)\s*$/,j=/\s*!important/;function k(){this.a={}}k.prototype.set=function(e,t){e=e.trim(),this.a[e]={h:t,i:{}}},k.prototype.get=function(e){return e=e.trim(),this.a[e]||null};var I=null;function P(){this.b=this.c=null,this.a=new k}function R(e,t){for(var n=t;n.parent;)n=n.parent;var r={},o=!1;return O(n,(function(n){(o=o||n===t)||n.selector===t.selector&&Object.assign(r,F(e,n.parsedCssText))})),r}function D(e,t,n){for(var r;r=M.exec(t);){var o=r[0],i=r[1];r=r.index;var a=t.slice(0,r+o.indexOf("@apply"));t=t.slice(r+o.length);var u=n?R(e,n):{};Object.assign(u,F(e,a)),o=void 0;var l=e;i=i.replace(x,"");var c=[],s=l.a.get(i);if(s||(l.a.set(i,{}),s=l.a.get(i)),s){l.c&&(s.i[l.c]=!0);var f=s.h;for(o in f)s=[o,": var(",i,"_-_",o],(l=u&&u[o])&&s.push(",",l.replace(j,"")),s.push(")"),j.test(f[o])&&s.push(" !important"),c.push(s.join(""))}t=a+(o=c.join("; "))+t,M.lastIndex=r+o.length}return t}function F(e,t,n){n=void 0!==n&&n,t=t.split(";");for(var r,o,i,a={},u=0;u<t.length;u++)if((r=t[u])&&1<(i=r.split(":")).length){if(r=i[0].trim(),o=i.slice(1).join(":"),n){var l=e;i=r;var c=N.exec(o);c&&(c[1]?(l.b||(l.b=document.createElement("meta"),l.b.setAttribute("apply-shim-measure",""),l.b.style.all="initial",document.head.appendChild(l.b)),i=window.getComputedStyle(l.b).getPropertyValue(i)):i="apply-shim-inherit",o=i)}a[r]=o}return a}P.prototype.o=function(e){return e=M.test(e)||E.test(e),M.lastIndex=0,E.lastIndex=0,e},P.prototype.m=function(e,t){if(void 0===e._gatheredStyle){for(var r=[],o=e.content.querySelectorAll("style"),i=0;i<o.length;i++){var a=o[i];if(a.hasAttribute("shady-unscoped")){if(!n){var u=a.textContent;C.has(u)||(C.add(u),u=a.cloneNode(!0),document.head.appendChild(u)),a.parentNode.removeChild(a)}}else r.push(a.textContent),a.parentNode.removeChild(a)}(r=r.join("").trim())?((o=document.createElement("style")).textContent=r,e.content.insertBefore(o,e.content.firstChild),r=o):r=null,e._gatheredStyle=r}return(e=e._gatheredStyle)?this.j(e,t):null},P.prototype.j=function(e,t){t=void 0===t?"":t;var n=A(e);return this.l(n,t),e.textContent=L(n),n},P.prototype.f=function(e){var t=this,n=A(e);return O(n,(function(e){":root"===e.selector&&(e.selector="html"),t.g(e)})),e.textContent=L(n),n},P.prototype.l=function(e,t){var n=this;this.c=t,O(e,(function(e){n.g(e)})),this.c=null},P.prototype.g=function(e){e.cssText=function(e,t,n){return t=t.replace(E,(function(t,r,o,i){return function(e,t,n,r,o,i){if(r&&H(r,(function(t,n){n&&e.a.get(n)&&(o="@apply "+n+";")})),!o)return t;var a=D(e,""+o,i);i=t.slice(0,t.indexOf("--"));var u=a=F(e,a,!0),l=e.a.get(n),c=l&&l.h;c?u=Object.assign(Object.create(c),a):e.a.set(n,u);var s,f=[],p=!1;for(s in u){var d=a[s];void 0===d&&(d="initial"),!c||s in c||(p=!0),f.push(n+"_-_"+s+": "+d)}return p&&function(e,t){if(I)for(var n in t.i)n!==e.c&&I(n)}(e,l),l&&(l.h=u),r&&(i=t+";"+i),i+f.join("; ")+";"}(e,t,r,o,i,n)})),D(e,t,n)}(this,e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")},P.prototype.detectMixin=P.prototype.o,P.prototype.transformStyle=P.prototype.j,P.prototype.transformCustomStyle=P.prototype.f,P.prototype.transformRules=P.prototype.l,P.prototype.transformRule=P.prototype.g,P.prototype.transformTemplate=P.prototype.m,P.prototype._separator="_-_",Object.defineProperty(P.prototype,"invalidCallback",{get:function(){return I},set:function(e){I=e}});var V={},B=Promise.resolve();function U(e){(e=V[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function q(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var $=new P;function W(){this.a=null,$.invalidCallback=U}function z(e){!e.a&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(e){$.f(e)},e.a.validateCallback=function(){requestAnimationFrame((function(){e.a.enqueued&&e.flushCustomStyles()}))})}if(W.prototype.prepareTemplate=function(e,t){z(this),""===_(e)&&(V[t]=e,t=$.m(e,t),e._styleAst=t)},W.prototype.flushCustomStyles=function(){if(z(this),this.a){var e=this.a.processStyles();if(this.a.enqueued){for(var t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);n&&$.f(n)}this.a.enqueued=!1}}},W.prototype.styleSubtree=function(e,t){if(z(this),t)for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n]);if(e.shadowRoot)for(this.styleElement(e),e=e.shadowRoot.children||e.shadowRoot.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t]);else for(e=e.children||e.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t])},W.prototype.styleElement=function(e){z(this);var t,n=e.localName;t=n?-1<n.indexOf("-")?n:e.getAttribute&&e.getAttribute("is")||"":e.is,(n=V[t])&&""!==_(n)||!n||q(n)||((q(n)||n._applyShimValidatingVersion!==n._applyShimNextVersion)&&(this.prepareTemplate(n,t),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,B.then((function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1})))}(n)),(e=e.shadowRoot)&&(e=e.querySelector("style"))&&(e.__cssRules=n._styleAst,e.textContent=L(n._styleAst)))},W.prototype.styleDocument=function(e){z(this),this.styleSubtree(document.body,e)},!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var Z=new W,K=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(e,t){Z.flushCustomStyles(),Z.prepareTemplate(e,t)},prepareTemplateStyles:function(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom:function(){},styleSubtree:function(e,t){Z.flushCustomStyles(),Z.styleSubtree(e,t)},styleElement:function(e){Z.flushCustomStyles(),Z.styleElement(e)},styleDocument:function(e){Z.flushCustomStyles(),Z.styleDocument(e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){Z.flushCustomStyles()},nativeCss:o,nativeShadow:n,cssBuild:i},K&&(window.ShadyCSS.CustomStyleInterface=K)}window.ShadyCSS.ApplyShim=$}).call(this)},659:function(){(function(){"use strict";var e,t=null,n=window.HTMLImports&&window.HTMLImports.whenReady||null;function r(r){requestAnimationFrame((function(){n?n(r):(t||(t=new Promise((function(t){e=t})),"complete"===document.readyState?e():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&e()}))),t.then((function(){r&&r()})))}))}var o=null,i=null;function a(){this.customStyles=[],this.enqueued=!1,r((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}function u(e){!e.enqueued&&i&&(e.enqueued=!0,r(i))}function l(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}a.prototype.c=function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),u(this))},a.prototype.b=function(e){return e.__shadyCSSCachedStyle?e.__shadyCSSCachedStyle:e.getStyle?e.getStyle():e},a.prototype.a=function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n.__shadyCSSCachedStyle){var r=this.b(n);r&&(r=r.__appliedElement||r,o&&o(r),n.__shadyCSSCachedStyle=r)}}return e},a.prototype.addCustomStyle=a.prototype.c,a.prototype.getStyleForCustomStyle=a.prototype.b,a.prototype.processStyles=a.prototype.a,Object.defineProperties(a.prototype,{transformCallback:{get:function(){return o},set:function(e){o=e}},validateCallback:{get:function(){return i},set:function(e){var t=!1;i||(t=!0),i=e,t&&u(this)}}});var c,s,f=!(window.ShadyDOM&&window.ShadyDOM.inUse);function p(e){c=(!e||!e.shimcssproperties)&&(f||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(s=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?c=window.ShadyCSS.nativeCss:window.ShadyCSS?(p(window.ShadyCSS),window.ShadyCSS=void 0):p(window.WebComponents&&window.WebComponents.flags);var d=c,h=s,m=new a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTemplateStyles:function(){},styleSubtree:function(e,t){m.a(),l(e,t)},styleElement:function(){m.a()},styleDocument:function(e){m.a(),l(document.body,e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){},nativeCss:d,nativeShadow:f,cssBuild:h}),window.ShadyCSS.CustomStyleInterface=m}).call(this)},277:function(e,t,n){var r,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},a.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n.g&&null!=n.g?n.g:e},a.global=a.getGlobal(this),a.SYMBOL_PREFIX="jscomp_symbol_",a.initSymbol=function(){a.initSymbol=function(){},a.global.Symbol||(a.global.Symbol=a.Symbol)},a.symbolCounter_=0,a.Symbol=function(e){return a.SYMBOL_PREFIX+(e||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var e=a.global.Symbol.iterator;e||(e=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&a.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(e){var t=0;return a.iteratorPrototype((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))},a.iteratorPrototype=function(e){return a.initSymbolIterator(),(e={next:e})[a.global.Symbol.iterator]=function(){return this},e},a.array=a.array||{},a.iteratorFromArray=function(e,t){a.initSymbolIterator(),e instanceof String&&(e+="");var n=0,r={next:function(){if(n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r},a.polyfill=function(e,t,n,r){if(t){for(n=a.global,e=e.split("."),r=0;r<e.length-1;r++){var o=e[r];o in n||(n[o]={}),n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&a.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},a.polyfill("Array.prototype.keys",(function(e){return e||function(){return a.iteratorFromArray(this,(function(e){return e}))}}),"es6-impl","es3");var u=this;o=[],r=function(){function e(e){if(!D.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var n=e.length,r=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<n;i++)if(i in e){var a=e[i];t.call(r,a,i,e)&&o.push(a)}return o}function n(e){return e.reduce((function(e,t){return e.concat(D.arr(t)?n(t):t)}),[])}function r(t){return D.arr(t)?t:(D.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function o(e,t){return e.some((function(e){return e===t}))}function i(e){var t,n={};for(t in e)n[t]=e[t];return n}function a(e,t){var n,r=i(e);for(n in e)r[n]=t.hasOwnProperty(n)?t[n]:e[n];return r}function l(e,t){var n,r=i(e);for(n in t)r[n]=D.und(e[n])?t[n]:e[n];return r}function c(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}function s(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(n[1])/360;var r=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==r)o=r=e=o;else{var i=.5>o?o*(1+r):o+r-o*r,a=2*o-i;o=t(a,i,e+1/3),r=t(a,i,e),e=t(a,i,e-1/3)}return"rgba("+255*o+","+255*r+","+255*e+","+n+")"}function f(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function p(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}function d(e,t){return D.fnc(e)?e(t.target,t.id,t.total):e}function h(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function m(e,t){return D.dom(e)&&o(R,t)?"transform":D.dom(e)&&(e.getAttribute(t)||D.svg(e)&&e[t])?"attribute":D.dom(e)&&"transform"!==t&&h(e,t)?"css":null!=e[t]?"object":void 0}function y(e,n){var r=p(n);if(r=-1<n.indexOf("scale")?1:0+r,!(e=e.style.transform))return r;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(e);)i.push(o[1]),a.push(o[2]);return e=t(a,(function(e,t){return i[t]===n})),e.length?e[0]:r}function v(e,t){switch(m(e,t)){case"transform":return y(e,t);case"css":return h(e,t);case"attribute":return e.getAttribute(t)}return e[t]||0}function g(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=f(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(n[0],"")),n[0][0]){case"+":return t+e+r;case"-":return t-e+r;case"*":return t*e+r}}function b(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function S(e){e=e.points;for(var t,n=0,r=0;r<e.numberOfItems;r++){var o=e.getItem(r);0<r&&(n+=b(t,o)),t=o}return n}function w(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return b({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return S(e);case"polygon":var t=e.points;return S(e)+b(t.getItem(t.numberOfItems-1),t.getItem(0))}}function E(e,t){function n(n){return n=void 0===n?0:n,e.el.getPointAtLength(1<=t+n?t+n:0)}var r=n(),o=n(-1),i=n(1);switch(e.property){case"x":return r.x;case"y":return r.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function M(e,t){var n,r=/-?\d*\.?\d+/g;if(n=D.pth(e)?e.totalLength:e,D.col(n))if(D.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=D.hex(n)?c(n):D.hsl(n)?s(n):void 0;else o=(o=f(n))?n.substr(0,n.length-o.length):n,n=t&&!/\s/g.test(n)?o+t:o;return{original:n+="",numbers:n.match(r)?n.match(r).map(Number):[0],strings:D.str(e)||t?n.split(r):[]}}function T(e){return t(e=e?n(D.arr(e)?e.map(r):r(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function C(e){var t=T(e);return t.map((function(e,n){return{target:e,id:n,total:t.length}}))}function L(e,t){var n=i(t);if(D.arr(e)){var o=e.length;2!==o||D.obj(e[0])?D.fnc(t.duration)||(n.duration=t.duration/o):e={value:e}}return r(e).map((function(e,n){return n=n?0:t.delay,e=D.obj(e)&&!D.pth(e)?e:{value:e},D.und(e.delay)&&(e.delay=n),e})).map((function(e){return l(e,n)}))}function A(e,t){var n,r={};for(n in e){var o=d(e[n],t);D.arr(o)&&(o=o.map((function(e){return d(e,t)})),1===o.length&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function O(e){return D.arr(e)?F.apply(this,e):V[e]}function H(e,t){var n;return e.tweens.map((function(r){var o=(r=A(r,t)).value,i=v(t.target,e.name),a=n?n.to.original:i,u=(a=D.arr(o)?o[0]:a,g(D.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),r.from=M(a,i),r.to=M(u,i),r.start=n?n.end:e.offset,r.end=r.start+r.delay+r.duration,r.easing=O(r.easing),r.elasticity=(1e3-Math.min(Math.max(r.elasticity,1),999))/1e3,r.isPath=D.pth(o),r.isColor=D.col(r.from.original),r.isColor&&(r.round=1),n=r}))}function _(e,r){return t(n(e.map((function(e){return r.map((function(t){var n=m(e.target,t.name);if(n){var r=H(t,e);t={type:n,property:t.name,animatable:e,tweens:r,duration:r[r.length-1].end,delay:r[0].delay}}else t=void 0;return t}))}))),(function(e){return!D.und(e)}))}function x(e,t,n,r){var o="delay"===e;return t.length?(o?Math.min:Math.max).apply(Math,t.map((function(t){return t[e]}))):o?r.delay:n.offset+r.delay+r.duration}function N(e){var t,n=a(I,e),r=a(P,e),o=C(e.targets),i=[],u=l(n,r);for(t in e)u.hasOwnProperty(t)||"targets"===t||i.push({name:t,offset:u.offset,tweens:L(e[t],r)});return l(n,{children:[],animatables:o,animations:e=_(o,i),duration:x("duration",e,n,r),delay:x("delay",e,n,r)})}function j(e){function n(){return window.Promise&&new Promise((function(e){return f=e}))}function r(e){return d.reversed?d.duration-e:e}function o(e){for(var n=0,r={},o=d.animations,i=o.length;n<i;){var a=o[n],u=a.animatable,l=(c=a.tweens)[p=c.length-1];p&&(l=t(c,(function(t){return e<t.end}))[0]||l);for(var c=Math.min(Math.max(e-l.start-l.delay,0),l.duration)/l.duration,s=isNaN(c)?1:l.easing(c,l.elasticity),f=(c=l.to.strings,l.round),p=[],m=void 0,y=(m=l.to.numbers.length,0);y<m;y++){var v=void 0,g=(v=l.to.numbers[y],l.from.numbers[y]);v=l.isPath?E(l.value,s*v):g+s*(v-g),f&&(l.isColor&&2<y||(v=Math.round(v*f)/f)),p.push(v)}if(l=c.length)for(m=c[0],s=0;s<l;s++)f=c[s+1],y=p[s],isNaN(y)||(m=f?m+(y+f):m+(y+" "));else m=p[0];B[a.type](u.target,a.property,m,r,u.id),a.currentValue=m,n++}if(n=Object.keys(r).length)for(o=0;o<n;o++)k||(k=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[k]=r[o].join(" ");d.currentTime=e,d.progress=e/d.duration*100}function i(e){d[e]&&d[e](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(e){var t=d.duration,u=d.offset,h=u+d.delay,m=d.currentTime,y=d.reversed,v=r(e);if(d.children.length){var g=d.children,b=g.length;if(v>=d.currentTime)for(var S=0;S<b;S++)g[S].seek(v);else for(;b--;)g[b].seek(v)}(v>=h||!t)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<t?o(v):(v<=u&&0!==m&&(o(0),y&&a()),(v>=t&&m!==t||!t)&&(o(t),y||a())),i("update"),e>=t&&(d.remaining?(c=l,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=n()))),s=0)}e=void 0===e?{}:e;var l,c,s=0,f=null,p=n(),d=N(e);return d.reset=function(){var e=d.direction,t=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===e,d.remaining="alternate"===e&&1===t?2:t,o(0),e=d.children.length;e--;)d.children[e].reset()},d.tick=function(e){l=e,c||(c=l),u((s+l-c)*j.speed)},d.seek=function(e){u(r(e))},d.pause=function(){var e=U.indexOf(d);-1<e&&U.splice(e,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,s=r(d.currentTime),U.push(d),q||$())},d.reverse=function(){d.reversed=!d.reversed,c=0,s=r(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var k,I={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},P={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},R="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),D={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return D.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||D.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return D.hex(e)||D.rgb(e)||D.hsl(e)}},F=function(){function e(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}return function(t,n,r,o){if(0<=t&&1>=t&&0<=r&&1>=r){var i=new Float32Array(11);if(t!==n||r!==o)for(var a=0;11>a;++a)i[a]=e(.1*a,t,r);return function(a){if(t===n&&r===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,l=1;10!==l&&i[l]<=a;++l)u+=.1;--l,l=u+(a-i[l])/(i[l+1]-i[l])*.1;var c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t);++u){var s=e(l,t,r)-a;l-=s/c}a=l}else if(0===c)a=l;else{l=u,u+=.1;var f=0;do{0<(c=e(s=l+(u-l)/2,t,r)-a)?u=s:l=s}while(1e-7<Math.abs(c)&&10>++f);a=s}return e(a,n,o)}}}}(),V=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,n="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),r={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,n){return 1-e(1-t,n)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,n){return.5>t?e(2*t,n)/2:1-e(-2*t+2,n)/2}]},o={linear:F(.25,.25,.75,.75)},i={};for(t in r)i.type=t,r[i.type].forEach(function(e){return function(t,r){o["ease"+e.type+n[r]]=D.fnc(t)?t:F.apply(u,t)}}(i)),i={type:i.type};return o}(),B={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){r[o]||(r[o]=[]),r[o].push(t+"("+n+")")}},U=[],q=0,$=function(){function e(){q=requestAnimationFrame(t)}function t(t){var n=U.length;if(n){for(var r=0;r<n;)U[r]&&U[r].tick(t),r++;e()}else cancelAnimationFrame(q),q=0}return e}();return j.version="2.2.0",j.speed=1,j.running=U,j.remove=function(e){e=T(e);for(var t=U.length;t--;)for(var n=U[t],r=n.animations,i=r.length;i--;)o(e,r[i].animatable.target)&&(r.splice(i,1),r.length||n.pause())},j.getValue=v,j.path=function(t,n){var r=D.str(t)?e(t)[0]:t,o=n||100;return function(e){return{el:r,property:e,totalLength:w(r)*(o/100)}}},j.setDashoffset=function(e){var t=w(e);return e.setAttribute("stroke-dasharray",t),t},j.bezier=F,j.easings=V,j.timeline=function(e){var t=j(e);return t.pause(),t.duration=0,t.add=function(n){return t.children.forEach((function(e){e.began=!0,e.completed=!0})),r(n).forEach((function(n){var r=l(n,a(P,e||{}));r.targets=r.targets||e.targets,n=t.duration;var o=r.offset;r.autoplay=!1,r.direction=t.direction,r.offset=D.und(o)?n:g(o,n),t.began=!0,t.completed=!0,t.seek(r.offset),(r=j(r)).began=!0,r.completed=!0,r.duration>n&&(t.duration=r.duration),t.children.push(r)})),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},j.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},j},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},353:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},c(e)}function s(e,t,n){return s=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&p(o,n.prototype),o},s.apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var h,m=function(e,t,n){var o=n.value;if(console.warn("@Bind decorator is deprecated, use arrow function expression"),"function"!=typeof o)throw new Error("@Bind decorator can only be applied to methods not: ".concat(r(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var n=o.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){o=e,delete this[t]}}),i=!1,n},set:function(e){o=e}}},y=function(e){return function(t){customElements.define(e.tagName,t,e.options);var n=e.tagName.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));window[n.charAt(0).toUpperCase()+n.slice(1)]=t}},v=function(e,t){Reflect.get(e,"_dp_"+t)||Reflect.defineProperty(e,"_dp_"+t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(e){this["_"+t+"_value"]=e}}),e["_dp_setters_"+t]||(e["_dp_setters_"+t]=[]);e["_dp_setters_"+t].push((function(e,t){e&&e.renderNow&&e.renderNow()}));Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(n){var r=this;this["_dp_"+t]=n,e["_dp_setters_"+t]&&e["_dp_setters_"+t].forEach((function(e){e(r,n)}))}})},g=n(425);h=document.registerElement,/\{\s*\[native code\]\s*\}/.test(""+h)||g(window,"auto");var b=new Map,S=[],w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(s,e);var t,n,r,o,a,c=(t=s,n=f(),function(){var e,r=d(t);if(n){var o=d(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return l(this,e)});function s(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),t=n=c.call(this,e),n._projector=void 0,n._projectorMode=void 0,e=t,n._callInitFunction(),n._initProjectorMode(),l(n,e)}return r=s,o=[{key:"_callInitFunction",value:function(){"function"==typeof this.init&&this.init()}},{key:"_initProjectorMode",value:function(){var e=this.constructor.projectorMode;this._projectorMode=e||"append"}},{key:"_supportsAdoptedStyleSheets",get:function(){return!(!document.adoptedStyleSheets||!CSSStyleSheet)}},{key:"_shadowRootAdoptMapStyle",value:function(e){var t=new CSSStyleSheet;t.replaceSync(!0===b.has(this.tagName)?b.get(this.tagName):e),this.shadowRoot.adoptedStyleSheets=[t]}},{key:"_shadowRootReplaceStyleWithLink",value:function(e,t,n){var r=new Blob([b.get(this.tagName)?b.get(this.tagName):n],{type:"text/css"});return e=e.replace(t,'<link rel="stylesheet" href="'.concat(URL.createObjectURL(r),'" data-tmp="true">'))}},{key:"templateFromString",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n&&!this.shadowRoot&&this.attachShadow({mode:"open"}),n?this.shadowRoot.innerHTML="":this.innerHTML="";var r="<style></style>",o=e.match(/<style[^>]*>([\s\S]*?)<\/style>/);o&&(r=o[0],n&&this._supportsAdoptedStyleSheets?(e=e.replace(o[0],""),this._shadowRootAdoptMapStyle(o[1])):n?e=this._shadowRootReplaceStyleWithLink(e,o[0],o[1]):(e=e.replace(o[0],""),this.adoptStyle(document,o[1])));var i=document.createElement("template");i.innerHTML=e;var a=document.importNode(i.content,!0),u=function(){if(b.has(t.tagName))return b.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent,o=new Blob([n],{type:"text/css"}),i=URL.createObjectURL(o);return b.set(t.tagName,i),i};return n&&(window.addEventListener("customStyleConnected",(function(){setTimeout((function(){if(o&&t._supportsAdoptedStyleSheets){e=e.replace(o[0],"");var n=new CSSStyleSheet,i=function(){if(b.has(t.tagName))return b.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent;return b.set(t.tagName,n),n}();n.replaceSync(i),t.shadowRoot.adoptedStyleSheets=[n]}else t._revokeAndUpdateLinkUrl(u)}),300)})),setTimeout((function(){t._revokeAndUpdateLinkUrl(u)}),100)),a}},{key:"_revokeAndUpdateLinkUrl",value:function(e){var t=this.shadowRoot.querySelector("link");t&&(t.hasAttribute("data-tmp")&&(URL.revokeObjectURL(t.href),t.removeAttribute("data-tmp")),t.href=e())}},{key:"_getHashCode",value:function(e){for(var t=0,n=0;t<e.length;t++)n=Math.imul(31,n)+e.charCodeAt(t)|0;return n}},{key:"adoptStyle",value:function(e,t){var n=0;if(!(e instanceof Document&&(n=this._getHashCode(t),-1!==S.indexOf(n)))){if(this._supportsAdoptedStyleSheets){var r=new CSSStyleSheet;r.replaceSync(t),e.adoptedStyleSheets=[].concat(i(e.adoptedStyleSheets),[r])}else{var o=new Blob([t],{type:"text/css"}),a=URL.createObjectURL(o),u=document.createElement("link");u.setAttribute("rel","stylesheet"),u.setAttribute("href",a),e instanceof Document?e.head.appendChild(u):e.appendChild(u)}0!==n&&S.push(n)}}},{key:"createProjector",value:function(e,t){var n=this;return new Promise((function(r,o){var i,a=n._projectorMode;setTimeout((function(){(i=window.Maquette.createProjector())[a](e,t),n._projector=i,r(i),n.dispatchEvent(new CustomEvent("firstRender",{}))}),1)}))}},{key:"renderNow",value:function(){this._projector&&this._projector.renderNow()}}],o&&u(r.prototype,o),a&&u(r,a),Object.defineProperty(r,"prototype",{writable:!1}),s}(c(HTMLElement));function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function M(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e){var t=H();return function(){var n,r=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return O(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_(n,e)},A(e)}function O(e,t,n){return O=H()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&_(o,n.prototype),o},O.apply(null,arguments)}function H(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(i,e);var t,n,r,o=L(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"connectedCallback",value:function(){var e=this;this.logMessage("connectedCallback - start");var t=this.getAttribute("href");this.logMessage("going to fetch from: "+t),fetch(t).then((function(n){e.logMessage("succesfully fetched from: "+t+" - going to add to ShadyCSS"),n.text().then((function(t){var n=document.createElement("style");if(n.textContent=t,window.ShadyCSS.CustomStyleInterface.addCustomStyle(n),window.ShadyCSS.styleSubtree(e),document.adoptedStyleSheets&&CSSStyleSheet){var r=new CSSStyleSheet;r.replaceSync(n.textContent),document.adoptedStyleSheets=[].concat(M(document.adoptedStyleSheets),[r]),e.logMessage("added stylesheet to adoptedStyleSheets")}else{e.logMessage("supportReplaceCssSync === false");var o=new Blob([n.textContent],{type:"text/css"}),i=document.createElement("link");i.rel="stylesheet",i.href=URL.createObjectURL(o),document.getElementsByTagName("head")[0].appendChild(i)}setTimeout((function(){e.logMessage("going to dispatch event 'customStyleConnected'"),e.dispatchEvent(new CustomEvent("customStyleConnected",{detail:{customStyle:n},bubbles:!0,cancelable:!1}))}),100)}))}))}},{key:"logMessage",value:function(e){localStorage.getItem("show-logs")&&this.logMessage(""+e)}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(A(HTMLLinkElement));window.customElements.define("custom-style",N,{extends:"link"});var j=n(50),k=n(277),I=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,r){if(e)for(var o=0;o<n.length;o++)e[o]!==n[o]&&(t=void 0);return t||(t=r(),e=n),t}}},P=function(e,t,n){var r=[],o=[];return{results:o,map:function(i){for(var a=i.map(e),u=o.slice(),l=0,c=0;c<i.length;c++){var s=i[c],f=a[c];if(f===r[l])o[c]=u[l],n(s,u[l],c),l++;else{for(var p=!1,d=1;d<r.length+1;d++){var h=(l+d)%r.length;if(r[h]===f){o[c]=u[h],n(i[c],u[h],c),l=h+1,p=!0;break}}p||(o[c]=t(s,c))}}o.length=i.length,r=a}}};function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}var D="http://www.w3.org/",F=D+"2000/svg",V=D+"1999/xlink",B=[],U=[],q=!1,$=function e(t){var n;(t.children||[]).forEach(e),null!=t&&null!==(n=t.properties)&&void 0!==n&&n.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},W=function(e,t){return e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties)},z=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},Z=function(e,t,n){if(""!==t.vnodeSelector)for(var r=n;r<e.length;r++)if(W(e[r],t))return r;return-1},K=function(e,t,n,r){var o=e[t];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<e.length;a++)if(a!==t){var u=e[a];if(W(u,o))throw"added"===r?new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},X=function(e,t){if(e.properties){var n=e.properties.enterAnimation;n&&("function"==typeof n?n(e.domNode,e.properties):t.enter(e.domNode,e.properties,n))}},Y=function(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),t&&Object.keys(t).forEach((function(e){n[e]=t[e]})),n},G=function(e,t,n){if(function(e,t,n){if(t)for(var r=0;r<t.length;r++)J(t[r],e,void 0,n)}(e,t.children,n),t.text&&(e.textContent=t.text),t.properties&&t.properties.eventListeners){if(!Array.isArray(t.properties.eventListeners))throw new Error("eventListeners value must be an array");t.properties.eventListeners.forEach((function(t){e.addEventListener(t[0],t[1],t[2])}))}!function(e,t,n){if(t)for(var r=n.eventHandlerInterceptor,o=Object.keys(t),i=o.length,a=function(i){var a,u=o[i],l=t[u];if("className"===u)throw new Error('Property "className" is not supported, use "class".');if("class"===u)!function(e,t,n){t&&t.split(" ").forEach((function(t){t&&e.classList.toggle(t,n)}))}(e,l,!0);else if("classes"===u)for(var c=Object.keys(l),s=c.length,f=0;f<s;f++){var p=c[f];l[p]&&e.classList.add(p)}else if("styles"===u)for(var d=Object.keys(l),h=d.length,m=0;m<h;m++){var y=d[m],v=l[y];v&&(z(v),n.styleApplyer(e,y,v))}else if("key"!==u&&null!=l){var g=R(l);"function"===g?(0===u.lastIndexOf("on",0)&&(r&&(l=r(u,l,e,t)),"oninput"===u&&(a=l,l=function(e){a.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[u]=l):n.namespace===F?"href"===u?e.setAttributeNS(V,u,l):e.setAttribute(u,l):"string"===g&&"value"!==u&&"innerHTML"!==u?e.setAttribute(u,l):e[u]=l}},u=0;u<i;u++)a(u)}(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])},Q=function(e,t){return{update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");oe(e,n,t),e=n},domNode:e.domNode}},J=function(e,t,n,r){var o,i,a,u,l,c=0,s=e.vnodeSelector,f=t.ownerDocument;if(""===s)o=e.domNode=f.createTextNode(e.text),void 0!==n?t.insertBefore(o,n):t.appendChild(o);else{for(i=0;i<=s.length;++i)if(a=s.charAt(i),i===s.length||"."===a||"#"===a){if(u=s.charAt(c-1),l=s.slice(c,i),"."===u)o.classList.add(l);else if("#"===u)o.id=l;else{if("svg"===l&&(r=Y(r,{namespace:F})),void 0!==r.namespace)o=e.domNode=f.createElementNS(r.namespace,l);else{var p=void 0;e.properties&&e.properties.is?function(){var t=document.createElement("div");t.style.display="none",document.body.appendChild(t),t.innerHTML="<".concat(l,' is="').concat(e.properties.is,'"></').concat(l,">"),setTimeout((function(){document.body.removeChild(t)}),10),p=f.createElement(l,{is:e.properties.is})}():p=f.createElement(l),o=e.domNode=e.domNode||p,"input"===l&&e.properties&&void 0!==e.properties.type&&o.setAttribute("type",e.properties.type)}o&&(void 0!==n?t.insertBefore(o,n):o.parentNode!==t&&t.appendChild(o))}c=i+1}G(o,e,r)}},ee=function(e,t){var n=e.domNode;if(e.properties){e.properties.eventListeners&&Array.isArray(e.properties.eventListeners)&&e.properties.eventListeners.forEach((function(e){n.removeEventListener(e[0],e[1])}));var r=e.properties.exitAnimation;if(r){n.style.pointerEvents="none";var o=function(){n.parentNode&&(n.parentNode.removeChild(n),te(e))};return"function"==typeof r?void r(n,o,e.properties):void t.exit(e.domNode,e.properties,r,o)}}n.parentNode&&(n.parentNode.removeChild(n),te(e))},te=function(e){U.push(e),q||(q=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(ne,{timeout:16}):setTimeout(ne,16))},ne=function(){q=!1,U.forEach($),U.length=0},re=function(e,t,n,r,o){if(n===r)return!1;r=r||B;for(var i,a=(n=n||B).length,u=r.length,l=o.transitions,c=0,s=0,f=!1;s<u;){var p=c<a?n[c]:void 0,d=r[s];if(void 0!==p&&W(p,d))f=oe(p,d,o)||f,c++;else{var h=Z(n,d,c+1);if(h>=0){for(i=c;i<h;i++)ee(n[i],l),K(n,i,e,"removed");f=oe(n[h],d,o)||f,c=h+1}else J(d,t,c<a?n[c].domNode:void 0,o),X(d,l),K(r,s,e,"added")}s++}if(a>c)for(i=c;i<a;i++)ee(n[i],l),K(n,i,e,"removed");return f},oe=function(e,t,n){var r=e.domNode,o=!1;if(e===t)return!1;var i=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var a=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(a,r),t.domNode=a,o=!0}}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(n=Y(n,{namespace:F})),e.text!==t.text&&(i=!0,void 0===t.text?r.removeChild(r.firstChild):r.textContent=t.text),i=re(t,r,e.children,t.children,n)||i,i=ie(r,e.properties,t.properties,n)||i,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,n,t.vnodeSelector,t.properties,t.children]);return i&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),t.domNode=e.domNode,o},ie=function(e,t,n,r){if(n){for(var o=!1,i=Object.keys(n),a=i.length,u=0;u<a;u++){var l=i[u],c=n[l],s=t[l];if("class"===l){if(s!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===l)for(var f=e.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var m=p[h],y=!!c[m];y!==!!s[m]&&(o=!0,y?f.add(m):f.remove(m))}else if("styles"===l)for(var v=Object.keys(c),g=v.length,b=0;b<g;b++){var S=v[b],w=c[S];w!==s[S]&&(o=!0,w?(z(w),r.styleApplyer(e,S,w)):r.styleApplyer(e,S,""))}else if(c||"string"!=typeof s||(c=""),"value"===l){var E=e[l];E!==c&&(e["oninput-value"]?E===e["oninput-value"]:c!==s)&&(e[l]=c,e["oninput-value"]=void 0),c!==s&&(o=!0)}else if(c!==s){var M=R(c);if("function"===M)throw new Error("Functions may not be updated on subsequent renders (property: "+l+"). Hint: declare event handler functions outside the render() function.");"string"===M&&"innerHTML"!==l?r.namespace===F&&"href"===l?e.setAttributeNS(V,l,c):"role"===l&&""===c?e.removeAttribute(l):e.setAttribute(l,c):e[l]!==c&&(e[l]=c),o=!0}}return o}},ae=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},ue={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){e.style[t]=n},transitions:{enter:ae,exit:ae}},le=function(e){return Y(ue,e)},ce={create:function(e,t){return t=le(t),J(e,document.createElement("div"),void 0,t),Q(e,t)},append:function(e,t,n){return n=le(n),J(t,e,void 0,n),Q(t,n)},insertBefore:function(e,t,n){return n=le(n),J(t,e.parentNode,e,n),Q(t,n)},merge:function(e,t,n){return n=le(n),t.domNode=e,G(e,t,n),Q(t,n)},replace:function(e,t,n){return n=le(n),J(t,e.parentNode,e,n),e.parentNode.removeChild(e),Q(t,n)}},se=function(e){var t,n=le(e);n.eventHandlerInterceptor=function(e,n,r,o){return function(){return t.scheduleRender(),n.apply(o.bind||this,arguments)}};var r,o=!0,i=!1,a=[],u=[],l=function(){if(r=void 0,o){o=!1;for(var e=0;e<a.length;e++){var t=u[e]();a[e].update(t)}o=!0}};return t={renderNow:l,scheduleRender:function(){r||i||(r=requestAnimationFrame(l))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),i=!0},resume:function(){i=!1,o=!0,t.scheduleRender()},append:function(e,t){a.push(ce.append(e,t(),n)),u.push(t)},insertBefore:function(e,t){a.push(ce.insertBefore(e,t(),n)),u.push(t)},merge:function(e,t){a.push(ce.merge(e,t(),n)),u.push(t)},replace:function(e,t){a.push(ce.replace(e,t(),n)),u.push(t)},detach:function(e){for(var t=0;t<u.length;t++)if(u[t]===e)return u.splice(t,1),a.splice(t,1)[0];throw new Error("renderMaquetteFunction was not found")}}};function fe(e){return fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(e)}var pe=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},de=function e(t,n,r){for(var o=0,i=n.length;o<i;o++){var a=n[o];Array.isArray(a)?e(t,a,r):null!=a&&(a.hasOwnProperty("vnodeSelector")||(a=pe(a)),r.push(a))}},he=function(e){var t=arguments[1];if("string"!=typeof e)throw new Error;var n,r,o=1;!t||t.hasOwnProperty("vnodeSelector")||Array.isArray(t)||"object"!==fe(t)?t=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?n=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(n=a[0])}if(void 0===n)for(r=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?de(e,u,r):u.hasOwnProperty("vnodeSelector")?r.push(u):r.push(pe(u)))}return{vnodeSelector:e,properties:t,children:r,text:""===n?void 0:n,domNode:null}};!function(e){e._=j,e.Maquette={createCache:I,createMapping:P,createProjector:se,dom:ce,h:he},e.h=he,e.anime=k,e.customElements.whenDefined("custom-style").then((function(){return document.body.parentElement.classList.add("custom-style-defined")})),e.CustomElement=w,e.CustomElementConfig=y,e.CustomStyleElement=N,e.PropertyRenderOnSet=v,e.RenderOnSet=v,e.Bind=m}(window)},765:()=>{
|
|
2
2
|
/*! (C) Andrea Giammarchi - @WebReflection - ISC Style License */
|
|
3
|
-
!function(e,t){"use strict";function n(){var e=C.splice(0,C.length);for(Xe=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)m(e[n],t)}function o(e){return function(t){ke(t)&&(m(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function i(e){var t=Ve.call(e,"is"),n=e.nodeName.toUpperCase(),r=ae.call(ne,t?J+t.toUpperCase():Q+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function u(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[Z]||2,a=e[K]||3;!tt||o&&o!==t||!t[B]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[B](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function l(e){var t=o(e);return function(e){C.push(t,e.target),Xe&&clearTimeout(Xe),Xe=setTimeout(n,1)}}function c(e){et&&(et=!1,e.currentTarget.removeEventListener(Y,c)),oe.length&&r((e.target||E).querySelectorAll(oe),e.detail===F?F:R),je&&function(){for(var e,t=0,n=Pe.length;t<n;t++)e=Pe[t],ie.contains(e)||(n--,Pe.splice(t--,1),m(e,F))}()}function s(e,t){var n=this;qe.call(n,e,t),L.call(n,{target:n})}function f(e,t,n){var r=t.apply(e,n),o=i(r);return-1<o&&_(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],_(t,re[i(t)])}(r.querySelectorAll(oe)),r}function p(e,t){He(e,t),H?H.observe(e,Ze):(Je&&(e.setAttribute=s,e[k]=O(e),e[P](G,L)),e[P](X,u)),e[W]&&tt&&(e.created=!0,e[W](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function m(e,t){var n,r,o=i(e);-1<o&&(N(e,re[o]),o=0,t!==R||e[R]?t!==F||e[F]||(e[R]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[R]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+D]||e[r+D])&&n.call(e))}function h(){}function y(e,t,n){var r=n&&n[V]||"",o=t.prototype,i=Oe(o),a=t.observedAttributes||fe,u={prototype:i};Ie(i,W,{value:function(){if(Te)Te=!1;else if(!this[ve]){this[ve]=!0,new t(this),o[W]&&o[W].call(this);var e=Me[Le.get(t)];(!be||e.create.length>1)&&b(this)}}}),Ie(i,B,{value:function(e){-1<ae.call(a,e)&&o[B]&&o[B].apply(this,arguments)}}),o[q]&&Ie(i,U,{value:o[q]}),o[$]&&Ie(i,z,{value:o[$]}),r&&(u[V]=r),e=e.toUpperCase(),Me[e]={constructor:t,create:r?[r,Ae(e)]:[e]},Le.set(t,e),E[I](e.toLowerCase(),u),S(e),Ce[e].r()}function v(e){var t=Me[e.toUpperCase()];return t&&t.constructor}function g(e){return"string"==typeof e?e:e&&e.is||""}function b(e){for(var t,n=e[B],r=n?e.attributes:fe,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function S(e){return(e=e.toUpperCase())in Ce||(Ce[e]={},Ce[e].p=new Ee((function(t){Ce[e].r=t}))),Ce[e].p}function w(){ge&&delete e.customElements,se(e,"customElements",{configurable:!0,value:new h}),se(e,"CustomElementRegistry",{configurable:!0,value:h});for(var t=M.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Te=!0,t=Me[Le.get(e.constructor)],(e=(r=be&&1===t.create.length)?Reflect.construct(n,fe,t.constructor):E.createElement.apply(E,t.create))[ve]=!0,Te=!1,r||b(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){!0,se(n,ve,{value:e[t]})}}}(t[n]));E.createElement=function(e,t){var n=g(t);return n?ze.call(this,e,Ae(n)):ze.call(this,e)},Ye||(Qe=!0,E[I](""))}var E=e.document,T=e.Object,M=function(e){var t,n,r,o,i=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in u||(u[e]=(u[e]||[]).concat(t),u[t]=u[t.toUpperCase()]=e)},u=(T.create||T)(null),l={};for(n in e)for(o in e[n])for(r=e[n][o],u[o]=r,t=0;t<r.length;t++)u[r[t].toLowerCase()]=u[r[t].toUpperCase()]=o;return l.get=function(e){return"string"==typeof e?u[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in u)e.test(t)&&n.push(t);return n}(e)},l.set=function(e,t){return i.test(e)?a(e,t):a(t,e),l},l}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var C,L,A,O,H,x,N,_,j,I="registerElement",k="__"+I+(1e5*e.Math.random()>>0),P="addEventListener",R="attached",D="Callback",F="detached",V="extends",B="attributeChanged"+D,U=R+D,q="connected"+D,$="disconnected"+D,W="created"+D,z=F+D,Z="ADDITION",K="REMOVAL",X="DOMAttrModified",Y="DOMContentLoaded",G="DOMSubtreeModified",Q="<",J="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",ie=E.documentElement,ae=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ue=T.prototype,le=ue.hasOwnProperty,ce=ue.isPrototypeOf,se=T.defineProperty,fe=[],pe=T.getOwnPropertyDescriptor,de=T.getOwnPropertyNames,me=T.getPrototypeOf,he=T.setPrototypeOf,ye=!!T.__proto__,ve="__dreCEv1",ge=e.customElements,be=!/^force/.test(t.type)&&!!(ge&&ge.define&&ge.get&&ge.whenDefined),Se=T.create||T,we=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ae.call(t,e)]},set:function(r,o){(e=ae.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Ee=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Te=!1,Me=Se(null),Ce=Se(null),Le=new we,Ae=function(e){return e.toLowerCase()},Oe=T.create||function e(t){return t?(e.prototype=t,new e):this},He=he||(ye?function(e,t){return e.__proto__=t,e}:de&&pe?function(){function e(e,t){for(var n,r=de(t),o=0,i=r.length;o<i;o++)n=r[o],le.call(e,n)||se(e,n,pe(t,n))}return function(t,n){do{e(t,n)}while((n=me(n))&&!ce.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),xe=e.MutationObserver||e.WebKitMutationObserver,Ne=e.HTMLAnchorElement,_e=(e.HTMLElement||e.Element||e.Node).prototype,je=!ce.call(_e,ie),Ie=je?function(e,t,n){return e[t]=n.value,e}:se,ke=je?function(e){return 1===e.nodeType}:function(e){return ce.call(_e,e)},Pe=je&&[],Re=_e.attachShadow,De=_e.cloneNode,Fe=_e.dispatchEvent,Ve=_e.getAttribute,Be=_e.hasAttribute,Ue=_e.removeAttribute,qe=_e.setAttribute,$e=E.createElement,We=E.importNode,ze=$e,Ze=xe&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ke=xe||function(e){Je=!1,ie.removeEventListener(X,Ke)},Xe=0,Ye=I in E&&!/^force-all/.test(t.type),Ge=!0,Qe=!1,Je=!0,et=!0,tt=!0;if(xe&&((j=E.createElement("div")).innerHTML="<div><div></div></div>",new xe((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(j=pe(_e,"innerHTML"))&&j.set;n&&se(_e,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),j=null})).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Ye||(he||ye?(N=function(e,t){ce.call(t,e)||p(e,t)},_=p):(N=function(e,t){e[k]||(e[k]=T(!0),p(e,t))},_=N),je?(Je=!1,function(){var e=pe(_e,P),t=e.value,n=function(e){var t=new CustomEvent(X,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[K]=t.attrChange=2,Ue.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Be.call(this,e),r=n&&Ve.call(this,e),o=new CustomEvent(X,{bubbles:!0});qe.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[Z]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[k],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(X,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[Z]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,i,a){e===X&&this[B]&&this.setAttribute!==r&&(this[k]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},se(_e,P,e)}()):xe||(ie[P](X,Ke),ie.setAttribute(k,1),ie.removeAttribute(k),Je&&(L=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[k],o[k]=n=O(o),n){if(!(r in t))return A(0,o,r,t[r],n[r],Z);if(n[r]!==t[r])return A(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return A(2,o,r,t[r],n[r],K)}},A=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,u(a)},O=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),E[I]=function(e,t){if(n=e.toUpperCase(),Ge&&(Ge=!1,xe?(H=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new xe((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,tt&&i[B]&&"style"!==o.attributeName&&(a=Ve.call(i,o.attributeName))!==o.oldValue&&i[B](o.attributeName,o.oldValue,a))}))}(o(R),o(F)),x=function(e){return H.observe(e,{childList:!0,subtree:!0}),e},x(E),Re&&(_e.attachShadow=function(){return x(Re.apply(this,arguments))})):(C=[],E[P]("DOMNodeInserted",l(R)),E[P]("DOMNodeRemoved",l(F))),E[P](Y,c),E[P]("readystatechange",c),E.importNode=function(e,t){switch(e.nodeType){case 1:return f(E,We,[e,!!t]);case 11:for(var n=E.createDocumentFragment(),r=e.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(E.importNode(r[i],!!t));return n;default:return De.call(e,!!t)}},_e.cloneNode=function(e){return f(this,De,[!!e])}),Qe)return Qe=!1;if(-2<ae.call(ne,J+n)+ae.call(ne,Q+n)&&d(e),!ee.test(n)||-1<ae.call(te,n))throw new Error("The type "+e+" is invalid");var n,i,a=function(){return s?E.createElement(p,n):E.createElement(p)},u=t||ue,s=le.call(u,V),p=s?t[V].toUpperCase():n;return s&&-1<ae.call(ne,Q+p)&&d(p),i=ne.push((s?J:Q)+n)-1,oe=oe.concat(oe.length?",":"",s?p+'[is="'+e.toLowerCase()+'"]':p),a.prototype=re[i]=le.call(u,"prototype")?u.prototype:Oe(_e),oe.length&&r(E.querySelectorAll(oe),R),a},E.createElement=ze=function(e,t){var n=g(t),r=n?$e.call(E,e,Ae(n)):$e.call(E,e),o=""+e,i=ae.call(ne,(n?J:Q)+(n||o).toUpperCase()),u=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),u&&(u=a(o.toUpperCase(),n))),tt=!E.createElement.innerHTMLHelper,u&&_(r,re[i]),r}),h.prototype={constructor:h,define:be?function(e,t,n){if(n)y(e,t,n);else{var r=e.toUpperCase();Me[r]={constructor:t,create:[r]},Le.set(t,r),ge.define(e,t)}}:y,get:be?function(e){return ge.get(e)||v(e)}:v,whenDefined:be?function(e){return Ee.race([ge.whenDefined(e),S(e)])}:S},!ge||/^force/.test(t.type))w();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[V]="a",(t.prototype=Oe(Ne.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(E.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ne,[],e)}),{},"document-register-element-a")}catch(e){w()}if(!t.noBuiltIn)try{if($e.call(E,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){Ae=function(e){return{is:e.toLowerCase()}}}}(window)},425:e=>{e.exports=
|
|
3
|
+
!function(e,t){"use strict";function n(){var e=C.splice(0,C.length);for(Xe=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)h(e[n],t)}function o(e){return function(t){Ie(t)&&(h(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function i(e){var t=Ve.call(e,"is"),n=e.nodeName.toUpperCase(),r=ae.call(ne,t?J+t.toUpperCase():Q+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function u(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[Z]||2,a=e[K]||3;!tt||o&&o!==t||!t[B]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[B](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function l(e){var t=o(e);return function(e){C.push(t,e.target),Xe&&clearTimeout(Xe),Xe=setTimeout(n,1)}}function c(e){et&&(et=!1,e.currentTarget.removeEventListener(Y,c)),oe.length&&r((e.target||E).querySelectorAll(oe),e.detail===F?F:R),je&&function(){for(var e,t=0,n=Pe.length;t<n;t++)e=Pe[t],ie.contains(e)||(n--,Pe.splice(t--,1),h(e,F))}()}function s(e,t){var n=this;qe.call(n,e,t),L.call(n,{target:n})}function f(e,t,n){var r=t.apply(e,n),o=i(r);return-1<o&&N(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],N(t,re[i(t)])}(r.querySelectorAll(oe)),r}function p(e,t){He(e,t),H?H.observe(e,Ze):(Je&&(e.setAttribute=s,e[I]=O(e),e[P](G,L)),e[P](X,u)),e[W]&&tt&&(e.created=!0,e[W](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function h(e,t){var n,r,o=i(e);-1<o&&(x(e,re[o]),o=0,t!==R||e[R]?t!==F||e[F]||(e[R]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[R]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+D]||e[r+D])&&n.call(e))}function m(){}function y(e,t,n){var r=n&&n[V]||"",o=t.prototype,i=Oe(o),a=t.observedAttributes||fe,u={prototype:i};ke(i,W,{value:function(){if(Me)Me=!1;else if(!this[ve]){this[ve]=!0,new t(this),o[W]&&o[W].call(this);var e=Te[Le.get(t)];(!be||e.create.length>1)&&b(this)}}}),ke(i,B,{value:function(e){-1<ae.call(a,e)&&o[B]&&o[B].apply(this,arguments)}}),o[q]&&ke(i,U,{value:o[q]}),o[$]&&ke(i,z,{value:o[$]}),r&&(u[V]=r),e=e.toUpperCase(),Te[e]={constructor:t,create:r?[r,Ae(e)]:[e]},Le.set(t,e),E[k](e.toLowerCase(),u),S(e),Ce[e].r()}function v(e){var t=Te[e.toUpperCase()];return t&&t.constructor}function g(e){return"string"==typeof e?e:e&&e.is||""}function b(e){for(var t,n=e[B],r=n?e.attributes:fe,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function S(e){return(e=e.toUpperCase())in Ce||(Ce[e]={},Ce[e].p=new Ee((function(t){Ce[e].r=t}))),Ce[e].p}function w(){ge&&delete e.customElements,se(e,"customElements",{configurable:!0,value:new m}),se(e,"CustomElementRegistry",{configurable:!0,value:m});for(var t=T.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Me=!0,t=Te[Le.get(e.constructor)],(e=(r=be&&1===t.create.length)?Reflect.construct(n,fe,t.constructor):E.createElement.apply(E,t.create))[ve]=!0,Me=!1,r||b(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){!0,se(n,ve,{value:e[t]})}}}(t[n]));E.createElement=function(e,t){var n=g(t);return n?ze.call(this,e,Ae(n)):ze.call(this,e)},Ye||(Qe=!0,E[k](""))}var E=e.document,M=e.Object,T=function(e){var t,n,r,o,i=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in u||(u[e]=(u[e]||[]).concat(t),u[t]=u[t.toUpperCase()]=e)},u=(M.create||M)(null),l={};for(n in e)for(o in e[n])for(r=e[n][o],u[o]=r,t=0;t<r.length;t++)u[r[t].toLowerCase()]=u[r[t].toUpperCase()]=o;return l.get=function(e){return"string"==typeof e?u[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in u)e.test(t)&&n.push(t);return n}(e)},l.set=function(e,t){return i.test(e)?a(e,t):a(t,e),l},l}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var C,L,A,O,H,_,x,N,j,k="registerElement",I="__"+k+(1e5*e.Math.random()>>0),P="addEventListener",R="attached",D="Callback",F="detached",V="extends",B="attributeChanged"+D,U=R+D,q="connected"+D,$="disconnected"+D,W="created"+D,z=F+D,Z="ADDITION",K="REMOVAL",X="DOMAttrModified",Y="DOMContentLoaded",G="DOMSubtreeModified",Q="<",J="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",ie=E.documentElement,ae=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ue=M.prototype,le=ue.hasOwnProperty,ce=ue.isPrototypeOf,se=M.defineProperty,fe=[],pe=M.getOwnPropertyDescriptor,de=M.getOwnPropertyNames,he=M.getPrototypeOf,me=M.setPrototypeOf,ye=!!M.__proto__,ve="__dreCEv1",ge=e.customElements,be=!/^force/.test(t.type)&&!!(ge&&ge.define&&ge.get&&ge.whenDefined),Se=M.create||M,we=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ae.call(t,e)]},set:function(r,o){(e=ae.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Ee=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Me=!1,Te=Se(null),Ce=Se(null),Le=new we,Ae=function(e){return e.toLowerCase()},Oe=M.create||function e(t){return t?(e.prototype=t,new e):this},He=me||(ye?function(e,t){return e.__proto__=t,e}:de&&pe?function(){function e(e,t){for(var n,r=de(t),o=0,i=r.length;o<i;o++)n=r[o],le.call(e,n)||se(e,n,pe(t,n))}return function(t,n){do{e(t,n)}while((n=he(n))&&!ce.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),_e=e.MutationObserver||e.WebKitMutationObserver,xe=e.HTMLAnchorElement,Ne=(e.HTMLElement||e.Element||e.Node).prototype,je=!ce.call(Ne,ie),ke=je?function(e,t,n){return e[t]=n.value,e}:se,Ie=je?function(e){return 1===e.nodeType}:function(e){return ce.call(Ne,e)},Pe=je&&[],Re=Ne.attachShadow,De=Ne.cloneNode,Fe=Ne.dispatchEvent,Ve=Ne.getAttribute,Be=Ne.hasAttribute,Ue=Ne.removeAttribute,qe=Ne.setAttribute,$e=E.createElement,We=E.importNode,ze=$e,Ze=_e&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ke=_e||function(e){Je=!1,ie.removeEventListener(X,Ke)},Xe=0,Ye=k in E&&!/^force-all/.test(t.type),Ge=!0,Qe=!1,Je=!0,et=!0,tt=!0;if(_e&&((j=E.createElement("div")).innerHTML="<div><div></div></div>",new _e((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(j=pe(Ne,"innerHTML"))&&j.set;n&&se(Ne,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),j=null})).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Ye||(me||ye?(x=function(e,t){ce.call(t,e)||p(e,t)},N=p):(x=function(e,t){e[I]||(e[I]=M(!0),p(e,t))},N=x),je?(Je=!1,function(){var e=pe(Ne,P),t=e.value,n=function(e){var t=new CustomEvent(X,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[K]=t.attrChange=2,Ue.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Be.call(this,e),r=n&&Ve.call(this,e),o=new CustomEvent(X,{bubbles:!0});qe.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[Z]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[I],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(X,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[Z]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,i,a){e===X&&this[B]&&this.setAttribute!==r&&(this[I]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},se(Ne,P,e)}()):_e||(ie[P](X,Ke),ie.setAttribute(I,1),ie.removeAttribute(I),Je&&(L=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[I],o[I]=n=O(o),n){if(!(r in t))return A(0,o,r,t[r],n[r],Z);if(n[r]!==t[r])return A(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return A(2,o,r,t[r],n[r],K)}},A=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,u(a)},O=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),E[k]=function(e,t){if(n=e.toUpperCase(),Ge&&(Ge=!1,_e?(H=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new _e((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,tt&&i[B]&&"style"!==o.attributeName&&(a=Ve.call(i,o.attributeName))!==o.oldValue&&i[B](o.attributeName,o.oldValue,a))}))}(o(R),o(F)),_=function(e){return H.observe(e,{childList:!0,subtree:!0}),e},_(E),Re&&(Ne.attachShadow=function(){return _(Re.apply(this,arguments))})):(C=[],E[P]("DOMNodeInserted",l(R)),E[P]("DOMNodeRemoved",l(F))),E[P](Y,c),E[P]("readystatechange",c),E.importNode=function(e,t){switch(e.nodeType){case 1:return f(E,We,[e,!!t]);case 11:for(var n=E.createDocumentFragment(),r=e.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(E.importNode(r[i],!!t));return n;default:return De.call(e,!!t)}},Ne.cloneNode=function(e){return f(this,De,[!!e])}),Qe)return Qe=!1;if(-2<ae.call(ne,J+n)+ae.call(ne,Q+n)&&d(e),!ee.test(n)||-1<ae.call(te,n))throw new Error("The type "+e+" is invalid");var n,i,a=function(){return s?E.createElement(p,n):E.createElement(p)},u=t||ue,s=le.call(u,V),p=s?t[V].toUpperCase():n;return s&&-1<ae.call(ne,Q+p)&&d(p),i=ne.push((s?J:Q)+n)-1,oe=oe.concat(oe.length?",":"",s?p+'[is="'+e.toLowerCase()+'"]':p),a.prototype=re[i]=le.call(u,"prototype")?u.prototype:Oe(Ne),oe.length&&r(E.querySelectorAll(oe),R),a},E.createElement=ze=function(e,t){var n=g(t),r=n?$e.call(E,e,Ae(n)):$e.call(E,e),o=""+e,i=ae.call(ne,(n?J:Q)+(n||o).toUpperCase()),u=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),u&&(u=a(o.toUpperCase(),n))),tt=!E.createElement.innerHTMLHelper,u&&N(r,re[i]),r}),m.prototype={constructor:m,define:be?function(e,t,n){if(n)y(e,t,n);else{var r=e.toUpperCase();Te[r]={constructor:t,create:[r]},Le.set(t,r),ge.define(e,t)}}:y,get:be?function(e){return ge.get(e)||v(e)}:v,whenDefined:be?function(e){return Ee.race([ge.whenDefined(e),S(e)])}:S},!ge||/^force/.test(t.type))w();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[V]="a",(t.prototype=Oe(xe.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(E.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(xe,[],e)}),{},"document-register-element-a")}catch(e){w()}if(!t.noBuiltIn)try{if($e.call(E,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){Ae=function(e){return{is:e.toLowerCase()}}}}(window)},425:e=>{e.exports=
|
|
4
4
|
/*!
|
|
5
5
|
ISC License
|
|
6
6
|
|
|
@@ -19,4 +19,4 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
|
|
21
21
|
*/
|
|
22
|
-
function(e,t){"use strict";var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,u=function(e,t){(t=t.toLowerCase())in l||(l[e]=(l[e]||[]).concat(t),l[t]=l[t.toUpperCase()]=e)},l=(r.create||r)(null),c={};for(n in e)for(i in e[n])for(o=e[n][i],l[i]=o,t=0;t<o.length;t++)l[o[t].toLowerCase()]=l[o[t].toUpperCase()]=i;return c.get=function(e){return"string"==typeof e?l[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in l)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return a.test(e)?u(e,t):u(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var i,a,u,l,c,s,f,p,d,m="registerElement",h="__"+m+(1e5*e.Math.random()>>0),y="addEventListener",v="attached",g="Callback",b="detached",S="extends",w="attributeChanged"+g,E=v+g,T="connected"+g,M="disconnected"+g,C="created"+g,L=b+g,A="ADDITION",O="MODIFICATION",H="REMOVAL",x="DOMAttrModified",N="DOMContentLoaded",_="<",j="=",I=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,k=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],P=[],R=[],D="",F=n.documentElement,V=P.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},B=r.prototype,U=B.hasOwnProperty,q=B.isPrototypeOf,$=r.defineProperty,W=[],z=r.getOwnPropertyDescriptor,Z=r.getOwnPropertyNames,K=r.getPrototypeOf,X=r.setPrototypeOf,Y=!!r.__proto__,G="__dreCEv1",Q=e.customElements,J=!/^force/.test(t.type)&&!!(Q&&Q.define&&Q.get&&Q.whenDefined),ee=r.create||r,te=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[V.call(t,e)]},set:function(r,o){(e=V.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},ne=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},re=!1,oe=ee(null),ie=ee(null),ae=new te,ue=function(e){return e.toLowerCase()},le=r.create||function e(t){return t?(e.prototype=t,new e):this},ce=X||(Y?function(e,t){return e.__proto__=t,e}:Z&&z?function(){function e(e,t){for(var n,r=Z(t),o=0,i=r.length;o<i;o++)n=r[o],U.call(e,n)||$(e,n,z(t,n))}return function(t,n){do{e(t,n)}while((n=K(n))&&!q.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),se=e.MutationObserver||e.WebKitMutationObserver,fe=e.HTMLAnchorElement,pe=(e.HTMLElement||e.Element||e.Node).prototype,de=!q.call(pe,F),me=de?function(e,t,n){return e[t]=n.value,e}:$,he=de?function(e){return 1===e.nodeType}:function(e){return q.call(pe,e)},ye=de&&[],ve=pe.attachShadow,ge=pe.cloneNode,be=pe.dispatchEvent,Se=pe.getAttribute,we=pe.hasAttribute,Ee=pe.removeAttribute,Te=pe.setAttribute,Me=n.createElement,Ce=n.importNode,Le=Me,Ae=se&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=se||function(e){je=!1,F.removeEventListener(x,Oe)},He=0,xe=m in n&&!/^force-all/.test(t.type),Ne=!0,_e=!1,je=!0,Ie=!0,ke=!0;function Pe(){var e=i.splice(0,i.length);for(He=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Ke(e[n],t)}function De(e){return function(t){he(t)&&(Ke(t,e),D.length&&Re(t.querySelectorAll(D),e))}}function Fe(e){var t=Se.call(e,"is"),n=e.nodeName.toUpperCase(),r=V.call(P,t?j+t.toUpperCase():_+n);return t&&-1<r&&!Ve(n,t)?-1:r}function Ve(e,t){return-1<D.indexOf(e+'[is="'+t+'"]')}function Be(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[A]||2,a=e[H]||3;!ke||o&&o!==t||!t[w]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[w](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Ue(e){var t=De(e);return function(e){i.push(t,e.target),He&&clearTimeout(He),He=setTimeout(Pe,1)}}function qe(e){Ie&&(Ie=!1,e.currentTarget.removeEventListener(N,qe)),D.length&&Re((e.target||n).querySelectorAll(D),e.detail===b?b:v),de&&function(){for(var e,t=0,n=ye.length;t<n;t++)e=ye[t],F.contains(e)||(n--,ye.splice(t--,1),Ke(e,b))}()}function $e(e,t){var n=this;Te.call(n,e,t),a.call(n,{target:n})}function We(e,t,n){var r=t.apply(e,n),o=Fe(r);return-1<o&&p(r,R[o]),n.pop()&&D.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],p(t,R[Fe(t)])}(r.querySelectorAll(D)),r}function ze(e,t){ce(e,t),c?c.observe(e,Ae):(je&&(e.setAttribute=$e,e[h]=l(e),e[y]("DOMSubtreeModified",a)),e[y](x,Be)),e[C]&&ke&&(e.created=!0,e[C](),e.created=!1)}function Ze(e){throw new Error("A "+e+" type is already registered")}function Ke(e,t){var n,r,o=Fe(e);-1<o&&(f(e,R[o]),o=0,t!==v||e[v]?t!==b||e[b]||(e[v]=!1,e[b]=!0,r="disconnected",o=1):(e[b]=!1,e[v]=!0,r="connected",o=1,de&&V.call(ye,e)<0&&ye.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function Xe(){}function Ye(e,t,r){var o=r&&r[S]||"",i=t.prototype,a=le(i),u=t.observedAttributes||W,l={prototype:a};me(a,C,{value:function(){if(re)re=!1;else if(!this[G]){this[G]=!0,new t(this),i[C]&&i[C].call(this);var e=oe[ae.get(t)];(!J||e.create.length>1)&&Je(this)}}}),me(a,w,{value:function(e){-1<V.call(u,e)&&i[w]&&i[w].apply(this,arguments)}}),i[T]&&me(a,E,{value:i[T]}),i[M]&&me(a,L,{value:i[M]}),o&&(l[S]=o),e=e.toUpperCase(),oe[e]={constructor:t,create:o?[o,ue(e)]:[e]},ae.set(t,e),n[m](e.toLowerCase(),l),et(e),ie[e].r()}function Ge(e){var t=oe[e.toUpperCase()];return t&&t.constructor}function Qe(e){return"string"==typeof e?e:e&&e.is||""}function Je(e){for(var t,n=e[w],r=n?e.attributes:W,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function et(e){return(e=e.toUpperCase())in ie||(ie[e]={},ie[e].p=new ne((function(t){ie[e].r=t}))),ie[e].p}function tt(){Q&&delete e.customElements,$(e,"customElements",{configurable:!0,value:new Xe}),$(e,"CustomElementRegistry",{configurable:!0,value:Xe});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[G]||(re=!0,t=oe[ae.get(e.constructor)],(e=(o=J&&1===t.create.length)?Reflect.construct(r,W,t.constructor):n.createElement.apply(n,t.create))[G]=!0,re=!1,o||Je(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){!0,$(r,G,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=Qe(t);return n?Le.call(this,e,ue(n)):Le.call(this,e)},xe||(_e=!0,n[m](""))}if(se&&((d=n.createElement("div")).innerHTML="<div><div></div></div>",new se((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(d=z(pe,"innerHTML"))&&d.set;n&&$(pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),d=null})).observe(d,{childList:!0,subtree:!0}),d.innerHTML=""),xe||(X||Y?(f=function(e,t){q.call(t,e)||ze(e,t)},p=ze):p=f=function(e,t){e[h]||(e[h]=r(!0),ze(e,t))},de?(je=!1,function(){var e=z(pe,y),t=e.value,n=function(e){var t=new CustomEvent(x,{bubbles:!0});t.attrName=e,t.prevValue=Se.call(this,e),t.newValue=null,t[H]=t.attrChange=2,Ee.call(this,e),be.call(this,t)},r=function(e,t){var n=we.call(this,e),r=n&&Se.call(this,e),o=new CustomEvent(x,{bubbles:!0});Te.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o[O]=o.attrChange=1:o[A]=o.attrChange=0,be.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(x,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[A]=t.attrChange=0:t[O]=t.attrChange=1,be.call(n,t))};e.value=function(e,i,a){e===x&&this[w]&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},$(pe,y,e)}()):se||(F[y](x,Oe),F.setAttribute(h,1),F.removeAttribute(h),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=l(o),n){if(!(r in t))return u(0,o,r,t[r],n[r],A);if(n[r]!==t[r])return u(1,o,r,t[r],n[r],O)}for(r in t)if(!(r in n))return u(2,o,r,t[r],n[r],H)}},u=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,Be(a)},l=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n[m]=function(e,t){if(r=e.toUpperCase(),Ne&&(Ne=!1,se?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new se((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,ke&&i[w]&&"style"!==o.attributeName&&(a=Se.call(i,o.attributeName))!==o.oldValue&&i[w](o.attributeName,o.oldValue,a))}))}(De(v),De(b)),(s=function(e){return c.observe(e,{childList:!0,subtree:!0}),e})(n),ve&&(pe.attachShadow=function(){return s(ve.apply(this,arguments))})):(i=[],n[y]("DOMNodeInserted",Ue(v)),n[y]("DOMNodeRemoved",Ue(b))),n[y](N,qe),n[y]("readystatechange",qe),n.importNode=function(e,t){switch(e.nodeType){case 1:return We(n,Ce,[e,!!t]);case 11:for(var r=n.createDocumentFragment(),o=e.childNodes,i=o.length,a=0;a<i;a++)r.appendChild(n.importNode(o[a],!!t));return r;default:return ge.call(e,!!t)}},pe.cloneNode=function(e){return We(this,ge,[!!e])}),_e)return _e=!1;if(-2<V.call(P,j+r)+V.call(P,_+r)&&Ze(e),!I.test(r)||-1<V.call(k,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return l?n.createElement(f,r):n.createElement(f)},u=t||B,l=U.call(u,S),f=l?t[S].toUpperCase():r;return l&&-1<V.call(P,_+f)&&Ze(f),o=P.push((l?j:_)+r)-1,D=D.concat(D.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=R[o]=U.call(u,"prototype")?u.prototype:le(pe),D.length&&Re(n.querySelectorAll(D),v),a},n.createElement=Le=function(e,t){var r=Qe(t),o=r?Me.call(n,e,ue(r)):Me.call(n,e),i=""+e,a=V.call(P,(r?j:_)+(r||i).toUpperCase()),u=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),u&&(u=Ve(i.toUpperCase(),r))),ke=!n.createElement.innerHTMLHelper,u&&p(o,R[a]),o}),Xe.prototype={constructor:Xe,define:J?function(e,t,n){if(n)Ye(e,t,n);else{var r=e.toUpperCase();oe[r]={constructor:t,create:[r]},ae.set(t,r),Q.define(e,t)}}:Ye,get:J?function(e){return Q.get(e)||Ge(e)}:Ge,whenDefined:J?function(e){return ne.race([Q.whenDefined(e),et(e)])}:et},!Q||/^force/.test(t.type))tt();else if(!t.noBuiltIn)try{!function(t,r,o){var i=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r[S]="a",(t.prototype=le(fe.prototype)).constructor=t,e.customElements.define(o,t,r),!i.test(n.createElement("a",{is:o}).outerHTML)||!i.test((new t).outerHTML))throw r}((function e(){return Reflect.construct(fe,[],e)}),{},"document-register-element-a")}catch(e){tt()}if(!t.noBuiltIn)try{if(Me.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){ue=function(e){return{is:e.toLowerCase()}}}}},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VERSION:()=>o,after:()=>It,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>Ie,before:()=>kt,bind:()=>Et,bindAll:()=>Ct,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>An,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>hn,create:()=>Re,debounce:()=>xt,default:()=>qn,defaults:()=>ke,defer:()=>Ot,delay:()=>At,detect:()=>Wt,difference:()=>Hn,drop:()=>Cn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>Ie,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Mn,flatten:()=>On,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>Ne,get:()=>qe,groupBy:()=>dn,has:()=>$e,head:()=>Mn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>qt,initial:()=>Tn,inject:()=>Yt,intersection:()=>jn,invert:()=>xe,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>O,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>he,isError:()=>k,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Me,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>_,isObject:()=>C,isRegExp:()=>I,isSet:()=>Le,isString:()=>N,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>A,isWeakMap:()=>Ce,isWeakSet:()=>Ae,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>Ne,min:()=>ln,mixin:()=>Vn,negate:()=>_t,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Cn,restArguments:()=>M,result:()=>ht,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Cn,take:()=>Mn,tap:()=>Fe,template:()=>mt,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>In,unescape:()=>ut,union:()=>_n,uniq:()=>Nn,unique:()=>Nn,uniqueId:()=>vt,unzip:()=>In,values:()=>Oe,where:()=>an,without:()=>xn,wrap:()=>Nt,zip:()=>kn});var r={};n.r(r),n.d(r,{VERSION:()=>o,after:()=>It,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>Ie,before:()=>kt,bind:()=>Et,bindAll:()=>Ct,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>An,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>hn,create:()=>Re,debounce:()=>xt,default:()=>Bn,defaults:()=>ke,defer:()=>Ot,delay:()=>At,detect:()=>Wt,difference:()=>Hn,drop:()=>Cn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>Ie,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Mn,flatten:()=>On,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>Ne,get:()=>qe,groupBy:()=>dn,has:()=>$e,head:()=>Mn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>qt,initial:()=>Tn,inject:()=>Yt,intersection:()=>jn,invert:()=>xe,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>O,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>he,isError:()=>k,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Me,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>_,isObject:()=>C,isRegExp:()=>I,isSet:()=>Le,isString:()=>N,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>A,isWeakMap:()=>Ce,isWeakSet:()=>Ae,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>Ne,min:()=>ln,mixin:()=>Vn,negate:()=>_t,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Cn,restArguments:()=>M,result:()=>ht,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Cn,take:()=>Mn,tap:()=>Fe,template:()=>mt,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>In,unescape:()=>ut,union:()=>_n,uniq:()=>Nn,unique:()=>Nn,uniqueId:()=>vt,unzip:()=>In,values:()=>Oe,where:()=>an,without:()=>xn,wrap:()=>Nt,zip:()=>kn});var o="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,u=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,s=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,m="undefined"!=typeof DataView,h=Array.isArray,y=Object.keys,v=Object.create,g=d&&ArrayBuffer.isView,b=isNaN,S=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=Math.pow(2,53)-1;function M(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function C(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function L(e){return null===e}function A(e){return void 0===e}function O(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)}function H(e){return!(!e||1!==e.nodeType)}function x(e){var t="[object "+e+"]";return function(e){return f.call(e)===t}}const N=x("String"),_=x("Number"),j=x("Date"),I=x("RegExp"),k=x("Error"),P=x("Symbol"),R=x("ArrayBuffer");var D=x("Function"),F=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof F&&(D=function(e){return"function"==typeof e||!1});const V=D,B=x("Object");var U=m&&B(new DataView(new ArrayBuffer(8))),q="undefined"!=typeof Map&&B(new Map),$=x("DataView");const W=U?function(e){return null!=e&&V(e.getInt8)&&R(e.buffer)}:$,z=h||x("Array");function Z(e,t){return null!=e&&p.call(e,t)}var K=x("Arguments");!function(){K(arguments)||(K=function(e){return Z(e,"callee")})}();const X=K;function Y(e){return!P(e)&&S(e)&&!isNaN(parseFloat(e))}function G(e){return _(e)&&b(e)}function Q(e){return function(){return e}}function J(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=T}}function ee(e){return function(t){return null==t?void 0:t[e]}}const te=ee("byteLength"),ne=J(te);var re=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const oe=d?function(e){return g?g(e)&&!W(e):ne(e)&&re.test(f.call(e))}:Q(!1),ie=ee("length");function ae(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=E.length,r=e.constructor,o=V(r)&&r.prototype||u,i="constructor";for(Z(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=E[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function ue(e){if(!C(e))return[];if(y)return y(e);var t=[];for(var n in e)Z(e,n)&&t.push(n);return w&&ae(e,t),t}function le(e){if(null==e)return!0;var t=ie(e);return"number"==typeof t&&(z(e)||N(e)||X(e))?0===t:0===ie(ue(e))}function ce(e,t){var n=ue(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function se(e){return e instanceof se?e:this instanceof se?void(this._wrapped=e):new se(e)}function fe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,te(e))}se.VERSION=o,se.prototype.value=function(){return this._wrapped},se.prototype.valueOf=se.prototype.toJSON=se.prototype.value,se.prototype.toString=function(){return String(this._wrapped)};var pe="[object DataView]";function de(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&me(e,t,n,r)}function me(e,t,n,r){e instanceof se&&(e=e._wrapped),t instanceof se&&(t=t._wrapped);var o=f.call(e);if(o!==f.call(t))return!1;if(U&&"[object Object]"==o&&W(e)){if(!W(t))return!1;o=pe}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t);case"[object ArrayBuffer]":case pe:return me(fe(e),fe(t),n,r)}var i="[object Array]"===o;if(!i&&oe(e)){if(te(e)!==te(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,u=t.constructor;if(a!==u&&!(V(a)&&a instanceof a&&V(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),i){if((c=e.length)!==t.length)return!1;for(;c--;)if(!de(e[c],t[c],n,r))return!1}else{var s,p=ue(e);if(c=p.length,ue(t).length!==c)return!1;for(;c--;)if(!Z(t,s=p[c])||!de(e[s],t[s],n,r))return!1}return n.pop(),r.pop(),!0}function he(e,t){return de(e,t)}function ye(e){if(!C(e))return[];var t=[];for(var n in e)t.push(n);return w&&ae(e,t),t}function ve(e){var t=ie(e);return function(n){if(null==n)return!1;var r=ye(n);if(ie(r))return!1;for(var o=0;o<t;o++)if(!V(n[e[o]]))return!1;return e!==Ee||!V(n[ge])}}var ge="forEach",be=["clear","delete"],Se=["get","has","set"],we=be.concat(ge,Se),Ee=be.concat(Se),Te=["add"].concat(be,ge,"has");const Me=q?ve(we):x("Map"),Ce=q?ve(Ee):x("WeakMap"),Le=q?ve(Te):x("Set"),Ae=x("WeakSet");function Oe(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function He(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function xe(e){for(var t={},n=ue(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Ne(e){var t=[];for(var n in e)V(e[n])&&t.push(n);return t.sort()}function _e(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),u=a.length,l=0;l<u;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=i[c])}return n}}const je=_e(ye),Ie=_e(ue),ke=_e(ye,!0);function Pe(e){if(!C(e))return{};if(v)return v(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Re(e,t){var n=Pe(e);return t&&Ie(n,t),n}function De(e){return C(e)?z(e)?e.slice():je({},e):e}function Fe(e,t){return t(e),e}function Ve(e){return z(e)?e:[e]}function Be(e){return se.toPath(e)}function Ue(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function qe(e,t,n){var r=Ue(e,Be(t));return A(r)?n:r}function $e(e,t){for(var n=(t=Be(t)).length,r=0;r<n;r++){var o=t[r];if(!Z(e,o))return!1;e=e[o]}return!!n}function We(e){return e}function ze(e){return e=Ie({},e),function(t){return ce(t,e)}}function Ze(e){return e=Be(e),function(t){return Ue(t,e)}}function Ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Xe(e,t,n){return null==e?We:V(e)?Ke(e,t,n):C(e)&&!z(e)?ze(e):Ze(e)}function Ye(e,t){return Xe(e,t,1/0)}function Ge(e,t,n){return se.iteratee!==Ye?se.iteratee(e,t):Xe(e,t,n)}function Qe(e,t,n){t=Ge(t,n);for(var r=ue(e),o=r.length,i={},a=0;a<o;a++){var u=r[a];i[u]=t(e[u],u,e)}return i}function Je(){}function et(e){return null==e?Je:function(t){return qe(e,t)}}function tt(e,t,n){var r=Array(Math.max(0,e));t=Ke(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function nt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}se.toPath=Ve,se.iteratee=Ye;const rt=Date.now||function(){return(new Date).getTime()};function ot(e){var t=function(t){return e[t]},n="(?:"+ue(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}const it={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},at=ot(it),ut=ot(xe(it)),lt=se.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ct=/(.)^/,st={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+st[e]}var dt=/^\s*(\w|\$)+\s*$/;function mt(e,t,n){!t&&n&&(t=n),t=ke({},t,se.templateSettings);var r=RegExp([(t.escape||ct).source,(t.interpolate||ct).source,(t.evaluate||ct).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,u){return i+=e.slice(o,u).replace(ft,pt),o=u+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,u=t.variable;if(u){if(!dt.test(u))throw new Error("variable is not a bare identifier: "+u)}else i="with(obj||{}){\n"+i+"}\n",u="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(u,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return a.call(this,e,se)};return l.source="function("+u+"){\n"+i+"}",l}function ht(e,t,n){var r=(t=Be(t)).length;if(!r)return V(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=V(i)?i.call(e):i}return e}var yt=0;function vt(e){var t=++yt+"";return e?e+t:t}function gt(e){var t=se(e);return t._chain=!0,t}function bt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Pe(e.prototype),a=e.apply(i,o);return C(a)?a:i}var St=M((function(e,t){var n=St.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),u=0;u<i;u++)a[u]=t[u]===n?arguments[o++]:t[u];for(;o<arguments.length;)a.push(arguments[o++]);return bt(e,r,this,this,a)};return r}));St.placeholder=se;const wt=St,Et=M((function(e,t,n){if(!V(e))throw new TypeError("Bind must be called on a function");var r=M((function(o){return bt(e,r,t,this,n.concat(o))}));return r})),Tt=J(ie);function Mt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ie(e);i<a;i++){var u=e[i];if(Tt(u)&&(z(u)||X(u)))if(t>1)Mt(u,t-1,n,r),o=r.length;else for(var l=0,c=u.length;l<c;)r[o++]=u[l++];else n||(r[o++]=u)}return r}const Ct=M((function(e,t){var n=(t=Mt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Et(e[r],e)}return e}));function Lt(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return Z(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}const At=M((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Ot=wt(At,se,1);function Ht(e,t,n){var r,o,i,a,u=0;n||(n={});var l=function(){u=!1===n.leading?0:rt(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=rt();u||!1!==n.leading||(u=c);var s=t-(c-u);return o=this,i=arguments,s<=0||s>t?(r&&(clearTimeout(r),r=null),u=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,s)),a};return c.cancel=function(){clearTimeout(r),u=0,r=o=i=null},c}function xt(e,t,n){var r,o,i,a,u,l=function(){var c=rt()-o;t>c?r=setTimeout(l,t-c):(r=null,n||(a=e.apply(u,i)),r||(i=u=null))},c=M((function(c){return u=this,i=c,o=rt(),r||(r=setTimeout(l,t),n&&(a=e.apply(u,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=u=null},c}function Nt(e,t){return wt(t,e)}function _t(e){return function(){return!e.apply(this,arguments)}}function jt(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function It(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function kt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Pt=wt(kt,2);function Rt(e,t,n){t=Ge(t,n);for(var r,o=ue(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function Dt(e){return function(t,n,r){n=Ge(n,r);for(var o=ie(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}const Ft=Dt(1),Vt=Dt(-1);function Bt(e,t,n,r){for(var o=(n=Ge(n,r,1))(t),i=0,a=ie(e);i<a;){var u=Math.floor((i+a)/2);n(e[u])<o?i=u+1:a=u}return i}function Ut(e,t,n){return function(r,o,i){var a=0,u=ie(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(s.call(r,a,u),G))>=0?i+a:-1;for(i=e>0?a:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}}const qt=Ut(1,Ft,Bt),$t=Ut(-1,Vt);function Wt(e,t,n){var r=(Tt(e)?Ft:Rt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function zt(e,t){return Wt(e,ze(t))}function Zt(e,t,n){var r,o;if(t=Ke(t,n),Tt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ue(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function Kt(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var u=r?r[a]:a;i[a]=t(e[u],u,e)}return i}function Xt(e){return function(t,n,r,o){var i=arguments.length>=3;return function(t,n,r,o){var i=!Tt(t)&&ue(t),a=(i||t).length,u=e>0?0:a-1;for(o||(r=t[i?i[u]:u],u+=e);u>=0&&u<a;u+=e){var l=i?i[u]:u;r=n(r,t[l],l,t)}return r}(t,Ke(n,o,4),r,i)}}const Yt=Xt(1),Gt=Xt(-1);function Qt(e,t,n){var r=[];return t=Ge(t,n),Zt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Jt(e,t,n){return Qt(e,_t(Ge(t)),n)}function en(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function tn(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function nn(e,t,n,r){return Tt(e)||(e=Oe(e)),("number"!=typeof n||r)&&(n=0),qt(e,t,n)>=0}const rn=M((function(e,t,n){var r,o;return V(t)?o=t:(t=Be(t),r=t.slice(0,-1),t=t[t.length-1]),Kt(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Ue(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function on(e,t){return Kt(e,Ze(t))}function an(e,t){return Qt(e,ze(t))}function un(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Tt(e)?e:Oe(e)).length;u<l;u++)null!=(r=e[u])&&r>i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}function ln(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Tt(e)?e:Oe(e)).length;u<l;u++)null!=(r=e[u])&&r<i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)}));return i}function cn(e,t,n){if(null==t||n)return Tt(e)||(e=Oe(e)),e[nt(e.length-1)];var r=Tt(e)?De(e):Oe(e),o=ie(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var u=nt(a,i),l=r[a];r[a]=r[u],r[u]=l}return r.slice(0,t)}function sn(e){return cn(e,1/0)}function fn(e,t,n){var r=0;return t=Ge(t,n),on(Kt(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function pn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=Ge(r,o),Zt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}const dn=pn((function(e,t,n){Z(e,n)?e[n].push(t):e[n]=[t]})),mn=pn((function(e,t,n){e[n]=t})),hn=pn((function(e,t,n){Z(e,n)?e[n]++:e[n]=1})),yn=pn((function(e,t,n){e[n?0:1].push(t)}),!0);var vn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function gn(e){return e?z(e)?s.call(e):N(e)?e.match(vn):Tt(e)?Kt(e,We):Oe(e):[]}function bn(e){return null==e?0:Tt(e)?e.length:ue(e).length}function Sn(e,t,n){return t in n}const wn=M((function(e,t){var n={},r=t[0];if(null==e)return n;V(r)?(t.length>1&&(r=Ke(r,t[1])),t=ye(e)):(r=Sn,t=Mt(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],u=e[a];r(u,a,e)&&(n[a]=u)}return n})),En=M((function(e,t){var n,r=t[0];return V(r)?(r=_t(r),t.length>1&&(n=t[1])):(t=Kt(Mt(t,!1,!1),String),r=function(e,n){return!nn(t,n)}),wn(e,r,n)}));function Tn(e,t,n){return s.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Mn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Tn(e,e.length-t)}function Cn(e,t,n){return s.call(e,null==t||n?1:t)}function Ln(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Cn(e,Math.max(0,e.length-t))}function An(e){return Qt(e,Boolean)}function On(e,t){return Mt(e,t,!1)}const Hn=M((function(e,t){return t=Mt(t,!0,!0),Qt(e,(function(e){return!nn(t,e)}))})),xn=M((function(e,t){return Hn(e,t)}));function Nn(e,t,n,r){O(t)||(r=n,n=t,t=!1),null!=n&&(n=Ge(n,r));for(var o=[],i=[],a=0,u=ie(e);a<u;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&i===c||o.push(l),i=c):n?nn(i,c)||(i.push(c),o.push(l)):nn(o,l)||o.push(l)}return o}const _n=M((function(e){return Nn(Mt(e,!0,!0))}));function jn(e){for(var t=[],n=arguments.length,r=0,o=ie(e);r<o;r++){var i=e[r];if(!nn(t,i)){var a;for(a=1;a<n&&nn(arguments[a],i);a++);a===n&&t.push(i)}}return t}function In(e){for(var t=e&&un(e,ie).length||0,n=Array(t),r=0;r<t;r++)n[r]=on(e,r);return n}const kn=M(In);function Pn(e,t){for(var n={},r=0,o=ie(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Rn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Dn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(s.call(e,r,r+=t));return n}function Fn(e,t){return e._chain?se(t).chain():t}function Vn(e){return Zt(Ne(e),(function(t){var n=se[t]=e[t];se.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Fn(this,n.apply(se,e))}})),se}Zt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];se.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Fn(this,n)}})),Zt(["concat","join","slice"],(function(e){var t=a[e];se.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Fn(this,e)}}));const Bn=se;var Un=Vn(r);Un._=Un;const qn=Un}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(259),n(659),n(765),n(50);n(353)})();
|
|
22
|
+
function(e,t){"use strict";var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,u=function(e,t){(t=t.toLowerCase())in l||(l[e]=(l[e]||[]).concat(t),l[t]=l[t.toUpperCase()]=e)},l=(r.create||r)(null),c={};for(n in e)for(i in e[n])for(o=e[n][i],l[i]=o,t=0;t<o.length;t++)l[o[t].toLowerCase()]=l[o[t].toUpperCase()]=i;return c.get=function(e){return"string"==typeof e?l[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in l)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return a.test(e)?u(e,t):u(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var i,a,u,l,c,s,f,p,d,h="registerElement",m="__"+h+(1e5*e.Math.random()>>0),y="addEventListener",v="attached",g="Callback",b="detached",S="extends",w="attributeChanged"+g,E=v+g,M="connected"+g,T="disconnected"+g,C="created"+g,L=b+g,A="ADDITION",O="MODIFICATION",H="REMOVAL",_="DOMAttrModified",x="DOMContentLoaded",N="<",j="=",k=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,I=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],P=[],R=[],D="",F=n.documentElement,V=P.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},B=r.prototype,U=B.hasOwnProperty,q=B.isPrototypeOf,$=r.defineProperty,W=[],z=r.getOwnPropertyDescriptor,Z=r.getOwnPropertyNames,K=r.getPrototypeOf,X=r.setPrototypeOf,Y=!!r.__proto__,G="__dreCEv1",Q=e.customElements,J=!/^force/.test(t.type)&&!!(Q&&Q.define&&Q.get&&Q.whenDefined),ee=r.create||r,te=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[V.call(t,e)]},set:function(r,o){(e=V.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},ne=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},re=!1,oe=ee(null),ie=ee(null),ae=new te,ue=function(e){return e.toLowerCase()},le=r.create||function e(t){return t?(e.prototype=t,new e):this},ce=X||(Y?function(e,t){return e.__proto__=t,e}:Z&&z?function(){function e(e,t){for(var n,r=Z(t),o=0,i=r.length;o<i;o++)n=r[o],U.call(e,n)||$(e,n,z(t,n))}return function(t,n){do{e(t,n)}while((n=K(n))&&!q.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),se=e.MutationObserver||e.WebKitMutationObserver,fe=e.HTMLAnchorElement,pe=(e.HTMLElement||e.Element||e.Node).prototype,de=!q.call(pe,F),he=de?function(e,t,n){return e[t]=n.value,e}:$,me=de?function(e){return 1===e.nodeType}:function(e){return q.call(pe,e)},ye=de&&[],ve=pe.attachShadow,ge=pe.cloneNode,be=pe.dispatchEvent,Se=pe.getAttribute,we=pe.hasAttribute,Ee=pe.removeAttribute,Me=pe.setAttribute,Te=n.createElement,Ce=n.importNode,Le=Te,Ae=se&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=se||function(e){je=!1,F.removeEventListener(_,Oe)},He=0,_e=h in n&&!/^force-all/.test(t.type),xe=!0,Ne=!1,je=!0,ke=!0,Ie=!0;function Pe(){var e=i.splice(0,i.length);for(He=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Ke(e[n],t)}function De(e){return function(t){me(t)&&(Ke(t,e),D.length&&Re(t.querySelectorAll(D),e))}}function Fe(e){var t=Se.call(e,"is"),n=e.nodeName.toUpperCase(),r=V.call(P,t?j+t.toUpperCase():N+n);return t&&-1<r&&!Ve(n,t)?-1:r}function Ve(e,t){return-1<D.indexOf(e+'[is="'+t+'"]')}function Be(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[A]||2,a=e[H]||3;!Ie||o&&o!==t||!t[w]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[w](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Ue(e){var t=De(e);return function(e){i.push(t,e.target),He&&clearTimeout(He),He=setTimeout(Pe,1)}}function qe(e){ke&&(ke=!1,e.currentTarget.removeEventListener(x,qe)),D.length&&Re((e.target||n).querySelectorAll(D),e.detail===b?b:v),de&&function(){for(var e,t=0,n=ye.length;t<n;t++)e=ye[t],F.contains(e)||(n--,ye.splice(t--,1),Ke(e,b))}()}function $e(e,t){var n=this;Me.call(n,e,t),a.call(n,{target:n})}function We(e,t,n){var r=t.apply(e,n),o=Fe(r);return-1<o&&p(r,R[o]),n.pop()&&D.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],p(t,R[Fe(t)])}(r.querySelectorAll(D)),r}function ze(e,t){ce(e,t),c?c.observe(e,Ae):(je&&(e.setAttribute=$e,e[m]=l(e),e[y]("DOMSubtreeModified",a)),e[y](_,Be)),e[C]&&Ie&&(e.created=!0,e[C](),e.created=!1)}function Ze(e){throw new Error("A "+e+" type is already registered")}function Ke(e,t){var n,r,o=Fe(e);-1<o&&(f(e,R[o]),o=0,t!==v||e[v]?t!==b||e[b]||(e[v]=!1,e[b]=!0,r="disconnected",o=1):(e[b]=!1,e[v]=!0,r="connected",o=1,de&&V.call(ye,e)<0&&ye.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function Xe(){}function Ye(e,t,r){var o=r&&r[S]||"",i=t.prototype,a=le(i),u=t.observedAttributes||W,l={prototype:a};he(a,C,{value:function(){if(re)re=!1;else if(!this[G]){this[G]=!0,new t(this),i[C]&&i[C].call(this);var e=oe[ae.get(t)];(!J||e.create.length>1)&&Je(this)}}}),he(a,w,{value:function(e){-1<V.call(u,e)&&i[w]&&i[w].apply(this,arguments)}}),i[M]&&he(a,E,{value:i[M]}),i[T]&&he(a,L,{value:i[T]}),o&&(l[S]=o),e=e.toUpperCase(),oe[e]={constructor:t,create:o?[o,ue(e)]:[e]},ae.set(t,e),n[h](e.toLowerCase(),l),et(e),ie[e].r()}function Ge(e){var t=oe[e.toUpperCase()];return t&&t.constructor}function Qe(e){return"string"==typeof e?e:e&&e.is||""}function Je(e){for(var t,n=e[w],r=n?e.attributes:W,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function et(e){return(e=e.toUpperCase())in ie||(ie[e]={},ie[e].p=new ne((function(t){ie[e].r=t}))),ie[e].p}function tt(){Q&&delete e.customElements,$(e,"customElements",{configurable:!0,value:new Xe}),$(e,"CustomElementRegistry",{configurable:!0,value:Xe});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[G]||(re=!0,t=oe[ae.get(e.constructor)],(e=(o=J&&1===t.create.length)?Reflect.construct(r,W,t.constructor):n.createElement.apply(n,t.create))[G]=!0,re=!1,o||Je(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){!0,$(r,G,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=Qe(t);return n?Le.call(this,e,ue(n)):Le.call(this,e)},_e||(Ne=!0,n[h](""))}if(se&&((d=n.createElement("div")).innerHTML="<div><div></div></div>",new se((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(d=z(pe,"innerHTML"))&&d.set;n&&$(pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),d=null})).observe(d,{childList:!0,subtree:!0}),d.innerHTML=""),_e||(X||Y?(f=function(e,t){q.call(t,e)||ze(e,t)},p=ze):p=f=function(e,t){e[m]||(e[m]=r(!0),ze(e,t))},de?(je=!1,function(){var e=z(pe,y),t=e.value,n=function(e){var t=new CustomEvent(_,{bubbles:!0});t.attrName=e,t.prevValue=Se.call(this,e),t.newValue=null,t[H]=t.attrChange=2,Ee.call(this,e),be.call(this,t)},r=function(e,t){var n=we.call(this,e),r=n&&Se.call(this,e),o=new CustomEvent(_,{bubbles:!0});Me.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o[O]=o.attrChange=1:o[A]=o.attrChange=0,be.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[m],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(_,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[A]=t.attrChange=0:t[O]=t.attrChange=1,be.call(n,t))};e.value=function(e,i,a){e===_&&this[w]&&this.setAttribute!==r&&(this[m]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},$(pe,y,e)}()):se||(F[y](_,Oe),F.setAttribute(m,1),F.removeAttribute(m),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[m],o[m]=n=l(o),n){if(!(r in t))return u(0,o,r,t[r],n[r],A);if(n[r]!==t[r])return u(1,o,r,t[r],n[r],O)}for(r in t)if(!(r in n))return u(2,o,r,t[r],n[r],H)}},u=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,Be(a)},l=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n[h]=function(e,t){if(r=e.toUpperCase(),xe&&(xe=!1,se?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new se((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Ie&&i[w]&&"style"!==o.attributeName&&(a=Se.call(i,o.attributeName))!==o.oldValue&&i[w](o.attributeName,o.oldValue,a))}))}(De(v),De(b)),(s=function(e){return c.observe(e,{childList:!0,subtree:!0}),e})(n),ve&&(pe.attachShadow=function(){return s(ve.apply(this,arguments))})):(i=[],n[y]("DOMNodeInserted",Ue(v)),n[y]("DOMNodeRemoved",Ue(b))),n[y](x,qe),n[y]("readystatechange",qe),n.importNode=function(e,t){switch(e.nodeType){case 1:return We(n,Ce,[e,!!t]);case 11:for(var r=n.createDocumentFragment(),o=e.childNodes,i=o.length,a=0;a<i;a++)r.appendChild(n.importNode(o[a],!!t));return r;default:return ge.call(e,!!t)}},pe.cloneNode=function(e){return We(this,ge,[!!e])}),Ne)return Ne=!1;if(-2<V.call(P,j+r)+V.call(P,N+r)&&Ze(e),!k.test(r)||-1<V.call(I,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return l?n.createElement(f,r):n.createElement(f)},u=t||B,l=U.call(u,S),f=l?t[S].toUpperCase():r;return l&&-1<V.call(P,N+f)&&Ze(f),o=P.push((l?j:N)+r)-1,D=D.concat(D.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=R[o]=U.call(u,"prototype")?u.prototype:le(pe),D.length&&Re(n.querySelectorAll(D),v),a},n.createElement=Le=function(e,t){var r=Qe(t),o=r?Te.call(n,e,ue(r)):Te.call(n,e),i=""+e,a=V.call(P,(r?j:N)+(r||i).toUpperCase()),u=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),u&&(u=Ve(i.toUpperCase(),r))),Ie=!n.createElement.innerHTMLHelper,u&&p(o,R[a]),o}),Xe.prototype={constructor:Xe,define:J?function(e,t,n){if(n)Ye(e,t,n);else{var r=e.toUpperCase();oe[r]={constructor:t,create:[r]},ae.set(t,r),Q.define(e,t)}}:Ye,get:J?function(e){return Q.get(e)||Ge(e)}:Ge,whenDefined:J?function(e){return ne.race([Q.whenDefined(e),et(e)])}:et},!Q||/^force/.test(t.type))tt();else if(!t.noBuiltIn)try{!function(t,r,o){var i=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r[S]="a",(t.prototype=le(fe.prototype)).constructor=t,e.customElements.define(o,t,r),!i.test(n.createElement("a",{is:o}).outerHTML)||!i.test((new t).outerHTML))throw r}((function e(){return Reflect.construct(fe,[],e)}),{},"document-register-element-a")}catch(e){tt()}if(!t.noBuiltIn)try{if(Te.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){ue=function(e){return{is:e.toLowerCase()}}}}},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VERSION:()=>o,after:()=>kt,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>ke,before:()=>It,bind:()=>Et,bindAll:()=>Ct,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>An,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>mn,create:()=>Re,debounce:()=>_t,default:()=>qn,defaults:()=>Ie,defer:()=>Ot,delay:()=>At,detect:()=>Wt,difference:()=>Hn,drop:()=>Cn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>ke,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Tn,flatten:()=>On,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>xe,get:()=>qe,groupBy:()=>dn,has:()=>$e,head:()=>Tn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>hn,indexOf:()=>qt,initial:()=>Mn,inject:()=>Yt,intersection:()=>jn,invert:()=>_e,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>O,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>me,isError:()=>I,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Te,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>N,isObject:()=>C,isRegExp:()=>k,isSet:()=>Le,isString:()=>x,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>A,isWeakMap:()=>Ce,isWeakSet:()=>Ae,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>xe,min:()=>ln,mixin:()=>Vn,negate:()=>Nt,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Cn,restArguments:()=>T,result:()=>mt,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Cn,take:()=>Tn,tap:()=>Fe,template:()=>ht,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>kn,unescape:()=>ut,union:()=>Nn,uniq:()=>xn,unique:()=>xn,uniqueId:()=>vt,unzip:()=>kn,values:()=>Oe,where:()=>an,without:()=>_n,wrap:()=>xt,zip:()=>In});var r={};n.r(r),n.d(r,{VERSION:()=>o,after:()=>kt,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>ke,before:()=>It,bind:()=>Et,bindAll:()=>Ct,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>An,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>mn,create:()=>Re,debounce:()=>_t,default:()=>Bn,defaults:()=>Ie,defer:()=>Ot,delay:()=>At,detect:()=>Wt,difference:()=>Hn,drop:()=>Cn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>ke,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Tn,flatten:()=>On,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>xe,get:()=>qe,groupBy:()=>dn,has:()=>$e,head:()=>Tn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>hn,indexOf:()=>qt,initial:()=>Mn,inject:()=>Yt,intersection:()=>jn,invert:()=>_e,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>O,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>me,isError:()=>I,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Te,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>N,isObject:()=>C,isRegExp:()=>k,isSet:()=>Le,isString:()=>x,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>A,isWeakMap:()=>Ce,isWeakSet:()=>Ae,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>xe,min:()=>ln,mixin:()=>Vn,negate:()=>Nt,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Cn,restArguments:()=>T,result:()=>mt,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Cn,take:()=>Tn,tap:()=>Fe,template:()=>ht,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>kn,unescape:()=>ut,union:()=>Nn,uniq:()=>xn,unique:()=>xn,uniqueId:()=>vt,unzip:()=>kn,values:()=>Oe,where:()=>an,without:()=>_n,wrap:()=>xt,zip:()=>In});var o="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,u=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,s=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,m=Array.isArray,y=Object.keys,v=Object.create,g=d&&ArrayBuffer.isView,b=isNaN,S=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=Math.pow(2,53)-1;function T(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function C(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function L(e){return null===e}function A(e){return void 0===e}function O(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)}function H(e){return!(!e||1!==e.nodeType)}function _(e){var t="[object "+e+"]";return function(e){return f.call(e)===t}}const x=_("String"),N=_("Number"),j=_("Date"),k=_("RegExp"),I=_("Error"),P=_("Symbol"),R=_("ArrayBuffer");var D=_("Function"),F=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof F&&(D=function(e){return"function"==typeof e||!1});const V=D,B=_("Object");var U=h&&B(new DataView(new ArrayBuffer(8))),q="undefined"!=typeof Map&&B(new Map),$=_("DataView");const W=U?function(e){return null!=e&&V(e.getInt8)&&R(e.buffer)}:$,z=m||_("Array");function Z(e,t){return null!=e&&p.call(e,t)}var K=_("Arguments");!function(){K(arguments)||(K=function(e){return Z(e,"callee")})}();const X=K;function Y(e){return!P(e)&&S(e)&&!isNaN(parseFloat(e))}function G(e){return N(e)&&b(e)}function Q(e){return function(){return e}}function J(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=M}}function ee(e){return function(t){return null==t?void 0:t[e]}}const te=ee("byteLength"),ne=J(te);var re=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const oe=d?function(e){return g?g(e)&&!W(e):ne(e)&&re.test(f.call(e))}:Q(!1),ie=ee("length");function ae(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=E.length,r=e.constructor,o=V(r)&&r.prototype||u,i="constructor";for(Z(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=E[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function ue(e){if(!C(e))return[];if(y)return y(e);var t=[];for(var n in e)Z(e,n)&&t.push(n);return w&&ae(e,t),t}function le(e){if(null==e)return!0;var t=ie(e);return"number"==typeof t&&(z(e)||x(e)||X(e))?0===t:0===ie(ue(e))}function ce(e,t){var n=ue(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function se(e){return e instanceof se?e:this instanceof se?void(this._wrapped=e):new se(e)}function fe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,te(e))}se.VERSION=o,se.prototype.value=function(){return this._wrapped},se.prototype.valueOf=se.prototype.toJSON=se.prototype.value,se.prototype.toString=function(){return String(this._wrapped)};var pe="[object DataView]";function de(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&he(e,t,n,r)}function he(e,t,n,r){e instanceof se&&(e=e._wrapped),t instanceof se&&(t=t._wrapped);var o=f.call(e);if(o!==f.call(t))return!1;if(U&&"[object Object]"==o&&W(e)){if(!W(t))return!1;o=pe}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t);case"[object ArrayBuffer]":case pe:return he(fe(e),fe(t),n,r)}var i="[object Array]"===o;if(!i&&oe(e)){if(te(e)!==te(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,u=t.constructor;if(a!==u&&!(V(a)&&a instanceof a&&V(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),i){if((c=e.length)!==t.length)return!1;for(;c--;)if(!de(e[c],t[c],n,r))return!1}else{var s,p=ue(e);if(c=p.length,ue(t).length!==c)return!1;for(;c--;)if(!Z(t,s=p[c])||!de(e[s],t[s],n,r))return!1}return n.pop(),r.pop(),!0}function me(e,t){return de(e,t)}function ye(e){if(!C(e))return[];var t=[];for(var n in e)t.push(n);return w&&ae(e,t),t}function ve(e){var t=ie(e);return function(n){if(null==n)return!1;var r=ye(n);if(ie(r))return!1;for(var o=0;o<t;o++)if(!V(n[e[o]]))return!1;return e!==Ee||!V(n[ge])}}var ge="forEach",be=["clear","delete"],Se=["get","has","set"],we=be.concat(ge,Se),Ee=be.concat(Se),Me=["add"].concat(be,ge,"has");const Te=q?ve(we):_("Map"),Ce=q?ve(Ee):_("WeakMap"),Le=q?ve(Me):_("Set"),Ae=_("WeakSet");function Oe(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function He(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function _e(e){for(var t={},n=ue(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function xe(e){var t=[];for(var n in e)V(e[n])&&t.push(n);return t.sort()}function Ne(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),u=a.length,l=0;l<u;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=i[c])}return n}}const je=Ne(ye),ke=Ne(ue),Ie=Ne(ye,!0);function Pe(e){if(!C(e))return{};if(v)return v(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Re(e,t){var n=Pe(e);return t&&ke(n,t),n}function De(e){return C(e)?z(e)?e.slice():je({},e):e}function Fe(e,t){return t(e),e}function Ve(e){return z(e)?e:[e]}function Be(e){return se.toPath(e)}function Ue(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function qe(e,t,n){var r=Ue(e,Be(t));return A(r)?n:r}function $e(e,t){for(var n=(t=Be(t)).length,r=0;r<n;r++){var o=t[r];if(!Z(e,o))return!1;e=e[o]}return!!n}function We(e){return e}function ze(e){return e=ke({},e),function(t){return ce(t,e)}}function Ze(e){return e=Be(e),function(t){return Ue(t,e)}}function Ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Xe(e,t,n){return null==e?We:V(e)?Ke(e,t,n):C(e)&&!z(e)?ze(e):Ze(e)}function Ye(e,t){return Xe(e,t,1/0)}function Ge(e,t,n){return se.iteratee!==Ye?se.iteratee(e,t):Xe(e,t,n)}function Qe(e,t,n){t=Ge(t,n);for(var r=ue(e),o=r.length,i={},a=0;a<o;a++){var u=r[a];i[u]=t(e[u],u,e)}return i}function Je(){}function et(e){return null==e?Je:function(t){return qe(e,t)}}function tt(e,t,n){var r=Array(Math.max(0,e));t=Ke(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function nt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}se.toPath=Ve,se.iteratee=Ye;const rt=Date.now||function(){return(new Date).getTime()};function ot(e){var t=function(t){return e[t]},n="(?:"+ue(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}const it={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},at=ot(it),ut=ot(_e(it)),lt=se.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ct=/(.)^/,st={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+st[e]}var dt=/^\s*(\w|\$)+\s*$/;function ht(e,t,n){!t&&n&&(t=n),t=Ie({},t,se.templateSettings);var r=RegExp([(t.escape||ct).source,(t.interpolate||ct).source,(t.evaluate||ct).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,u){return i+=e.slice(o,u).replace(ft,pt),o=u+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,u=t.variable;if(u){if(!dt.test(u))throw new Error("variable is not a bare identifier: "+u)}else i="with(obj||{}){\n"+i+"}\n",u="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(u,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return a.call(this,e,se)};return l.source="function("+u+"){\n"+i+"}",l}function mt(e,t,n){var r=(t=Be(t)).length;if(!r)return V(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=V(i)?i.call(e):i}return e}var yt=0;function vt(e){var t=++yt+"";return e?e+t:t}function gt(e){var t=se(e);return t._chain=!0,t}function bt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Pe(e.prototype),a=e.apply(i,o);return C(a)?a:i}var St=T((function(e,t){var n=St.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),u=0;u<i;u++)a[u]=t[u]===n?arguments[o++]:t[u];for(;o<arguments.length;)a.push(arguments[o++]);return bt(e,r,this,this,a)};return r}));St.placeholder=se;const wt=St,Et=T((function(e,t,n){if(!V(e))throw new TypeError("Bind must be called on a function");var r=T((function(o){return bt(e,r,t,this,n.concat(o))}));return r})),Mt=J(ie);function Tt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ie(e);i<a;i++){var u=e[i];if(Mt(u)&&(z(u)||X(u)))if(t>1)Tt(u,t-1,n,r),o=r.length;else for(var l=0,c=u.length;l<c;)r[o++]=u[l++];else n||(r[o++]=u)}return r}const Ct=T((function(e,t){var n=(t=Tt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Et(e[r],e)}return e}));function Lt(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return Z(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}const At=T((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Ot=wt(At,se,1);function Ht(e,t,n){var r,o,i,a,u=0;n||(n={});var l=function(){u=!1===n.leading?0:rt(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=rt();u||!1!==n.leading||(u=c);var s=t-(c-u);return o=this,i=arguments,s<=0||s>t?(r&&(clearTimeout(r),r=null),u=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,s)),a};return c.cancel=function(){clearTimeout(r),u=0,r=o=i=null},c}function _t(e,t,n){var r,o,i,a,u,l=function(){var c=rt()-o;t>c?r=setTimeout(l,t-c):(r=null,n||(a=e.apply(u,i)),r||(i=u=null))},c=T((function(c){return u=this,i=c,o=rt(),r||(r=setTimeout(l,t),n&&(a=e.apply(u,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=u=null},c}function xt(e,t){return wt(t,e)}function Nt(e){return function(){return!e.apply(this,arguments)}}function jt(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function kt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function It(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Pt=wt(It,2);function Rt(e,t,n){t=Ge(t,n);for(var r,o=ue(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function Dt(e){return function(t,n,r){n=Ge(n,r);for(var o=ie(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}const Ft=Dt(1),Vt=Dt(-1);function Bt(e,t,n,r){for(var o=(n=Ge(n,r,1))(t),i=0,a=ie(e);i<a;){var u=Math.floor((i+a)/2);n(e[u])<o?i=u+1:a=u}return i}function Ut(e,t,n){return function(r,o,i){var a=0,u=ie(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(s.call(r,a,u),G))>=0?i+a:-1;for(i=e>0?a:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}}const qt=Ut(1,Ft,Bt),$t=Ut(-1,Vt);function Wt(e,t,n){var r=(Mt(e)?Ft:Rt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function zt(e,t){return Wt(e,ze(t))}function Zt(e,t,n){var r,o;if(t=Ke(t,n),Mt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ue(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function Kt(e,t,n){t=Ge(t,n);for(var r=!Mt(e)&&ue(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var u=r?r[a]:a;i[a]=t(e[u],u,e)}return i}function Xt(e){return function(t,n,r,o){var i=arguments.length>=3;return function(t,n,r,o){var i=!Mt(t)&&ue(t),a=(i||t).length,u=e>0?0:a-1;for(o||(r=t[i?i[u]:u],u+=e);u>=0&&u<a;u+=e){var l=i?i[u]:u;r=n(r,t[l],l,t)}return r}(t,Ke(n,o,4),r,i)}}const Yt=Xt(1),Gt=Xt(-1);function Qt(e,t,n){var r=[];return t=Ge(t,n),Zt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Jt(e,t,n){return Qt(e,Nt(Ge(t)),n)}function en(e,t,n){t=Ge(t,n);for(var r=!Mt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function tn(e,t,n){t=Ge(t,n);for(var r=!Mt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function nn(e,t,n,r){return Mt(e)||(e=Oe(e)),("number"!=typeof n||r)&&(n=0),qt(e,t,n)>=0}const rn=T((function(e,t,n){var r,o;return V(t)?o=t:(t=Be(t),r=t.slice(0,-1),t=t[t.length-1]),Kt(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Ue(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function on(e,t){return Kt(e,Ze(t))}function an(e,t){return Qt(e,ze(t))}function un(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Mt(e)?e:Oe(e)).length;u<l;u++)null!=(r=e[u])&&r>i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}function ln(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Mt(e)?e:Oe(e)).length;u<l;u++)null!=(r=e[u])&&r<i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)}));return i}function cn(e,t,n){if(null==t||n)return Mt(e)||(e=Oe(e)),e[nt(e.length-1)];var r=Mt(e)?De(e):Oe(e),o=ie(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var u=nt(a,i),l=r[a];r[a]=r[u],r[u]=l}return r.slice(0,t)}function sn(e){return cn(e,1/0)}function fn(e,t,n){var r=0;return t=Ge(t,n),on(Kt(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function pn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=Ge(r,o),Zt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}const dn=pn((function(e,t,n){Z(e,n)?e[n].push(t):e[n]=[t]})),hn=pn((function(e,t,n){e[n]=t})),mn=pn((function(e,t,n){Z(e,n)?e[n]++:e[n]=1})),yn=pn((function(e,t,n){e[n?0:1].push(t)}),!0);var vn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function gn(e){return e?z(e)?s.call(e):x(e)?e.match(vn):Mt(e)?Kt(e,We):Oe(e):[]}function bn(e){return null==e?0:Mt(e)?e.length:ue(e).length}function Sn(e,t,n){return t in n}const wn=T((function(e,t){var n={},r=t[0];if(null==e)return n;V(r)?(t.length>1&&(r=Ke(r,t[1])),t=ye(e)):(r=Sn,t=Tt(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],u=e[a];r(u,a,e)&&(n[a]=u)}return n})),En=T((function(e,t){var n,r=t[0];return V(r)?(r=Nt(r),t.length>1&&(n=t[1])):(t=Kt(Tt(t,!1,!1),String),r=function(e,n){return!nn(t,n)}),wn(e,r,n)}));function Mn(e,t,n){return s.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Tn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Mn(e,e.length-t)}function Cn(e,t,n){return s.call(e,null==t||n?1:t)}function Ln(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Cn(e,Math.max(0,e.length-t))}function An(e){return Qt(e,Boolean)}function On(e,t){return Tt(e,t,!1)}const Hn=T((function(e,t){return t=Tt(t,!0,!0),Qt(e,(function(e){return!nn(t,e)}))})),_n=T((function(e,t){return Hn(e,t)}));function xn(e,t,n,r){O(t)||(r=n,n=t,t=!1),null!=n&&(n=Ge(n,r));for(var o=[],i=[],a=0,u=ie(e);a<u;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&i===c||o.push(l),i=c):n?nn(i,c)||(i.push(c),o.push(l)):nn(o,l)||o.push(l)}return o}const Nn=T((function(e){return xn(Tt(e,!0,!0))}));function jn(e){for(var t=[],n=arguments.length,r=0,o=ie(e);r<o;r++){var i=e[r];if(!nn(t,i)){var a;for(a=1;a<n&&nn(arguments[a],i);a++);a===n&&t.push(i)}}return t}function kn(e){for(var t=e&&un(e,ie).length||0,n=Array(t),r=0;r<t;r++)n[r]=on(e,r);return n}const In=T(kn);function Pn(e,t){for(var n={},r=0,o=ie(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Rn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Dn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(s.call(e,r,r+=t));return n}function Fn(e,t){return e._chain?se(t).chain():t}function Vn(e){return Zt(xe(e),(function(t){var n=se[t]=e[t];se.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Fn(this,n.apply(se,e))}})),se}Zt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];se.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Fn(this,n)}})),Zt(["concat","join","slice"],(function(e){var t=a[e];se.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Fn(this,e)}}));const Bn=se;var Un=Vn(r);Un._=Un;const qn=Un}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(259),n(659),n(765),n(50);n(353)})();
|