Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bruit/component

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bruit/component - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

dist/esm/es2017/bruit.core.js

@@ -8,2 +8,2 @@ /*!

/* webpackMode: "lazy" */
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})})()})}this&&this.o;var i=this&&this.u||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.f(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.c?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).f())})},o=this&&this.a||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.f)&&!(o=o.call(i,e[1])).c)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.s++,{value:e[1],c:!1};case 5:f.s++,i=e[1],e=[0];continue;case 7:e=f.l.pop(),f.v.pop();continue;default:if(!(o=(o=f.v).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.s=e[1];break}if(6===e[0]&&f.s<o[1]){f.s=o[1],o=e;break}if(o&&f.s<o[2]){f.s=o[2],f.l.push(e);break}o[2]&&f.l.pop(),f.v.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,c:!0}}([e,u])}}var r,i,o,u,f={s:0,p:function(){if(1&o[0])throw o[1];return o[1]},v:[],l:[]};return u={f:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this,f=function(){};function applyPolyfills(n){n.d=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&d(r);var i=e.y;if(i){var u=arguments[i-1];M(function(){return h(i,r,u,e.b)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.y===W?s(n,t.b):t.y===x?l(n,t.b):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.m);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.w&&n.w(n.b),p(n)}function s(n,t){n.y===T&&(n.b=t,n.y=W,0!==n.g.length&&M(p,n))}function l(n,t){n.y===T&&(n.y=x,n.b=t,M(a,n))}function v(n,t,e,r){var i=n.g,o=i.length;n.w=null,i[o]=t,i[o+W]=e,i[o+x]=r,0===o&&n.y&&M(p,n)}function p(n){var t=n.g,e=n.y;if(0!==t.length){for(var r,i,o=n.b,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?h(e,r,i,o):i(o);n.g.length=0}}function h(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.y===T&&(i&&f?c(t,o):a?l(t,u):n===W?s(t,o):n===x&&l(t,o))}function d(n){n[_]=N++,n.y=void 0,n.b=void 0,n.g=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.M||j.j;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.k.onmessage=e,function(){return n.A.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().C("vertx");return void 0!==(w=n.O||n.S)?function(){w(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),T=void 0,W=1,x=2,P={error:null},N=0,L=function(){function n(n,t){this._=n,this.T=new n(o),this.T[_]||d(this.T),b(t)?(this.W=this.length=t.length,this.b=Array(this.length),0===this.length?s(this.T,this.b):(this.length=this.length||0,this.x(t),0===this.W&&s(this.T,this.b))):l(this.T,Error("Array Methods must be provided an Array"))}return n.prototype.x=function(n){for(var t=0;this.y===T&&t<n.length;t++)this.P(n[t],t)},n.prototype.P=function(n,t){var e=this._,c=e.resolve;c===i?(c=u(n))===r&&n.y!==T?this.N(n.y,t,n.b):"function"!=typeof c?(this.W--,this.b[t]=n):e===R?(f(e=new e(o),n,c),this.L(e,t)):this.L(new e(function(t){return t(n)}),t):this.L(c(n),t)},n.prototype.N=function(n,t,e){var r=this.T;r.y===T&&(this.W--,n===x?l(r,e):this.b[t]=e),0===this.W&&s(r,this.b)},n.prototype.L=function(n,t){var e=this;v(n,void 0,function(n){return e.N(W,t,n)},function(n){return e.N(x,t,n)})},n}(),R=function(){function n(t){if(this[_]=N++,this.b=this.y=void 0,this.g=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.R=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return R.prototype.then=r,R.all=function(n){return new L(this,n).T},R.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},R.resolve=i,R.reject=function(n){var t=new this(o);return l(t,n),t},R.D=function(n){g=n},R.F=function(n){M=n},R.H=M,R.q=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.U)return}n.Promise=R},R.Promise=R,R.q(),R}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.B}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.n+c,u=r[o];if((2===r.I||1===r.I&&!t.Q.G)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.Y.head,a=t.Z.get(f);if(a||t.Z.set(f,a={}),!a[o]){var s=void 0;if((s=e.z("style")).innerHTML=u,a[o]=!0,s){var l=f.querySelectorAll("[data-styles]");e.J(f,s,l.length&&l[l.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},h=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},d=function(){},y=function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(b,p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(b,p(t),e):n.setAttribute(t,e))},b="http://www.w3.org/1999/xlink",m=function(n,t,e,r,i,o,u){if("class"!==e||o)if("style"===e){for(var f in r)i&&null!=i[f]||(/-/.test(f)?t.style.removeProperty(f):t.style[f]="");for(var f in i)r&&i[f]===r[f]||(/-/.test(f)?t.style.setProperty(f,i[f]):t.style[f]=i[f])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var c=n.K(t);c&&c.V&&c.V[e]?(g(t,e,i),u&&c.V[e].X&&y(t,c.V[e].nn,i,4===c.V[e].tn)):"ref"!==e&&(g(t,e,null==i?"":i),null!=i&&!1!==i||n.Q.en(t,e))}else null!=i&&"key"!==e?y(t,e,i):(o||n.Q.rn(t,e)&&(null==i||!1===i))&&n.Q.en(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Q.in(t,e,i):n.Q.on(t,e);else if(r!==i){var a=w(r),s=w(i),l=a.filter(function(n){return!s.includes(n)}),v=w(t.className).filter(function(n){return!l.includes(n)}),h=s.filter(function(n){return!a.includes(n)&&!v.includes(n)});v.push.apply(v,h),t.className=v.join(" ")}},w=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},g=function(n,t,e){try{n[t]=e}catch(n){}},M=function(n,t,e,r,i){var o=11===e.t.nodeType&&e.t.host?e.t.host:e.t,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||m(n,o,i,u[i],void 0,r,e.e);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||m(n,o,i,u[i],f[i],r,e.e)},j=!1,k=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){k(n,t)}))},$=[],A={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},E=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{nn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={un:e[1],X:!!e[2],nn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,tn:e[4]};return{n:r,i,V:Object.assign({},c),I:u,fn:f?f.map(C):void 0}},C=function(n){return{cn:n[0],an:n[1],sn:!!n[2],ln:!!n[3],vn:!!n[4]}},O=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},S=function(n,t,e){n.pn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.dn?n.queue.write(function(){return _(n,t,e)}):n.queue.tick(function(){return _(n,t,e)}))},_=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.s){case 0:if(n.hn.delete(r),n.yn.has(r))return[3,12];if(a=n.bn.get(r))return[3,6];if((s=n.mn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){_(n,r,f)}),[2];if(!(a=N(n,r,n.wn.get(r),f)))return[3,5];o.s=1;case 1:return o.v.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.p(),o.s=3;case 3:return[3,5];case 4:return i=o.p(),n.gn(i,3,r),[3,5];case 5:return[3,11];case 6:if(!a)return[3,11];o.s=7;case 7:return o.v.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.p(),o.s=9;case 9:return[3,11];case 10:return u=o.p(),n.gn(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u,f=r.Mn.host,c=r.Mn.encapsulation,a=i;if(u=function(n,t,e){return n&&Object.keys(n).forEach(function(r){n[r].reflectToAttr&&((e=e||{})[r]=t[r])}),e}(r.Mn.properties,o),!i["s-rn"]){n.jn(n,n.Q,r,i);var s=i["s-sc"];s&&(n.Q.kn(i,t(s,!0)),"scoped"===c&&n.Q.kn(i,t(s)))}if(o.render||o.hostData||f||u){n.$n=!0;var l=o.render&&o.render(),v=void 0;u&&(v=v?Object.assign(v,u):u),n.$n=!1;var p=e(null,v,l),h=n.An.get(i)||{};h.t=a,p.e=!0,n.An.set(i,n.render(i,h,p,!1,c))}i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.$n=!1,n.gn(t,8,i,!0)}})(n,n.K(r),r,a),r["s-init"](),o.s=12;case 12:return[2]}})})},T=function(n,t,e,r,i,o,u){(u=n.En.get(t))||n.En.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.bn.get(t))){var c=u[P+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.$n&&t["s-rn"]&&S(n,t,i)}},W=function(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})},x=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},P="wc-",N=function(n,t,e,r,i,o){try{i=new(o=n.K(t).Mn),function(n,t,e,r,i,o){n.Cn.set(r,e),n.En.has(e)||n.En.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n.En.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.On)&&v(c=f[t.attr])&&(a[i]=O(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=O(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[P+i]=t.watchCallbacks.slice()),x(r,i,function s(t){return(t=n.En.get(n.Cn.get(this)))&&t[i]},function l(e,r){(r=n.Cn.get(this))&&(t.state||t.mutable)&&T(n,r,i,e,u)})}else t.elementRef?W(r,i,e):t.method&&W(e,i,r[i].bind(r))})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.Cn.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.Sn(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.gn(e,7,t,!0)}return n.bn.set(t,i),i},L=function(n,t,e,r,i,o){if(n.pn.delete(t),(i=n.mn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.mn.delete(t)),n._n.length&&!n.pn.size)for(;o=n._n.shift();)o()},R=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},h=r[n]=r[n]||{},y=function(n,t,e){var r=new WeakMap,i={Y:e,G:!!e.documentElement.attachShadow,Tn:!1,Wn:function(n){return n.nodeType},z:function(n){return e.createElement(n)},xn:function(n,t){return e.createElementNS(n,t)},Pn:function(n){return e.createTextNode(n)},Nn:function(n){return e.createComment(n)},J:function(n,t,e){return n.insertBefore(t,e)},Ln:function(n){return n.remove()},Rn:function(n,t){return n.appendChild(t)},kn:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Dn:function(n){return n.childNodes},Fn:function(n){return n.parentNode},Hn:function(n){return n.nextSibling},qn:function(n){return n.previousSibling},Un:function(n){return p(n.nodeName)},Bn:function(n){return n.textContent},In:function(n,t){return n.textContent=t},Gn:function(n,t){return n.getAttribute(t)},Qn:function(n,t,e){return n.setAttribute(t,e)},en:function(n,t){return n.removeAttribute(t)},rn:function(n,t){return n.hasAttribute(t)},Yn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Zn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.zn(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},in:function(t,e,o,u,f,c,a,l,v){var p=t,h=o,d=r.get(t);v=e,d&&d[v]&&d[v](),"string"==typeof c?p=i.Zn(t,c):"object"==typeof c?p=c:(l=e.split(":")).length>1&&(p=i.Zn(t,l[0]),e=l[1]),p&&((l=e.split(".")).length>1&&(e=l[0],h=function(n){n.keyCode===s[l[1]]&&o(n)}),a=i.Tn?{capture:!!u,passive:!!f}:!!u,n.ael(p,e,h,a),d||r.set(t,d={}),d[v]=function(){p&&n.rel(p,e,h,a),d[v]=null})},on:function(n,t,e){(e=r.get(n))&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Jn:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},zn:function(n,t){return(t=i.Fn(n))&&11===i.Wn(t)?t.host:t},Kn:function(n,t,e,r){return n.setAttributeNS(t,e,r)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Tn=!0}}))}catch(n){}return i}(h,r,i),b=y.Y.documentElement,m=r["s-defined"]=r["s-defined"]||{},w={Q:y,r:function(n,t){r.customElements.get(n.n)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.yn.delete(e),n.Vn.has(e)||(n.Xn=!0,n.pn.add(e),n.Vn.set(e,!0),function(n,t,e){for(e=t;e=n.Q.zn(e);)if(n.nt(e)){n.tt.has(t)||(n.mn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.wn.set(e,function(n,t,e,r,i){return e.mode||(e.mode=n.Yn(e)),e["s-cr"]||n.Gn(e,"ssrv")||n.G&&1===t.I||(e["s-cr"]=n.Pn(""),e["s-cr"]["s-cn"]=!0,n.J(e,e["s-cr"],n.Dn(e)[0])),n.G||1!==t.I||(e.shadowRoot=e),r={On:{}},t.V&&Object.keys(t.V).forEach(function(o){(i=t.V[o].nn)&&(r.On[i]=n.Gn(e,i))}),r}(n.Q,t,e)),n.et(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){!n.rt&&function(n,t){for(;t;){if(!n.Fn(t))return 9!==n.Wn(t);t=n.Fn(t)}}(n.Q,t)&&(n.yn.set(t,!0),L(n,t),k(n.An.get(t),!0),n.Q.on(t),n.it.delete(t),[n.mn,n.ot,n.wn].forEach(function(n){return n.delete(t)}))})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if((i=n.bn.get(t))&&!n.yn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.tt.set(t,!0),(u=n.ut.has(t))||(n.ut.set(t,!0),t["s-ld"]=void 0,n.Q.kn(t,e));try{k(n.An.get(t)),(o=n.ot.get(t))&&(o.forEach(function(n){return n(t)}),n.ot.delete(t)),!u&&i.componentDidLoad&&i.componentDidLoad()}catch(e){n.gn(e,4,t)}L(n,t)}})(n,this,r)},e.forceUpdate=function(){S(n,this,i)},t.V){var o=Object.entries(t.V),u={};o.forEach(function(n){var t=n[0],e=n[1].nn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1],u=o.un;3&u?x(e,i,function t(){return(n.En.get(this)||{})[i]},function t(e){T(n,this,i,O(o.tn,e),r)}):32===u&&W(e,i,d)})}(n,0,e,i)}}(w,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.V).map(function(n){return n.nn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},K:function(n){return a[y.Un(n)]},ft:function(n){return t[n]},isClient:!0,nt:function(n){return!(!m[y.Un(n)]&&!w.K(n))},gn:function(){},queue:t.queue=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(h))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)},h=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(h):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}}(h,r),et:function(n,t){var e={mode:t.mode,scoped:!1};n.i(e).then(function(e){try{n.Mn=e,function r(n,t,e,i,o){if(i){var u=t.n+(o||c);t[u]||(t[u]=i)}}(0,n,n.I,e.style,e.styleMode)}catch(t){n.Mn=function i(){}}S(w,t,f)})},$n:!1,dn:!1,rt:!1,jn:l,mn:new WeakMap,Z:new WeakMap,Vn:new WeakMap,it:new WeakMap,ut:new WeakMap,tt:new WeakMap,Cn:new WeakMap,wn:new WeakMap,bn:new WeakMap,yn:new WeakMap,hn:new WeakMap,ot:new WeakMap,ct:new WeakMap,An:new WeakMap,En:new WeakMap,pn:new Set,_n:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,w.Sn=t.emit=function(n,e,r){return y.Jn(n,t.eventNameFn?t.eventNameFn(e):e,r)},h.h=e,h.Context=t,h.onReady=function(){return new Promise(function(n){return w.queue.write(function(){return w.pn.size?w._n.push(n):n()})})},w.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,h,d,y,b,m,w){if(m=l.vchildren[p],e||(o=!0,"slot"===m.vtag&&(r&&t.kn(h,r+"-s"),m.vchildren?m.at=!0:m.st=!0)),v(m.vtext))m.t=t.Pn(m.vtext);else if(m.st)m.t=t.Pn("");else{if(y=m.t=j||"svg"===m.vtag?t.xn("http://www.w3.org/2000/svg",m.vtag):t.z(m.at?"slot-fb":m.vtag),n.nt(y)&&n.tt.delete(c),j="svg"===m.vtag||"foreignObject"!==m.vtag&&j,M(n,null,m,j),v(r)&&y["s-si"]!==r&&t.kn(y,y["s-si"]=r),m.vchildren)for(d=0;d<m.vchildren.length;++d)(b=a(i,m,d,y))&&t.Rn(y,b);"svg"===m.vtag&&(j=!1)}return m.t["s-hn"]=f,(m.at||m.st)&&(m.t["s-sr"]=!0,m.t["s-cr"]=u,m.t["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[p])&&w.vtag===m.vtag&&i.t&&s(i.t)),m.t},s=function(e,r,i,u){n.rt=!0;var c=t.Dn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.Ln(u),t.J(y(u),u,d(u)),t.Ln(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.rt=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.Fn(l)||n).shadowRoot&&t.Un(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Pn(i[o].vtext):a(null,r,o,n))&&(i[o].t=s,t.J(c,s,d(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].t,i=!0,o["s-ol"]?t.Ln(o["s-ol"]):s(o,!0),t.Ln(o))},h=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},d=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.Fn(n["s-ol"]?n["s-ol"]:n)},b=function(e,r,i){var o=r.t=e.t,u=e.vchildren,f=r.vchildren;j=r.t&&v(t.zn(r.t))&&void 0!==r.t.ownerSVGElement,j="svg"===r.vtag||"foreignObject"!==r.vtag&&j,v(r.vtext)?(i=o["s-cr"])?t.In(t.Fn(i),r.vtext):e.vtext!==r.vtext&&t.In(o,r.vtext):("slot"!==r.vtag&&M(n,e,r,j),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var m=0,w=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];m<=g&&w<=k;)if(null==M)M=e[++m];else if(null==j)j=e[--g];else if(null==$)$=i[++w];else if(null==A)A=i[--k];else if(h(M,$))b(M,$),M=e[++m],$=i[++w];else if(h(j,A))b(j,A),j=e[--g],A=i[--k];else if(h(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Fn(M.t)),b(M,A),t.J(n,M.t,t.Hn(j.t)),M=e[++m],A=i[--k];else if(h(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Fn(j.t)),b(j,$),t.J(n,j.t,M.t),j=e[--g],$=i[++w];else{for(o=null,u=m;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[w],r,o,n):(b(c,$),e[o]=void 0,f=c.t),$=i[++w]):(f=a(e&&e[w],r,w,n),$=i[++w]),f&&t.J(y(M.t),f,d(M.t))}m>g?l(n,null==i[k+1]?null:i[k+1].t,r,i,w,k):w>k&&p(e,m,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.In(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),j&&"svg"===r.vtag&&(j=!1)},m=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Dn(n)).length;i<o;i++)if(e=r[i],1===t.Wn(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.Wn(r[u]),""!==f){if(1===c&&f===t.Gn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.Bn(r[u]).trim()){e.hidden=!0;break}m(e)}},w=[],g=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Dn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Dn(t.Fn(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.Wn(o))||8===l)&&""===s||1===l&&null===t.Gn(o,"slot")&&""===s||1===l&&t.Gn(o,"slot")===s)&&(w.some(function(n){return n.lt===o})||(i=!0,o["s-sn"]=s,w.push({vt:r,lt:o})));1===t.Wn(r)&&g(r)}};return function(a,s,l,v,p,h,d,y,M,j,k,$){if(c=a,f=t.Un(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,b(s,l),o){for(g(l.t),d=0;d<w.length;d++)(y=w[d]).lt["s-ol"]||((M=t.Pn(""))["s-nr"]=y.lt,t.J(t.Fn(y.lt),y.lt["s-ol"]=M,y.lt));for(n.rt=!0,d=0;d<w.length;d++){for(y=w[d],k=t.Fn(y.vt),$=t.Hn(y.vt),M=y.lt["s-ol"];M=t.qn(M);)if((j=M["s-nr"])&&j&&j["s-sn"]===y.lt["s-sn"]&&k===t.Fn(j)&&(j=t.Hn(j))&&j&&!j["s-nr"]){$=j;break}(!$&&k!==t.Fn(y.lt)||t.Hn(y.lt)!==$)&&y.lt!==$&&(t.Ln(y.lt),t.J(k,y.lt,$))}n.rt=!1}return i&&m(l.t),w.length=0,l}}(w,y),b["s-ld"]=[],b["s-rn"]=!0,b["s-init"]=function(){w.tt.set(b,h.loaded=w.dn=!0),y.Jn(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.K(t);if(r)if(n.tt.has(t))e(t);else{var i=n.ot.get(t)||[];i.push(e),n.ot.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(w,h,r,r["s-apps"],r["s-cr"]),h.initialized=!0,w},D={},F=!1;export{r as defineCustomElement,e as h};
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})})()})}this&&this.o;var i=this&&this.u||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.f(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.c?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).f())})},o=this&&this.a||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.f)&&!(o=o.call(i,e[1])).c)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.s++,{value:e[1],c:!1};case 5:f.s++,i=e[1],e=[0];continue;case 7:e=f.l.pop(),f.v.pop();continue;default:if(!(o=(o=f.v).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.s=e[1];break}if(6===e[0]&&f.s<o[1]){f.s=o[1],o=e;break}if(o&&f.s<o[2]){f.s=o[2],f.l.push(e);break}o[2]&&f.l.pop(),f.v.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,c:!0}}([e,u])}}var r,i,o,u,f={s:0,p:function(){if(1&o[0])throw o[1];return o[1]},v:[],l:[]};return u={f:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this,f=function(){};function applyPolyfills(n){n.d=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&d(r);var i=e.y;if(i){var u=arguments[i-1];M(function(){return h(i,r,u,e.b)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.y===W?s(n,t.b):t.y===x?l(n,t.b):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.m);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.w&&n.w(n.b),p(n)}function s(n,t){n.y===T&&(n.b=t,n.y=W,0!==n.g.length&&M(p,n))}function l(n,t){n.y===T&&(n.y=x,n.b=t,M(a,n))}function v(n,t,e,r){var i=n.g,o=i.length;n.w=null,i[o]=t,i[o+W]=e,i[o+x]=r,0===o&&n.y&&M(p,n)}function p(n){var t=n.g,e=n.y;if(0!==t.length){for(var r,i,o=n.b,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?h(e,r,i,o):i(o);n.g.length=0}}function h(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.y===T&&(i&&f?c(t,o):a?l(t,u):n===W?s(t,o):n===x&&l(t,o))}function d(n){n[_]=N++,n.y=void 0,n.b=void 0,n.g=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.M||j.j;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.k.onmessage=e,function(){return n.A.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().C("vertx");return void 0!==(w=n.O||n.S)?function(){w(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),T=void 0,W=1,x=2,P={error:null},N=0,L=function(){function n(n,t){this._=n,this.T=new n(o),this.T[_]||d(this.T),b(t)?(this.W=this.length=t.length,this.b=Array(this.length),0===this.length?s(this.T,this.b):(this.length=this.length||0,this.x(t),0===this.W&&s(this.T,this.b))):l(this.T,Error("Array Methods must be provided an Array"))}return n.prototype.x=function(n){for(var t=0;this.y===T&&t<n.length;t++)this.P(n[t],t)},n.prototype.P=function(n,t){var e=this._,c=e.resolve;c===i?(c=u(n))===r&&n.y!==T?this.N(n.y,t,n.b):"function"!=typeof c?(this.W--,this.b[t]=n):e===R?(f(e=new e(o),n,c),this.L(e,t)):this.L(new e(function(t){return t(n)}),t):this.L(c(n),t)},n.prototype.N=function(n,t,e){var r=this.T;r.y===T&&(this.W--,n===x?l(r,e):this.b[t]=e),0===this.W&&s(r,this.b)},n.prototype.L=function(n,t){var e=this;v(n,void 0,function(n){return e.N(W,t,n)},function(n){return e.N(x,t,n)})},n}(),R=function(){function n(t){if(this[_]=N++,this.b=this.y=void 0,this.g=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.R=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return R.prototype.then=r,R.all=function(n){return new L(this,n).T},R.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},R.resolve=i,R.reject=function(n){var t=new this(o);return l(t,n),t},R.D=function(n){g=n},R.F=function(n){M=n},R.H=M,R.q=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.U)return}n.Promise=R},R.Promise=R,R.q(),R}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.B}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.n+c,u=r[o];if((2===r.I||1===r.I&&!t.Q.G)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.Y.head,a=t.Z.get(f);if(a||t.Z.set(f,a={}),!a[o]){var s=void 0;if((s=e.z("style")).innerHTML=u,a[o]=!0,s){var l=f.querySelectorAll("[data-styles]");e.J(f,s,l.length&&l[l.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},h=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},d=function(){},y=function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(b,p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(b,p(t),e):n.setAttribute(t,e))},b="http://www.w3.org/1999/xlink",m=function(n,t,e,r,i,o,u){if("class"!==e||o)if("style"===e){for(var f in r)i&&null!=i[f]||(/-/.test(f)?t.style.removeProperty(f):t.style[f]="");for(var f in i)r&&i[f]===r[f]||(/-/.test(f)?t.style.setProperty(f,i[f]):t.style[f]=i[f])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var c=n.K(t);c&&c.V&&c.V[e]?(g(t,e,i),u&&c.V[e].X&&y(t,c.V[e].nn,i,4===c.V[e].tn)):"ref"!==e&&(g(t,e,null==i?"":i),null!=i&&!1!==i||n.Q.en(t,e))}else null!=i&&"key"!==e?y(t,e,i):(o||n.Q.rn(t,e)&&(null==i||!1===i))&&n.Q.en(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Q.in(t,e,i):n.Q.on(t,e);else if(r!==i){var a=w(r),s=w(i),l=a.filter(function(n){return!s.includes(n)}),v=w(t.className).filter(function(n){return!l.includes(n)}),h=s.filter(function(n){return!a.includes(n)&&!v.includes(n)});v.push.apply(v,h),t.className=v.join(" ")}},w=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},g=function(n,t,e){try{n[t]=e}catch(n){}},M=function(n,t,e,r,i){var o=11===e.t.nodeType&&e.t.host?e.t.host:e.t,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||m(n,o,i,u[i],void 0,r,e.e);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||m(n,o,i,u[i],f[i],r,e.e)},j=!1,k=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){k(n,t)}))},$=[],A={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},E=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{nn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={un:e[1],X:!!e[2],nn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,tn:e[4]};return{n:r,i:i,V:Object.assign({},c),I:u,fn:f?f.map(C):void 0}},C=function(n){return{cn:n[0],an:n[1],sn:!!n[2],ln:!!n[3],vn:!!n[4]}},O=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},S=function(n,t,e){n.pn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.dn?n.queue.write(function(){return _(n,t,e)}):n.queue.tick(function(){return _(n,t,e)}))},_=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.s){case 0:if(n.hn.delete(r),n.yn.has(r))return[3,12];if(a=n.bn.get(r))return[3,6];if((s=n.mn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){_(n,r,f)}),[2];if(!(a=N(n,r,n.wn.get(r),f)))return[3,5];o.s=1;case 1:return o.v.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.p(),o.s=3;case 3:return[3,5];case 4:return i=o.p(),n.gn(i,3,r),[3,5];case 5:return[3,11];case 6:if(!a)return[3,11];o.s=7;case 7:return o.v.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.p(),o.s=9;case 9:return[3,11];case 10:return u=o.p(),n.gn(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u,f=r.Mn.host,c=r.Mn.encapsulation,a=i;if(u=function(n,t,e){return n&&Object.keys(n).forEach(function(r){n[r].reflectToAttr&&((e=e||{})[r]=t[r])}),e}(r.Mn.properties,o),!i["s-rn"]){n.jn(n,n.Q,r,i);var s=i["s-sc"];s&&(n.Q.kn(i,t(s,!0)),"scoped"===c&&n.Q.kn(i,t(s)))}if(o.render||o.hostData||f||u){n.$n=!0;var l=o.render&&o.render(),v=void 0;u&&(v=v?Object.assign(v,u):u),n.$n=!1;var p=e(null,v,l),h=n.An.get(i)||{};h.t=a,p.e=!0,n.An.set(i,n.render(i,h,p,!1,c))}i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.$n=!1,n.gn(t,8,i,!0)}})(n,n.K(r),r,a),r["s-init"](),o.s=12;case 12:return[2]}})})},T=function(n,t,e,r,i,o,u){(u=n.En.get(t))||n.En.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.bn.get(t))){var c=u[P+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.$n&&t["s-rn"]&&S(n,t,i)}},W=function(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})},x=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},P="wc-",N=function(n,t,e,r,i,o){try{i=new(o=n.K(t).Mn),function(n,t,e,r,i,o){n.Cn.set(r,e),n.En.has(e)||n.En.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n.En.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.On)&&v(c=f[t.attr])&&(a[i]=O(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=O(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[P+i]=t.watchCallbacks.slice()),x(r,i,function s(t){return(t=n.En.get(n.Cn.get(this)))&&t[i]},function l(e,r){(r=n.Cn.get(this))&&(t.state||t.mutable)&&T(n,r,i,e,u)})}else t.elementRef?W(r,i,e):t.method&&W(e,i,r[i].bind(r))})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.Cn.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.Sn(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.gn(e,7,t,!0)}return n.bn.set(t,i),i},L=function(n,t,e,r,i,o){if(n.pn.delete(t),(i=n.mn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.mn.delete(t)),n._n.length&&!n.pn.size)for(;o=n._n.shift();)o()},R=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},h=r[n]=r[n]||{},y=function(n,t,e){var r=new WeakMap,i={Y:e,G:!!e.documentElement.attachShadow,Tn:!1,Wn:function(n){return n.nodeType},z:function(n){return e.createElement(n)},xn:function(n,t){return e.createElementNS(n,t)},Pn:function(n){return e.createTextNode(n)},Nn:function(n){return e.createComment(n)},J:function(n,t,e){return n.insertBefore(t,e)},Ln:function(n){return n.remove()},Rn:function(n,t){return n.appendChild(t)},kn:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Dn:function(n){return n.childNodes},Fn:function(n){return n.parentNode},Hn:function(n){return n.nextSibling},qn:function(n){return n.previousSibling},Un:function(n){return p(n.nodeName)},Bn:function(n){return n.textContent},In:function(n,t){return n.textContent=t},Gn:function(n,t){return n.getAttribute(t)},Qn:function(n,t,e){return n.setAttribute(t,e)},en:function(n,t){return n.removeAttribute(t)},rn:function(n,t){return n.hasAttribute(t)},Yn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Zn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.zn(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},in:function(t,e,o,u,f,c,a,l,v){var p=t,h=o,d=r.get(t);v=e,d&&d[v]&&d[v](),"string"==typeof c?p=i.Zn(t,c):"object"==typeof c?p=c:(l=e.split(":")).length>1&&(p=i.Zn(t,l[0]),e=l[1]),p&&((l=e.split(".")).length>1&&(e=l[0],h=function(n){n.keyCode===s[l[1]]&&o(n)}),a=i.Tn?{capture:!!u,passive:!!f}:!!u,n.ael(p,e,h,a),d||r.set(t,d={}),d[v]=function(){p&&n.rel(p,e,h,a),d[v]=null})},on:function(n,t,e){(e=r.get(n))&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Jn:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},zn:function(n,t){return(t=i.Fn(n))&&11===i.Wn(t)?t.host:t},Kn:function(n,t,e,r){return n.setAttributeNS(t,e,r)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Tn=!0}}))}catch(n){}return i}(h,r,i),b=y.Y.documentElement,m=r["s-defined"]=r["s-defined"]||{},w={Q:y,r:function(n,t){r.customElements.get(n.n)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.yn.delete(e),n.Vn.has(e)||(n.Xn=!0,n.pn.add(e),n.Vn.set(e,!0),function(n,t,e){for(e=t;e=n.Q.zn(e);)if(n.nt(e)){n.tt.has(t)||(n.mn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.wn.set(e,function(n,t,e,r,i){return e.mode||(e.mode=n.Yn(e)),e["s-cr"]||n.Gn(e,"ssrv")||n.G&&1===t.I||(e["s-cr"]=n.Pn(""),e["s-cr"]["s-cn"]=!0,n.J(e,e["s-cr"],n.Dn(e)[0])),n.G||1!==t.I||(e.shadowRoot=e),r={On:{}},t.V&&Object.keys(t.V).forEach(function(o){(i=t.V[o].nn)&&(r.On[i]=n.Gn(e,i))}),r}(n.Q,t,e)),n.et(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){!n.rt&&function(n,t){for(;t;){if(!n.Fn(t))return 9!==n.Wn(t);t=n.Fn(t)}}(n.Q,t)&&(n.yn.set(t,!0),L(n,t),k(n.An.get(t),!0),n.Q.on(t),n.it.delete(t),[n.mn,n.ot,n.wn].forEach(function(n){return n.delete(t)}))})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if((i=n.bn.get(t))&&!n.yn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.tt.set(t,!0),(u=n.ut.has(t))||(n.ut.set(t,!0),t["s-ld"]=void 0,n.Q.kn(t,e));try{k(n.An.get(t)),(o=n.ot.get(t))&&(o.forEach(function(n){return n(t)}),n.ot.delete(t)),!u&&i.componentDidLoad&&i.componentDidLoad()}catch(e){n.gn(e,4,t)}L(n,t)}})(n,this,r)},e.forceUpdate=function(){S(n,this,i)},t.V){var o=Object.entries(t.V),u={};o.forEach(function(n){var t=n[0],e=n[1].nn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1],u=o.un;3&u?x(e,i,function t(){return(n.En.get(this)||{})[i]},function t(e){T(n,this,i,O(o.tn,e),r)}):32===u&&W(e,i,d)})}(n,0,e,i)}}(w,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.V).map(function(n){return n.nn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},K:function(n){return a[y.Un(n)]},ft:function(n){return t[n]},isClient:!0,nt:function(n){return!(!m[y.Un(n)]&&!w.K(n))},gn:function(){},queue:t.queue=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(h))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)},h=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(h):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}}(h,r),et:function(n,t){var e={mode:t.mode,scoped:!1};n.i(e).then(function(e){try{n.Mn=e,function r(n,t,e,i,o){if(i){var u=t.n+(o||c);t[u]||(t[u]=i)}}(0,n,n.I,e.style,e.styleMode)}catch(t){n.Mn=function i(){}}S(w,t,f)})},$n:!1,dn:!1,rt:!1,jn:l,mn:new WeakMap,Z:new WeakMap,Vn:new WeakMap,it:new WeakMap,ut:new WeakMap,tt:new WeakMap,Cn:new WeakMap,wn:new WeakMap,bn:new WeakMap,yn:new WeakMap,hn:new WeakMap,ot:new WeakMap,ct:new WeakMap,An:new WeakMap,En:new WeakMap,pn:new Set,_n:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,w.Sn=t.emit=function(n,e,r){return y.Jn(n,t.eventNameFn?t.eventNameFn(e):e,r)},h.h=e,h.Context=t,h.onReady=function(){return new Promise(function(n){return w.queue.write(function(){return w.pn.size?w._n.push(n):n()})})},w.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,h,d,y,b,m,w){if(m=l.vchildren[p],e||(o=!0,"slot"===m.vtag&&(r&&t.kn(h,r+"-s"),m.vchildren?m.at=!0:m.st=!0)),v(m.vtext))m.t=t.Pn(m.vtext);else if(m.st)m.t=t.Pn("");else{if(y=m.t=j||"svg"===m.vtag?t.xn("http://www.w3.org/2000/svg",m.vtag):t.z(m.at?"slot-fb":m.vtag),n.nt(y)&&n.tt.delete(c),j="svg"===m.vtag||"foreignObject"!==m.vtag&&j,M(n,null,m,j),v(r)&&y["s-si"]!==r&&t.kn(y,y["s-si"]=r),m.vchildren)for(d=0;d<m.vchildren.length;++d)(b=a(i,m,d,y))&&t.Rn(y,b);"svg"===m.vtag&&(j=!1)}return m.t["s-hn"]=f,(m.at||m.st)&&(m.t["s-sr"]=!0,m.t["s-cr"]=u,m.t["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[p])&&w.vtag===m.vtag&&i.t&&s(i.t)),m.t},s=function(e,r,i,u){n.rt=!0;var c=t.Dn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.Ln(u),t.J(y(u),u,d(u)),t.Ln(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.rt=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.Fn(l)||n).shadowRoot&&t.Un(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Pn(i[o].vtext):a(null,r,o,n))&&(i[o].t=s,t.J(c,s,d(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].t,i=!0,o["s-ol"]?t.Ln(o["s-ol"]):s(o,!0),t.Ln(o))},h=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},d=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.Fn(n["s-ol"]?n["s-ol"]:n)},b=function(e,r,i){var o=r.t=e.t,u=e.vchildren,f=r.vchildren;j=r.t&&v(t.zn(r.t))&&void 0!==r.t.ownerSVGElement,j="svg"===r.vtag||"foreignObject"!==r.vtag&&j,v(r.vtext)?(i=o["s-cr"])?t.In(t.Fn(i),r.vtext):e.vtext!==r.vtext&&t.In(o,r.vtext):("slot"!==r.vtag&&M(n,e,r,j),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var m=0,w=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];m<=g&&w<=k;)if(null==M)M=e[++m];else if(null==j)j=e[--g];else if(null==$)$=i[++w];else if(null==A)A=i[--k];else if(h(M,$))b(M,$),M=e[++m],$=i[++w];else if(h(j,A))b(j,A),j=e[--g],A=i[--k];else if(h(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Fn(M.t)),b(M,A),t.J(n,M.t,t.Hn(j.t)),M=e[++m],A=i[--k];else if(h(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Fn(j.t)),b(j,$),t.J(n,j.t,M.t),j=e[--g],$=i[++w];else{for(o=null,u=m;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[w],r,o,n):(b(c,$),e[o]=void 0,f=c.t),$=i[++w]):(f=a(e&&e[w],r,w,n),$=i[++w]),f&&t.J(y(M.t),f,d(M.t))}m>g?l(n,null==i[k+1]?null:i[k+1].t,r,i,w,k):w>k&&p(e,m,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.In(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),j&&"svg"===r.vtag&&(j=!1)},m=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Dn(n)).length;i<o;i++)if(e=r[i],1===t.Wn(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.Wn(r[u]),""!==f){if(1===c&&f===t.Gn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.Bn(r[u]).trim()){e.hidden=!0;break}m(e)}},w=[],g=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Dn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Dn(t.Fn(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.Wn(o))||8===l)&&""===s||1===l&&null===t.Gn(o,"slot")&&""===s||1===l&&t.Gn(o,"slot")===s)&&(w.some(function(n){return n.lt===o})||(i=!0,o["s-sn"]=s,w.push({vt:r,lt:o})));1===t.Wn(r)&&g(r)}};return function(a,s,l,v,p,h,d,y,M,j,k,$){if(c=a,f=t.Un(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,b(s,l),o){for(g(l.t),d=0;d<w.length;d++)(y=w[d]).lt["s-ol"]||((M=t.Pn(""))["s-nr"]=y.lt,t.J(t.Fn(y.lt),y.lt["s-ol"]=M,y.lt));for(n.rt=!0,d=0;d<w.length;d++){for(y=w[d],k=t.Fn(y.vt),$=t.Hn(y.vt),M=y.lt["s-ol"];M=t.qn(M);)if((j=M["s-nr"])&&j&&j["s-sn"]===y.lt["s-sn"]&&k===t.Fn(j)&&(j=t.Hn(j))&&j&&!j["s-nr"]){$=j;break}(!$&&k!==t.Fn(y.lt)||t.Hn(y.lt)!==$)&&y.lt!==$&&(t.Ln(y.lt),t.J(k,y.lt,$))}n.rt=!1}return i&&m(l.t),w.length=0,l}}(w,y),b["s-ld"]=[],b["s-rn"]=!0,b["s-init"]=function(){w.tt.set(b,h.loaded=w.dn=!0),y.Jn(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.K(t);if(r)if(n.tt.has(t))e(t);else{var i=n.ot.get(t)||[];i.push(e),n.ot.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(w,h,r,r["s-apps"],r["s-cr"]),h.initialized=!0,w},D={},F=!1;export{r as defineCustomElement,e as h};

@@ -8,2 +8,2 @@ /*!

/* webpackMode: "lazy" */
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})}if(!D[a]){var c={},s=e.resourcesUrl||"./";f(a,c,n,i,s,o),D[a]=R(a,c,n,i,s,o,r)}window.customStyleShim?(D[a].o=window.customStyleShim,D[a].o.initShim().then(u)):u()})}this&&this.u;var i=this&&this.f||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.c(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.a?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).c())})},o=this&&this.s||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.c)&&!(o=o.call(i,e[1])).a)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.l++,{value:e[1],a:!1};case 5:f.l++,i=e[1],e=[0];continue;case 7:e=f.v.pop(),f.p.pop();continue;default:if(!(o=(o=f.p).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.l=e[1];break}if(6===e[0]&&f.l<o[1]){f.l=o[1],o=e;break}if(o&&f.l<o[2]){f.l=o[2],f.v.push(e);break}o[2]&&f.v.pop(),f.p.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,a:!0}}([e,u])}}var r,i,o,u,f={l:0,d:function(){if(1&o[0])throw o[1];return o[1]},p:[],v:[]};return u={c:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this,f=function(){};function applyPolyfills(n){n.y=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&h(r);var i=e.b;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.m)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.b===W?s(n,t.m):t.b===x?l(n,t.m):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.w);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.g&&n.g(n.m),p(n)}function s(n,t){n.b===T&&(n.m=t,n.b=W,0!==n.M.length&&M(p,n))}function l(n,t){n.b===T&&(n.b=x,n.m=t,M(a,n))}function v(n,t,e,r){var i=n.M,o=i.length;n.g=null,i[o]=t,i[o+W]=e,i[o+x]=r,0===o&&n.b&&M(p,n)}function p(n){var t=n.M,e=n.b;if(0!==t.length){for(var r,i,o=n.m,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.M.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.b===T&&(i&&f?c(t,o):a?l(t,u):n===W?s(t,o):n===x&&l(t,o))}function h(n){n[_]=N++,n.b=void 0,n.m=void 0,n.M=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.j||j.k;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.A.onmessage=e,function(){return n.C.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().O("vertx");return void 0!==(w=n.S||n._)?function(){w(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),T=void 0,W=1,x=2,P={error:null},N=0,L=function(){function n(n,t){this.T=n,this.W=new n(o),this.W[_]||h(this.W),b(t)?(this.x=this.length=t.length,this.m=Array(this.length),0===this.length?s(this.W,this.m):(this.length=this.length||0,this.P(t),0===this.x&&s(this.W,this.m))):l(this.W,Error("Array Methods must be provided an Array"))}return n.prototype.P=function(n){for(var t=0;this.b===T&&t<n.length;t++)this.N(n[t],t)},n.prototype.N=function(n,t){var e=this.T,c=e.resolve;c===i?(c=u(n))===r&&n.b!==T?this.L(n.b,t,n.m):"function"!=typeof c?(this.x--,this.m[t]=n):e===R?(f(e=new e(o),n,c),this.R(e,t)):this.R(new e(function(t){return t(n)}),t):this.R(c(n),t)},n.prototype.L=function(n,t,e){var r=this.W;r.b===T&&(this.x--,n===x?l(r,e):this.m[t]=e),0===this.x&&s(r,this.m)},n.prototype.R=function(n,t){var e=this;v(n,void 0,function(n){return e.L(W,t,n)},function(n){return e.L(x,t,n)})},n}(),R=function(){function n(t){if(this[_]=N++,this.m=this.b=void 0,this.M=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.D=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return R.prototype.then=r,R.all=function(n){return new L(this,n).W},R.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},R.resolve=i,R.reject=function(n){var t=new this(o);return l(t,n),t},R.F=function(n){g=n},R.H=function(n){M=n},R.q=M,R.U=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.B)return}n.Promise=R},R.Promise=R,R.U(),R}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.I}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.n+c,u=r[o];if((2===r.G||1===r.G&&!t.Y.Q)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.Z.head,a=t.z.get(f);if(a||t.z.set(f,a={}),!a[o]){var s=void 0;if(t.o?s=t.o.createHostStyle(i,o,u):((s=e.J("style")).innerHTML=u,a[o]=!0),s){var l=f.querySelectorAll("[data-styles]");e.K(f,s,l.length&&l[l.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},d=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},h=function(){},y=function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(b,p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(b,p(t),e):n.setAttribute(t,e))},b="http://www.w3.org/1999/xlink",m=function(n,t,e,r,i,o,u){if("class"!==e||o)if("style"===e){for(var f in r)i&&null!=i[f]||(/-/.test(f)?t.style.removeProperty(f):t.style[f]="");for(var f in i)r&&i[f]===r[f]||(/-/.test(f)?t.style.setProperty(f,i[f]):t.style[f]=i[f])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var c=n.V(t);c&&c.X&&c.X[e]?(g(t,e,i),u&&c.X[e].nn&&y(t,c.X[e].tn,i,4===c.X[e].en)):"ref"!==e&&(g(t,e,null==i?"":i),null!=i&&!1!==i||n.Y.rn(t,e))}else null!=i&&"key"!==e?y(t,e,i):(o||n.Y.in(t,e)&&(null==i||!1===i))&&n.Y.rn(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Y.on(t,e,i):n.Y.un(t,e);else if(r!==i){var a=w(r),s=w(i),l=a.filter(function(n){return!s.includes(n)}),v=w(t.className).filter(function(n){return!l.includes(n)}),d=s.filter(function(n){return!a.includes(n)&&!v.includes(n)});v.push.apply(v,d),t.className=v.join(" ")}},w=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},g=function(n,t,e){try{n[t]=e}catch(n){}},M=function(n,t,e,r,i){var o=11===e.t.nodeType&&e.t.host?e.t.host:e.t,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||m(n,o,i,u[i],void 0,r,e.e);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||m(n,o,i,u[i],f[i],r,e.e)},j=!1,k=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){k(n,t)}))},$=[],A={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},E=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{tn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={fn:e[1],nn:!!e[2],tn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,en:e[4]};return{n:r,i,X:Object.assign({},c),G:u,cn:f?f.map(C):void 0}},C=function(n){return{an:n[0],sn:n[1],ln:!!n[2],vn:!!n[3],pn:!!n[4]}},O=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},S=function(n,t,e){n.dn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.yn?n.queue.write(function(){return _(n,t,e)}):n.queue.tick(function(){return _(n,t,e)}))},_=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.l){case 0:if(n.hn.delete(r),n.bn.has(r))return[3,12];if(a=n.mn.get(r))return[3,6];if((s=n.wn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){_(n,r,f)}),[2];if(!(a=N(n,r,n.gn.get(r),f)))return[3,5];o.l=1;case 1:return o.p.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.d(),o.l=3;case 3:return[3,5];case 4:return i=o.d(),n.Mn(i,3,r),[3,5];case 5:return[3,11];case 6:if(!a)return[3,11];o.l=7;case 7:return o.p.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.d(),o.l=9;case 9:return[3,11];case 10:return u=o.d(),n.Mn(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u,f=r.jn.host,c=r.jn.encapsulation,a=i;if(u=function(n,t,e){return n&&Object.keys(n).forEach(function(r){n[r].reflectToAttr&&((e=e||{})[r]=t[r])}),e}(r.jn.properties,o),!i["s-rn"]){n.kn(n,n.Y,r,i);var s=i["s-sc"];s&&(n.Y.$n(i,t(s,!0)),"scoped"===c&&n.Y.$n(i,t(s)))}if(o.render||o.hostData||f||u){n.An=!0;var l=o.render&&o.render(),v=void 0;u&&(v=v?Object.assign(v,u):u),n.An=!1;var p=e(null,v,l),d=n.En.get(i)||{};d.t=a,p.e=!0,n.En.set(i,n.render(i,d,p,!1,c))}n.o&&n.o.updateHost(i),i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.An=!1,n.Mn(t,8,i,!0)}})(n,n.V(r),r,a),r["s-init"](),o.l=12;case 12:return[2]}})})},T=function(n,t,e,r,i,o,u){(u=n.Cn.get(t))||n.Cn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.mn.get(t))){var c=u[P+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.An&&t["s-rn"]&&S(n,t,i)}},W=function(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})},x=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},P="wc-",N=function(n,t,e,r,i,o){try{i=new(o=n.V(t).jn),function(n,t,e,r,i,o){n.On.set(r,e),n.Cn.has(e)||n.Cn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n.Cn.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.Sn)&&v(c=f[t.attr])&&(a[i]=O(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=O(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[P+i]=t.watchCallbacks.slice()),x(r,i,function s(t){return(t=n.Cn.get(n.On.get(this)))&&t[i]},function l(e,r){(r=n.On.get(this))&&(t.state||t.mutable)&&T(n,r,i,e,u)})}else t.elementRef?W(r,i,e):t.method&&W(e,i,r[i].bind(r))})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.On.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n._n(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.Mn(e,7,t,!0)}return n.mn.set(t,i),i},L=function(n,t,e,r,i,o){if(n.dn.delete(t),(i=n.wn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.wn.delete(t)),n.Tn.length&&!n.dn.size)for(;o=n.Tn.shift();)o()},R=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},d=r[n]=r[n]||{},y=function(n,t,e){var r=new WeakMap,i={Z:e,Q:!!e.documentElement.attachShadow,Wn:!1,xn:function(n){return n.nodeType},J:function(n){return e.createElement(n)},Pn:function(n,t){return e.createElementNS(n,t)},Nn:function(n){return e.createTextNode(n)},Ln:function(n){return e.createComment(n)},K:function(n,t,e){return n.insertBefore(t,e)},Rn:function(n){return n.remove()},Dn:function(n,t){return n.appendChild(t)},$n:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Fn:function(n){return n.childNodes},Hn:function(n){return n.parentNode},qn:function(n){return n.nextSibling},Un:function(n){return n.previousSibling},Bn:function(n){return p(n.nodeName)},In:function(n){return n.textContent},Gn:function(n,t){return n.textContent=t},Qn:function(n,t){return n.getAttribute(t)},Yn:function(n,t,e){return n.setAttribute(t,e)},rn:function(n,t){return n.removeAttribute(t)},in:function(n,t){return n.hasAttribute(t)},Zn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},zn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.Jn(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},on:function(t,e,o,u,f,c,a,l,v){var p=t,d=o,h=r.get(t);v=e,h&&h[v]&&h[v](),"string"==typeof c?p=i.zn(t,c):"object"==typeof c?p=c:(l=e.split(":")).length>1&&(p=i.zn(t,l[0]),e=l[1]),p&&((l=e.split(".")).length>1&&(e=l[0],d=function(n){n.keyCode===s[l[1]]&&o(n)}),a=i.Wn?{capture:!!u,passive:!!f}:!!u,n.ael(p,e,d,a),h||r.set(t,h={}),h[v]=function(){p&&n.rel(p,e,d,a),h[v]=null})},un:function(n,t,e){(e=r.get(n))&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Kn:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},Jn:function(n,t){return(t=i.Hn(n))&&11===i.xn(t)?t.host:t},Vn:function(n,t,e,r){return n.setAttributeNS(t,e,r)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Wn=!0}}))}catch(n){}return i}(d,r,i),b=y.Z.documentElement,m=r["s-defined"]=r["s-defined"]||{},w={Y:y,r:function(n,t){r.customElements.get(n.n)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.bn.delete(e),n.Xn.has(e)||(n.nt=!0,n.dn.add(e),n.Xn.set(e,!0),function(n,t,e){for(e=t;e=n.Y.Jn(e);)if(n.tt(e)){n.et.has(t)||(n.wn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.gn.set(e,function(n,t,e,r,i){return e.mode||(e.mode=n.Zn(e)),e["s-cr"]||n.Qn(e,"ssrv")||n.Q&&1===t.G||(e["s-cr"]=n.Nn(""),e["s-cr"]["s-cn"]=!0,n.K(e,e["s-cr"],n.Fn(e)[0])),n.Q||1!==t.G||(e.shadowRoot=e),r={Sn:{}},t.X&&Object.keys(t.X).forEach(function(o){(i=t.X[o].tn)&&(r.Sn[i]=n.Qn(e,i))}),r}(n.Y,t,e)),n.rt(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){!n.it&&function(n,t){for(;t;){if(!n.Hn(t))return 9!==n.xn(t);t=n.Hn(t)}}(n.Y,t)&&(n.bn.set(t,!0),L(n,t),k(n.En.get(t),!0),n.Y.un(t),n.ot.delete(t),n.o&&n.o.ut(t),[n.wn,n.ft,n.gn].forEach(function(n){return n.delete(t)}))})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if((i=n.mn.get(t))&&!n.bn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.et.set(t,!0),(u=n.ct.has(t))||(n.ct.set(t,!0),t["s-ld"]=void 0,n.Y.$n(t,e));try{k(n.En.get(t)),(o=n.ft.get(t))&&(o.forEach(function(n){return n(t)}),n.ft.delete(t)),!u&&i.componentDidLoad&&i.componentDidLoad()}catch(e){n.Mn(e,4,t)}L(n,t)}})(n,this,r)},e.forceUpdate=function(){S(n,this,i)},t.X){var o=Object.entries(t.X),u={};o.forEach(function(n){var t=n[0],e=n[1].tn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1],u=o.fn;3&u?x(e,i,function t(){return(n.Cn.get(this)||{})[i]},function t(e){T(n,this,i,O(o.en,e),r)}):32===u&&W(e,i,h)})}(n,0,e,i)}}(w,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.X).map(function(n){return n.tn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},V:function(n){return a[y.Bn(n)]},at:function(n){return t[n]},isClient:!0,tt:function(n){return!(!m[y.Bn(n)]&&!w.V(n))},Mn:function(){},queue:t.queue=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(d))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)},d=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(d):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}}(d,r),rt:function(n,t){var e={mode:t.mode,scoped:!1};n.i(e).then(function(e){try{n.jn=e,function r(n,t,e,i,o){if(i){var u=t.n+(o||c);t[u]||(t[u]=i)}}(0,n,n.G,e.style,e.styleMode)}catch(t){n.jn=function i(){}}S(w,t,f)})},An:!1,yn:!1,it:!1,kn:l,wn:new WeakMap,z:new WeakMap,Xn:new WeakMap,ot:new WeakMap,ct:new WeakMap,et:new WeakMap,On:new WeakMap,gn:new WeakMap,mn:new WeakMap,bn:new WeakMap,hn:new WeakMap,ft:new WeakMap,st:new WeakMap,En:new WeakMap,Cn:new WeakMap,dn:new Set,Tn:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,w._n=t.emit=function(n,e,r){return y.Kn(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=e,d.Context=t,d.onReady=function(){return new Promise(function(n){return w.queue.write(function(){return w.dn.size?w.Tn.push(n):n()})})},w.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,d,h,y,b,m,w){if(m=l.vchildren[p],e||(o=!0,"slot"===m.vtag&&(r&&t.$n(d,r+"-s"),m.vchildren?m.lt=!0:m.vt=!0)),v(m.vtext))m.t=t.Nn(m.vtext);else if(m.vt)m.t=t.Nn("");else{if(y=m.t=j||"svg"===m.vtag?t.Pn("http://www.w3.org/2000/svg",m.vtag):t.J(m.lt?"slot-fb":m.vtag),n.tt(y)&&n.et.delete(c),j="svg"===m.vtag||"foreignObject"!==m.vtag&&j,M(n,null,m,j),v(r)&&y["s-si"]!==r&&t.$n(y,y["s-si"]=r),m.vchildren)for(h=0;h<m.vchildren.length;++h)(b=a(i,m,h,y))&&t.Dn(y,b);"svg"===m.vtag&&(j=!1)}return m.t["s-hn"]=f,(m.lt||m.vt)&&(m.t["s-sr"]=!0,m.t["s-cr"]=u,m.t["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[p])&&w.vtag===m.vtag&&i.t&&s(i.t)),m.t},s=function(e,r,i,u){n.it=!0;var c=t.Fn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.Rn(u),t.K(y(u),u,h(u)),t.Rn(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.it=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.Hn(l)||n).shadowRoot&&t.Bn(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Nn(i[o].vtext):a(null,r,o,n))&&(i[o].t=s,t.K(c,s,h(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].t,i=!0,o["s-ol"]?t.Rn(o["s-ol"]):s(o,!0),t.Rn(o))},d=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},h=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.Hn(n["s-ol"]?n["s-ol"]:n)},b=function(e,r,i){var o=r.t=e.t,u=e.vchildren,f=r.vchildren;j=r.t&&v(t.Jn(r.t))&&void 0!==r.t.ownerSVGElement,j="svg"===r.vtag||"foreignObject"!==r.vtag&&j,v(r.vtext)?(i=o["s-cr"])?t.Gn(t.Hn(i),r.vtext):e.vtext!==r.vtext&&t.Gn(o,r.vtext):("slot"!==r.vtag&&M(n,e,r,j),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var m=0,w=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];m<=g&&w<=k;)if(null==M)M=e[++m];else if(null==j)j=e[--g];else if(null==$)$=i[++w];else if(null==A)A=i[--k];else if(d(M,$))b(M,$),M=e[++m],$=i[++w];else if(d(j,A))b(j,A),j=e[--g],A=i[--k];else if(d(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(M.t)),b(M,A),t.K(n,M.t,t.qn(j.t)),M=e[++m],A=i[--k];else if(d(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(j.t)),b(j,$),t.K(n,j.t,M.t),j=e[--g],$=i[++w];else{for(o=null,u=m;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[w],r,o,n):(b(c,$),e[o]=void 0,f=c.t),$=i[++w]):(f=a(e&&e[w],r,w,n),$=i[++w]),f&&t.K(y(M.t),f,h(M.t))}m>g?l(n,null==i[k+1]?null:i[k+1].t,r,i,w,k):w>k&&p(e,m,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.Gn(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),j&&"svg"===r.vtag&&(j=!1)},m=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Fn(n)).length;i<o;i++)if(e=r[i],1===t.xn(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.xn(r[u]),""!==f){if(1===c&&f===t.Qn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.In(r[u]).trim()){e.hidden=!0;break}m(e)}},w=[],g=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Fn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Fn(t.Hn(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.xn(o))||8===l)&&""===s||1===l&&null===t.Qn(o,"slot")&&""===s||1===l&&t.Qn(o,"slot")===s)&&(w.some(function(n){return n.pt===o})||(i=!0,o["s-sn"]=s,w.push({dt:r,pt:o})));1===t.xn(r)&&g(r)}};return function(a,s,l,v,p,d,h,y,M,j,k,$){if(c=a,f=t.Bn(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,b(s,l),o){for(g(l.t),h=0;h<w.length;h++)(y=w[h]).pt["s-ol"]||((M=t.Nn(""))["s-nr"]=y.pt,t.K(t.Hn(y.pt),y.pt["s-ol"]=M,y.pt));for(n.it=!0,h=0;h<w.length;h++){for(y=w[h],k=t.Hn(y.dt),$=t.qn(y.dt),M=y.pt["s-ol"];M=t.Un(M);)if((j=M["s-nr"])&&j&&j["s-sn"]===y.pt["s-sn"]&&k===t.Hn(j)&&(j=t.qn(j))&&j&&!j["s-nr"]){$=j;break}(!$&&k!==t.Hn(y.pt)||t.qn(y.pt)!==$)&&y.pt!==$&&(t.Rn(y.pt),t.K(k,y.pt,$))}n.it=!1}return i&&m(l.t),w.length=0,l}}(w,y),b["s-ld"]=[],b["s-rn"]=!0,b["s-init"]=function(){w.et.set(b,d.loaded=w.yn=!0),y.Kn(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.V(t);if(r)if(n.et.has(t))e(t);else{var i=n.ft.get(t)||[];i.push(e),n.ft.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(w,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,w},D={},F=!1;export{r as defineCustomElement,e as h};
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})}if(!D[a]){var c={},s=e.resourcesUrl||"./";f(a,c,n,i,s,o),D[a]=R(a,c,n,i,s,o,r)}window.customStyleShim?(D[a].o=window.customStyleShim,D[a].o.initShim().then(u)):u()})}this&&this.u;var i=this&&this.f||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.c(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.a?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).c())})},o=this&&this.s||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.c)&&!(o=o.call(i,e[1])).a)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.l++,{value:e[1],a:!1};case 5:f.l++,i=e[1],e=[0];continue;case 7:e=f.v.pop(),f.p.pop();continue;default:if(!(o=(o=f.p).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.l=e[1];break}if(6===e[0]&&f.l<o[1]){f.l=o[1],o=e;break}if(o&&f.l<o[2]){f.l=o[2],f.v.push(e);break}o[2]&&f.v.pop(),f.p.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,a:!0}}([e,u])}}var r,i,o,u,f={l:0,d:function(){if(1&o[0])throw o[1];return o[1]},p:[],v:[]};return u={c:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this,f=function(){};function applyPolyfills(n){n.y=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&h(r);var i=e.b;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.m)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.b===W?s(n,t.m):t.b===x?l(n,t.m):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.w);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.g&&n.g(n.m),p(n)}function s(n,t){n.b===T&&(n.m=t,n.b=W,0!==n.M.length&&M(p,n))}function l(n,t){n.b===T&&(n.b=x,n.m=t,M(a,n))}function v(n,t,e,r){var i=n.M,o=i.length;n.g=null,i[o]=t,i[o+W]=e,i[o+x]=r,0===o&&n.b&&M(p,n)}function p(n){var t=n.M,e=n.b;if(0!==t.length){for(var r,i,o=n.m,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.M.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.b===T&&(i&&f?c(t,o):a?l(t,u):n===W?s(t,o):n===x&&l(t,o))}function h(n){n[_]=N++,n.b=void 0,n.m=void 0,n.M=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.j||j.k;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.A.onmessage=e,function(){return n.C.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().O("vertx");return void 0!==(w=n.S||n._)?function(){w(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),T=void 0,W=1,x=2,P={error:null},N=0,L=function(){function n(n,t){this.T=n,this.W=new n(o),this.W[_]||h(this.W),b(t)?(this.x=this.length=t.length,this.m=Array(this.length),0===this.length?s(this.W,this.m):(this.length=this.length||0,this.P(t),0===this.x&&s(this.W,this.m))):l(this.W,Error("Array Methods must be provided an Array"))}return n.prototype.P=function(n){for(var t=0;this.b===T&&t<n.length;t++)this.N(n[t],t)},n.prototype.N=function(n,t){var e=this.T,c=e.resolve;c===i?(c=u(n))===r&&n.b!==T?this.L(n.b,t,n.m):"function"!=typeof c?(this.x--,this.m[t]=n):e===R?(f(e=new e(o),n,c),this.R(e,t)):this.R(new e(function(t){return t(n)}),t):this.R(c(n),t)},n.prototype.L=function(n,t,e){var r=this.W;r.b===T&&(this.x--,n===x?l(r,e):this.m[t]=e),0===this.x&&s(r,this.m)},n.prototype.R=function(n,t){var e=this;v(n,void 0,function(n){return e.L(W,t,n)},function(n){return e.L(x,t,n)})},n}(),R=function(){function n(t){if(this[_]=N++,this.m=this.b=void 0,this.M=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.D=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return R.prototype.then=r,R.all=function(n){return new L(this,n).W},R.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},R.resolve=i,R.reject=function(n){var t=new this(o);return l(t,n),t},R.F=function(n){g=n},R.H=function(n){M=n},R.q=M,R.U=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.B)return}n.Promise=R},R.Promise=R,R.U(),R}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.I}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.n+c,u=r[o];if((2===r.G||1===r.G&&!t.Y.Q)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.Z.head,a=t.z.get(f);if(a||t.z.set(f,a={}),!a[o]){var s=void 0;if(t.o?s=t.o.createHostStyle(i,o,u):((s=e.J("style")).innerHTML=u,a[o]=!0),s){var l=f.querySelectorAll("[data-styles]");e.K(f,s,l.length&&l[l.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},d=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},h=function(){},y=function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(b,p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(b,p(t),e):n.setAttribute(t,e))},b="http://www.w3.org/1999/xlink",m=function(n,t,e,r,i,o,u){if("class"!==e||o)if("style"===e){for(var f in r)i&&null!=i[f]||(/-/.test(f)?t.style.removeProperty(f):t.style[f]="");for(var f in i)r&&i[f]===r[f]||(/-/.test(f)?t.style.setProperty(f,i[f]):t.style[f]=i[f])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var c=n.V(t);c&&c.X&&c.X[e]?(g(t,e,i),u&&c.X[e].nn&&y(t,c.X[e].tn,i,4===c.X[e].en)):"ref"!==e&&(g(t,e,null==i?"":i),null!=i&&!1!==i||n.Y.rn(t,e))}else null!=i&&"key"!==e?y(t,e,i):(o||n.Y.in(t,e)&&(null==i||!1===i))&&n.Y.rn(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Y.on(t,e,i):n.Y.un(t,e);else if(r!==i){var a=w(r),s=w(i),l=a.filter(function(n){return!s.includes(n)}),v=w(t.className).filter(function(n){return!l.includes(n)}),d=s.filter(function(n){return!a.includes(n)&&!v.includes(n)});v.push.apply(v,d),t.className=v.join(" ")}},w=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},g=function(n,t,e){try{n[t]=e}catch(n){}},M=function(n,t,e,r,i){var o=11===e.t.nodeType&&e.t.host?e.t.host:e.t,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||m(n,o,i,u[i],void 0,r,e.e);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||m(n,o,i,u[i],f[i],r,e.e)},j=!1,k=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){k(n,t)}))},$=[],A={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},E=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{tn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={fn:e[1],nn:!!e[2],tn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,en:e[4]};return{n:r,i:i,X:Object.assign({},c),G:u,cn:f?f.map(C):void 0}},C=function(n){return{an:n[0],sn:n[1],ln:!!n[2],vn:!!n[3],pn:!!n[4]}},O=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},S=function(n,t,e){n.dn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.yn?n.queue.write(function(){return _(n,t,e)}):n.queue.tick(function(){return _(n,t,e)}))},_=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.l){case 0:if(n.hn.delete(r),n.bn.has(r))return[3,12];if(a=n.mn.get(r))return[3,6];if((s=n.wn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){_(n,r,f)}),[2];if(!(a=N(n,r,n.gn.get(r),f)))return[3,5];o.l=1;case 1:return o.p.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.d(),o.l=3;case 3:return[3,5];case 4:return i=o.d(),n.Mn(i,3,r),[3,5];case 5:return[3,11];case 6:if(!a)return[3,11];o.l=7;case 7:return o.p.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.d(),o.l=9;case 9:return[3,11];case 10:return u=o.d(),n.Mn(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u,f=r.jn.host,c=r.jn.encapsulation,a=i;if(u=function(n,t,e){return n&&Object.keys(n).forEach(function(r){n[r].reflectToAttr&&((e=e||{})[r]=t[r])}),e}(r.jn.properties,o),!i["s-rn"]){n.kn(n,n.Y,r,i);var s=i["s-sc"];s&&(n.Y.$n(i,t(s,!0)),"scoped"===c&&n.Y.$n(i,t(s)))}if(o.render||o.hostData||f||u){n.An=!0;var l=o.render&&o.render(),v=void 0;u&&(v=v?Object.assign(v,u):u),n.An=!1;var p=e(null,v,l),d=n.En.get(i)||{};d.t=a,p.e=!0,n.En.set(i,n.render(i,d,p,!1,c))}n.o&&n.o.updateHost(i),i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.An=!1,n.Mn(t,8,i,!0)}})(n,n.V(r),r,a),r["s-init"](),o.l=12;case 12:return[2]}})})},T=function(n,t,e,r,i,o,u){(u=n.Cn.get(t))||n.Cn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.mn.get(t))){var c=u[P+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.An&&t["s-rn"]&&S(n,t,i)}},W=function(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})},x=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},P="wc-",N=function(n,t,e,r,i,o){try{i=new(o=n.V(t).jn),function(n,t,e,r,i,o){n.On.set(r,e),n.Cn.has(e)||n.Cn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n.Cn.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.Sn)&&v(c=f[t.attr])&&(a[i]=O(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=O(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[P+i]=t.watchCallbacks.slice()),x(r,i,function s(t){return(t=n.Cn.get(n.On.get(this)))&&t[i]},function l(e,r){(r=n.On.get(this))&&(t.state||t.mutable)&&T(n,r,i,e,u)})}else t.elementRef?W(r,i,e):t.method&&W(e,i,r[i].bind(r))})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.On.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n._n(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.Mn(e,7,t,!0)}return n.mn.set(t,i),i},L=function(n,t,e,r,i,o){if(n.dn.delete(t),(i=n.wn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.wn.delete(t)),n.Tn.length&&!n.dn.size)for(;o=n.Tn.shift();)o()},R=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},d=r[n]=r[n]||{},y=function(n,t,e){var r=new WeakMap,i={Z:e,Q:!!e.documentElement.attachShadow,Wn:!1,xn:function(n){return n.nodeType},J:function(n){return e.createElement(n)},Pn:function(n,t){return e.createElementNS(n,t)},Nn:function(n){return e.createTextNode(n)},Ln:function(n){return e.createComment(n)},K:function(n,t,e){return n.insertBefore(t,e)},Rn:function(n){return n.remove()},Dn:function(n,t){return n.appendChild(t)},$n:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Fn:function(n){return n.childNodes},Hn:function(n){return n.parentNode},qn:function(n){return n.nextSibling},Un:function(n){return n.previousSibling},Bn:function(n){return p(n.nodeName)},In:function(n){return n.textContent},Gn:function(n,t){return n.textContent=t},Qn:function(n,t){return n.getAttribute(t)},Yn:function(n,t,e){return n.setAttribute(t,e)},rn:function(n,t){return n.removeAttribute(t)},in:function(n,t){return n.hasAttribute(t)},Zn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},zn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.Jn(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},on:function(t,e,o,u,f,c,a,l,v){var p=t,d=o,h=r.get(t);v=e,h&&h[v]&&h[v](),"string"==typeof c?p=i.zn(t,c):"object"==typeof c?p=c:(l=e.split(":")).length>1&&(p=i.zn(t,l[0]),e=l[1]),p&&((l=e.split(".")).length>1&&(e=l[0],d=function(n){n.keyCode===s[l[1]]&&o(n)}),a=i.Wn?{capture:!!u,passive:!!f}:!!u,n.ael(p,e,d,a),h||r.set(t,h={}),h[v]=function(){p&&n.rel(p,e,d,a),h[v]=null})},un:function(n,t,e){(e=r.get(n))&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Kn:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},Jn:function(n,t){return(t=i.Hn(n))&&11===i.xn(t)?t.host:t},Vn:function(n,t,e,r){return n.setAttributeNS(t,e,r)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Wn=!0}}))}catch(n){}return i}(d,r,i),b=y.Z.documentElement,m=r["s-defined"]=r["s-defined"]||{},w={Y:y,r:function(n,t){r.customElements.get(n.n)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.bn.delete(e),n.Xn.has(e)||(n.nt=!0,n.dn.add(e),n.Xn.set(e,!0),function(n,t,e){for(e=t;e=n.Y.Jn(e);)if(n.tt(e)){n.et.has(t)||(n.wn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.gn.set(e,function(n,t,e,r,i){return e.mode||(e.mode=n.Zn(e)),e["s-cr"]||n.Qn(e,"ssrv")||n.Q&&1===t.G||(e["s-cr"]=n.Nn(""),e["s-cr"]["s-cn"]=!0,n.K(e,e["s-cr"],n.Fn(e)[0])),n.Q||1!==t.G||(e.shadowRoot=e),r={Sn:{}},t.X&&Object.keys(t.X).forEach(function(o){(i=t.X[o].tn)&&(r.Sn[i]=n.Qn(e,i))}),r}(n.Y,t,e)),n.rt(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){!n.it&&function(n,t){for(;t;){if(!n.Hn(t))return 9!==n.xn(t);t=n.Hn(t)}}(n.Y,t)&&(n.bn.set(t,!0),L(n,t),k(n.En.get(t),!0),n.Y.un(t),n.ot.delete(t),n.o&&n.o.ut(t),[n.wn,n.ft,n.gn].forEach(function(n){return n.delete(t)}))})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if((i=n.mn.get(t))&&!n.bn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.et.set(t,!0),(u=n.ct.has(t))||(n.ct.set(t,!0),t["s-ld"]=void 0,n.Y.$n(t,e));try{k(n.En.get(t)),(o=n.ft.get(t))&&(o.forEach(function(n){return n(t)}),n.ft.delete(t)),!u&&i.componentDidLoad&&i.componentDidLoad()}catch(e){n.Mn(e,4,t)}L(n,t)}})(n,this,r)},e.forceUpdate=function(){S(n,this,i)},t.X){var o=Object.entries(t.X),u={};o.forEach(function(n){var t=n[0],e=n[1].tn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1],u=o.fn;3&u?x(e,i,function t(){return(n.Cn.get(this)||{})[i]},function t(e){T(n,this,i,O(o.en,e),r)}):32===u&&W(e,i,h)})}(n,0,e,i)}}(w,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.X).map(function(n){return n.tn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},V:function(n){return a[y.Bn(n)]},at:function(n){return t[n]},isClient:!0,tt:function(n){return!(!m[y.Bn(n)]&&!w.V(n))},Mn:function(){},queue:t.queue=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(d))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)},d=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(d):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}}(d,r),rt:function(n,t){var e={mode:t.mode,scoped:!1};n.i(e).then(function(e){try{n.jn=e,function r(n,t,e,i,o){if(i){var u=t.n+(o||c);t[u]||(t[u]=i)}}(0,n,n.G,e.style,e.styleMode)}catch(t){n.jn=function i(){}}S(w,t,f)})},An:!1,yn:!1,it:!1,kn:l,wn:new WeakMap,z:new WeakMap,Xn:new WeakMap,ot:new WeakMap,ct:new WeakMap,et:new WeakMap,On:new WeakMap,gn:new WeakMap,mn:new WeakMap,bn:new WeakMap,hn:new WeakMap,ft:new WeakMap,st:new WeakMap,En:new WeakMap,Cn:new WeakMap,dn:new Set,Tn:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,w._n=t.emit=function(n,e,r){return y.Kn(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=e,d.Context=t,d.onReady=function(){return new Promise(function(n){return w.queue.write(function(){return w.dn.size?w.Tn.push(n):n()})})},w.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,d,h,y,b,m,w){if(m=l.vchildren[p],e||(o=!0,"slot"===m.vtag&&(r&&t.$n(d,r+"-s"),m.vchildren?m.lt=!0:m.vt=!0)),v(m.vtext))m.t=t.Nn(m.vtext);else if(m.vt)m.t=t.Nn("");else{if(y=m.t=j||"svg"===m.vtag?t.Pn("http://www.w3.org/2000/svg",m.vtag):t.J(m.lt?"slot-fb":m.vtag),n.tt(y)&&n.et.delete(c),j="svg"===m.vtag||"foreignObject"!==m.vtag&&j,M(n,null,m,j),v(r)&&y["s-si"]!==r&&t.$n(y,y["s-si"]=r),m.vchildren)for(h=0;h<m.vchildren.length;++h)(b=a(i,m,h,y))&&t.Dn(y,b);"svg"===m.vtag&&(j=!1)}return m.t["s-hn"]=f,(m.lt||m.vt)&&(m.t["s-sr"]=!0,m.t["s-cr"]=u,m.t["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[p])&&w.vtag===m.vtag&&i.t&&s(i.t)),m.t},s=function(e,r,i,u){n.it=!0;var c=t.Fn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.Rn(u),t.K(y(u),u,h(u)),t.Rn(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.it=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.Hn(l)||n).shadowRoot&&t.Bn(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Nn(i[o].vtext):a(null,r,o,n))&&(i[o].t=s,t.K(c,s,h(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].t,i=!0,o["s-ol"]?t.Rn(o["s-ol"]):s(o,!0),t.Rn(o))},d=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},h=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.Hn(n["s-ol"]?n["s-ol"]:n)},b=function(e,r,i){var o=r.t=e.t,u=e.vchildren,f=r.vchildren;j=r.t&&v(t.Jn(r.t))&&void 0!==r.t.ownerSVGElement,j="svg"===r.vtag||"foreignObject"!==r.vtag&&j,v(r.vtext)?(i=o["s-cr"])?t.Gn(t.Hn(i),r.vtext):e.vtext!==r.vtext&&t.Gn(o,r.vtext):("slot"!==r.vtag&&M(n,e,r,j),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var m=0,w=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];m<=g&&w<=k;)if(null==M)M=e[++m];else if(null==j)j=e[--g];else if(null==$)$=i[++w];else if(null==A)A=i[--k];else if(d(M,$))b(M,$),M=e[++m],$=i[++w];else if(d(j,A))b(j,A),j=e[--g],A=i[--k];else if(d(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(M.t)),b(M,A),t.K(n,M.t,t.qn(j.t)),M=e[++m],A=i[--k];else if(d(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(j.t)),b(j,$),t.K(n,j.t,M.t),j=e[--g],$=i[++w];else{for(o=null,u=m;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[w],r,o,n):(b(c,$),e[o]=void 0,f=c.t),$=i[++w]):(f=a(e&&e[w],r,w,n),$=i[++w]),f&&t.K(y(M.t),f,h(M.t))}m>g?l(n,null==i[k+1]?null:i[k+1].t,r,i,w,k):w>k&&p(e,m,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.Gn(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),j&&"svg"===r.vtag&&(j=!1)},m=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Fn(n)).length;i<o;i++)if(e=r[i],1===t.xn(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.xn(r[u]),""!==f){if(1===c&&f===t.Qn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.In(r[u]).trim()){e.hidden=!0;break}m(e)}},w=[],g=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Fn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Fn(t.Hn(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.xn(o))||8===l)&&""===s||1===l&&null===t.Qn(o,"slot")&&""===s||1===l&&t.Qn(o,"slot")===s)&&(w.some(function(n){return n.pt===o})||(i=!0,o["s-sn"]=s,w.push({dt:r,pt:o})));1===t.xn(r)&&g(r)}};return function(a,s,l,v,p,d,h,y,M,j,k,$){if(c=a,f=t.Bn(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,b(s,l),o){for(g(l.t),h=0;h<w.length;h++)(y=w[h]).pt["s-ol"]||((M=t.Nn(""))["s-nr"]=y.pt,t.K(t.Hn(y.pt),y.pt["s-ol"]=M,y.pt));for(n.it=!0,h=0;h<w.length;h++){for(y=w[h],k=t.Hn(y.dt),$=t.qn(y.dt),M=y.pt["s-ol"];M=t.Un(M);)if((j=M["s-nr"])&&j&&j["s-sn"]===y.pt["s-sn"]&&k===t.Hn(j)&&(j=t.qn(j))&&j&&!j["s-nr"]){$=j;break}(!$&&k!==t.Hn(y.pt)||t.qn(y.pt)!==$)&&y.pt!==$&&(t.Rn(y.pt),t.K(k,y.pt,$))}n.it=!1}return i&&m(l.t),w.length=0,l}}(w,y),b["s-ld"]=[],b["s-rn"]=!0,b["s-init"]=function(){w.et.set(b,d.loaded=w.yn=!0),y.Kn(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.V(t);if(r)if(n.et.has(t))e(t);else{var i=n.ft.get(t)||[];i.push(e),n.ft.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(w,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,w},D={},F=!1;export{r as defineCustomElement,e as h};
{
"name": "@bruit/component",
"version": "0.6.0",
"version": "0.6.1",
"description": "send your feedbacks with bruit.io",
"keywords": ["bruit", "bruit.io", "webcomponent", "feedback", "issues", "stencil", "user", "connect"],
"private": false,

@@ -10,2 +11,3 @@ "module": "dist/esm/index.js",

"collection": "dist/collection/collection-manifest.json",
"man": "README.md",
"files": [

@@ -36,11 +38,13 @@ "dist/"

"type": "git",
"url": "git+https://github.com/ionic-team/stencil-component-starter.git"
"url": "git+https://github.com/Moventes/bruit.io.git"
},
"author": {
"name": "moventes",
"email": "dev@moventes.com"
"email": "dev@moventes.com",
"url": "https://moventes.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/moventes/bruit"
"url": "https://github.com/Moventes/bruit.io/issues",
"email": "dev@bruit.io"
},

@@ -47,0 +51,0 @@ "homepage": "https://bruit.io/",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc