p-elements-core 1.2.16 → 1.2.17

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 CHANGED
@@ -1 +1 @@
1
- /*! P-ELEMENTS 1.2.16 - Sun Dec 22 2024 22:29:30 GMT+0100 (Central European Standard Time) */({816:function(){var e,t,n;function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(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 function(e,t,n){if(d())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var r=new(e.bind.apply(e,o));return n&&v(r,n.prototype),r}(e,arguments,y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)},o(e)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},r.apply(null,arguments)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t,n){return e.set(u(e,t),n),n}function u(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,s(o.key),o)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=b(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=b(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==b(t)?t:t+""}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t,n){return t=y(t),function(e,t){if(t&&("object"==b(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)}(e,d()?Reflect.construct(t,n||[],y(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){return b="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},b(e)}var g=this&&this.__decorate||function(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===("undefined"==typeof Reflect?"undefined":b(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},w=(e=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).render=function(){return h("button",{class:"foo"},h("slot",null))},t}return m(e,CustomElement),c(e)}(),e.style=".foo{background-color: red; color: white; border: 0px;}",e.delegatesFocus=!0,e);w=g([CustomElementConfig({tagName:"my-button"})],w);var k=(t=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).count=1,t.name="",t.foo="foo",t.onInput=function(e){t.name=e.target.value},t.onPeterClick=function(e){console.log({e,p:t})},t.render=function(){return h("div",null,h("h1",{on:{click:function(e){return console.log(e,t.slotContainer)}},id:"Foo"},"Hallo:"),h("h1",{onclick:function(){return console.log("click "+t.name)},"data-title":t.name&&t.name.toLocaleUpperCase(),class:"title"},t.foo," ",t.name),h("p",{"data-count":t.count,updateAnimation:t.countUpdateAnimation},t.count),h("div",{id:"SlotContainer"},h("slot",null)),h("p",null,"Please enter your name (hint type"," ",h("em",null,h("strong",null,"Peter")),")",h("br",null),h("input",{type:"text",value:t.name,oninput:t.onInput})),h("p",null,h("a",{is:"super-a"},"Super a")),t.name&&t.name.toLowerCase&&t.name.toLowerCase().indexOf("peter")>-1?h("div",{key:"peter",afterRemoved:t.peterRemoved,afterCreate:t.peterCreate,class:"is-peter",eventListeners:[["click",t.onPeterClick]],enterAnimation:t.enterAnimation,exitAnimation:t.exitAnimation},h("p",null,"Hello Peter"),h("img",{class:"is-peter--image",src:"https://s-media-cache-ak0.pinimg.com/474x/ce/1d/07/ce1d07011c0afb8e0614a0ae42a8c861.jpg",height:"140"})):"")},t.onFooEvent=function(e){t.foo=e.detail.foo},t}return m(e,CustomElement),c(e,[{key:"enterAnimation",value:function(e,t){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],rotate:"2turn",duration:3e3,loop:!1})}},{key:"exitAnimation",value:function(e,t,n){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],duration:3e3,opacity:0,loop:!1,complete:function(){t(e)}})}},{key:"countUpdateAnimation",value:function(e,t,n){anime.timeline().add([{duration:300,targets:e,translateX:200,scale:1.9,easing:"easeOutExpo"},{duration:300,targets:e,translateX:0,scale:1,easing:"easeInExpo"}])}},{key:"peterRemoved",value:function(){console.log("removed")}},{key:"peterCreate",value:function(){console.log("create")}},{key:"connectedCallback",value:function(){var e=this,t=this.templateFromString('\n <style>\n\n :host{\n /* display: none; */\n }\n\n .root {\n display: flex;\n padding: 10px;\n flex-direction: row;\n }\n\n #Foo {\n @apply --mixin-sample;\n text-decoration: underline;\n }\n\n #SlotContainer ::slotted(*) {\n font-weight: bold;\n color: green;\n font-size: 1.5em;\n }\n\n </style>\n <div class="root"></div>\n ');this.shadowRoot.appendChild(t),this.createProjector(this.shadowRoot.querySelector(".root"),this.render),setInterval((function(){e.count++,e.renderNow()}),5e3),window.addEventListener("foo",this.onFooEvent)}},{key:"attributeChangedCallback",value:function(e,t,n){"name"===e&&(this.name=n)}}],[{key:"observedAttributes",get:function(){return["name"]}}])}(),t.isFormAssociated=!0,t);g([PropertyRenderOnSet],k.prototype,"name",void 0),g([PropertyRenderOnSet],k.prototype,"foo",void 0),g([Query("#SlotContainer")],k.prototype,"slotContainer",void 0),k=g([CustomElementConfig({tagName:"my-greetings"})],k);var C=new WeakMap,P=new WeakSet,O=function(){function e(){var t,n,o;return f(this,e),t=p(this,e,arguments),i(n=t,o=P),o.add(n),function(e,t,n){i(e,t),t.set(e,n)}(t,C,void 0),a(C,t,!1),t.disabled=!1,t}return m(e,CustomElementController),c(e,[{key:"connected",value:function(){console.log("connected"),a(C,this,!0),u(P,this,j).call(this)}},{key:"disconnected",value:function(){console.info("disconnected"),a(C,this,!1)}},{key:"shouldUpdate",value:function(e,t,n){return console.info("shouldUpdate",{property:e,oldValue:t,newValue:n}),!0}},{key:"updated",value:function(){console.info("updated",this),u(P,this,j).call(this)}}])}();function j(){var e,t;(t=this,(e=C).get(u(e,t)))&&(!0===this.disabled?this.hostElement.setAttribute("disabled","!!"):this.hostElement.removeAttribute("disabled"))}g([Property({type:"boolean"})],O.prototype,"disabled",void 0);var E=(n=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).disabledController=new O(t),t.items=["foo","bar"],t.nickName="de prutser",t.render=function(){var e;return h("div",{classes:{foo:!0,foo__disabled:t.disabledController.disabled}},h("div",null,"Hello ",t.name," ",t.nickName?h("span",null," (",t.nickName,")"):null),h("div",null,"age ",t.age),t.data?h("pre",null,JSON.stringify(t.data,null,2)):null,null===(e=t.items)||void 0===e?void 0:e.map((function(e,t){return h("div",{key:"item".concat(t)},e)})))},t}return m(e,CustomElement),c(e,[{key:"init",value:function(){console.info("init")}},{key:"shouldUpdate",value:function(e,t,n){return"name"!==e||"string"!=typeof n||"adolf"!==n.toLocaleLowerCase()}},{key:"updated",value:function(e,t,n){console.info("PFoo",{name:e,old:t,newValue:n})}},{key:"attributeChangedCallback",value:function(t,n,o){var i,a,u,l,c;(i=e,a="attributeChangedCallback",u=this,c=r(y(1&(l=3)?i.prototype:i),a,u),2&l&&"function"==typeof c?function(e){return c.apply(u,e)}:c)([t,n,o]),"disabled"===t&&(this.disabledController.disabled=null!==o)}}])}(),n.style=".foo{color: red} .foo__disabled{opacity: 0.5;}",n.observedAttributes=["disabled"],n);g([Property({type:"string",attribute:"name",reflect:!0})],E.prototype,"name",void 0),g([Property({type:"number",attribute:"age",reflect:!0})],E.prototype,"age",void 0),g([Property({type:"object",attribute:"data",reflect:!0})],E.prototype,"data",void 0),g([Property({attribute:"items",type:"object",reflect:!0,converter:{fromAttribute:function(e){return e?e.split(",").map((function(e){return e.trim()})):null},toAttribute:function(e){return e.join?e.join(","):null}}})],E.prototype,"items",void 0),g([Property({type:"string",attribute:"nick-name",readonly:!0})],E.prototype,"nickName",void 0),E=g([CustomElementConfig({tagName:"p-foo"})],E);var S=function(e){function t(){var e;return f(this,t),(e=p(this,t)).onclick=function(e){e.preventDefault(),alert("super")},e}return m(t,e),c(t,[{key:"connectedCallback",value:function(){this.classList.add("super"),this.style.color="red"}}])}(o(HTMLAnchorElement));window.customElements.define("super-a",S,{extends:"a"})}})[816]();
1
+ /*! P-ELEMENTS 1.2.17 - Mon Dec 30 2024 08:35:24 GMT+0100 (Central European Standard Time) */var t={554:function(t,e,n){var r,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==n.g&&null!=n.g?n.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var n=0,r={next:function(){if(n<t.length){var o=n++;return{value:e(o,t[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(t,e,n,r){if(e){for(n=a.global,t=t.split("."),r=0;r<t.length-1;r++){var o=t[r];o in n||(n[o]={}),n=n[o]}(e=e(r=n[t=t[t.length-1]]))!=r&&null!=e&&a.defineProperty(n,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],r=function(){function t(t){if(!X.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var n=t.length,r=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<n;i++)if(i in t){var a=t[i];e.call(r,a,i,t)&&o.push(a)}return o}function n(t){return t.reduce((function(t,e){return t.concat(X.arr(e)?n(e):e)}),[])}function r(e){return X.arr(e)?e:(X.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,n={};for(e in t)n[e]=t[e];return n}function a(t,e){var n,r=i(t);for(n in t)r[n]=e.hasOwnProperty(n)?e[n]:t[n];return r}function c(t,e){var n,r=i(t);for(n in e)r[n]=X.und(t[n])?e[n]:t[n];return r}function l(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,r){return e+e+n+n+r+r}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function s(t){function e(t,e,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?t+6*(e-t)*n:.5>n?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(n[1])/360;var r=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==r)o=r=t=o;else{var i=.5>o?o*(1+r):o+r-o*r,a=2*o-i;o=e(a,i,t+1/3),r=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*r+","+255*t+","+n+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function p(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function d(t,e){return X.fnc(t)?t(e.target,e.id,e.total):t}function y(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function h(t,e){return X.dom(t)&&o(N,e)?"transform":X.dom(t)&&(t.getAttribute(e)||X.svg(t)&&t[e])?"attribute":X.dom(t)&&"transform"!==e&&y(t,e)?"css":null!=t[e]?"object":void 0}function m(t,n){var r=p(n);if(r=-1<n.indexOf("scale")?1:0+r,!(t=t.style.transform))return r;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===n})),t.length?t[0]:r}function v(t,e){switch(h(t,e)){case"transform":return m(t,e);case"css":return y(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var r=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(n[0],"")),n[0][0]){case"+":return e+t+r;case"-":return e-t+r;case"*":return e*t+r}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,n=0,r=0;r<t.numberOfItems;r++){var o=t.getItem(r);0<r&&(n+=g(e,o)),e=o}return n}function O(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function P(t,e){function n(n){return n=void 0===n?0:n,t.el.getPointAtLength(1<=e+n?e+n:0)}var r=n(),o=n(-1),i=n(1);switch(t.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 x(t,e){var n,r=/-?\d*\.?\d+/g;if(n=X.pth(t)?t.totalLength:t,X.col(n))if(X.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=X.hex(n)?l(n):X.hsl(n)?s(n):void 0;else o=(o=f(n))?n.substr(0,n.length-o.length):n,n=e&&!/\s/g.test(n)?o+e:o;return{original:n+="",numbers:n.match(r)?n.match(r).map(Number):[0],strings:X.str(t)||e?n.split(r):[]}}function k(t){return e(t=t?n(X.arr(t)?t.map(r):r(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function j(t){var e=k(t);return e.map((function(t,n){return{target:t,id:n,total:e.length}}))}function S(t,e){var n=i(e);if(X.arr(t)){var o=t.length;2!==o||X.obj(t[0])?X.fnc(e.duration)||(n.duration=e.duration/o):t={value:t}}return r(t).map((function(t,n){return n=n?0:e.delay,t=X.obj(t)&&!X.pth(t)?t:{value:t},X.und(t.delay)&&(t.delay=n),t})).map((function(t){return c(t,n)}))}function C(t,e){var n,r={};for(n in t){var o=d(t[n],e);X.arr(o)&&(o=o.map((function(t){return d(t,e)})),1===o.length&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function A(t){return X.arr(t)?B.apply(this,t):V[t]}function E(t,e){var n;return t.tweens.map((function(r){var o=(r=C(r,e)).value,i=v(e.target,t.name),a=n?n.to.original:i,u=(a=X.arr(o)?o[0]:a,b(X.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),r.from=x(a,i),r.to=x(u,i),r.start=n?n.end:t.offset,r.end=r.start+r.delay+r.duration,r.easing=A(r.easing),r.elasticity=(1e3-Math.min(Math.max(r.elasticity,1),999))/1e3,r.isPath=X.pth(o),r.isColor=X.col(r.from.original),r.isColor&&(r.round=1),n=r}))}function M(t,r){return e(n(t.map((function(t){return r.map((function(e){var n=h(t.target,e.name);if(n){var r=E(e,t);e={type:n,property:e.name,animatable:t,tweens:r,duration:r[r.length-1].end,delay:r[0].delay}}else e=void 0;return e}))}))),(function(t){return!X.und(t)}))}function I(t,e,n,r){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?r.delay:n.offset+r.delay+r.duration}function _(t){var e,n=a(F,t),r=a(L,t),o=j(t.targets),i=[],u=c(n,r);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:S(t[e],r)});return c(n,{children:[],animatables:o,animations:t=M(o,i),duration:I("duration",t,n,r),delay:I("delay",t,n,r)})}function T(t){function n(){return window.Promise&&new Promise((function(t){return f=t}))}function r(t){return d.reversed?d.duration-t:t}function o(t){for(var n=0,r={},o=d.animations,i=o.length;n<i;){var a=o[n],u=a.animatable,c=(l=a.tweens)[p=l.length-1];p&&(c=e(l,(function(e){return t<e.end}))[0]||c);for(var l=Math.min(Math.max(t-c.start-c.delay,0),c.duration)/c.duration,s=isNaN(l)?1:c.easing(l,c.elasticity),f=(l=c.to.strings,c.round),p=[],h=void 0,m=(h=c.to.numbers.length,0);m<h;m++){var v=void 0,b=(v=c.to.numbers[m],c.from.numbers[m]);v=c.isPath?P(c.value,s*v):b+s*(v-b),f&&(c.isColor&&2<m||(v=Math.round(v*f)/f)),p.push(v)}if(c=l.length)for(h=l[0],s=0;s<c;s++)f=l[s+1],m=p[s],isNaN(m)||(h=f?h+(m+f):h+(m+" "));else h=p[0];$[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++)R||(R=y(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[R]=r[o].join(" ");d.currentTime=t,d.progress=t/d.duration*100}function i(t){d[t]&&d[t](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(t){var e=d.duration,u=d.offset,y=u+d.delay,h=d.currentTime,m=d.reversed,v=r(t);if(d.children.length){var b=d.children,g=b.length;if(v>=d.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=y||!e)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==h&&(o(0),m&&a()),(v>=e&&h!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(d.remaining?(l=c,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=n()))),s=0)}t=void 0===t?{}:t;var c,l,s=0,f=null,p=n(),d=_(t);return d.reset=function(){var t=d.direction,e=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===t,d.remaining="alternate"===t&&1===e?2:e,o(0),t=d.children.length;t--;)d.children[t].reset()},d.tick=function(t){c=t,l||(l=c),u((s+c-l)*T.speed)},d.seek=function(t){u(r(t))},d.pause=function(){var t=D.indexOf(d);-1<t&&D.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,l=0,s=r(d.currentTime),D.push(d),U||Y())},d.reverse=function(){d.reversed=!d.reversed,l=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 R,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},L={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},N="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),X={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return X.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||X.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return X.hex(t)||X.rgb(t)||X.hsl(t)}},B=function(){function t(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t}return function(e,n,r,o){if(0<=e&&1>=e&&0<=r&&1>=r){var i=new Float32Array(11);if(e!==n||r!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,r);return function(a){if(e===n&&r===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,c=1;10!==c&&i[c]<=a;++c)u+=.1;--c,c=u+(a-i[c])/(i[c+1]-i[c])*.1;var l=3*(1-3*r+3*e)*c*c+2*(3*r-6*e)*c+3*e;if(.001<=l){for(u=0;4>u&&0!=(l=3*(1-3*r+3*e)*c*c+2*(3*r-6*e)*c+3*e);++u){var s=t(c,e,r)-a;c-=s/l}a=c}else if(0===l)a=c;else{c=u,u+=.1;var f=0;do{0<(l=t(s=c+(u-c)/2,e,r)-a)?u=s:c=s}while(1e-7<Math.abs(l)&&10>++f);a=s}return t(a,n,o)}}}}(),V=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,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],t],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(e,n){return 1-t(1-e,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(e,n){return.5>e?t(2*e,n)/2:1-t(-2*e+2,n)/2}]},o={linear:B(.25,.25,.75,.75)},i={};for(e in r)i.type=e,r[i.type].forEach(function(t){return function(e,r){o["ease"+t.type+n[r]]=X.fnc(e)?e:B.apply(u,e)}}(i)),i={type:i.type};return o}(),$={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,r,o){r[o]||(r[o]=[]),r[o].push(e+"("+n+")")}},D=[],U=0,Y=function(){function t(){U=requestAnimationFrame(e)}function e(e){var n=D.length;if(n){for(var r=0;r<n;)D[r]&&D[r].tick(e),r++;t()}else cancelAnimationFrame(U),U=0}return t}();return T.version="2.2.0",T.speed=1,T.running=D,T.remove=function(t){t=k(t);for(var e=D.length;e--;)for(var n=D[e],r=n.animations,i=r.length;i--;)o(t,r[i].animatable.target)&&(r.splice(i,1),r.length||n.pause())},T.getValue=v,T.path=function(e,n){var r=X.str(e)?t(e)[0]:e,o=n||100;return function(t){return{el:r,property:t,totalLength:O(r)*(o/100)}}},T.setDashoffset=function(t){var e=O(t);return t.setAttribute("stroke-dasharray",e),e},T.bezier=B,T.easings=V,T.timeline=function(t){var e=T(t);return e.pause(),e.duration=0,e.add=function(n){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),r(n).forEach((function(n){var r=c(n,a(L,t||{}));r.targets=r.targets||t.targets,n=e.duration;var o=r.offset;r.autoplay=!1,r.direction=e.direction,r.offset=X.und(o)?n:b(o,n),e.began=!0,e.completed=!0,e.seek(r.offset),(r=T(r)).began=!0,r.completed=!0,r.duration>n&&(e.duration=r.duration),e.children.push(r)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},T.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},T},void 0===(i="function"==typeof r?r.apply(e,o):r)||(t.exports=i)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}function a(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function u(t,e,n){return e=l(e),function(t,e){if(e&&("object"==o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,n||[],l(t).constructor):e.apply(t,n))}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function f(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function p(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(r,{J:()=>F,P:()=>X});var d,y,m,v=n(554),b=n.n(v);function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(E())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&_(o,n.prototype),o}(t,arguments,M(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_(n,t)},g(t)}function w(){return w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=M(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},w.apply(null,arguments)}function O(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function P(t,e,n){return t.set(x(t,e),n),n}function x(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}function k(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,S(r.key),r)}}function j(t,e,n){return e&&k(t.prototype,e),n&&k(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function S(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e,n){return e=M(e),function(t,e){if(e&&("object"==T(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,E()?Reflect.construct(e,n||[],M(t).constructor):e.apply(t,n))}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(E=function(){return!!t})()}function M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}function I(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}var R=function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":T(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},F=(d=function(){function t(){var e;return C(this,t),(e=A(this,t,arguments)).render=function(){return h("button",{class:"foo"},h("slot",null))},e}return I(t,CustomElement),j(t)}(),d.style=".foo{background-color: red; color: white; border: 0px;}",d.delegatesFocus=!0,d);F=R([CustomElementConfig({tagName:"my-button"})],F);var L,N,X=(y=function(t){function e(){var t;return C(this,e),(t=A(this,e,arguments)).count=1,t.name="",t.foo="foo",t.onInput=function(e){t.name=e.target.value},t.onPeterClick=function(e){console.log({e,p:t})},t.render=function(){return h("div",null,h("input",{type:"checkbox",checked:"Peter"===t.name}),h("h1",{on:{click:function(e){return console.log(e,t.slotContainer)}},id:"Foo"},"Hallo:"),h("h1",{onclick:function(){return console.log("click "+t.name)},"data-title":t.name&&t.name.toLocaleUpperCase(),class:"title"},t.foo," ",t.name),h("p",{"data-count":t.count,updateAnimation:t.countUpdateAnimation},t.count),h("div",{id:"SlotContainer"},h("slot",null)),h("p",{eventListeners:[["mouseenter",function(){return console.log("enter")},{once:!0}],["mouseleave",function(){return console.log("leave")},{once:!0}]]},"Please enter your name (hint type"," ",h("em",null,h("strong",null,"Peter")),")",h("br",null),h("input",{type:"text",value:t.name,oninput:t.onInput})),h("p",null,h("a",{is:"super-a"},"Super a")),t.name&&t.name.toLowerCase&&t.name.toLowerCase().indexOf("peter")>-1?h("div",{key:"peter",afterRemoved:t.peterRemoved,afterCreate:t.peterCreate,class:"is-peter",eventListeners:[["click",t.onPeterClick]],enterAnimation:t.enterAnimation,exitAnimation:t.exitAnimation},h("p",null,"Hello Peter"),h("img",{class:"is-peter--image",src:"https://s-media-cache-ak0.pinimg.com/474x/ce/1d/07/ce1d07011c0afb8e0614a0ae42a8c861.jpg",height:"140"})):"")},t.onFooEvent=function(e){t.foo=e.detail.foo},t}return I(e,t),j(e,[{key:"enterAnimation",value:function(t,e){b()({targets:t,translateX:[{value:100,duration:1200},{value:0,duration:800}],rotate:"2turn",duration:3e3,loop:!1})}},{key:"exitAnimation",value:function(t,e,n){b()({targets:t,translateX:[{value:100,duration:1200},{value:0,duration:800}],duration:3e3,opacity:0,loop:!1,complete:function(){e(t)}})}},{key:"countUpdateAnimation",value:function(t,e,n){b().timeline().add([{duration:300,targets:t,translateX:200,scale:1.9,easing:"easeOutExpo"},{duration:300,targets:t,translateX:0,scale:1,easing:"easeInExpo"}])}},{key:"peterRemoved",value:function(){console.log("removed")}},{key:"peterCreate",value:function(){console.log("create")}},{key:"connectedCallback",value:function(){var t=this,e=this.templateFromString('\n <style>\n\n :host{\n /* display: none; */\n }\n\n .root {\n display: flex;\n padding: 10px;\n flex-direction: row;\n }\n\n #Foo {\n @apply --mixin-sample;\n text-decoration: underline;\n }\n\n #SlotContainer ::slotted(*) {\n font-weight: bold;\n color: green;\n font-size: 1.5em;\n }\n\n </style>\n <div class="root"></div>\n ');this.shadowRoot.appendChild(e),this.createProjector(this.shadowRoot.querySelector(".root"),this.render),setInterval((function(){t.count++,t.renderNow()}),5e3),window.addEventListener("foo",this.onFooEvent)}},{key:"attributeChangedCallback",value:function(t,e,n){"name"===t&&(this.name=n)}}],[{key:"observedAttributes",get:function(){return["name"]}}])}((L=function(){function t(){return C(this,t),A(this,t,arguments)}return I(t,CustomElement),j(t)}(),N=new WeakMap,function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return f(t=u(this,e,[].concat(r)),N,!1),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),n=e,(r=[{key:"highlight",get:function(){return e=this,(t=N).get(p(t,e));var t,e},set:function(t){var e,n,r;n=this,r=t,(e=N).set(p(e,n),r);var o="unset";t&&(o="yellow");var i=null==this?void 0:this.shadowRoot.querySelector("div");i&&(i.style.backgroundColor=o)}}])&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(L))),y.isFormAssociated=!0,y);R([PropertyRenderOnSet],X.prototype,"name",void 0),R([PropertyRenderOnSet],X.prototype,"foo",void 0),R([Query("#SlotContainer")],X.prototype,"slotContainer",void 0),X=R([CustomElementConfig({tagName:"my-greetings"})],X);var B=new WeakMap,V=new WeakSet,$=function(){function t(){var e,n,r;return C(this,t),e=A(this,t,arguments),O(n=e,r=V),r.add(n),function(t,e,n){O(t,e),e.set(t,n)}(e,B,void 0),P(B,e,!1),e.disabled=!1,e}return I(t,CustomElementController),j(t,[{key:"connected",value:function(){console.log("connected"),P(B,this,!0),x(V,this,D).call(this)}},{key:"disconnected",value:function(){console.info("disconnected"),P(B,this,!1)}},{key:"shouldUpdate",value:function(t,e,n){return console.info("shouldUpdate",{property:t,oldValue:e,newValue:n}),!0}},{key:"updated",value:function(){console.info("updated",this),x(V,this,D).call(this)}}])}();function D(){var t,e;(e=this,(t=B).get(x(t,e)))&&(!0===this.disabled?this.hostElement.setAttribute("disabled","!!"):this.hostElement.removeAttribute("disabled"))}R([Property({type:"boolean"})],$.prototype,"disabled",void 0);var U=(m=function(){function t(){var e;return C(this,t),(e=A(this,t,arguments)).disabledController=new $(e),e.items=["foo","bar"],e.nickName="de prutser",e.render=function(){var t;return h("div",{classes:{foo:!0,foo__disabled:e.disabledController.disabled}},h("div",null,"Hello ",e.name," ",e.nickName?h("span",null," (",e.nickName,")"):null),h("div",null,"age ",e.age),e.data?h("pre",null,JSON.stringify(e.data,null,2)):null,null===(t=e.items)||void 0===t?void 0:t.map((function(t,e){return h("div",{key:"item".concat(e)},t)})))},e}return I(t,CustomElement),j(t,[{key:"init",value:function(){console.info("init")}},{key:"shouldUpdate",value:function(t,e,n){return"name"!==t||"string"!=typeof n||"adolf"!==n.toLocaleLowerCase()}},{key:"updated",value:function(t,e,n){console.info("PFoo",{name:t,old:e,newValue:n})}},{key:"attributeChangedCallback",value:function(e,n,r){var o,i,a,u,c;(o=t,i="attributeChangedCallback",a=this,c=w(M(1&(u=3)?o.prototype:o),i,a),2&u&&"function"==typeof c?function(t){return c.apply(a,t)}:c)([e,n,r]),"disabled"===e&&(this.disabledController.disabled=null!==r)}}])}(),m.style=".foo{color: red} .foo__disabled{opacity: 0.5;}",m.observedAttributes=["disabled"],m);R([Property({type:"string",attribute:"name",reflect:!0})],U.prototype,"name",void 0),R([Property({type:"number",attribute:"age",reflect:!0})],U.prototype,"age",void 0),R([Property({type:"object",attribute:"data",reflect:!0})],U.prototype,"data",void 0),R([Property({attribute:"items",type:"object",reflect:!0,converter:{fromAttribute:function(t){return t?t.split(",").map((function(t){return t.trim()})):null},toAttribute:function(t){return t.join?t.join(","):null}}})],U.prototype,"items",void 0),R([Property({type:"string",attribute:"nick-name",readonly:!0})],U.prototype,"nickName",void 0),U=R([CustomElementConfig({tagName:"p-foo"})],U);var Y=function(){function t(){var e;return C(this,t),(e=A(this,t)).onclick=function(t){t.preventDefault(),alert("super")},e}return I(t,g(HTMLAnchorElement)),j(t,[{key:"connectedCallback",value:function(){this.classList.add("super"),this.style.color="red"}}])}();window.customElements.define("super-a",Y,{extends:"a"});var q=r.J,z=r.P;export{q as MyButton,z as MyGreetings};
@@ -1 +1 @@
1
- /*! P-ELEMENTS 1.2.16 - Sun Dec 22 2024 22:29:30 GMT+0100 (Central European Standard Time) */var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function c(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function l(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function s(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function d(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function p(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(L,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=d(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function A(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?l(r):V.hsl(r)?s(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function O(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function j(t){var e=O(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function x(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return c(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=p(t[r],e);V.arr(o)&&(o=o.map((function(t){return p(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?W.apply(this,t):D[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=A(a,i),n.to=A(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function _(t){var e,r=a(F,t),n=a(R,t),o=j(t.targets),i=[],u=c(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:x(t[e],n)});return c(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function C(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return p.reversed?p.duration-t:t}function o(t){for(var r=0,n={},o=p.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,c=(l=a.tweens)[d=l.length-1];d&&(c=e(l,(function(e){return t<e.end}))[0]||c);for(var l=Math.min(Math.max(t-c.start-c.delay,0),c.duration)/c.duration,s=isNaN(l)?1:c.easing(l,c.elasticity),f=(l=c.to.strings,c.round),d=[],y=void 0,m=(y=c.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=c.to.numbers[m],c.from.numbers[m]);v=c.isPath?E(c.value,s*v):b+s*(v-b),f&&(c.isColor&&2<m||(v=Math.round(v*f)/f)),d.push(v)}if(c=l.length)for(y=l[0],s=0;s<c;s++)f=l[s+1],m=d[s],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=d[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)I||(I=h(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[o].target.style[I]=n[o].join(" ");p.currentTime=t,p.progress=t/p.duration*100}function i(t){p[t]&&p[t](p)}function a(){p.remaining&&!0!==p.remaining&&p.remaining--}function u(t){var e=p.duration,u=p.offset,h=u+p.delay,y=p.currentTime,m=p.reversed,v=n(t);if(p.children.length){var b=p.children,g=b.length;if(v>=p.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(p.began||(p.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(p.remaining?(l=c,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,i("complete"),"Promise"in window&&(f(),d=r()))),s=0)}t=void 0===t?{}:t;var c,l,s=0,f=null,d=r(),p=_(t);return p.reset=function(){var t=p.direction,e=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===t,p.remaining="alternate"===t&&1===e?2:e,o(0),t=p.children.length;t--;)p.children[t].reset()},p.tick=function(t){c=t,l||(l=c),u((s+c-l)*C.speed)},p.seek=function(t){u(n(t))},p.pause=function(){var t=q.indexOf(p);-1<t&&q.splice(t,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,l=0,s=n(p.currentTime),q.push(p),$||H())},p.reverse=function(){p.reversed=!p.reversed,l=0,s=n(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=d,p.reset(),p.autoplay&&p.play(),p}var I,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},R={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},L="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},W=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,c=1;10!==c&&i[c]<=a;++c)u+=.1;--c,c=u+(a-i[c])/(i[c+1]-i[c])*.1;var l=3*(1-3*n+3*e)*c*c+2*(3*n-6*e)*c+3*e;if(.001<=l){for(u=0;4>u&&0!=(l=3*(1-3*n+3*e)*c*c+2*(3*n-6*e)*c+3*e);++u){var s=t(c,e,n)-a;c-=s/l}a=c}else if(0===l)a=c;else{c=u,u+=.1;var f=0;do{0<(l=t(s=c+(u-c)/2,e,n)-a)?u=s:c=s}while(1e-7<Math.abs(l)&&10>++f);a=s}return t(a,r,o)}}}}(),D=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:W(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:W.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return C.version="2.2.0",C.speed=1,C.running=q,C.remove=function(t){t=O(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},C.getValue=v,C.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},C.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},C.bezier=W,C.easings=D,C.timeline=function(t){var e=C(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=c(r,a(R,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=C(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},C.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},C},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},131:(t,e,r)=>{function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Y8:()=>w,K9:()=>at,y0:()=>S,Wd:()=>St,zG:()=>re,mA:()=>A,dd:()=>O,XK:()=>E,Qf:()=>oe,_:()=>v,h:()=>ne});var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),c="",l=[];return u.forEach((function(t){l.push(t.key),c+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,l),t.replace(r,"".concat(c,"\n ").concat(r))}return t}));return e>0?r:null}function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,p()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},d(t)}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&l(r.prototype,n),o&&l(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(d(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},S=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},E=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},A=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,c=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var l=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute&&u._canReflect){if("boolean"===t.type)return e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),void l();if(!e)return u.removeAttribute(t.attribute),void l();if(u.getAttribute(t.attribute)===c)return void l();null!==c?u.setAttribute(t.attribute,c):u.removeAttribute(t.attribute)}l(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},O=A({});function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function x(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){P(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function P(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_(n.key),n)}}function _(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}function C(t,e){if(e&&("object"==j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function I(t){var e="function"==typeof Map?new Map:void 0;return I=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(F())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&R(o,r.prototype),o}(t,arguments,L(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),R(r,t)},I(t)}function F(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(F=function(){return!!t})()}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}function V(t,e,r){W(t,e),e.set(t,r)}function W(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(t,e,r){return r($(t,e))}function B(t,e,r){return t.set($(t,e),r),r}function q(t,e){return t.get($(t,e))}function $(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var H=[],U=new WeakMap,z=new WeakMap,K=new WeakMap,Y=new WeakMap,X=new WeakMap,Q=new WeakMap,G=new WeakMap,J=new WeakMap,Z=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakSet,it=new WeakMap,at=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=L(o=e),function(t,e){W(t,e),e.add(t)}(r=C(n,F()?Reflect.construct(o,i||[],L(n).constructor):o.apply(n,i)),ot),V(r,U,void 0),V(r,z,void 0),V(r,K,void 0),V(r,Y,void 0),V(r,X,void 0),V(r,Q,void 0),V(r,G,!1),V(r,J,void 0),V(r,Z,void 0),V(r,tt,void 0),V(r,et,[]),V(r,rt,!1),V(r,nt,!1),V(r,it,(function(){var t=r.constructor.__properties__;B(U,r,[]),t&&B(U,r,t.map((function(t){return N(N({},r["__property_".concat(t,"__")]),{},{name:t})})))})),$(ot,r,ct).call(r),$(ot,r,ut).call(r),C(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(e,t),r=e,n=[{key:"_canReflect",get:function(){return q(nt,this)}},{key:"properties",get:function(){return q(U,this)}},{key:"addController",value:function(t){q(et,this).push(t),q(rt,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return q(tt,this)},set:function(t){B(tt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(D(ot,this,st)){if(q(X,this)||B(X,this,new CSSStyleSheet),t=$(ot,this,ft).call(this),q(X,this).replaceSync(t),q(G,this))return;if(e instanceof Document){var r=$(ot,this,pt).call(this,t);-1===H.indexOf(r)&&(document.adoptedStyleSheets=[].concat(x(document.adoptedStyleSheets),[q(X,this)]),B(G,this,!0),H.push(r))}else this.shadowRoot.adoptedStyleSheets=[q(X,this)],B(G,this,!0)}else if(B(Q,this,document.createElement("link")),q(Q,this).rel="stylesheet",t=$(ot,this,ft).call(this),q(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=$(ot,this,pt).call(this,t);-1===H.indexOf(n)&&(document.head.appendChild(q(Q,this)),H.push(n))}else this.shadowRoot.appendChild(q(Q,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(B(J,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(Z,this)})),$(ot,this,dt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){$(ot,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=q(K,r)?q(K,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e.bind(r)),B(z,r,i),B(nt,r,!0),$(ot,r,lt).call(r),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){var t;null===(t=q(z,this))||void 0===t||t.renderNow()}},{key:"connectedCallback",value:function(){B(rt,this,!0),q(et,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){B(rt,this,!1),q(et,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=q(U,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&T(r.prototype,n),o&&T(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(I(HTMLElement));function ut(){"function"==typeof this.init&&(this.init(),q(et,this).forEach((function(t){null==t||t.init()})))}function ct(){var t=this;q(it,this).call(this);var e=this.constructor.projectorMode;B(K,this,e||"append");var r=this.constructor.formAssociated,n=this.constructor.delegatesFocus;B(Z,this,n),r&&B(tt,this,this.attachInternals());var o=this.constructor.style;if(o){B(J,this,!0),B(K,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(Z,this)}),$(ot,this,dt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){$(ot,t,ft).call(t)}))}}function lt(){var t=this;q(U,this).filter((function(t){return t.reflect})).forEach((function(e){"string"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name]):"number"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name].toString()):"boolean"===e.type&&!0===t[e.name]?!0!==t[e.name]||t.hasAttribute(e.attribute)||t.setAttribute(e.attribute,""):"boolean"===e.type&&!1===t[e.name]?t.hasAttribute(e.attribute)&&t.removeAttribute(e.attribute):"object"===e.type&&void 0!==t[e.name]&&null!==t[e.name]&&(e.converter?t.setAttribute(e.attribute,e.converter.toAttribute(t[e.name])):t.setAttribute(e.attribute,JSON.stringify(t[e.name])))}))}function st(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(q(Y,this));return q(Y,this)!==t&&(B(Y,this,t),D(ot,this,st)&&q(X,this)?q(X,this).replaceSync(t):D(ot,this,st)||(q(Q,this)&&URL.revokeObjectURL(q(Q,this).href),q(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function dt(t){B(Y,this,t),q(J,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):q(J,this)||this.addStylesheetToRootNode(t,document)}function pt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function mt(t){var e=function(t,e){if("object"!=ht(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ht(e)?e:e+""}function vt(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function bt(t,e){return t.get(gt(t,e))}function gt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var wt=new WeakMap,St=function(){return t=function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),vt(this,wt,void 0),n=this,o=e,(r=wt).set(gt(r,n),o),bt(wt,this).addController(this)},(e=[{key:"hostElement",get:function(){return bt(wt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&yt(t.prototype,e),r&&yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||Ot(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ot(t,e){if(t){if("string"==typeof t)return jt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var xt,Mt="http://www.w3.org/",kt="".concat(Mt,"2000/svg"),Nt="".concat(Mt,"1999/xlink"),Pt=[],Tt=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},_t=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Ct=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},It=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(_t(t[n],e))return n;return-1},Ft=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(_t(u,o))throw{error:new Error("".concat(r.vnodeSelector," had a ").concat(o.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:r,childNode:o}}}},Rt=function(t){if(t.properties){var e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},Lt=[],Vt=!1,Wt=function(t){(t.children||[]).forEach(Wt),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Dt=function(){Vt=!1,Lt.forEach(Wt),Lt.length=0},Bt=function(t){Lt.push(t),Vt||(Vt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Dt,{timeout:16}):setTimeout(Dt,16))},qt=function(t){var e=t.domNode;if(t.properties){var r=t.properties.exitAnimation;if(r){e.style.pointerEvents="none";return void r(e,(function(){e.parentNode&&(e.parentNode.removeChild(e),Bt(t))}),t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),Bt(t))},$t=function(t,e,r){if(e){var n,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Ot(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;Ut(i,t,void 0,r)}}catch(t){o.e(t)}finally{o.f()}}},Ht=function(t,e,r){$t(t,e.children,r),e.text&&(t.textContent=e.text),function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],c=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)zt(t,c,!0);else if("classes"===a)for(var l=Object.keys(c),s=l.length,f=0;f<s;f++){var d=l[f];c[d]&&t.classList.add(d)}else if("styles"===a)for(var p=Object.keys(c),h=p.length,y=0;y<h;y++){var m=p[y],v=c[m];v&&(Ct(v),r.styleApplyer(t,m,v))}else if("on"===a&&c)for(var b=0,g=Object.entries(e.on);b<g.length;b++){var w=At(g[b],2),S=w[0],E=w[1],A="function"==typeof E?E:E.listener;n&&(A=n(S,A,t,e)),A&&t.addEventListener(S,A,"function"==typeof E?void 0:E.options)}else if("key"!==a&&null!=c){var O=Et(c);"function"===O?(0===a.lastIndexOf("on",0)&&(n&&(c=n(a,c,t,e)),"oninput"===a&&(i=c,c=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=c):r.namespace===kt?"href"===a?t.setAttributeNS(Nt,a,c):t.setAttribute(a,c):"string"===O&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,c):t[a]=c}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},Ut=function(t,e,r,n){var o,i=0,a=t.vnodeSelector,u=e.ownerDocument;if(""===a)t.domNode?t.domNode.nodeValue=t.text:(o=t.domNode=u.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o));else{for(var c=0;c<=a.length;++c){var l=a.charAt(c);if(c===a.length||"."===l||"#"===l){var s=a.charAt(i-1),f=a.slice(i,c);if("."===s)o.classList.add(f);else if("#"===s)o.id=f;else{var d;if("svg"===f&&(n=Tt(n,{namespace:kt})),void 0!==n.namespace)o=t.domNode=u.createElementNS(n.namespace,f);else o=t.domNode=t.domNode||(null!==(d=t.properties)&&void 0!==d&&d.is?u.createElement(f,{is:t.properties.is}):u.createElement(f)),"input"===f&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type);void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o)}i=c+1}}Ht(o,t,n)}},zt=function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))},Kt=function(t,e,r,n,o){if(r===n)return!1;n=n||Pt;for(var i,a=(r=r||Pt).length,u=n.length,c=0,l=0,s=!1;l<u;){var f=c<a?r[c]:void 0,d=n[l];if(void 0!==f&&_t(f,d))s=xt(f,d,o)||s,c++;else{var p=It(r,d,c+1);if(p>=0){for(i=c;i<p;i++)qt(r[i]),Ft(r,i,t,"removed");s=xt(r[p],d,o)||s,c=p+1}else Ut(d,e,c<a?r[c].domNode:void 0,o),Rt(d),Ft(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)qt(r[i]),Ft(r,i,t,"removed");return s};xt=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}e.domNode=n}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Tt(r,{namespace:kt})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),e.domNode=n,i=Kt(e,n,t.children,e.children,r)||i,i=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var c=i[u],l=r[c],s=e[c];if("class"===c)s!==l&&(zt(t,s,!1),zt(t,l,!0));else if("classes"===c)for(var f=t.classList,d=Object.keys(l),p=d.length,h=0;h<p;h++){var y=d[h],m=!!l[y];m!==!!s[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===c)for(var v=Object.keys(l),b=v.length,g=0;g<b;g++){var w=v[g],S=l[w];S!==s[w]&&(o=!0,S?(Ct(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(l||"string"!=typeof s||(l=""),"value"===c){var E=t[c];E!==l&&(t["oninput-value"]?E===t["oninput-value"]:l!==s)&&(t[c]=l,t["oninput-value"]=void 0),l!==s&&(o=!0)}else if(l!==s){var A=Et(l);"function"===A&&n.eventHandlerInterceptor||(n.namespace===kt?"href"===c?t.setAttributeNS(Nt,c,l):t.setAttribute(c,l):"string"===A&&"innerHTML"!==c?"role"===c&&""===l?t.removeAttribute(c):t.setAttribute(c,l):t[c]!==l&&(t[c]=l),o=!0)}}return o}}(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),o};var Yt,Xt=function(t,e){return{getLastRender:function(){return t},update:function(r){if(t.vnodeSelector!==r.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)");var n=t;t=r,xt(n,r,e)},domNode:t.domNode}},Qt={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){"-"===e.charAt(0)?t.style.setProperty(e,r):t.style[e]=r}},Gt=function(t){return Tt(Qt,t)},Jt={create:function(t,e){return e=Gt(e),Ut(t,document.createElement("div"),void 0,e),Xt(t,e)},append:function(t,e,r){return r=Gt(r),Ut(e,t,void 0,r),Xt(e,r)},insertBefore:function(t,e,r){return r=Gt(r),Ut(e,t.parentNode,t,r),Xt(e,r)},merge:function(t,e,r){return r=Gt(r),e.domNode=t,Ht(t,e,r),Xt(e,r)},replace:function(t,e,r){return r=Gt(r),Ut(e,t.parentNode,t,r),t.parentNode.removeChild(t),Xt(e,r)}};Yt=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){return t.filter(e)[0]};var Zt=function(t,e,r){return function(t,e,r,o){return n};function n(n){r("domEvent",n);var o=e(),i=function(t,e){for(var r=[];t&&t!==e;)r.push(t),t=t.parentNode;return r}(n.currentTarget,o.domNode);i.reverse();var a,u,c,l=function(t,e){var r=t;return e.forEach((function(t){r=r&&r.children?Yt(r.children,(function(e){return e.domNode===t})):void 0})),r}(o.getLastRender(),i);(t.scheduleRender(),l)&&(a=(null!==(u=null!==(c=l.properties["on".concat(n.type)])&&void 0!==c?c:l.properties.on[n.type].listener)&&void 0!==u?u:l.properties.on[n.type]).apply(l.properties.bind||this,arguments));return r("domEventProcessed",n),a}},te=function(t,e){for(var r=0,n=t.length;r<n;r++){var o=t[r];Array.isArray(o)?te(o,e):null!=o&&!1!==o&&(o.hasOwnProperty("vnodeSelector")||(o={vnodeSelector:"",properties:void 0,children:void 0,text:o.toString(),domNode:null}),e.push(o))}},ee=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(1===n.length&&"string"==typeof n[0])return{vnodeSelector:t,properties:e||void 0,children:void 0,text:n[0],domNode:null};var i=[];return te(n,i),{vnodeSelector:t,properties:e||void 0,children:i,text:void 0,domNode:null}},re={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),c=0,l=0;l<i.length;l++){var s=i[l],f=a[l];if(f===n[c])o[l]=u[c],r(s,u[c],l),c++;else{for(var d=!1,p=1;p<n.length+1;p++){var h=(c+p)%n.length;if(n[h]===f){o[l]=u[h],r(i[l],u[h],l),c=h+1,d=!0;break}}d||(o[l]=e(s,l))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r,n=Gt(t),o=n.performanceLogger,i=!0,a=!1,u=[],c=[],l=function(t,r,i){var a;n.eventHandlerInterceptor=Zt(e,(function(){return a}),o),a=t(r,i(),n),u.push(a),c.push(i)},s=function(){if(r=void 0,i){i=!1,o("renderStart",void 0);for(var t=0;t<u.length;t++){var e=c[t]();o("rendered",void 0),u[t].update(e),o("patched",void 0)}o("renderDone",void 0),i=!0}};return e={renderNow:s,scheduleRender:function(){r||a||(r=requestAnimationFrame(s))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),a=!0},resume:function(){a=!1,i=!0,e.scheduleRender()},append:function(t,e){l(Jt.append,t,e)},insertBefore:function(t,e){l(Jt.insertBefore,t,e)},merge:function(t,e){l(Jt.merge,t,e)},replace:function(t,e){l(Jt.replace,t,e)},detach:function(t){for(var e=0;e<c.length;e++)if(c[e]===t)return c.splice(e,1),u.splice(e,1)[0];throw new Error("renderFunction was not found")}}},dom:Jt,h:ee};!function(t){t._=v,t.Maquette=re,t.h=ee,t.anime=b,t.CustomElement=at,t.CustomElementController=St,t.CustomElementConfig=S,t.PropertyRenderOnSet=O,t.RenderOnSet=O,t.Property=A,t.Query=E,t.Bind=w}(window);var ne=re.h,oe=O},484:()=>{const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:c,WeakMap:l}=self,s=t=>o in t,{filter:f}=[],d=t=>{const d=new l,p=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(d.has(e)||d.set(e,new c),n=d.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else d.has(e)&&(n=d.get(e),d.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)p(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,c,l)=>{for(const s of r)(l||n in s)&&(c?i.has(s)||(i.add(s),a.delete(s),t(s,c)):a.has(s)||(a.add(s),i.delete(s),t(s,c)),l||u(s[n](o),o,i,a,c,e))},c=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:c}of t)u(c,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:l}=c;return(c.observe=t=>l.call(c,t,{subtree:e,childList:e}))(o),c})(p,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)d.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,s),!1),h(f.call(t[e].addedNodes,s),!0)},observer:v,parse:h}},{customElements:p,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:A}=h,{define:O,get:j,upgrade:x}=p,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,_=new w,C=new g,I=new g,F=new g,R=new g,L=[],V=[],W=t=>R.get(t)||j.call(p,t),{parse:D}=d({query:V,handle:(e,r,n)=>{const o=F.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=d({query:L,handle(t,e){T.has(t)&&(e?_.add(t):_.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!I.has(t)){let e,r=new b((t=>{e=t}));I.set(t,{$:r,_:e})}return I.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);D(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!C.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=C.get(t);if(r){if(U)return H(U,r);const e=A.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=R.get(r);if(e&&C.get(e).tag===t)return new e}const n=A.call(h,t);return r&&n.setAttribute("is",r),n},p.get=W,p.whenDefined=$,p.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=R.get(e);if(r)return void H(P(t,r.prototype),e)}x.call(p,t)},p.define=function(t,e,r){if(W(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;C.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,F.set(n,e.prototype),R.set(t,e),V.push(n)):(O.apply(p,arguments),L.push(n=t)),$(t).then((()=>{o?(D(h.querySelectorAll(n)),_.forEach(z,[n])):B(h.querySelectorAll(n))})),I.get(t)._(e)}},650:()=>{!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,c=new WeakMap,l=new WeakMap,s=new WeakMap,f=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;_(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&O(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=L()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?O(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=l.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),s.has(t)){const e=s.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),s.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=c.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&j(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=p.get(t.target);o.has(e)&&R(e),r.disconnect()}))}))}!L()||new MutationObserver(S);const A={childList:!0,subtree:!0},O=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},j=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},x=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=c.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(C(t.target))},P=t=>{k(C(t.target))},T=t=>{const e=c.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},_=(t,e,r)=>{if(e){const n=c.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),c.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=c.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},C=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=C(e)),e},I=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},F=(t,e,r)=>{const n=c.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},R=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),_(t,n,e)}};function L(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const W=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},D=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");D.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=D.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=D.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):s.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),p.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(I(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return I(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=C(t)),r}get labels(){const t=e.get(this);I(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(I(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=d.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(I(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),j(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=x(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){x(r,this).value=t}l.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(I(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");d.set(this,o);const u=r.get(this),c={};for(const e in t)c[e]=t[e];var l;0===Object.keys(c).length&&((l=u).badInput=!1,l.customError=!1,l.patternMismatch=!1,l.rangeOverflow=!1,l.rangeUnderflow=!1,l.stepMismatch=!1,l.tooLong=!1,l.tooShort=!1,l.typeMismatch=!1,l.valid=!0,l.valueMissing=!1);const s=Object.assign(Object.assign({},u),c);delete s.valid;const{valid:f}=((t,e,r)=>(t.valid=W(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,s,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return I(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);I(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return I(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let K=!1,Y=!1;function X(t){Y||(Y=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&O(this,!0)),null!=t&&t.apply(this),R(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),L()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,A):t.observe(e,A),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(L()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,A)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return F(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return F(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(c.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Lr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>Ce,constant:()=>J,contains:()=>rr,countBy:()=>hr,create:()=>Lt,debounce:()=>Pe,default:()=>qr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>Ct,extendOwn:()=>It,filter:()=>Je,find:()=>Ue,findIndex:()=>We,findKey:()=>Le,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>L,isBoolean:()=>k,isDataView:()=>U,isDate:()=>C,isElement:()=>N,isEmpty:()=>ct,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>Ot,isMatch:()=>lt,isNaN:()=>G,isNull:()=>x,isNumber:()=>_,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>R,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Jt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>_e,noop:()=>Zt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Re,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Rr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>cr,select:()=>Je,shuffle:()=>lr,size:()=>br,some:()=>er,sortBy:()=>sr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Wt,template:()=>he,templateSettings:()=>ce,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>Cr,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Cr,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Lr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>Ce,constant:()=>J,contains:()=>rr,countBy:()=>hr,create:()=>Lt,debounce:()=>Pe,default:()=>Dr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>Ct,extendOwn:()=>It,filter:()=>Je,find:()=>Ue,findIndex:()=>We,findKey:()=>Le,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>L,isBoolean:()=>k,isDataView:()=>U,isDate:()=>C,isElement:()=>N,isEmpty:()=>ct,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>Ot,isMatch:()=>lt,isNaN:()=>G,isNull:()=>x,isNumber:()=>_,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>R,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Jt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>_e,noop:()=>Zt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Re,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Rr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>cr,select:()=>Je,shuffle:()=>lr,size:()=>br,some:()=>er,sortBy:()=>sr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Wt,template:()=>he,templateSettings:()=>ce,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>Cr,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Cr,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});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,c="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,s=a.slice,f=u.toString,d=u.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=p&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=Math.pow(2,53)-1;function O(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function j(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function x(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),_=P("Number"),C=P("Date"),I=P("RegExp"),F=P("Error"),R=P("Symbol"),L=P("ArrayBuffer");var V=P("Function"),W=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(V=function(t){return"function"==typeof t||!1});const D=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&D(t.getInt8)&&L(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&d.call(t,e)}var Y=P("Arguments");!function(){Y(arguments)||(Y=function(t){return K(t,"callee")})}();const X=Y;function Q(t){return!R(t)&&w(t)&&!isNaN(parseFloat(t))}function G(t){return _(t)&&g(t)}function J(t){return function(){return t}}function Z(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=A}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=Z(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=p?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:J(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=D(n)&&n.prototype||u,i="constructor";for(K(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!j(t))return[];if(m)return m(t);var e=[];for(var r in t)K(t,r)&&e.push(r);return S&&at(t,e),e}function ct(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function lt(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function st(t){return t instanceof st?t:this instanceof st?void(this._wrapped=t):new st(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}st.VERSION=o,st.prototype.value=function(){return this._wrapped},st.prototype.valueOf=st.prototype.toJSON=st.prototype.value,st.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function pt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof st&&(t=t._wrapped),e instanceof st&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=dt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return c.valueOf.call(t)===c.valueOf.call(e);case"[object ArrayBuffer]":case dt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(D(a)&&a instanceof a&&D(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var l=(r=r||[]).length;l--;)if(r[l]===t)return n[l]===e;if(r.push(t),n.push(e),i){if((l=t.length)!==e.length)return!1;for(;l--;)if(!pt(t[l],e[l],r,n))return!1}else{var s,d=ut(t);if(l=d.length,ut(e).length!==l)return!1;for(;l--;)if(!K(e,s=d[l])||!pt(t[s],e[s],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return pt(t,e)}function mt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!D(r[t[o]]))return!1;return t!==Et||!D(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),At=["add"].concat(gt,bt,"has");const Ot=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(At):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)D(t[r])&&e.push(r);return e.sort()}function _t(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,c=0;c<u;c++){var l=a[c];e&&void 0!==r[l]||(r[l]=i[l])}return r}}const Ct=_t(mt),It=_t(ut),Ft=_t(mt,!0);function Rt(t){if(!j(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Lt(t,e){var r=Rt(t);return e&&It(r,e),r}function Vt(t){return j(t)?z(t)?t.slice():Ct({},t):t}function Wt(t,e){return e(t),t}function Dt(t){return z(t)?t:[t]}function Bt(t){return st.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!K(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=It({},t),function(e){return lt(e,t)}}function Kt(t){return t=Bt(t),function(e){return qt(e,t)}}function Yt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:D(t)?Yt(t,e,r):j(t)&&!z(t)?zt(t):Kt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Gt(t,e,r){return st.iteratee!==Qt?st.iteratee(t,e):Xt(t,e,r)}function Jt(t,e,r){e=Gt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Zt(){}function te(t){return null==t?Zt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Yt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}st.toPath=Dt,st.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},ae=oe(ie),ue=oe(Pt(ie)),ce=st.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var le=/(.)^/,se={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+se[t]}var pe=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Ft({},e,st.templateSettings);var n=RegExp([(e.escape||le).source,(e.interpolate||le).source,(e.evaluate||le).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,de),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!pe.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(t){throw t.source=i,t}var c=function(t){return a.call(this,t,st)};return c.source="function("+u+"){\n"+i+"}",c}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return D(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=D(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=st(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Rt(t.prototype),a=t.apply(i,o);return j(a)?a:i}var we=O((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=st;const Se=we,Ee=O((function(t,e,r){if(!D(t))throw new TypeError("Bind must be called on a function");var n=O((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Ae=Z(it);function Oe(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Ae(u)&&(z(u)||X(u)))if(e>1)Oe(u,e-1,r,n),o=n.length;else for(var c=0,l=u.length;c<l;)n[o++]=u[c++];else r||(n[o++]=u)}return n}const je=O((function(t,e){var r=(e=Oe(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function xe(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return K(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=O((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,st,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var c=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},l=function(){var l=ne();u||!1!==r.leading||(u=l);var s=e-(l-u);return o=this,i=arguments,s<=0||s>e?(n&&(clearTimeout(n),n=null),u=l,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(c,s)),a};return l.cancel=function(){clearTimeout(n),u=0,n=o=i=null},l}function Pe(t,e,r){var n,o,i,a,u,c=function(){var l=ne()-o;e>l?n=setTimeout(c,e-l):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},l=O((function(l){return u=this,i=l,o=ne(),n||(n=setTimeout(c,e),r&&(a=t.apply(u,i))),a}));return l.cancel=function(){clearTimeout(n),n=i=u=null},l}function Te(t,e){return Se(e,t)}function _e(t){return function(){return!t.apply(this,arguments)}}function Ce(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Re=Se(Fe,2);function Le(t,e,r){e=Gt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Gt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const We=Ve(1),De=Ve(-1);function Be(t,e,r,n){for(var o=(r=Gt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(s.call(n,a,u),G))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,We,Be),He=qe(-1,De);function Ue(t,e,r){var n=(Ae(t)?We:Le)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ke(t,e,r){var n,o;if(e=Yt(e,r),Ae(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ye(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Ae(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var c=i?i[u]:u;n=r(n,e[c],c,e)}return n}(e,Yt(r,o,4),n,i)}}const Qe=Xe(1),Ge=Xe(-1);function Je(t,e,r){var n=[];return e=Gt(e,r),Ke(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Ze(t,e,r){return Je(t,_e(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Ae(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=O((function(t,e,r){var n,o;return D(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ye(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ye(t,Kt(e))}function ir(t,e){return Je(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,c=(t=Ae(t)?t:kt(t)).length;u<c;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,c=(t=Ae(t)?t:kt(t)).length;u<c;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function cr(t,e,r){if(null==e||r)return Ae(t)||(t=kt(t)),t[re(t.length-1)];var n=Ae(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),c=n[a];n[a]=n[u],n[u]=c}return n.slice(0,e)}function lr(t){return cr(t,1/0)}function sr(t,e,r){var n=0;return e=Gt(e,r),or(Ye(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Gt(n,o),Ke(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const dr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),pr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){K(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?s.call(t):T(t)?t.match(mr):Ae(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Ae(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=O((function(t,e){var r={},n=e[0];if(null==t)return r;D(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Oe(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=O((function(t,e){var r,n=e[0];return D(n)?(n=_e(n),e.length>1&&(r=e[1])):(e=Ye(Oe(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return s.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Ar(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Or(t,e,r){return s.call(t,null==e||r?1:e)}function jr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Or(t,Math.max(0,t.length-e))}function xr(t){return Je(t,Boolean)}function Mr(t,e){return Oe(t,e,!1)}const kr=O((function(t,e){return e=Oe(e,!0,!0),Je(t,(function(t){return!rr(e,t)}))})),Nr=O((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Gt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var c=t[a],l=r?r(c,a,t):c;e&&!r?(a&&i===l||o.push(c),i=l):r?rr(i,l)||(i.push(l),o.push(c)):rr(o,c)||o.push(c)}return o}const Tr=O((function(t){return Pr(Oe(t,!0,!0))}));function _r(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function Cr(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Ir=O(Cr);function Fr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Rr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Lr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(s.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?st(e).chain():e}function Wr(t){return Ke(Tt(t),(function(e){var r=st[e]=t[e];st.prototype[e]=function(){var t=[this._wrapped];return l.apply(t,arguments),Vr(this,r.apply(st,t))}})),st}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];st.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ke(["concat","join","slice"],(function(t){var e=a[t];st.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Dr=st;var Br=Wr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);var n=r(131),o=n.Y8,i=n.K9,a=n.y0,u=n.Wd,c=n.zG,l=n.mA,s=n.dd,f=n.XK,d=n.Qf,p=n._,h=n.h;export{o as Bind,i as CustomElement,a as CustomElementConfig,u as CustomElementController,c as Maquette,l as Property,s as PropertyRenderOnSet,f as Query,d as RenderOnSet,p as _,h};
1
+ /*! P-ELEMENTS 1.2.17 - Mon Dec 30 2024 08:35:24 GMT+0100 (Central European Standard Time) */var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function d(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function p(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=d(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function A(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function O(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function j(t){var e=O(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function x(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=p(t[r],e);V.arr(o)&&(o=o.map((function(t){return p(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?W.apply(this,t):D[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=A(a,i),n.to=A(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function _(t){var e,r=a(L,t),n=a(F,t),o=j(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:x(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function C(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return p.reversed?p.duration-t:t}function o(t){for(var r=0,n={},o=p.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[d=c.length-1];d&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),d=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),d.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=d[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=d[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)I||(I=h(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[o].target.style[I]=n[o].join(" ");p.currentTime=t,p.progress=t/p.duration*100}function i(t){p[t]&&p[t](p)}function a(){p.remaining&&!0!==p.remaining&&p.remaining--}function u(t){var e=p.duration,u=p.offset,h=u+p.delay,y=p.currentTime,m=p.reversed,v=n(t);if(p.children.length){var b=p.children,g=b.length;if(v>=p.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(p.began||(p.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(p.remaining?(c=s,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,i("complete"),"Promise"in window&&(f(),d=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,d=r(),p=_(t);return p.reset=function(){var t=p.direction,e=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===t,p.remaining="alternate"===t&&1===e?2:e,o(0),t=p.children.length;t--;)p.children[t].reset()},p.tick=function(t){s=t,c||(c=s),u((l+s-c)*C.speed)},p.seek=function(t){u(n(t))},p.pause=function(){var t=q.indexOf(p);-1<t&&q.splice(t,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,c=0,l=n(p.currentTime),q.push(p),$||H())},p.reverse=function(){p.reversed=!p.reversed,c=0,l=n(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=d,p.reset(),p.autoplay&&p.play(),p}var I,L={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},F={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(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},W=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),D=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:W(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:W.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return C.version="2.2.0",C.speed=1,C.running=q,C.remove=function(t){t=O(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},C.getValue=v,C.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},C.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},C.bezier=W,C.easings=D,C.timeline=function(t){var e=C(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(F,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=C(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},C.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},C},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},131:(t,e,r)=>{function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Y8:()=>w,K9:()=>at,y0:()=>S,Wd:()=>St,zG:()=>ne,mA:()=>A,dd:()=>O,XK:()=>E,Qf:()=>ie,_:()=>v,h:()=>oe});var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,p()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},d(t)}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(d(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},S=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},E=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},A=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute&&u._canReflect){if("boolean"===t.type)return e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),void c();if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},O=A({});function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function x(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){P(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function P(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_(n.key),n)}}function _(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}function C(t,e){if(e&&("object"==j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function I(t){var e="function"==typeof Map?new Map:void 0;return I=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(L())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&F(o,r.prototype),o}(t,arguments,R(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),F(r,t)},I(t)}function L(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(L=function(){return!!t})()}function F(t,e){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F(t,e)}function R(t){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},R(t)}function V(t,e,r){W(t,e),e.set(t,r)}function W(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(t,e,r){return r($(t,e))}function B(t,e,r){return t.set($(t,e),r),r}function q(t,e){return t.get($(t,e))}function $(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var H=[],U=new WeakMap,z=new WeakMap,K=new WeakMap,Y=new WeakMap,X=new WeakMap,Q=new WeakMap,G=new WeakMap,J=new WeakMap,Z=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakSet,it=new WeakMap,at=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=R(o=e),function(t,e){W(t,e),e.add(t)}(r=C(n,L()?Reflect.construct(o,i||[],R(n).constructor):o.apply(n,i)),ot),V(r,U,void 0),V(r,z,void 0),V(r,K,void 0),V(r,Y,void 0),V(r,X,void 0),V(r,Q,void 0),V(r,G,!1),V(r,J,void 0),V(r,Z,void 0),V(r,tt,void 0),V(r,et,[]),V(r,rt,!1),V(r,nt,!1),V(r,it,(function(){var t=r.constructor.__properties__;B(U,r,[]),t&&B(U,r,t.map((function(t){return N(N({},r["__property_".concat(t,"__")]),{},{name:t})})))})),$(ot,r,st).call(r),$(ot,r,ut).call(r),C(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(e,t),r=e,n=[{key:"_canReflect",get:function(){return q(nt,this)}},{key:"properties",get:function(){return q(U,this)}},{key:"addController",value:function(t){q(et,this).push(t),q(rt,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return q(tt,this)},set:function(t){B(tt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(D(ot,this,lt)){if(q(X,this)||B(X,this,new CSSStyleSheet),t=$(ot,this,ft).call(this),q(X,this).replaceSync(t),q(G,this))return;if(e instanceof Document){var r=$(ot,this,pt).call(this,t);-1===H.indexOf(r)&&(document.adoptedStyleSheets=[].concat(x(document.adoptedStyleSheets),[q(X,this)]),B(G,this,!0),H.push(r))}else this.shadowRoot.adoptedStyleSheets=[q(X,this)],B(G,this,!0)}else if(B(Q,this,document.createElement("link")),q(Q,this).rel="stylesheet",t=$(ot,this,ft).call(this),q(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=$(ot,this,pt).call(this,t);-1===H.indexOf(n)&&(document.head.appendChild(q(Q,this)),H.push(n))}else this.shadowRoot.appendChild(q(Q,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(B(J,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(Z,this)})),$(ot,this,dt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){$(ot,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=q(K,r)?q(K,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e.bind(r)),B(z,r,i),B(nt,r,!0),$(ot,r,ct).call(r),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){var t;null===(t=q(z,this))||void 0===t||t.renderNow()}},{key:"connectedCallback",value:function(){B(rt,this,!0),q(et,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){B(rt,this,!1),q(et,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=q(U,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&T(r.prototype,n),o&&T(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(I(HTMLElement));function ut(){"function"==typeof this.init&&(this.init(),q(et,this).forEach((function(t){null==t||t.init()})))}function st(){var t=this;q(it,this).call(this);var e=this.constructor.projectorMode;B(K,this,e||"append");var r=this.constructor.formAssociated,n=this.constructor.delegatesFocus;B(Z,this,n),r&&B(tt,this,this.attachInternals());var o=this.constructor.style;if(o){B(J,this,!0),B(K,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(Z,this)}),$(ot,this,dt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){$(ot,t,ft).call(t)}))}}function ct(){var t=this;q(U,this).filter((function(t){return t.reflect})).forEach((function(e){"string"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name]):"number"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name].toString()):"boolean"===e.type&&!0===t[e.name]?!0!==t[e.name]||t.hasAttribute(e.attribute)||t.setAttribute(e.attribute,""):"boolean"===e.type&&!1===t[e.name]?t.hasAttribute(e.attribute)&&t.removeAttribute(e.attribute):"object"===e.type&&void 0!==t[e.name]&&null!==t[e.name]&&(e.converter?t.setAttribute(e.attribute,e.converter.toAttribute(t[e.name])):t.setAttribute(e.attribute,JSON.stringify(t[e.name])))}))}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(q(Y,this));return q(Y,this)!==t&&(B(Y,this,t),D(ot,this,lt)&&q(X,this)?q(X,this).replaceSync(t):D(ot,this,lt)||(q(Q,this)&&URL.revokeObjectURL(q(Q,this).href),q(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function dt(t){B(Y,this,t),q(J,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):q(J,this)||this.addStylesheetToRootNode(t,document)}function pt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function mt(t){var e=function(t,e){if("object"!=ht(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ht(e)?e:e+""}function vt(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function bt(t,e){return t.get(gt(t,e))}function gt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var wt=new WeakMap,St=function(){return t=function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),vt(this,wt,void 0),n=this,o=e,(r=wt).set(gt(r,n),o),bt(wt,this).addController(this)},(e=[{key:"hostElement",get:function(){return bt(wt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&yt(t.prototype,e),r&&yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||Ot(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ot(t,e){if(t){if("string"==typeof t)return jt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var xt,Mt="http://www.w3.org/",kt="".concat(Mt,"2000/svg"),Nt="".concat(Mt,"1999/xlink"),Pt=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","readonly","required","reversed","selected","scoped","seamless","typemustmatch"],Tt=[],_t=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},Ct=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},It=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},Lt=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Ct(t[n],e))return n;return-1},Ft=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(Ct(u,o))throw{error:new Error("".concat(r.vnodeSelector," had a ").concat(o.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:r,childNode:o}}}},Rt=function(t){if(t.properties){var e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},Vt=[],Wt=!1,Dt=function(t){(t.children||[]).forEach(Dt),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Bt=function(){Wt=!1,Vt.forEach(Dt),Vt.length=0},qt=function(t){Vt.push(t),Wt||(Wt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Bt,{timeout:16}):setTimeout(Bt,16))},$t=function(t){var e=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){e.removeEventListener(t[0],t[1])}));var r=t.properties.exitAnimation;if(r){e.style.pointerEvents="none";return void r(e,(function(){e.parentNode&&(e.parentNode.removeChild(e),qt(t))}),t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),qt(t))},Ht=function(t,e,r){if(e){var n,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Ot(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;zt(i,t,void 0,r)}}catch(t){o.e(t)}finally{o.f()}}},Ut=function(t,e,r){if(Ht(t,e.children,r),e.text&&(t.textContent=e.text),function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)Kt(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var d=c[f];s[d]&&t.classList.add(d)}else if("styles"===a)for(var p=Object.keys(s),h=p.length,y=0;y<h;y++){var m=p[y],v=s[m];v&&(It(v),r.styleApplyer(t,m,v))}else if("on"===a&&s)for(var b=0,g=Object.entries(e.on);b<g.length;b++){var w=At(g[b],2),S=w[0],E=w[1],A="function"==typeof E?E:E.listener;n&&(A=n(S,A,t,e)),A&&t.addEventListener(S,A,"function"==typeof E?void 0:E.options)}else if("key"!==a&&null!=s){var O=Et(s);"function"===O?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===kt?"href"===a?t.setAttributeNS(Nt,a,s):t.setAttribute(a,s):"string"===O&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate)e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children]);else if(e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}},zt=function(t,e,r,n){var o,i=0,a=t.vnodeSelector,u=e.ownerDocument;if(""===a)t.domNode?t.domNode.nodeValue=t.text:(o=t.domNode=u.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o));else{for(var s=0;s<=a.length;++s){var c=a.charAt(s);if(s===a.length||"."===c||"#"===c){var l=a.charAt(i-1),f=a.slice(i,s);if("."===l)o.classList.add(f);else if("#"===l)o.id=f;else{var d;if("svg"===f&&(n=_t(n,{namespace:kt})),void 0!==n.namespace)o=t.domNode=u.createElementNS(n.namespace,f);else o=t.domNode=t.domNode||(null!==(d=t.properties)&&void 0!==d&&d.is?u.createElement(f,{is:t.properties.is}):u.createElement(f)),"input"===f&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type);void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o)}i=s+1}}Ut(o,t,n)}},Kt=function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))},Yt=function(t,e,r,n,o){if(r===n)return!1;n=n||Tt;for(var i,a=(r=r||Tt).length,u=n.length,s=0,c=0,l=!1;c<u;){var f=s<a?r[s]:void 0,d=n[c];if(void 0!==f&&Ct(f,d))l=xt(f,d,o)||l,s++;else{var p=Lt(r,d,s+1);if(p>=0){for(i=s;i<p;i++)$t(r[i]),Ft(r,i,t,"removed");l=xt(r[p],d,o)||l,s=p+1}else zt(d,e,s<a?r[s].domNode:void 0,o),Rt(d),Ft(n,c,t,"added")}c++}if(a>s)for(i=s;i<a;i++)$t(r[i]),Ft(r,i,t,"removed");return l};xt=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}e.domNode=n}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=_t(r,{namespace:kt})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),e.domNode=n,i=Yt(e,n,t.children,e.children,r)||i,i=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s)l!==c&&(Kt(t,l,!1),Kt(t,c,!0));else if("classes"===s)for(var f=t.classList,d=Object.keys(c),p=d.length,h=0;h<p;h++){var y=d[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(It(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||Pt.indexOf(s)<0&&(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(Pt.indexOf(s)>=0)"string"==typeof c||!0===c?(t.setAttribute(s,""),t[s]=!0):(t.removeAttribute(s),t[s]=!1),o=!0;else if(c!==l){var A=Et(c);"function"===A&&n.eventHandlerInterceptor||(n.namespace===kt?"href"===s?t.setAttributeNS(Nt,s,c):t.setAttribute(s,c):"string"===A&&"innerHTML"!==s?"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0)}}return o}}(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),o};var Xt,Qt=function(t,e){return{getLastRender:function(){return t},update:function(r){if(t.vnodeSelector!==r.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)");var n=t;t=r,xt(n,r,e)},domNode:t.domNode}},Gt={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){"-"===e.charAt(0)?t.style.setProperty(e,r):t.style[e]=r}},Jt=function(t){return _t(Gt,t)},Zt={create:function(t,e){return e=Jt(e),zt(t,document.createElement("div"),void 0,e),Qt(t,e)},append:function(t,e,r){return r=Jt(r),zt(e,t,void 0,r),Qt(e,r)},insertBefore:function(t,e,r){return r=Jt(r),zt(e,t.parentNode,t,r),Qt(e,r)},merge:function(t,e,r){return r=Jt(r),e.domNode=t,Ut(t,e,r),Qt(e,r)},replace:function(t,e,r){return r=Jt(r),zt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Qt(e,r)}};Xt=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){return t.filter(e)[0]};var te=function(t,e,r){return function(t,e,r,o){return n};function n(n){r("domEvent",n);var o=e(),i=function(t,e){for(var r=[];t&&t!==e;)r.push(t),t=t.parentNode;return r}(n.currentTarget,o.domNode);i.reverse();var a,u,s,c=function(t,e){var r=t;return e.forEach((function(t){r=r&&r.children?Xt(r.children,(function(e){return e.domNode===t})):void 0})),r}(o.getLastRender(),i);(t.scheduleRender(),c)&&(a=(null!==(u=null!==(s=c.properties["on".concat(n.type)])&&void 0!==s?s:c.properties.on[n.type].listener)&&void 0!==u?u:c.properties.on[n.type]).apply(c.properties.bind||this,arguments));return r("domEventProcessed",n),a}},ee=function(t,e){for(var r=0,n=t.length;r<n;r++){var o=t[r];Array.isArray(o)?ee(o,e):null!=o&&!1!==o&&(o.hasOwnProperty("vnodeSelector")||(o={vnodeSelector:"",properties:void 0,children:void 0,text:o.toString(),domNode:null}),e.push(o))}},re=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(1===n.length&&"string"==typeof n[0])return{vnodeSelector:t,properties:e||void 0,children:void 0,text:n[0],domNode:null};var i=[];return ee(n,i),{vnodeSelector:t,properties:e||void 0,children:i,text:void 0,domNode:null}},ne={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var d=!1,p=1;p<n.length+1;p++){var h=(s+p)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,d=!0;break}}d||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r,n=Jt(t),o=n.performanceLogger,i=!0,a=!1,u=[],s=[],c=function(t,r,i){var a;n.eventHandlerInterceptor=te(e,(function(){return a}),o),a=t(r,i(),n),u.push(a),s.push(i)},l=function(){if(r=void 0,i){i=!1,o("renderStart",void 0);for(var t=0;t<u.length;t++){var e=s[t]();o("rendered",void 0),u[t].update(e),o("patched",void 0)}o("renderDone",void 0),i=!0}};return e={renderNow:l,scheduleRender:function(){r||a||(r=requestAnimationFrame(l))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),a=!0},resume:function(){a=!1,i=!0,e.scheduleRender()},append:function(t,e){c(Zt.append,t,e)},insertBefore:function(t,e){c(Zt.insertBefore,t,e)},merge:function(t,e){c(Zt.merge,t,e)},replace:function(t,e){c(Zt.replace,t,e)},detach:function(t){for(var e=0;e<s.length;e++)if(s[e]===t)return s.splice(e,1),u.splice(e,1)[0];throw new Error("renderFunction was not found")}}},dom:Zt,h:re};!function(t){t._=v,t.Maquette=ne,t.h=re,t.anime=b,t.CustomElement=at,t.CustomElementController=St,t.CustomElementConfig=S,t.PropertyRenderOnSet=O,t.RenderOnSet=O,t.Property=A,t.Query=E,t.Bind=w}(window);var oe=ne.h,ie=O},484:()=>{const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],d=t=>{const d=new c,p=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(d.has(e)||d.set(e,new s),n=d.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else d.has(e)&&(n=d.get(e),d.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)p(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(p,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)d.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:p,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:A}=h,{define:O,get:j,upgrade:x}=p,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,_=new w,C=new g,I=new g,L=new g,F=new g,R=[],V=[],W=t=>F.get(t)||j.call(p,t),{parse:D}=d({query:V,handle:(e,r,n)=>{const o=L.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=d({query:R,handle(t,e){T.has(t)&&(e?_.add(t):_.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!I.has(t)){let e,r=new b((t=>{e=t}));I.set(t,{$:r,_:e})}return I.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);D(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!C.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=C.get(t);if(r){if(U)return H(U,r);const e=A.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=F.get(r);if(e&&C.get(e).tag===t)return new e}const n=A.call(h,t);return r&&n.setAttribute("is",r),n},p.get=W,p.whenDefined=$,p.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=F.get(e);if(r)return void H(P(t,r.prototype),e)}x.call(p,t)},p.define=function(t,e,r){if(W(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;C.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,L.set(n,e.prototype),F.set(t,e),V.push(n)):(O.apply(p,arguments),R.push(n=t)),$(t).then((()=>{o?(D(h.querySelectorAll(n)),_.forEach(z,[n])):B(h.querySelectorAll(n))})),I.get(t)._(e)}},650:()=>{!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;_(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&O(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?O(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&j(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=p.get(t.target);o.has(e)&&F(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const A={childList:!0,subtree:!0},O=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},j=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},x=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(C(t.target))},P=t=>{k(C(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},_=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},C=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=C(e)),e},I=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},L=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},F=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),_(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const W=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},D=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");D.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=D.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=D.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),p.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(I(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return I(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=C(t)),r}get labels(){const t=e.get(this);I(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(I(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=d.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(I(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),j(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=x(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){x(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(I(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");d.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=W(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return I(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);I(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return I(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let K=!1,Y=!1;function X(t){Y||(Y=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&O(this,!0)),null!=t&&t.apply(this),F(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,A):t.observe(e,A),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,A)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return L(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return L(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Le,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>Ce,constant:()=>J,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>Ct,extendOwn:()=>It,filter:()=>Je,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>C,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>D,isMap:()=>Ot,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>_,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Jt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>_e,noop:()=>Zt,now:()=>ne,object:()=>Lr,omit:()=>Sr,once:()=>Fe,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Fr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>sr,select:()=>Je,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>Cr,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Cr,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Le,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>Ce,constant:()=>J,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Dr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>Ct,extendOwn:()=>It,filter:()=>Je,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>C,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>D,isMap:()=>Ot,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>_,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Jt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>_e,noop:()=>Zt,now:()=>ne,object:()=>Lr,omit:()=>Sr,once:()=>Fe,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Fr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>sr,select:()=>Je,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>Cr,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Cr,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});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,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,d=u.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=p&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=Math.pow(2,53)-1;function O(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function j(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function x(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),_=P("Number"),C=P("Date"),I=P("RegExp"),L=P("Error"),F=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),W=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(V=function(t){return"function"==typeof t||!1});const D=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&D(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&d.call(t,e)}var Y=P("Arguments");!function(){Y(arguments)||(Y=function(t){return K(t,"callee")})}();const X=Y;function Q(t){return!F(t)&&w(t)&&!isNaN(parseFloat(t))}function G(t){return _(t)&&g(t)}function J(t){return function(){return t}}function Z(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=A}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=Z(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=p?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:J(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=D(n)&&n.prototype||u,i="constructor";for(K(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!j(t))return[];if(m)return m(t);var e=[];for(var r in t)K(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function pt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=dt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case dt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(D(a)&&a instanceof a&&D(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!pt(t[c],e[c],r,n))return!1}else{var l,d=ut(t);if(c=d.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=d[c])||!pt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return pt(t,e)}function mt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!D(r[t[o]]))return!1;return t!==Et||!D(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),At=["add"].concat(gt,bt,"has");const Ot=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(At):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)D(t[r])&&e.push(r);return e.sort()}function _t(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const Ct=_t(mt),It=_t(ut),Lt=_t(mt,!0);function Ft(t){if(!j(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Ft(t);return e&&It(r,e),r}function Vt(t){return j(t)?z(t)?t.slice():Ct({},t):t}function Wt(t,e){return e(t),t}function Dt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!K(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=It({},t),function(e){return ct(e,t)}}function Kt(t){return t=Bt(t),function(e){return qt(e,t)}}function Yt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:D(t)?Yt(t,e,r):j(t)&&!z(t)?zt(t):Kt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Gt(t,e,r){return lt.iteratee!==Qt?lt.iteratee(t,e):Xt(t,e,r)}function Jt(t,e,r){e=Gt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Zt(){}function te(t){return null==t?Zt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Yt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Dt,lt.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+le[t]}var pe=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Lt({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,de),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!pe.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(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return D(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=D(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Ft(t.prototype),a=t.apply(i,o);return j(a)?a:i}var we=O((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=O((function(t,e,r){if(!D(t))throw new TypeError("Bind must be called on a function");var n=O((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Ae=Z(it);function Oe(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Ae(u)&&(z(u)||X(u)))if(e>1)Oe(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const je=O((function(t,e){var r=(e=Oe(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function xe(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return K(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=O((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=O((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function _e(t){return function(){return!t.apply(this,arguments)}}function Ce(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Le(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Fe=Se(Le,2);function Re(t,e,r){e=Gt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Gt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const We=Ve(1),De=Ve(-1);function Be(t,e,r,n){for(var o=(r=Gt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),G))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,We,Be),He=qe(-1,De);function Ue(t,e,r){var n=(Ae(t)?We:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ke(t,e,r){var n,o;if(e=Yt(e,r),Ae(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ye(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Ae(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Yt(r,o,4),n,i)}}const Qe=Xe(1),Ge=Xe(-1);function Je(t,e,r){var n=[];return e=Gt(e,r),Ke(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Ze(t,e,r){return Je(t,_e(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Gt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Ae(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=O((function(t,e,r){var n,o;return D(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ye(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ye(t,Kt(e))}function ir(t,e){return Je(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Ae(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Ae(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Ae(t)||(t=kt(t)),t[re(t.length-1)];var n=Ae(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Gt(e,r),or(Ye(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Gt(n,o),Ke(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const dr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),pr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){K(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Ae(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Ae(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=O((function(t,e){var r={},n=e[0];if(null==t)return r;D(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Oe(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=O((function(t,e){var r,n=e[0];return D(n)?(n=_e(n),e.length>1&&(r=e[1])):(e=Ye(Oe(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Ar(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Or(t,e,r){return l.call(t,null==e||r?1:e)}function jr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Or(t,Math.max(0,t.length-e))}function xr(t){return Je(t,Boolean)}function Mr(t,e){return Oe(t,e,!1)}const kr=O((function(t,e){return e=Oe(e,!0,!0),Je(t,(function(t){return!rr(e,t)}))})),Nr=O((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Gt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=O((function(t){return Pr(Oe(t,!0,!0))}));function _r(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function Cr(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Ir=O(Cr);function Lr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Fr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Wr(t){return Ke(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ke(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Dr=lt;var Br=Wr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);var n=r(131),o=n.Y8,i=n.K9,a=n.y0,u=n.Wd,s=n.zG,c=n.mA,l=n.dd,f=n.XK,d=n.Qf,p=n._,h=n.h;export{o as Bind,i as CustomElement,a as CustomElementConfig,u as CustomElementController,s as Maquette,c as Property,l as PropertyRenderOnSet,f as Query,d as RenderOnSet,p as _,h};