@bruit/component
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -1,1 +0,1 @@ | ||
!function(e,t,r,i,n,s,o,c,u,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-core,bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var i=e["s-apps"],n=0,s=0;s<i.length;s++)if(e[i[s]].componentOnReady){if(e[i[s]].componentOnReady(t,r))return;n++}if(n<i.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,i){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"bruit.hcvhggb4.js":(d.src=n+"bruit.gg9zkyrj.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype); | ||
!function(e,t,r,i,n,s,o,u,c,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML=c+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var i=e["s-apps"],n=0,s=0;s<i.length;s++)if(e[i[s]].componentOnReady){if(e[i[s]].componentOnReady(t,r))return;n++}if(n<i.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,i){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"bruit.uuojjqvf.js":(d.src=n+"bruit.zdnpyybe.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"bruit-core,bruit-io,bruit-rating",HTMLElement.prototype); |
@@ -48,3 +48,3 @@ import { Api } from './api'; | ||
if (typeof dataFn === 'function') { | ||
Promise.resolve(dataFn()); | ||
return Promise.resolve(dataFn()); | ||
} | ||
@@ -51,0 +51,0 @@ else if (typeof dataFn === 'object' && dataFn.then) { |
@@ -110,3 +110,3 @@ import { HttpTool } from './http'; | ||
return Object.entries(ConsoleTool.brtLogCacheLength) | ||
.filter(v => v[1] > 0) | ||
.filter(v => v[1] > 0 && ConsoleTool.logByLevel[v[0]]) | ||
.map(v => ConsoleTool.logByLevel[v[0]]) | ||
@@ -113,0 +113,0 @@ .reduce((logArray, logsLevel) => logArray.concat(logsLevel), []) |
@@ -7,2 +7,3 @@ export class UrlTool { | ||
}); | ||
this.logUrl(window.location.href); | ||
} | ||
@@ -9,0 +10,0 @@ } |
@@ -5,3 +5,5 @@ { | ||
"tag": "bruit-core", | ||
"dependencies": [], | ||
"dependencies": [ | ||
"bruit-rating" | ||
], | ||
"componentClass": "BruitCore", | ||
@@ -108,2 +110,60 @@ "componentPath": "components/bruit-core/bruit-core.js", | ||
] | ||
}, | ||
{ | ||
"tag": "bruit-rating", | ||
"dependencies": [], | ||
"componentClass": "BruitRatingComponent", | ||
"componentPath": "components/bruit-rating/bruit-rating.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/bruit-rating/bruit-rating.scss" | ||
] | ||
} | ||
}, | ||
"props": [ | ||
{ | ||
"name": "max", | ||
"type": "Number", | ||
"mutable": true, | ||
"reflectToAttr": true, | ||
"attr": "max", | ||
"watch": [ | ||
"watchMax" | ||
] | ||
}, | ||
{ | ||
"name": "offColor", | ||
"type": "String", | ||
"attr": "off-color" | ||
}, | ||
{ | ||
"name": "onColor", | ||
"type": "String", | ||
"attr": "on-color", | ||
"watch": [ | ||
"watchOnColor" | ||
] | ||
}, | ||
{ | ||
"name": "value", | ||
"type": "Number", | ||
"mutable": true, | ||
"reflectToAttr": true, | ||
"attr": "value", | ||
"watch": [ | ||
"watchValue" | ||
] | ||
} | ||
], | ||
"states": [ | ||
{ | ||
"name": "onBorderColor" | ||
} | ||
], | ||
"events": [ | ||
{ | ||
"event": "valueChange" | ||
} | ||
] | ||
} | ||
@@ -110,0 +170,0 @@ ], |
@@ -261,2 +261,5 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
} | ||
case BrtFieldType.RATING: { | ||
return this.ratingField(field); | ||
} | ||
default: { | ||
@@ -308,12 +311,17 @@ const err = { code: 116, text: `"${field.type}" field type is not supported` }; | ||
} | ||
ratingField(field) { | ||
return (h("div", { class: "group without-bar" }, | ||
h("bruit-rating", { class: "has-value", id: field.id, onColor: this._bruitIoConfig.colors.focus, offColor: "#999", value: field.value, max: field.max, onValueChange: e => (field.value = e.detail) }), | ||
h("label", { htmlFor: field.id }, field.label))); | ||
} | ||
theming() { | ||
return (h("style", null, 'bruit-io .group .bar:before, bruit-io .group .bar:after{' + | ||
return (h("style", null, 'bruit-core .group .bar:before, bruit-core .group .bar:after{' + | ||
'background-color: ' + | ||
this._bruitIoConfig.colors.focus + | ||
'}' + | ||
'bruit-io .group input:not([type="checkbox"]):invalid ~.bar:before, bruit-io .group input:not([type="checkbox"]):invalid ~.bar:after{' + | ||
'bruit-core .group input:not([type="checkbox"]):invalid ~.bar:before, bruit-core .group input:not([type="checkbox"]):invalid ~.bar:after{' + | ||
'background-color: ' + | ||
this._bruitIoConfig.colors.errors + | ||
'}' + | ||
'bruit-io button#bruit-io-submit-button:hover{' + | ||
'bruit-core button#bruit-io-submit-button:hover{' + | ||
'background-color: ' + | ||
@@ -324,3 +332,3 @@ this._bruitIoConfig.colors.header + | ||
'}' + | ||
'bruit-io button#bruit-io-submit-button.onClick{' + | ||
'bruit-core button#bruit-io-submit-button.onClick{' + | ||
'border-color: #bbbbbb!important;' + | ||
@@ -330,19 +338,19 @@ 'border-left-color: ' + | ||
'!important;}' + | ||
'bruit-io .group input[type="checkbox"]:checked+label, bruit-io .group input[type="checkbox"]+label:after{' + | ||
'bruit-core .group input[type="checkbox"]:checked+label, bruit-core .group input[type="checkbox"]+label:after{' + | ||
'border-color: ' + | ||
this._bruitIoConfig.colors.focus + | ||
'}' + | ||
'bruit-io .group input:not([type="checkbox"]).has-value:invalid~label, bruit-io .group input:not([type="checkbox"]):focus:invalid~label{' + | ||
'bruit-core .group input:not([type="checkbox"]).has-value:invalid~label, bruit-core .group input:not([type="checkbox"]):focus:invalid~label{' + | ||
'color: ' + | ||
this._bruitIoConfig.colors.errors + | ||
'}' + | ||
'bruit-io .group input:not([type="checkbox"]).has-value~label, bruit-io .group input:not([type="checkbox"]):focus~label{' + | ||
'bruit-core .group input:not([type="checkbox"]).has-value~label, bruit-core .group input:not([type="checkbox"]):focus~label{' + | ||
'color: ' + | ||
this._bruitIoConfig.colors.focus + | ||
'}' + | ||
'bruit-io .group textarea.has-value~label, bruit-io .group textarea:focus~label{' + | ||
'bruit-core .group textarea.has-value~label, bruit-core .group textarea:focus~label{' + | ||
'color: ' + | ||
this._bruitIoConfig.colors.focus + | ||
'}' + | ||
'bruit-io .group textarea.has-value:invalid~label{' + | ||
'bruit-core .group textarea.has-value:invalid~label{' + | ||
'color: ' + | ||
@@ -349,0 +357,0 @@ this._bruitIoConfig.colors.errors + |
@@ -109,3 +109,3 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
const allTypes = Object.keys(BrtFieldType).map(BrtFieldTypeKey => BrtFieldType[BrtFieldTypeKey]); | ||
const badTypes = form.map(field => field.type).filter(id => !allTypes.includes(id)); | ||
const badTypes = form.map(field => field.type).filter(type => !allTypes.includes(type)); | ||
if (badTypes.length > 0) { | ||
@@ -112,0 +112,0 @@ return { |
// bruit: Host Data, ES Module/es2017 Target | ||
export const BruitCore = ["bruit-core","wsh4pmcr",1,[["_bruitCoreConfig",16],["_bruitIoConfig",16],["bruitCoreElement",64],["config",1,0,1,2],["modalBrtField",16],["modalError",16],["modalOpened",16],["newFeedback",32]]]; | ||
export const BruitIo = ["bruit-io","shkadvuq",1,[["_config",16],["bruitIoElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["start",32]]]; | ||
export const BruitCore = ["bruit-core","fus0uybn",1,[["_bruitCoreConfig",16],["_bruitIoConfig",16],["bruitCoreElement",64],["config",1,0,1,2],["modalBrtField",16],["modalError",16],["modalOpened",16],["newFeedback",32]]]; | ||
export const BruitIo = ["bruit-io","4rm8mefw",1,[["_config",16],["bruitIoElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["start",32]]]; | ||
export const BruitRatingComponent = ["bruit-rating","fus0uybn",1,[["max",2,1,1,8],["offColor",1,0,"off-color",2],["onBorderColor",16],["onColor",1,0,"on-color",2],["value",2,1,1,8]]]; |
@@ -5,5 +5,5 @@ /*! | ||
*/ | ||
function n(n,t){return"sc-"+n.n+(t&&t!==c?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)j.push(arguments[f]);for(;j.length>0;){var c=j.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)j.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&j.push(f);t.class=j.join(" "),j.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],k):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,t:void 0,e:!1}}function r(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var c=i.createElement("style");c.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",c.setAttribute("data-styles",""),i.head.insertBefore(c,i.head.firstChild)}var a=e.namespace||"bruit";return R||(R=!0,function s(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,a,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!L[a]){var u={},c=e.resourcesUrl||"./";f(a,u,n,i,c,o),L[a]=N(a,u,n,i,c,o,r)}(function s(){t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),L[a].r(function i(n){var t=$(n),e=t.i,r=h(n[0]);return t.i=function(n){var t=n.mode,i=n.scoped;return function o(n,t,e){return import( | ||
function n(n,t){return"sc-"+n.n+(t&&t!==c?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)$.push(arguments[f]);for(;$.length>0;){var c=$.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)$.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&$.push(f);t.class=$.join(" "),$.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],A):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,t:void 0,e:!1}}function r(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var c=i.createElement("style");c.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",c.setAttribute("data-styles",""),i.head.insertBefore(c,i.head.firstChild)}var a=e.namespace||"bruit";return F||(F=!0,function s(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,a,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!D[a]){var u={},c=e.resourcesUrl||"./";f(a,u,n,i,c,o),D[a]=R(a,u,n,i,c,o,r)}(function s(){t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),D[a].r(function i(n){var t=E(n),e=t.i,r=h(n[0]);return t.i=function(n){var t=n.mode,i=n.scoped;return function o(n,t,e){return import( | ||
/* webpackInclude: /\.entry\.js$/ */ | ||
/* 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===T?s(n,t.b):t.y===W?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===x&&(n.b=t,n.y=T,0!==n.g.length&&M(p,n))}function l(n,t){n.y===x&&(n.y=W,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+T]=e,i[o+W]=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===x&&(i&&f?c(t,o):a?l(t,u):n===T?s(t,o):n===W&&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),x=void 0,T=1,W=2,P={error:null},N=0,L=function(){function n(n,t){this._=n,this.x=new n(o),this.x[_]||d(this.x),b(t)?(this.T=this.length=t.length,this.b=Array(this.length),0===this.length?s(this.x,this.b):(this.length=this.length||0,this.W(t),0===this.T&&s(this.x,this.b))):l(this.x,Error("Array Methods must be provided an Array"))}return n.prototype.W=function(n){for(var t=0;this.y===x&&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!==x?this.N(n.y,t,n.b):"function"!=typeof c?(this.T--,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.x;r.y===x&&(this.T--,n===W?l(r,e):this.b[t]=e),0===this.T&&s(r,this.b)},n.prototype.L=function(n,t){var e=this;v(n,void 0,function(n){return e.N(T,t,n)},function(n){return e.N(W,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).x},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,o){if("class"!==e||o)if("style"===e){for(var u in r)i&&null!=i[u]||(/-/.test(u)?t.style.removeProperty(u):t.style[u]="");for(var u in i)r&&i[u]===r[u]||(/-/.test(u)?t.style.setProperty(u,i[u]):t.style[u]=i[u])}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 f=n.K(t);f&&f.V&&f.V[e]?m(t,e,i):"ref"!==e&&(m(t,e,null==i?"":i),null!=i&&!1!==i||n.Q.X(t,e))}else null!=i&&"key"!==e?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("http://www.w3.org/1999/xlink",p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS("http://www.w3.org/1999/xlink",p(t),e):n.setAttribute(t,e))}(t,e,i):(o||n.Q.nn(t,e)&&(null==i||!1===i))&&n.Q.X(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Q.tn(t,e,i):n.Q.en(t,e);else if(r!==i){var c=b(r),a=b(i),s=c.filter(function(n){return!a.includes(n)}),l=b(t.className).filter(function(n){return!s.includes(n)}),v=a.filter(function(n){return!c.includes(n)&&!l.includes(n)});l.push.apply(l,v),t.className=l.join(" ")}},b=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},m=function(n,t,e){try{n[t]=e}catch(n){}},w=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]||y(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])||y(n,o,i,u[i],f[i],r,e.e)},g=!1,M=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){M(n,t)}))},j=[],k={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},$=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{rn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={in:e[1],on:!!e[2],rn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,un:e[4]};return{n:r,i:i,V:Object.assign({},c),I:u,fn:f?f.map(A):void 0}},A=function(n){return{cn:n[0],an:n[1],sn:!!n[2],ln:!!n[3],vn:!!n[4]}},E=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},C=function(n,t,e){n.pn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.dn?n.queue.write(function(){return O(n,t,e)}):n.queue.tick(function(){return O(n,t,e)}))},O=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(){O(n,r,f)}),[2];if(!(a=W(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:case 6:return[3,11];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=r.Mn.host,f=r.Mn.encapsulation,c=i;if(!i["s-rn"]){n.jn(n,n.Q,r,i);var a=i["s-sc"];a&&(n.Q.kn(i,t(a,!0)),"scoped"===f&&n.Q.kn(i,t(a)))}if(o.render||o.hostData||u){n.$n=!0;var s=o.render&&o.render();n.$n=!1;var l=e(null,void 0,s),v=n.An.get(i)||{};v.t=c,n.An.set(i,n.render(i,v,l,!1,f))}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]}})})},S=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[T+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"]&&C(n,t,i)}},_=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})},T="wc-",W=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]=E(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=E(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[T+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)&&S(n,r,i,e,u)})}else t.elementRef?_(r,i,e):t.method&&_(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},P=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()},N=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,xn:!1,Tn:function(n){return n.nodeType},z:function(n){return e.createElement(n)},Wn: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)},X:function(n,t){return n.removeAttribute(t)},nn: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},tn: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.xn?{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})},en: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.Tn(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.xn=!0}}))}catch(n){}return i}(h,r,i),b=y.Y.documentElement,m=r["s-defined"]=r["s-defined"]||{},j={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].rn)&&(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.Tn(t);t=n.Fn(t)}}(n.Q,t)&&(n.yn.set(t,!0),P(n,t),M(n.An.get(t),!0),n.Q.en(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{M(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)}P(n,t)}})(n,this,r)},e.forceUpdate=function(){C(n,this,i)},t.V){var o=Object.entries(t.V),u={};o.forEach(function(n){var t=n[0],e=n[1].rn;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.in;3&u?x(e,i,function t(){return(n.En.get(this)||{})[i]},function t(e){S(n,this,i,E(o.un,e),r)}):32===u&&_(e,i,d)})}(n,0,e,i)}}(j,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.V).map(function(n){return n.rn}).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)]&&!j.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(){}}C(j,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,j.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 j.queue.write(function(){return j.pn.size?j._n.push(n):n()})})},j.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,h,d,y,b,m,M){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=g||"svg"===m.vtag?t.Wn("http://www.w3.org/2000/svg",m.vtag):t.z(m.at?"slot-fb":m.vtag),n.nt(y)&&n.tt.delete(c),g="svg"===m.vtag||"foreignObject"!==m.vtag&&g,w(n,null,m,g),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&&(g=!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||"",(M=i&&i.vchildren&&i.vchildren[p])&&M.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;g=r.t&&v(t.zn(r.t))&&void 0!==r.t.ownerSVGElement,g="svg"===r.vtag||"foreignObject"!==r.vtag&&g,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&&w(n,e,r,g),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)),g&&"svg"===r.vtag&&(g=!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.Tn(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.Tn(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)}},M=[],j=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.Tn(o))||8===l)&&""===s||1===l&&null===t.Gn(o,"slot")&&""===s||1===l&&t.Gn(o,"slot")===s)&&(M.some(function(n){return n.lt===o})||(i=!0,o["s-sn"]=s,M.push({vt:r,lt:o})));1===t.Tn(r)&&j(r)}};return function(a,s,l,v,p,h,d,y,w,g,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(j(l.t),d=0;d<M.length;d++)(y=M[d]).lt["s-ol"]||((w=t.Pn(""))["s-nr"]=y.lt,t.J(t.Fn(y.lt),y.lt["s-ol"]=w,y.lt));for(n.rt=!0,d=0;d<M.length;d++){for(y=M[d],k=t.Fn(y.vt),$=t.Hn(y.vt),w=y.lt["s-ol"];w=t.qn(w);)if((g=w["s-nr"])&&g&&g["s-sn"]===y.lt["s-sn"]&&k===t.Fn(g)&&(g=t.Hn(g))&&g&&!g["s-nr"]){$=g;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),M.length=0,l}}(j,y),b["s-ld"]=[],b["s-rn"]=!0,b["s-init"]=function(){j.tt.set(b,h.loaded=j.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}}(j,h,r,r["s-apps"],r["s-cr"]),h.initialized=!0,j},L={},R=!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,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}; |
@@ -7,3 +7,4 @@ | ||
BruitCore, | ||
BruitIo | ||
BruitIo, | ||
BruitRatingComponent | ||
} from './bruit.components.js'; | ||
@@ -14,4 +15,5 @@ | ||
BruitCore, | ||
BruitIo | ||
BruitIo, | ||
BruitRatingComponent | ||
], opts); | ||
} |
// bruit: Host Data, ES Module/es5 Target | ||
export var BruitCore = ["bruit-core","wsh4pmcr",1,[["_bruitCoreConfig",16],["_bruitIoConfig",16],["bruitCoreElement",64],["config",1,0,1,2],["modalBrtField",16],["modalError",16],["modalOpened",16],["newFeedback",32]]]; | ||
export var BruitIo = ["bruit-io","shkadvuq",1,[["_config",16],["bruitIoElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["start",32]]]; | ||
export var BruitCore = ["bruit-core","fus0uybn",1,[["_bruitCoreConfig",16],["_bruitIoConfig",16],["bruitCoreElement",64],["config",1,0,1,2],["modalBrtField",16],["modalError",16],["modalOpened",16],["newFeedback",32]]]; | ||
export var BruitIo = ["bruit-io","4rm8mefw",1,[["_config",16],["bruitIoElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["start",32]]]; | ||
export var BruitRatingComponent = ["bruit-rating","fus0uybn",1,[["max",2,1,1,8],["offColor",1,0,"off-color",2],["onBorderColor",16],["onColor",1,0,"on-color",2],["value",2,1,1,8]]]; |
@@ -5,5 +5,5 @@ /*! | ||
*/ | ||
function n(n,t){return"sc-"+n.n+(t&&t!==c?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)j.push(arguments[f]);for(;j.length>0;){var c=j.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)j.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&j.push(f);t.class=j.join(" "),j.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],k):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,t:void 0,e:!1}}function r(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var c=i.createElement("style");c.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",c.setAttribute("data-styles",""),i.head.insertBefore(c,i.head.firstChild)}var a=e.namespace||"bruit";return R||(R=!0,function s(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,a,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){function u(){t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),L[a].r(function i(n){var t=$(n),e=t.i,r=d(n[0]);return t.i=function(n){var t=n.mode,i=n.scoped;return function o(n,t,e){return import( | ||
function n(n,t){return"sc-"+n.n+(t&&t!==c?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)$.push(arguments[f]);for(;$.length>0;){var c=$.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)$.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&$.push(f);t.class=$.join(" "),$.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],A):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,t:void 0,e:!1}}function r(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var c=i.createElement("style");c.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",c.setAttribute("data-styles",""),i.head.insertBefore(c,i.head.firstChild)}var a=e.namespace||"bruit";return F||(F=!0,function s(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,a,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){function u(){t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),D[a].r(function i(n){var t=E(n),e=t.i,r=d(n[0]);return t.i=function(n){var t=n.mode,i=n.scoped;return function o(n,t,e){return import( | ||
/* webpackInclude: /\.entry\.js$/ */ | ||
/* 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(!L[a]){var c={},s=e.resourcesUrl||"./";f(a,c,n,i,s,o),L[a]=N(a,c,n,i,s,o,r)}window.customStyleShim?(L[a].o=window.customStyleShim,L[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<b;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;b=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&h(r);var i=e.w;if(i){var u=arguments[i-1];M(function(){return d(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.w===T?s(n,t.b):t.w===W?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.g&&n.g(n.b),p(n)}function s(n,t){n.w===x&&(n.b=t,n.w=T,0!==n.M.length&&M(p,n))}function l(n,t){n.w===x&&(n.w=W,n.b=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+T]=e,i[o+W]=r,0===o&&n.w&&M(p,n)}function p(n){var t=n.M,e=n.w;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?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.w===x&&(i&&f?c(t,o):a?l(t,u):n===T?s(t,o):n===W&&l(t,o))}function h(n){n[_]=N++,n.w=void 0,n.b=void 0,n.M=[]}var y,w=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},b=0,m=void 0,g=void 0,M=function(n,t){O[b]=n,O[b+1]=t,2===(b+=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!==(m=n.S||n._)?function(){m(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),x=void 0,T=1,W=2,P={error:null},N=0,L=function(){function n(n,t){this.x=n,this.T=new n(o),this.T[_]||h(this.T),w(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.P(t),0===this.W&&s(this.T,this.b))):l(this.T,Error("Array Methods must be provided an Array"))}return n.prototype.P=function(n){for(var t=0;this.w===x&&t<n.length;t++)this.N(n[t],t)},n.prototype.N=function(n,t){var e=this.x,c=e.resolve;c===i?(c=u(n))===r&&n.w!==x?this.L(n.w,t,n.b):"function"!=typeof c?(this.W--,this.b[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.T;r.w===x&&(this.W--,n===W?l(r,e):this.b[t]=e),0===this.W&&s(r,this.b)},n.prototype.R=function(n,t){var e=this;v(n,void 0,function(n){return e.L(T,t,n)},function(n){return e.L(W,t,n)})},n}(),R=function(){function n(t){if(this[_]=N++,this.b=this.w=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).T},R.race=function(n){var t=this;return w(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,o){if("class"!==e||o)if("style"===e){for(var u in r)i&&null!=i[u]||(/-/.test(u)?t.style.removeProperty(u):t.style[u]="");for(var u in i)r&&i[u]===r[u]||(/-/.test(u)?t.style.setProperty(u,i[u]):t.style[u]=i[u])}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 f=n.V(t);f&&f.X&&f.X[e]?b(t,e,i):"ref"!==e&&(b(t,e,null==i?"":i),null!=i&&!1!==i||n.Y.nn(t,e))}else null!=i&&"key"!==e?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("http://www.w3.org/1999/xlink",p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS("http://www.w3.org/1999/xlink",p(t),e):n.setAttribute(t,e))}(t,e,i):(o||n.Y.tn(t,e)&&(null==i||!1===i))&&n.Y.nn(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.Y.en(t,e,i):n.Y.rn(t,e);else if(r!==i){var c=w(r),a=w(i),s=c.filter(function(n){return!a.includes(n)}),l=w(t.className).filter(function(n){return!s.includes(n)}),v=a.filter(function(n){return!c.includes(n)&&!l.includes(n)});l.push.apply(l,v),t.className=l.join(" ")}},w=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},b=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]||y(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])||y(n,o,i,u[i],f[i],r,e.e)},g=!1,M=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.t),n.vchildren&&n.vchildren.forEach(function(n){M(n,t)}))},j=[],k={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},$=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{in:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={on:e[1],un:!!e[2],in:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,fn:e[4]};return{n:r,i:i,X:Object.assign({},c),G:u,cn:f?f.map(A):void 0}},A=function(n){return{an:n[0],sn:n[1],ln:!!n[2],vn:!!n[3],pn:!!n[4]}},E=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},C=function(n,t,e){n.dn.add(t),n.hn.has(t)||(n.hn.set(t,!0),n.yn?n.queue.write(function(){return O(n,t,e)}):n.queue.tick(function(){return O(n,t,e)}))},O=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.wn.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(){O(n,r,f)}),[2];if(!(a=W(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:case 6:return[3,11];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=r.jn.host,f=r.jn.encapsulation,c=i;if(!i["s-rn"]){n.kn(n,n.Y,r,i);var a=i["s-sc"];a&&(n.Y.$n(i,t(a,!0)),"scoped"===f&&n.Y.$n(i,t(a)))}if(o.render||o.hostData||u){n.An=!0;var s=o.render&&o.render();n.An=!1;var l=e(null,void 0,s),v=n.En.get(i)||{};v.t=c,n.En.set(i,n.render(i,v,l,!1,f))}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]}})})},S=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.bn.get(t))){var c=u[T+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"]&&C(n,t,i)}},_=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})},T="wc-",W=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]=E(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=E(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[T+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)&&S(n,r,i,e,u)})}else t.elementRef?_(r,i,e):t.method&&_(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.bn.set(t,i),i},P=function(n,t,e,r,i,o){if(n.dn.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.xn.length&&!n.dn.size)for(;o=n.xn.shift();)o()},N=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,Tn:!1,Wn: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)},nn:function(n,t){return n.removeAttribute(t)},tn: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},en: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.Tn?{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})},rn: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.Wn(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.Tn=!0}}))}catch(n){}return i}(d,r,i),w=y.Z.documentElement,b=r["s-defined"]=r["s-defined"]||{},j={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.wn.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.mn.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].in)&&(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.Wn(t);t=n.Hn(t)}}(n.Y,t)&&(n.wn.set(t,!0),P(n,t),M(n.En.get(t),!0),n.Y.rn(t),n.ot.delete(t),n.o&&n.o.ut(t),[n.mn,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.bn.get(t))&&!n.wn.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{M(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)}P(n,t)}})(n,this,r)},e.forceUpdate=function(){C(n,this,i)},t.X){var o=Object.entries(t.X),u={};o.forEach(function(n){var t=n[0],e=n[1].in;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.on;3&u?x(e,i,function t(){return(n.Cn.get(this)||{})[i]},function t(e){S(n,this,i,E(o.fn,e),r)}):32===u&&_(e,i,h)})}(n,0,e,i)}}(j,a[n.n]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.X).map(function(n){return n.in}).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!(!b[y.Bn(n)]&&!j.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(){}}C(j,t,f)})},An:!1,yn:!1,it:!1,kn:l,mn:new WeakMap,z:new WeakMap,Xn:new WeakMap,ot:new WeakMap,ct:new WeakMap,et:new WeakMap,On:new WeakMap,gn:new WeakMap,bn:new WeakMap,wn:new WeakMap,hn:new WeakMap,ft:new WeakMap,st:new WeakMap,En:new WeakMap,Cn:new WeakMap,dn:new Set,xn:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,j._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 j.queue.write(function(){return j.dn.size?j.xn.push(n):n()})})},j.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,d,h,y,w,b,M){if(b=l.vchildren[p],e||(o=!0,"slot"===b.vtag&&(r&&t.$n(d,r+"-s"),b.vchildren?b.lt=!0:b.vt=!0)),v(b.vtext))b.t=t.Nn(b.vtext);else if(b.vt)b.t=t.Nn("");else{if(y=b.t=g||"svg"===b.vtag?t.Pn("http://www.w3.org/2000/svg",b.vtag):t.J(b.lt?"slot-fb":b.vtag),n.tt(y)&&n.et.delete(c),g="svg"===b.vtag||"foreignObject"!==b.vtag&&g,m(n,null,b,g),v(r)&&y["s-si"]!==r&&t.$n(y,y["s-si"]=r),b.vchildren)for(h=0;h<b.vchildren.length;++h)(w=a(i,b,h,y))&&t.Dn(y,w);"svg"===b.vtag&&(g=!1)}return b.t["s-hn"]=f,(b.lt||b.vt)&&(b.t["s-sr"]=!0,b.t["s-cr"]=u,b.t["s-sn"]=b.vname||"",(M=i&&i.vchildren&&i.vchildren[p])&&M.vtag===b.vtag&&i.t&&s(i.t)),b.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)},w=function(e,r,i){var o=r.t=e.t,u=e.vchildren,f=r.vchildren;g=r.t&&v(t.Jn(r.t))&&void 0!==r.t.ownerSVGElement,g="svg"===r.vtag||"foreignObject"!==r.vtag&&g,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,g),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var b=0,m=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];b<=g&&m<=k;)if(null==M)M=e[++b];else if(null==j)j=e[--g];else if(null==$)$=i[++m];else if(null==A)A=i[--k];else if(d(M,$))w(M,$),M=e[++b],$=i[++m];else if(d(j,A))w(j,A),j=e[--g],A=i[--k];else if(d(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(M.t)),w(M,A),t.K(n,M.t,t.qn(j.t)),M=e[++b],A=i[--k];else if(d(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.Hn(j.t)),w(j,$),t.K(n,j.t,M.t),j=e[--g],$=i[++m];else{for(o=null,u=b;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[m],r,o,n):(w(c,$),e[o]=void 0,f=c.t),$=i[++m]):(f=a(e&&e[m],r,m,n),$=i[++m]),f&&t.K(y(M.t),f,h(M.t))}b>g?l(n,null==i[k+1]?null:i[k+1].t,r,i,m,k):m>k&&p(e,b,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)),g&&"svg"===r.vtag&&(g=!1)},b=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.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.Qn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.In(r[u]).trim()){e.hidden=!0;break}b(e)}},M=[],j=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.Wn(o))||8===l)&&""===s||1===l&&null===t.Qn(o,"slot")&&""===s||1===l&&t.Qn(o,"slot")===s)&&(M.some(function(n){return n.pt===o})||(i=!0,o["s-sn"]=s,M.push({dt:r,pt:o})));1===t.Wn(r)&&j(r)}};return function(a,s,l,v,p,d,h,y,m,g,k,$){if(c=a,f=t.Bn(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,w(s,l),o){for(j(l.t),h=0;h<M.length;h++)(y=M[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<M.length;h++){for(y=M[h],k=t.Hn(y.dt),$=t.qn(y.dt),m=y.pt["s-ol"];m=t.Un(m);)if((g=m["s-nr"])&&g&&g["s-sn"]===y.pt["s-sn"]&&k===t.Hn(g)&&(g=t.qn(g))&&g&&!g["s-nr"]){$=g;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&&b(l.t),M.length=0,l}}(j,y),w["s-ld"]=[],w["s-rn"]=!0,w["s-init"]=function(){j.et.set(w,d.loaded=j.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}}(j,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,j},L={},R=!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,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}; |
@@ -7,3 +7,4 @@ | ||
BruitCore, | ||
BruitIo | ||
BruitIo, | ||
BruitRatingComponent | ||
} from './bruit.components.js'; | ||
@@ -14,4 +15,5 @@ | ||
BruitCore, | ||
BruitIo | ||
BruitIo, | ||
BruitRatingComponent | ||
], opts); | ||
} |
@@ -66,2 +66,16 @@ /* tslint:disable */ | ||
} | ||
interface BruitRating { | ||
'max': number; | ||
'offColor': string; | ||
'onColor': string; | ||
'value': number; | ||
} | ||
interface BruitRatingAttributes extends StencilHTMLAttributes { | ||
'max'?: number; | ||
'offColor'?: string; | ||
'onColor'?: string; | ||
'onValueChange'?: (event: CustomEvent) => void; | ||
'value'?: number; | ||
} | ||
} | ||
@@ -73,2 +87,3 @@ | ||
'BruitIo': Components.BruitIo; | ||
'BruitRating': Components.BruitRating; | ||
} | ||
@@ -79,2 +94,3 @@ | ||
'bruit-io': Components.BruitIoAttributes; | ||
'bruit-rating': Components.BruitRatingAttributes; | ||
} | ||
@@ -95,5 +111,12 @@ | ||
interface HTMLBruitRatingElement extends Components.BruitRating, HTMLStencilElement {} | ||
var HTMLBruitRatingElement: { | ||
prototype: HTMLBruitRatingElement; | ||
new (): HTMLBruitRatingElement; | ||
}; | ||
interface HTMLElementTagNameMap { | ||
'bruit-core': HTMLBruitCoreElement | ||
'bruit-io': HTMLBruitIoElement | ||
'bruit-rating': HTMLBruitRatingElement | ||
} | ||
@@ -104,2 +127,3 @@ | ||
'bruit-io': HTMLBruitIoElement; | ||
'bruit-rating': HTMLBruitRatingElement; | ||
} | ||
@@ -106,0 +130,0 @@ |
@@ -88,3 +88,4 @@ import '../../stencil.core'; | ||
checkboxField(field: BrtField): JSX.Element; | ||
ratingField(field: BrtField): JSX.Element; | ||
theming(): JSX.Element; | ||
} |
{ | ||
"name": "@bruit/component", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "send your feedbacks with bruit.io", | ||
@@ -48,4 +48,4 @@ "private": false, | ||
"@bruit/html2canvas": "1.0.0-alpha.12.bruit", | ||
"@bruit/types": "^0.2.1" | ||
"@bruit/types": "^0.2.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2368192
95
19474
Updated@bruit/types@^0.2.3