p-elements-core 1.2.6-rc.0 → 1.2.6-rc.2
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 +1 -1
- package/dist/p-elements-core-modern.js +1 -1
- package/dist/p-elements-core.js +1 -1
- package/index.html +7 -12
- package/older-browsers-webpack.config.js +1 -0
- package/p-elements-core.d.ts +11 -1
- package/package.json +1 -1
- package/readme.md +198 -66
- package/src/custom-element-controller.ts +23 -0
- package/src/custom-element.ts +29 -11
- package/src/decorators/custom-element-config.ts +17 -11
- package/src/decorators/property.ts +11 -12
- package/src/index-esm.ts +60 -0
- package/src/index.ts +0 -14
- package/src/sample.tsx +58 -7
- package/webpack.config.js +2 -1
package/demo/sample.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.6-
|
|
1
|
+
/*! P-ELEMENTS 1.2.6-rc.2 - Tue Jun 25 2024 21:02:37 GMT+0200 (Central European Summer Time) */({253:function(){var e,t;function n(e){var t="function"==typeof Map?new Map:void 0;return n=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(p())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var r=new(e.bind.apply(e,o));return n&&m(r,n.prototype),r}(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,e)},n(e)}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=d(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}},o.apply(null,arguments)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function i(e,t,n){return e.set(a(e,t),n),n}function a(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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=v(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}function f(e,t,n){return t=d(t),function(e,t){if(t&&("object"==v(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,p()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function y(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function v(e){return v="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},v(e)}var b=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":v(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(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},g=(e=function(e){function t(){var e;return l(this,t),(e=f(this,t,arguments)).count=1,e.name="",e.foo="foo",e.onInput=function(t){e.name=t.target.value},e.onPeterClick=function(t){console.log({e:t,p:e})},e.render=function(){return h("div",null,h("h1",{eventListeners:[["click",function(t){return console.log(t,e.slotContainer)}]],id:"Foo"},"Hallo:"),h("h1",{"data-title":e.name&&e.name.toLocaleUpperCase(),class:"title"},e.foo," ",e.name),h("p",{"data-count":e.count,updateAnimation:e.countUpdateAnimation},e.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:e.name,oninput:e.onInput})),h("p",null,h("a",{is:"super-a"},"Super a")),e.name&&e.name.toLowerCase&&e.name.toLowerCase().indexOf("peter")>-1?h("div",{key:"peter",afterRemoved:e.peterRemoved,afterCreate:e.peterCreate,class:"is-peter",eventListeners:[["click",e.onPeterClick]],enterAnimation:e.enterAnimation,exitAnimation:e.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"})):"")},e.onFooEvent=function(t){e.foo=t.detail.foo},e}return y(t,CustomElement),c(t,[{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"]}}])}(),e.isFormAssociated=!0,e);b([PropertyRenderOnSet],g.prototype,"name",void 0),b([PropertyRenderOnSet],g.prototype,"foo",void 0),b([Query("#SlotContainer")],g.prototype,"slotContainer",void 0),g=b([CustomElementConfig({tagName:"my-greetings"})],g);var w=new WeakMap,k=new WeakSet,C=function(e){function t(){var e,n,o;return l(this,t),e=f(this,t,arguments),r(n=e,o=k),o.add(n),function(e,t,n){r(e,t),t.set(e,n)}(e,w,void 0),i(w,e,!1),e.disabled=!1,e}return y(t,CustomElementController),c(t,[{key:"connected",value:function(){console.log("connected"),i(w,this,!0),a(k,this,P).call(this)}},{key:"disconnected",value:function(){console.info("disconnected"),i(w,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),a(k,this,P).call(this)}}])}();function P(){var e,t;(t=this,(e=w).get(a(e,t)))&&(!0===this.disabled?this.hostElement.setAttribute("disabled","!!"):this.hostElement.removeAttribute("disabled"))}b([Property({type:"boolean"})],C.prototype,"disabled",void 0);var O=(t=function(e){function t(){var e;return l(this,t),(e=f(this,t,arguments)).disabledController=new C(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(e,t){return h("div",{key:"item".concat(t)},e)})))},e}return y(t,CustomElement),c(t,[{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(e,n,r){o(d(t.prototype),"attributeChangedCallback",this).call(this,e,n,r),"disabled"===e&&(this.disabledController.disabled=null!==r)}}])}(),t.style=".foo{color: red} .foo__disabled{opacity: 0.5;}",t.observedAttributes=["disabled"],t);b([Property({type:"string",attribute:"name",reflect:!0})],O.prototype,"name",void 0),b([Property({type:"number",attribute:"age",reflect:!0})],O.prototype,"age",void 0),b([Property({type:"object",attribute:"data",reflect:!0})],O.prototype,"data",void 0),b([Property({attribute:"items",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}}})],O.prototype,"items",void 0),b([Property({type:"string",attribute:"nick-name",readonly:!0})],O.prototype,"nickName",void 0),O=b([CustomElementConfig({tagName:"p-foo"})],O);var j=function(e){function t(){var e;return l(this,t),(e=f(this,t)).onclick=function(e){e.preventDefault(),alert("super")},e}return y(t,e),c(t,[{key:"connectedCallback",value:function(){this.classList.add("super"),this.style.color="red"}}])}(n(HTMLAnchorElement));window.customElements.define("super-a",j,{extends:"a"})}})[253]();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.6-rc1 - Mon Jun 24 2024 06:41:46 GMT+0200 (Central European Summer 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 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 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=p(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 O(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 A(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function x(t){var e=A(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function j(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=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(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)?D.apply(this,t):W[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=O(a,i),n.to=O(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=x(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:j(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 I(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(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),p=[],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)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[0];q[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++)C||(C=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[C]=n[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,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(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>=h||!e)&&(d.began||(d.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&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),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){s=t,c||(c=s),u((l+s-c)*I.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=B.indexOf(d);-1<t&&B.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),B.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var C,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)}},D=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)}}}}(),W=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:D(.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:D.apply(u,e)}}(i)),i={type:i.type};return o}(),q={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+")")}},B=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=B.length;if(r){for(var n=0;n<r;)B[n]&&B[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return I.version="2.2.0",I.speed=1,I.running=B,I.remove=function(t){t=A(t);for(var e=B.length;e--;)for(var r=B[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},I.getValue=v,I.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)}}},I.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},I.bezier=D,I.easings=W,I.timeline=function(t){var e=I(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=I(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},I.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},I},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},504:(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:()=>_t,K9:()=>Xt,y0:()=>It,zG:()=>Ie,mA:()=>Ft,dd:()=>Ct,XK:()=>Lt,Qf:()=>Ce,_:()=>v,h:()=>_e});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,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=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(d())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)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=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}(p(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);const{keys:g}=Object,w=!0,S=!1,E="querySelectorAll",O="querySelectorAll",{document:A,Element:x,MutationObserver:j,Set:M,WeakMap:k}=self,N=t=>O in t,{filter:P}=[],T=t=>{const e=new k,r=(r,n)=>{let i;if(n)for(let a,u=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(r),s=0,{length:c}=o;s<c;s++)u.call(r,a=o[s])&&(e.has(r)||e.set(r,new M),i=e.get(r),i.has(a)||(i.add(a),t.handle(r,n,a)));else e.has(r)&&(i=e.get(r),e.delete(r),i.forEach((e=>{t.handle(r,n,e)})))},n=(t,e=!0)=>{for(let n=0,{length:o}=t;n<o;n++)r(t[n],e)},{query:o}=t,i=t.root||A,a=((t,e=document,r=MutationObserver,n=["*"])=>{const o=(e,r,n,i,a,u)=>{for(const s of e)(u||E in s)&&(a?n.has(s)||(n.add(s),i.delete(s),t(s,a)):i.has(s)||(i.add(s),n.delete(s),t(s,a)),u||o(s[E](r),r,n,i,a,w))},i=new r((t=>{if(n.length){const e=n.join(","),r=new Set,i=new Set;for(const{addedNodes:n,removedNodes:a}of t)o(a,e,r,i,S,S),o(n,e,r,i,w,S)}})),{observe:a}=i;return(i.observe=t=>a.call(i,t,{subtree:w,childList:w}))(e),i})(r,i,j,o),{attachShadow:u}=x.prototype;return u&&(x.prototype.attachShadow=function(t){const e=u.call(this,t);return a.observe(e),e}),o.length&&n(i[O](o)),{drop:t=>{for(let r=0,{length:n}=t;r<n;r++)e.delete(t[r])},flush:()=>{const t=a.takeRecords();for(let e=0,{length:r}=t;e<r;e++)n(P.call(t[e].removedNodes,N),!1),n(P.call(t[e].addedNodes,N),!0)},observer:a,parse:n}},{customElements:_,document:I,Element:C,MutationObserver:L,Object:F,Promise:R,Map:V,Set:D,WeakMap:W,Reflect:q}=self,{createElement:B}=I,{define:$,get:H,upgrade:U}=_,{construct:z}=q||{construct(t){return t.call(this)}},{defineProperty:K,getOwnPropertyNames:Y,setPrototypeOf:X}=F,Q=new W,G=new D,Z=new V,J=new V,tt=new V,et=new V,rt=[],nt=[],ot=t=>et.get(t)||H.call(_,t),{parse:it}=T({query:nt,handle:(t,e,r)=>{const n=tt.get(r);if(e&&!n.isPrototypeOf(t)){const e=(t=>{const e=g(t),r=[],n=new Set,{length:o}=e;for(let i=0;i<o;i++){r[i]=t[e[i]];try{delete t[e[i]]}catch(t){n.add(i)}}return()=>{for(let i=0;i<o;i++)n.has(i)||(t[e[i]]=r[i])}})(t);lt=X(t,n);try{new n.constructor}finally{lt=null,e()}}const o=(e?"":"dis")+"connectedCallback";o in n&&t[o]()}}),{parse:at}=T({query:rt,handle(t,e){Q.has(t)&&(e?G.add(t):G.delete(t),nt.length&&ft.call(nt,t))}}),{attachShadow:ut}=C.prototype;ut&&(C.prototype.attachShadow=function(t){const e=ut.call(this,t);return Q.set(this,e),e});const st=t=>{if(!J.has(t)){let e,r=new R((t=>{e=t}));J.set(t,{$:r,_:e})}return J.get(t).$},ct=((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}})(st,L);let lt=null;function ft(t){const e=Q.get(t);it(e.querySelectorAll(this),t.isConnected)}function pt(t){return pt="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},pt(t)}Y(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!Z.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=Z.get(t);if(r){if(lt)return ct(lt,r);const e=B.call(I,n);return e.setAttribute("is",r),ct(X(e,t.prototype),r)}return z.call(this,e,[],t)}X(r,e),K(r.prototype=e.prototype,"constructor",{value:r}),K(self,t,{value:r})})),I.createElement=function(t,e){const r=e&&e.is;if(r){const e=et.get(r);if(e&&Z.get(e).tag===t)return new e}const n=B.call(I,t);return r&&n.setAttribute("is",r),n},_.get=ot,_.whenDefined=st,_.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=et.get(e);if(r)return void ct(X(t,r.prototype),e)}U.call(_,t)},_.define=function(t,e,r){if(ot(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;Z.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,tt.set(n,e.prototype),et.set(t,e),nt.push(n)):($.apply(_,arguments),rt.push(n=t)),st(t).then((()=>{o?(it(I.querySelectorAll(n)),G.forEach(ft,[n])):at(I.querySelectorAll(n))})),J.get(t)._(e)};function dt(t){return dt="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},dt(t)}function ht(t){return function(t){if(Array.isArray(t))return yt(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 yt(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)?yt(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 yt(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 mt(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 vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mt(Object(r),!0).forEach((function(e){bt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function bt(t,e,r){return(e=wt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gt(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,wt(n.key),n)}}function wt(t){var e=function(t,e){if("object"!=dt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dt(e)?e:e+""}function St(t,e){if(e&&("object"==dt(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 Et(t){var e="function"==typeof Map?new Map:void 0;return Et=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(Ot())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&At(o,r.prototype),o}(t,arguments,xt(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),At(r,t)},Et(t)}function Ot(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ot=function(){return!!t})()}function At(t,e){return At=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},At(t,e)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xt(t)}function jt(t,e,r){Mt(t,e),e.set(t,r)}function Mt(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kt(t,e,r){return r(Tt(t,e))}function Nt(t,e,r){return t.set(Tt(t,e),r),r}function Pt(t,e){return t.get(Tt(t,e))}function Tt(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 _t=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(pt(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}}},It=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)}},Ct=function(t,e){var r=Symbol(e+"_PropertyRenderOnSetDecorator");Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return this[r]},set:function(t){this[r]=t,this.renderNow()}})},Lt=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)}})}},Ft=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=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(){n.setAttribute(t.attribute,i)}))):this[o]=e;var s=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)if("boolean"!==t.type){if(!e)return this.removeAttribute(t.attribute),void s();if(this.getAttribute(t.attribute)===u)return void s();null!==u?this.setAttribute(t.attribute,u):this.removeAttribute(t.attribute)}else e&&!this.hasAttribute(t.attribute)?this.setAttribute(t.attribute,""):!e&&this.hasAttribute(t.attribute)&&this.removeAttribute(t.attribute),s();s(),(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])}})}},Rt=[],Vt=new WeakMap,Dt=new WeakMap,Wt=new WeakMap,qt=new WeakMap,Bt=new WeakMap,$t=new WeakMap,Ht=new WeakMap,Ut=new WeakMap,zt=new WeakMap,Kt=new WeakSet,Yt=new WeakMap,Xt=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=xt(o=e),function(t,e){Mt(t,e),e.add(t)}(r=St(n,Ot()?Reflect.construct(o,i||[],xt(n).constructor):o.apply(n,i)),Kt),jt(r,Vt,void 0),jt(r,Dt,void 0),jt(r,Wt,void 0),jt(r,qt,void 0),jt(r,Bt,void 0),jt(r,$t,void 0),jt(r,Ht,!1),jt(r,Ut,void 0),jt(r,zt,void 0),jt(r,Yt,(function(){var t=r.constructor.__properties__;Nt(Vt,r,[]),t&&Nt(Vt,r,t.map((function(t){return vt(vt({},r["__property_".concat(t,"__")]),{},{name:t})})))})),Tt(Kt,r,Gt).call(r),Tt(Kt,r,Qt).call(r),St(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&&At(t,e)}(e,t),r=e,n=[{key:"internals",get:function(){return Pt(zt,this)},set:function(t){Nt(zt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(kt(Kt,this,Zt)){if(Pt(Bt,this)||Nt(Bt,this,new CSSStyleSheet),t=Tt(Kt,this,Jt).call(this),Pt(Bt,this).replaceSync(t),Pt(Ht,this))return;if(e instanceof Document){var r=Tt(Kt,this,ee).call(this,t);-1===Rt.indexOf(r)&&(document.adoptedStyleSheets=[].concat(ht(document.adoptedStyleSheets),[Pt(Bt,this)]),Nt(Ht,this,!0),Rt.push(r))}else this.shadowRoot.adoptedStyleSheets=[Pt(Bt,this)],Nt(Ht,this,!0)}else if(Nt($t,this,document.createElement("link")),Pt($t,this).rel="stylesheet",t=Tt(Kt,this,Jt).call(this),Pt($t,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=Tt(Kt,this,ee).call(this,t);-1===Rt.indexOf(n)&&(document.head.appendChild(Pt($t,this)),Rt.push(n))}else this.shadowRoot.appendChild(Pt($t,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&&(Nt(Ut,this,!0),this.shadowRoot||this.attachShadow({mode:"open"})),Tt(Kt,this,te).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){Tt(Kt,e,Jt).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=Pt(Wt,r)?Pt(Wt,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),Nt(Dt,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){Pt(Dt,this)&&Pt(Dt,this).renderNow()}},{key:"attributeChangedCallback",value:function(t,e,r){var n=Pt(Vt,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&>(r.prototype,n),o&>(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(Et(HTMLElement));function Qt(){var t=this;"function"==typeof this.init&&requestAnimationFrame((function(){t.init()}))}function Gt(){var t=this;Pt(Yt,this).call(this);var e=this.constructor.projectorMode;Nt(Wt,this,e||"append"),this.constructor.isFormAssociated&&Nt(zt,this,this.attachInternals());var r=this.constructor.style;if(r){Nt(Ut,this,!0),Nt(Wt,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open"}),Tt(Kt,this,te).call(this,r);var n=document.createElement("div");this.shadowRoot.appendChild(n),requestAnimationFrame((function(){t.createProjector(n,t.render)})),window.addEventListener("updatecssapply",(function(){Tt(Kt,t,Jt).call(t)}))}}function Zt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function Jt(){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}(Pt(qt,this));return Pt(qt,this)!==t&&(Nt(qt,this,t),kt(Kt,this,Zt)&&Pt(Bt,this)?Pt(Bt,this).replaceSync(t):kt(Kt,this,Zt)||(Pt($t,this)&&URL.revokeObjectURL(Pt($t,this).href),Pt($t,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function te(t){Nt(qt,this,t),Pt(Ut,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):Pt(Ut,this)||this.addStylesheetToRootNode(t,document)}function ee(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function re(t){return re="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},re(t)}var ne="http://www.w3.org/",oe=ne+"2000/svg",ie=ne+"1999/xlink",ae=[],ue=[],se=!1,ce=function t(e){var r;(e.children||[]).forEach(t),null!=e&&null!==(r=e.properties)&&void 0!==r&&r.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},le=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)},fe=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},pe=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(le(t[n],e))return n;return-1},de=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(le(u,o))throw"added"===n?new Error(r.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},he=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},ye=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},me=function(t,e,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)be(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),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])}))}!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)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(fe(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=re(s);"function"===b?(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===oe?"href"===a?t.setAttributeNS(ie,a,s):t.setAttribute(a,s):"string"===b&&"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])},ve=function(t,e){return{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)");Oe(t,r,e),t=r},domNode:t.domNode}},be=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=ye(n,{namespace:oe})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();me(o,t,n)}},ge=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),we(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),we(t))},we=function(t){ue.push(t),se||(se=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Se,{timeout:16}):setTimeout(Se,16))},Se=function(){se=!1,ue.forEach(ce),ue.length=0},Ee=function(t,e,r,n,o){if(r===n)return!1;n=n||ae;for(var i,a=(r=r||ae).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&le(p,d))f=Oe(p,d,o)||f,c++;else{var h=pe(r,d,c+1);if(h>=0){for(i=c;i<h;i++)ge(r[i],s),de(r,i,t,"removed");f=Oe(r[h],d,o)||f,c=h+1}else be(d,e,c<a?r[c].domNode:void 0,o),he(d,s),de(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)ge(r[i],s),de(r,i,t,"removed");return f},Oe=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}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=ye(r,{namespace:oe})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=Ee(e,n,t.children,e.children,r)||i,i=Ae(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),e.domNode=t.domNode,o},Ae=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){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[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?(fe(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(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(c!==l){var O=re(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===oe&&"href"===s?t.setAttributeNS(ie,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},xe=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},je={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:xe,exit:xe}},Me=function(t){return ye(je,t)},ke={create:function(t,e){return e=Me(e),be(t,document.createElement("div"),void 0,e),ve(t,e)},append:function(t,e,r){return r=Me(r),be(e,t,void 0,r),ve(e,r)},insertBefore:function(t,e,r){return r=Me(r),be(e,t.parentNode,t,r),ve(e,r)},merge:function(t,e,r){return r=Me(r),e.domNode=t,me(t,e,r),ve(e,r)},replace:function(t,e,r){return r=Me(r),be(e,t.parentNode,t,r),t.parentNode.removeChild(t),ve(e,r)}};function Ne(t){return Ne="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},Ne(t)}var Pe=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Te=function t(e,r,n){for(var o=0,i=r.length;o<i;o++){var a=r[o];Array.isArray(a)?t(e,a,n):null!=a&&(a.hasOwnProperty("vnodeSelector")||(a=Pe(a)),n.push(a))}},_e=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==Ne(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?Te(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(Pe(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Ie={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 p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Me(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(ke.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(ke.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(ke.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(ke.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:ke,h:_e},Ce=Ct;!function(t){t._=v,t.Maquette=Ie,t.h=_e,t.anime=b,t.CustomElement=Xt,t.CustomElementConfig=It,t.PropertyRenderOnSet=Ct,t.RenderOnSet=Ct,t.Property=Ft,t.Query=Lt,t.Bind=_t}(window)},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,p=new WeakMap,d=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&&A(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?A(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)&&x(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=d.get(t.target);o.has(e)&&F(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},x=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},j=(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(I(t.target))},P=t=>{k(I(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)}},I=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=I(e)),e},C=(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 D=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},W=new WeakMap;function q(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class B extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");W.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=W.get(this),n=`state${t}`;return r.isConnected?q(r,n):setTimeout((()=>{q(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=W.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 B(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}),d.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(C(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 C(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=I(t)),r}get labels(){const t=e.get(this);C(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(C(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=p.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(C(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),x(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=j(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){j(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(C(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.");p.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=D(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 C(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);C(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 C(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=B,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new B(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")&&A(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,O):t.observe(e,O),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,O)}"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:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Le,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>jr,compose:()=>Ie,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Br,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,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:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>qe,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Le,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>jr,compose:()=>Ie,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Wr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,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:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>qe,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});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,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(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 x(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function j(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"),I=P("Date"),C=P("RegExp"),L=P("Error"),F=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),D=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof D&&(V=function(t){return"function"==typeof t||!1});const W=V,q=P("Object");var B=h&&q(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&q(new Map),H=P("DataView");const U=B?function(t){return null!=t&&W(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&p.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 Z(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:Z(!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=W(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(!x(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 pt="[object DataView]";function dt(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(B&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=pt}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 pt: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&&!(W(a)&&a instanceof a&&W(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(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(t,e)}function mt(t){if(!x(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(!W(r[t[o]]))return!1;return t!==Et||!W(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),xt=$?vt(Et):P("WeakMap"),jt=$?vt(Ot):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)W(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 It=_t(mt),Ct=_t(ut),Lt=_t(mt,!0);function Ft(t){if(!x(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&&Ct(r,e),r}function Vt(t){return x(t)?z(t)?t.slice():It({},t):t}function Dt(t,e){return e(t),t}function Wt(t){return z(t)?t:[t]}function qt(t){return lt.toPath(t)}function Bt(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=Bt(t,qt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=qt(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=Ct({},t),function(e){return ct(e,t)}}function Kt(t){return t=qt(t),function(e){return Bt(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:W(t)?Yt(t,e,r):x(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 Zt(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 Jt(){}function te(t){return null==t?Jt: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=Wt,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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},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 pe(t){return"\\"+le[t]}var de=/^\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,pe),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(!de.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=qt(e)).length;if(!n)return W(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=W(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 x(a)?a:i}var we=A((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=A((function(t,e,r){if(!W(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(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(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(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 xe=A((function(t,e){var r=(e=Ae(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 je(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=A((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=A((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 Ie(){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 Ce(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 De=Ve(1),We=Ve(-1);function qe(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 Be(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=Be(1,De,qe),He=Be(-1,We);function Ue(t,e,r){var n=(Oe(t)?De: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),Oe(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=!Oe(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=!Oe(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 Ze(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 Je(t,e,r){return Ze(t,_e(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Oe(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=!Oe(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 Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return W(e)?o=e:(e=qt(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=Bt(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 Ze(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=Oe(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=Oe(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 Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(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 pr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),dr=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):Oe(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;W(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Ae(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=A((function(t,e){var r,n=e[0];return W(n)?(n=_e(n),e.length>1&&(r=e[1])):(e=Ye(Ae(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 Or(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 Ar(t,e,r){return l.call(t,null==e||r?1:e)}function xr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Ar(t,Math.max(0,t.length-e))}function jr(t){return Ze(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ze(t,(function(t){return!rr(e,t)}))})),Nr=A((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=A((function(t){return Pr(Ae(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 Ir(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 Cr=A(Ir);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 Dr(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 Wr=lt;var qr=Dr(n);qr._=qr;const Br=qr}},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(523),r(650);var n=r(504),o=n.Y8,i=n.K9,a=n.y0,u=n.zG,s=n.mA,c=n.dd,l=n.XK,f=n.Qf,p=n._,d=n.h;export{o as Bind,i as CustomElement,a as CustomElementConfig,u as Maquette,s as Property,c as PropertyRenderOnSet,l as Query,f as RenderOnSet,p as _,d as h};
|
|
1
|
+
/*! P-ELEMENTS 1.2.6-rc.2 - Tue Jun 25 2024 21:02:37 GMT+0200 (Central European Summer 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 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 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=p(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 O(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 A(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=A(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=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(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)?D.apply(this,t):W[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=O(a,i),n.to=O(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 C(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 _(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(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),p=[],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)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[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"),d.animatables[o].target.style[I]=n[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,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(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>=h||!e)&&(d.began||(d.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&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),d=C(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){s=t,c||(c=s),u((l+s-c)*_.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=q.indexOf(d);-1<t&&q.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),q.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}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)}},D=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)}}}}(),W=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:D(.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:D.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 _.version="2.2.0",_.speed=1,_.running=q,_.remove=function(t){t=A(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())},_.getValue=v,_.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)}}},_.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},_.bezier=D,_.easings=W,_.timeline=function(t){var e=_(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=_(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},_.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},_},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},999:(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:()=>D,K9:()=>ot,y0:()=>W,Wd:()=>bt,zG:()=>Qt,mA:()=>$,dd:()=>B,XK:()=>q,Qf:()=>Gt,_:()=>v,h:()=>Xt});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,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=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(d())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)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=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}(p(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)}function w(t){return w="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},w(t)}function S(t){return function(t){if(Array.isArray(t))return E(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 E(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)?E(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 E(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 O(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 A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(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,M(n.key),n)}}function M(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}function k(t,e){if(e&&("object"==w(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 N(t){var e="function"==typeof Map?new Map:void 0;return N=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&&T(o,r.prototype),o}(t,arguments,C(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),T(r,t)},N(t)}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(P=function(){return!!t})()}function T(t,e){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},T(t,e)}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}function _(t,e,r){I(t,e),e.set(t,r)}function I(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function L(t,e,r){return r(V(t,e))}function F(t,e,r){return t.set(V(t,e),r),r}function R(t,e){return t.get(V(t,e))}function V(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 D=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}}},W=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)}},B=function(t,e){var r=Symbol(e+"_PropertyRenderOnSetDecorator");Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return this[r]},set:function(t){this[r]=t,this.renderNow()}})},q=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)}})}},$=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)if("boolean"!==t.type){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)}else e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),c();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])}})}},H=[],U=new WeakMap,z=new WeakMap,K=new WeakMap,Y=new WeakMap,X=new WeakMap,Q=new WeakMap,G=new WeakMap,Z=new WeakMap,J=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakSet,nt=new WeakMap,ot=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=C(o=e),function(t,e){I(t,e),e.add(t)}(r=k(n,P()?Reflect.construct(o,i||[],C(n).constructor):o.apply(n,i)),rt),_(r,U,void 0),_(r,z,void 0),_(r,K,void 0),_(r,Y,void 0),_(r,X,void 0),_(r,Q,void 0),_(r,G,!1),_(r,Z,void 0),_(r,J,void 0),_(r,tt,[]),_(r,et,!1),_(r,nt,(function(){var t=r.constructor.__properties__;F(U,r,[]),t&&F(U,r,t.map((function(t){return A(A({},r["__property_".concat(t,"__")]),{},{name:t})})))})),V(rt,r,at).call(r),V(rt,r,it).call(r),k(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&&T(t,e)}(e,t),r=e,n=[{key:"addController",value:function(t){R(tt,this).push(t),R(et,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return R(J,this)},set:function(t){F(J,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(L(rt,this,ut)){if(R(X,this)||F(X,this,new CSSStyleSheet),t=V(rt,this,st).call(this),R(X,this).replaceSync(t),R(G,this))return;if(e instanceof Document){var r=V(rt,this,lt).call(this,t);-1===H.indexOf(r)&&(document.adoptedStyleSheets=[].concat(S(document.adoptedStyleSheets),[R(X,this)]),F(G,this,!0),H.push(r))}else this.shadowRoot.adoptedStyleSheets=[R(X,this)],F(G,this,!0)}else if(F(Q,this,document.createElement("link")),R(Q,this).rel="stylesheet",t=V(rt,this,st).call(this),R(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=V(rt,this,lt).call(this,t);-1===H.indexOf(n)&&(document.head.appendChild(R(Q,this)),H.push(n))}else this.shadowRoot.appendChild(R(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&&(F(Z,this,!0),this.shadowRoot||this.attachShadow({mode:"open"})),V(rt,this,ct).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){V(rt,e,st).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=R(K,r)?R(K,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),F(z,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){R(z,this)&&R(z,this).renderNow()}},{key:"connectedCallback",value:function(){F(et,this,!0),R(tt,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){F(et,this,!1),R(tt,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=R(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&&x(r.prototype,n),o&&x(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(N(HTMLElement));function it(){"function"==typeof this.init&&(this.init(),R(tt,this).forEach((function(t){null==t||t.init()})))}function at(){var t=this;R(nt,this).call(this);var e=this.constructor.projectorMode;F(K,this,e||"append"),this.constructor.isFormAssociated&&F(J,this,this.attachInternals());var r=this.constructor.style;if(r){F(Z,this,!0),F(K,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open"}),V(rt,this,ct).call(this,r);var n=document.createElement("div");this.shadowRoot.appendChild(n),requestAnimationFrame((function(){t.createProjector(n,t.render)})),window.addEventListener("updatecssapply",(function(){V(rt,t,st).call(t)}))}}function ut(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function st(){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}(R(Y,this));return R(Y,this)!==t&&(F(Y,this,t),L(rt,this,ut)&&R(X,this)?R(X,this).replaceSync(t):L(rt,this,ut)||(R(Q,this)&&URL.revokeObjectURL(R(Q,this).href),R(Q,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function ct(t){F(Y,this,t),R(Z,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):R(Z,this)||this.addStylesheetToRootNode(t,document)}function lt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ft(t){return ft="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},ft(t)}function pt(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,dt(n.key),n)}}function dt(t){var e=function(t,e){if("object"!=ft(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ft(e)?e:e+""}function ht(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 yt(t,e){return t.get(mt(t,e))}function mt(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 vt=new WeakMap,bt=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),ht(this,vt,void 0),n=this,o=e,(r=vt).set(mt(r,n),o),yt(vt,this).addController(this)},(e=[{key:"hostElement",get:function(){return yt(vt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&pt(t.prototype,e),r&&pt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function gt(t){return gt="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},gt(t)}var wt="http://www.w3.org/",St=wt+"2000/svg",Et=wt+"1999/xlink",Ot=[],At=[],jt=!1,xt=function t(e){var r;(e.children||[]).forEach(t),null!=e&&null!==(r=e.properties)&&void 0!==r&&r.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},Mt=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)},kt=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},Nt=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Mt(t[n],e))return n;return-1},Pt=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(Mt(u,o))throw"added"===n?new Error(r.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},Tt=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},Ct=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,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)Lt(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),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])}))}!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)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(kt(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=gt(s);"function"===b?(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===St?"href"===a?t.setAttributeNS(Et,a,s):t.setAttribute(a,s):"string"===b&&"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])},It=function(t,e){return{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)");Wt(t,r,e),t=r},domNode:t.domNode}},Lt=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=Ct(n,{namespace:St})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();_t(o,t,n)}},Ft=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),Rt(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),Rt(t))},Rt=function(t){At.push(t),jt||(jt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Vt,{timeout:16}):setTimeout(Vt,16))},Vt=function(){jt=!1,At.forEach(xt),At.length=0},Dt=function(t,e,r,n,o){if(r===n)return!1;n=n||Ot;for(var i,a=(r=r||Ot).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&Mt(p,d))f=Wt(p,d,o)||f,c++;else{var h=Nt(r,d,c+1);if(h>=0){for(i=c;i<h;i++)Ft(r[i],s),Pt(r,i,t,"removed");f=Wt(r[h],d,o)||f,c=h+1}else Lt(d,e,c<a?r[c].domNode:void 0,o),Tt(d,s),Pt(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)Ft(r[i],s),Pt(r,i,t,"removed");return f},Wt=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}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Ct(r,{namespace:St})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=Dt(e,n,t.children,e.children,r)||i,i=Bt(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),e.domNode=t.domNode,o},Bt=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){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[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?(kt(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(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(c!==l){var O=gt(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===St&&"href"===s?t.setAttributeNS(Et,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},qt=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},$t={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:qt,exit:qt}},Ht=function(t){return Ct($t,t)},Ut={create:function(t,e){return e=Ht(e),Lt(t,document.createElement("div"),void 0,e),It(t,e)},append:function(t,e,r){return r=Ht(r),Lt(e,t,void 0,r),It(e,r)},insertBefore:function(t,e,r){return r=Ht(r),Lt(e,t.parentNode,t,r),It(e,r)},merge:function(t,e,r){return r=Ht(r),e.domNode=t,_t(t,e,r),It(e,r)},replace:function(t,e,r){return r=Ht(r),Lt(e,t.parentNode,t,r),t.parentNode.removeChild(t),It(e,r)}};function zt(t){return zt="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},zt(t)}var Kt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Yt=function t(e,r,n){for(var o=0,i=r.length;o<i;o++){var a=r[o];Array.isArray(a)?t(e,a,n):null!=a&&(a.hasOwnProperty("vnodeSelector")||(a=Kt(a)),n.push(a))}},Xt=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==zt(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?Yt(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(Kt(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Qt={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 p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Ht(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(Ut.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(Ut.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(Ut.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(Ut.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:Ut,h:Xt},Gt=B;!function(t){t._=v,t.Maquette=Qt,t.h=Xt,t.anime=b,t.CustomElement=ot,t.CustomElementController=bt,t.CustomElementConfig=W,t.PropertyRenderOnSet=B,t.RenderOnSet=B,t.Property=$,t.Query=q,t.Bind=D}(window)},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}=[],p=t=>{const p=new c,d=(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])&&(p.has(e)||p.set(e,new s),n=p.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else p.has(e)&&(n=p.get(e),p.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)d(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})(d,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++)p.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:d,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:O}=h,{define:A,get:j,upgrade:x}=d,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,C=new w,_=new g,I=new g,L=new g,F=new g,R=[],V=[],D=t=>F.get(t)||j.call(d,t),{parse:W}=p({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}=p({query:R,handle(t,e){T.has(t)&&(e?C.add(t):C.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);W(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(!_.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=_.get(t);if(r){if(U)return H(U,r);const e=O.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&&_.get(e).tag===t)return new e}const n=O.call(h,t);return r&&n.setAttribute("is",r),n},d.get=D,d.whenDefined=$,d.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(d,t)},d.define=function(t,e,r){if(D(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;_.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)):(A.apply(d,arguments),R.push(n=t)),$(t).then((()=>{o?(W(h.querySelectorAll(n)),C.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,p=new WeakMap,d=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;C(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&&A(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?A(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=d.get(t.target);o.has(e)&&F(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(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(_(t.target))},P=t=>{k(_(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)}))},C=(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)}},_=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=_(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),C(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 D=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},W=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");W.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=W.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=W.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}),d.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=_(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=p.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.");p.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=D(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")&&A(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,O):t.observe(e,O),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,O)}"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:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,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:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>Ce,noop:()=>Jt,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:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,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:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Wr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,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:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>Ce,noop:()=>Jt,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:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,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,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(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"),C=P("Number"),_=P("Date"),I=P("RegExp"),L=P("Error"),F=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),D=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof D&&(V=function(t){return"function"==typeof t||!1});const W=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&&W(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&p.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 C(t)&&g(t)}function Z(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:Z(!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=W(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 pt="[object DataView]";function dt(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=pt}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 pt: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&&!(W(a)&&a instanceof a&&W(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(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(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(!W(r[t[o]]))return!1;return t!==Et||!W(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(Ot):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)W(t[r])&&e.push(r);return e.sort()}function Ct(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 _t=Ct(mt),It=Ct(ut),Lt=Ct(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():_t({},t):t}function Dt(t,e){return e(t),t}function Wt(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:W(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 Zt(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 Jt(){}function te(t){return null==t?Jt: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=Wt,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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},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 pe(t){return"\\"+le[t]}var de=/^\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,pe),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(!de.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 W(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=W(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=A((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=A((function(t,e,r){if(!W(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(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(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(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=A((function(t,e){var r=(e=Ae(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=A((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=A((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 Ce(t){return function(){return!t.apply(this,arguments)}}function _e(){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 De=Ve(1),We=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,De,Be),He=qe(-1,We);function Ue(t,e,r){var n=(Oe(t)?De: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),Oe(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=!Oe(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=!Oe(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 Ze(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 Je(t,e,r){return Ze(t,Ce(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Oe(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=!Oe(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 Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return W(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 Ze(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=Oe(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=Oe(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 Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(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 pr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),dr=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):Oe(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;W(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Ae(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=A((function(t,e){var r,n=e[0];return W(n)?(n=Ce(n),e.length>1&&(r=e[1])):(e=Ye(Ae(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 Or(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 Ar(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]:Ar(t,Math.max(0,t.length-e))}function xr(t){return Ze(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ze(t,(function(t){return!rr(e,t)}))})),Nr=A((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=A((function(t){return Pr(Ae(t,!0,!0))}));function Cr(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 _r(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=A(_r);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 Dr(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 Wr=lt;var Br=Dr(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(999),o=n.Y8,i=n.K9,a=n.y0,u=n.Wd,s=n.zG,c=n.mA,l=n.dd,f=n.XK,p=n.Qf,d=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,p as RenderOnSet,d as _,h};
|