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

@carto/airship-components

Package Overview
Dependencies
Maintainers
19
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@carto/airship-components - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4-rc.0

dist/airship/0opux7fz.entry.js

5

dist/airship.js
/*!
* Airship Components · CARTO · https://carto.com
* Built with http://stenciljs.com
* 2018-10-29T16:03:06
* 2018-12-17T15:56:32
*/
!function(e,t,a,s,r,o,n,i,l,d,c,g,u,p){for((c=e.airship=e.airship||{}).components=l,(u=l.map(function(e){return e[0]})).length&&((g=t.createElement("style")).innerHTML=u.join()+"{visibility:hidden}.hydrated{visibility:inherit}",g.setAttribute("data-styles",""),u=t.head.querySelector("meta[charset]"),t.head.insertBefore(g,u?u.nextSibling:t.head.firstChild)),function(e,t,a){(e["s-apps"]=e["s-apps"]||[]).push("airship"),a.componentOnReady||(a.componentOnReady=function(){var t=this;function a(a){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],r=0,o=0;o<s.length;o++)if(e[s[o]].componentOnReady){if(e[s[o]].componentOnReady(t,a))return;r++}if(r<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,a])}a(null)}return e.Promise?new e.Promise(a):{then:a}})}(e,0,d),r=r||c.resourcesUrl,g=(u=t.querySelectorAll("script")).length-1;g>=0&&!(p=u[g]).src&&!p.hasAttribute("data-resources-url");g--);u=p.getAttribute("data-resources-url"),!r&&u&&(r=u),!r&&p.src&&(r=(u=p.src.split("/").slice(0,-1)).join("/")+(u.length?"/":"")+"airship/"),g=t.createElement("script"),function(e,t,a,s){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 a)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,g)?g.src=r+"airship.plq3ofkv.js":(g.src=r+"airship.nr7niswj.js",g.setAttribute("type","module"),g.setAttribute("crossorigin",!0)),g.setAttribute("data-resources-url",r),g.setAttribute("data-namespace","airship"),t.head.appendChild(g)}(window,document,0,0,0,0,0,0,[["as-category-widget","cjmzawal",1,[["categories",1],["clearSelection",32],["defaultBarColor",1,0,"default-bar-color",2],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelectedCategories",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["selectedCategories",16],["showClearButton",1,0,"show-clear-button",4],["showHeader",1,0,"show-header",4],["useTotalPercentage",1,0,"use-total-percentage",4],["valueFormatter",1],["visibleCategories",1,0,"visible-categories",8]]],["as-dropdown","xdkbnnws",1,[["closeList",32],["defaultText",1,0,"default-text",2],["isOpen",16],["onClickOutside",1],["options",1],["selectedOption",2,0,"selected-option",2],["selectedOptionObject",16],["showClearButton",1,0,"show-clear-button",4]]],["as-histogram-widget","c2z3m9kz",1,[["clearSelection",32],["color",1,0,1,2],["colorRange",1],["data",1],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelection",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["selectedColor",1,0,"selected-color",2],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltipFormatter",1],["xLabel",1,0,"x-label",2],["yLabel",1,0,"y-label",2]]],["as-infowindow","xi0k6bdk",1,[["element",64],["src",1,0,1,2]]],["as-legend","lajw2ffx",1,[["data",1]]],["as-loader","kqg1vgje",1],["as-range-slider","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["formatValue",1],["maxValue",1,0,"max-value",8],["minValue",1,0,"min-value",8],["range",1],["step",1,0,1,8],["thumbs",16],["value",1,0,1,8]]],["as-range-slider-bar","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["element",64],["rangeEndPercentage",2,0,"range-end-percentage",8],["rangeStartPercentage",2,0,"range-start-percentage",8],["stepPercentage",1,0,"step-percentage",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1]]],["as-range-slider-thumb","1c740tav",1,[["disabled",1,0,1,4],["element",64],["formatValue",1],["percentage",1,0,1,8],["value",1,0,1,8],["valueMax",1,0,"value-max",8],["valueMin",1,0,"value-min",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1],["keydown","onKeyDown"]]],["as-responsive-content","vjrnn560",1,[["element",64],["getSections",32],["sections",16],["setVisible",32]]],["as-stacked-bar-widget","lajw2ffx",1,[["data",1],["description",1,0,1,2],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["formatFn",1],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["metadata",1],["mouseLeave",1],["mouseOver",1],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["showLegend",1,0,"show-legend",4]]],["as-switch","vxdvt16g",1,[["checked",2,1,1,4],["disabled",1,1,1,4],["el",64],["label",1,0,1,2],["name",1,1,1,2]]],["as-tabs","29l6nog4",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-toolbar","mwyzbsy0",1,[["element",64]]],["as-widget-header","kqg1vgje",1,[["error",1,0,1,2],["header",1,0,1,2],["isEmpty",1,0,"is-empty",4],["isLoading",1,0,"is-loading",4],["noDataMessage",1,0,"no-data-message",2],["subheader",1,0,1,2]]],["as-y-axis","q6pwiy95",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]],HTMLElement.prototype);
!function(e,t,r,s,i,n,a,o,c,d,l,u,p,h){for(l=e.airship=e.airship||{},(u=t.createElement("style")).innerHTML=c+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(u,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("airship"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],i=0,n=0;n<s.length;n++)if(e[s[n]].componentOnReady){if(e[s[n]].componentOnReady(t,r))return;i++}if(i<s.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,d),i=i||l.resourcesUrl,u=(p=t.querySelectorAll("script")).length-1;u>=0&&!(h=p[u]).src&&!h.hasAttribute("data-resources-url");u--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"airship/"),u=t.createElement("script"),function(e,t,r,s){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,u)?u.src=i+"airship.1tt0ospf.js":(u.src=i+"airship.te214tzt.js",u.setAttribute("type","module"),u.setAttribute("crossorigin",!0)),u.setAttribute("data-resources-url",i),u.setAttribute("data-namespace","airship"),t.head.appendChild(u)}(window,document,0,0,0,0,0,0,"as-category-widget,as-dropdown,as-histogram-widget,as-infowindow,as-legend,as-loader,as-range-slider,as-range-slider-bar,as-range-slider-thumb,as-responsive-content,as-stacked-bar-widget,as-switch,as-tabs,as-toolbar,as-widget-header,as-y-axis",HTMLElement.prototype);

4

dist/airship/chunk-6da42a66.es5.js

@@ -1,5 +0,1 @@

/*!
* Airship Components · CARTO · https://carto.com
* Built with http://stenciljs.com
*/
airship.loadBundle("chunk-6da42a66.js",["exports"],function(e){window,e.redrawChildren=function(e){for(var r=0,a=e.querySelectorAll("*");r<a.length;r++){var o=a[r];0===o.tagName.toLowerCase().indexOf("as-")&&o.forceUpdate&&o.forceUpdate()}}});

@@ -1,5 +0,1 @@

/*!
* Airship Components · CARTO · https://carto.com
* Built with http://stenciljs.com
*/
const{h:o}=window.airship;function e(o){const e=o.querySelectorAll("*");for(const o of e)0===o.tagName.toLowerCase().indexOf("as-")&&o.forceUpdate&&o.forceUpdate()}export{e as a};
function e(e){const o=e.querySelectorAll("*");for(const e of o)0===e.tagName.toLowerCase().indexOf("as-")&&e.forceUpdate&&e.forceUpdate()}window;export{e as a};

@@ -738,2 +738,3 @@ {

"mutable": true,
"reflectToAttr": true,
"attr": "checked"

@@ -744,2 +745,3 @@ },

"type": "Boolean",
"reflectToAttr": true,
"attr": "disabled"

@@ -755,2 +757,3 @@ },

"type": "String",
"reflectToAttr": true,
"attr": "name"

@@ -895,6 +898,6 @@ }

"name": "@stencil/core",
"version": "0.13.2",
"typescriptVersion": "2.9.2"
"version": "0.16.1",
"typescriptVersion": "3.1.6"
},
"bundles": []
}
// airship: Host Data, ES Module/es2017 Target
export const CategoryWidget = ["as-category-widget","cjmzawal",1,[["categories",1],["clearSelection",32],["defaultBarColor",1,0,"default-bar-color",2],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelectedCategories",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["selectedCategories",16],["showClearButton",1,0,"show-clear-button",4],["showHeader",1,0,"show-header",4],["useTotalPercentage",1,0,"use-total-percentage",4],["valueFormatter",1],["visibleCategories",1,0,"visible-categories",8]]];
export const Dropdown = ["as-dropdown","xdkbnnws",1,[["closeList",32],["defaultText",1,0,"default-text",2],["isOpen",16],["onClickOutside",1],["options",1],["selectedOption",2,0,"selected-option",2],["selectedOptionObject",16],["showClearButton",1,0,"show-clear-button",4]]];
export const HistogramWidget = ["as-histogram-widget","c2z3m9kz",1,[["clearSelection",32],["color",1,0,1,2],["colorRange",1],["data",1],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelection",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["selectedColor",1,0,"selected-color",2],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltipFormatter",1],["xLabel",1,0,"x-label",2],["yLabel",1,0,"y-label",2]]];
export const Infowindow = ["as-infowindow","xi0k6bdk",1,[["element",64],["src",1,0,1,2]]];
export const Legend = ["as-legend","lajw2ffx",1,[["data",1]]];
export const Loader = ["as-loader","kqg1vgje",1];
export const RangeSlider = ["as-range-slider","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["formatValue",1],["maxValue",1,0,"max-value",8],["minValue",1,0,"min-value",8],["range",1],["step",1,0,1,8],["thumbs",16],["value",1,0,1,8]]];
export const RangeSliderBar = ["as-range-slider-bar","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["element",64],["rangeEndPercentage",2,0,"range-end-percentage",8],["rangeStartPercentage",2,0,"range-start-percentage",8],["stepPercentage",1,0,"step-percentage",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1]]];
export const RangeSliderThumb = ["as-range-slider-thumb","1c740tav",1,[["disabled",1,0,1,4],["element",64],["formatValue",1],["percentage",1,0,1,8],["value",1,0,1,8],["valueMax",1,0,"value-max",8],["valueMin",1,0,"value-min",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1],["keydown","onKeyDown"]]];
export const ResponsiveContent = ["as-responsive-content","vjrnn560",1,[["element",64],["getSections",32],["sections",16],["setVisible",32]]];
export const StackedBarWidget = ["as-stacked-bar-widget","lajw2ffx",1,[["data",1],["description",1,0,1,2],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["formatFn",1],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["metadata",1],["mouseLeave",1],["mouseOver",1],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["showLegend",1,0,"show-legend",4]]];
export const Switch = ["as-switch","vxdvt16g",1,[["checked",2,1,1,4],["disabled",1,1,1,4],["el",64],["label",1,0,1,2],["name",1,1,1,2]]];
export const Tabs = ["as-tabs","29l6nog4",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]];
export const Toolbar = ["as-toolbar","mwyzbsy0",1,[["element",64]]];
export const WidgetHeader = ["as-widget-header","kqg1vgje",1,[["error",1,0,1,2],["header",1,0,1,2],["isEmpty",1,0,"is-empty",4],["isLoading",1,0,"is-loading",4],["noDataMessage",1,0,"no-data-message",2],["subheader",1,0,1,2]]];
export const YAxis = ["as-y-axis","q6pwiy95",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]];
export const COMPONENTS = [["as-category-widget","a5xc0z7r",1,[["categories",1],["clearSelection",32],["defaultBarColor",1,0,"default-bar-color",2],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelectedCategories",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["selectedCategories",16],["showClearButton",1,0,"show-clear-button",4],["showHeader",1,0,"show-header",4],["useTotalPercentage",1,0,"use-total-percentage",4],["valueFormatter",1],["visibleCategories",1,0,"visible-categories",8]]],["as-dropdown","mpcgn3ny",1,[["closeList",32],["defaultText",1,0,"default-text",2],["isOpen",16],["onClickOutside",1],["options",1],["selectedOption",2,0,"selected-option",2],["selectedOptionObject",16],["showClearButton",1,0,"show-clear-button",4]]],["as-histogram-widget","2tcfaopl",1,[["clearSelection",32],["color",1,0,1,2],["colorRange",1],["data",1],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelection",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["selectedColor",1,0,"selected-color",2],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltipFormatter",1],["xLabel",1,0,"x-label",2],["yLabel",1,0,"y-label",2]]],["as-infowindow","vlalzddh",1,[["element",64],["src",1,0,1,2]]],["as-legend","yiwbehug",1,[["data",1]]],["as-loader","ppwo1bhx",1],["as-range-slider","9snd9in9",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["formatValue",1],["maxValue",1,0,"max-value",8],["minValue",1,0,"min-value",8],["range",1],["step",1,0,1,8],["thumbs",16],["value",1,0,1,8]]],["as-range-slider-bar","9snd9in9",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["element",64],["rangeEndPercentage",2,0,"range-end-percentage",8],["rangeStartPercentage",2,0,"range-start-percentage",8],["stepPercentage",1,0,"step-percentage",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1]]],["as-range-slider-thumb","9snd9in9",1,[["disabled",1,0,1,4],["element",64],["formatValue",1],["percentage",1,0,1,8],["value",1,0,1,8],["valueMax",1,0,"value-max",8],["valueMin",1,0,"value-min",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1],["keydown","onKeyDown"]]],["as-responsive-content","mocvgkwb",1,[["element",64],["getSections",32],["sections",16],["setVisible",32]]],["as-stacked-bar-widget","yiwbehug",1,[["data",1],["description",1,0,1,2],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["formatFn",1],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["metadata",1],["mouseLeave",1],["mouseOver",1],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["showLegend",1,0,"show-legend",4]]],["as-switch","6zhkqdpo",1,[["checked",2,1,1,4],["disabled",1,1,1,4],["el",64],["label",1,0,1,2],["name",1,1,1,2]]],["as-tabs","9ypuajt1",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-toolbar","0opux7fz",1,[["element",64]]],["as-widget-header","ppwo1bhx",1,[["error",1,0,1,2],["header",1,0,1,2],["isEmpty",1,0,"is-empty",4],["isLoading",1,0,"is-loading",4],["noDataMessage",1,0,"no-data-message",2],["subheader",1,0,1,2]]],["as-y-axis","8hz8be5k",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]]

@@ -6,5 +6,5 @@ /*!

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

@@ -5,40 +5,6 @@

import { defineCustomElement } from './airship.core.js';
import {
CategoryWidget,
Dropdown,
HistogramWidget,
Infowindow,
Legend,
Loader,
RangeSlider,
RangeSliderBar,
RangeSliderThumb,
ResponsiveContent,
StackedBarWidget,
Switch,
Tabs,
Toolbar,
WidgetHeader,
YAxis
} from './airship.components.js';
import { COMPONENTS } from './airship.components.js';
export function defineCustomElements(win, opts) {
return defineCustomElement(win, [
CategoryWidget,
Dropdown,
HistogramWidget,
Infowindow,
Legend,
Loader,
RangeSlider,
RangeSliderBar,
RangeSliderThumb,
ResponsiveContent,
StackedBarWidget,
Switch,
Tabs,
Toolbar,
WidgetHeader,
YAxis
], opts);
return defineCustomElement(win, COMPONENTS, opts);
}

@@ -1,5 +0,1 @@

/*!
* Airship Components · CARTO · https://carto.com
* Built with http://stenciljs.com
*/
import { h } from '../airship.core.js';

@@ -6,0 +2,0 @@

// airship: Host Data, ES Module/es5 Target
export var CategoryWidget = ["as-category-widget","cjmzawal",1,[["categories",1],["clearSelection",32],["defaultBarColor",1,0,"default-bar-color",2],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelectedCategories",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["selectedCategories",16],["showClearButton",1,0,"show-clear-button",4],["showHeader",1,0,"show-header",4],["useTotalPercentage",1,0,"use-total-percentage",4],["valueFormatter",1],["visibleCategories",1,0,"visible-categories",8]]];
export var Dropdown = ["as-dropdown","xdkbnnws",1,[["closeList",32],["defaultText",1,0,"default-text",2],["isOpen",16],["onClickOutside",1],["options",1],["selectedOption",2,0,"selected-option",2],["selectedOptionObject",16],["showClearButton",1,0,"show-clear-button",4]]];
export var HistogramWidget = ["as-histogram-widget","c2z3m9kz",1,[["clearSelection",32],["color",1,0,1,2],["colorRange",1],["data",1],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelection",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["selectedColor",1,0,"selected-color",2],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltipFormatter",1],["xLabel",1,0,"x-label",2],["yLabel",1,0,"y-label",2]]];
export var Infowindow = ["as-infowindow","xi0k6bdk",1,[["element",64],["src",1,0,1,2]]];
export var Legend = ["as-legend","lajw2ffx",1,[["data",1]]];
export var Loader = ["as-loader","kqg1vgje",1];
export var RangeSlider = ["as-range-slider","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["formatValue",1],["maxValue",1,0,"max-value",8],["minValue",1,0,"min-value",8],["range",1],["step",1,0,1,8],["thumbs",16],["value",1,0,1,8]]];
export var RangeSliderBar = ["as-range-slider-bar","1c740tav",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["element",64],["rangeEndPercentage",2,0,"range-end-percentage",8],["rangeStartPercentage",2,0,"range-start-percentage",8],["stepPercentage",1,0,"step-percentage",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1]]];
export var RangeSliderThumb = ["as-range-slider-thumb","1c740tav",1,[["disabled",1,0,1,4],["element",64],["formatValue",1],["percentage",1,0,1,8],["value",1,0,1,8],["valueMax",1,0,"value-max",8],["valueMin",1,0,"value-min",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1],["keydown","onKeyDown"]]];
export var ResponsiveContent = ["as-responsive-content","vjrnn560",1,[["element",64],["getSections",32],["sections",16],["setVisible",32]]];
export var StackedBarWidget = ["as-stacked-bar-widget","lajw2ffx",1,[["data",1],["description",1,0,1,2],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["formatFn",1],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["metadata",1],["mouseLeave",1],["mouseOver",1],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["showLegend",1,0,"show-legend",4]]];
export var Switch = ["as-switch","vxdvt16g",1,[["checked",2,1,1,4],["disabled",1,1,1,4],["el",64],["label",1,0,1,2],["name",1,1,1,2]]];
export var Tabs = ["as-tabs","29l6nog4",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]];
export var Toolbar = ["as-toolbar","mwyzbsy0",1,[["element",64]]];
export var WidgetHeader = ["as-widget-header","kqg1vgje",1,[["error",1,0,1,2],["header",1,0,1,2],["isEmpty",1,0,"is-empty",4],["isLoading",1,0,"is-loading",4],["noDataMessage",1,0,"no-data-message",2],["subheader",1,0,1,2]]];
export var YAxis = ["as-y-axis","q6pwiy95",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]];
export var COMPONENTS = [["as-category-widget","a5xc0z7r",1,[["categories",1],["clearSelection",32],["defaultBarColor",1,0,"default-bar-color",2],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelectedCategories",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["selectedCategories",16],["showClearButton",1,0,"show-clear-button",4],["showHeader",1,0,"show-header",4],["useTotalPercentage",1,0,"use-total-percentage",4],["valueFormatter",1],["visibleCategories",1,0,"visible-categories",8]]],["as-dropdown","mpcgn3ny",1,[["closeList",32],["defaultText",1,0,"default-text",2],["isOpen",16],["onClickOutside",1],["options",1],["selectedOption",2,0,"selected-option",2],["selectedOptionObject",16],["showClearButton",1,0,"show-clear-button",4]]],["as-histogram-widget","2tcfaopl",1,[["clearSelection",32],["color",1,0,1,2],["colorRange",1],["data",1],["description",1,0,1,2],["disableInteractivity",1,0,"disable-interactivity",4],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["getSelection",32],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["selectedColor",1,0,"selected-color",2],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltipFormatter",1],["xLabel",1,0,"x-label",2],["yLabel",1,0,"y-label",2]]],["as-infowindow","vlalzddh",1,[["element",64],["src",1,0,1,2]]],["as-legend","yiwbehug",1,[["data",1]]],["as-loader","ppwo1bhx",1],["as-range-slider","9snd9in9",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["formatValue",1],["maxValue",1,0,"max-value",8],["minValue",1,0,"min-value",8],["range",1],["step",1,0,1,8],["thumbs",16],["value",1,0,1,8]]],["as-range-slider-bar","9snd9in9",1,[["disabled",1,0,1,4],["draggable",1,0,1,4],["element",64],["rangeEndPercentage",2,0,"range-end-percentage",8],["rangeStartPercentage",2,0,"range-start-percentage",8],["stepPercentage",1,0,"step-percentage",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1]]],["as-range-slider-thumb","9snd9in9",1,[["disabled",1,0,1,4],["element",64],["formatValue",1],["percentage",1,0,1,8],["value",1,0,1,8],["valueMax",1,0,"value-max",8],["valueMin",1,0,"value-min",8]],0,[["mousedown","onMouseDown",0,1],["touchstart","onMouseDown",0,1],["keydown","onKeyDown"]]],["as-responsive-content","mocvgkwb",1,[["element",64],["getSections",32],["sections",16],["setVisible",32]]],["as-stacked-bar-widget","yiwbehug",1,[["data",1],["description",1,0,1,2],["el",64],["error",1,0,1,2],["errorDescription",1,0,"error-description",2],["formatFn",1],["heading",1,0,1,2],["isLoading",1,0,"is-loading",4],["metadata",1],["mouseLeave",1],["mouseOver",1],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["responsive",1,0,1,4],["showLegend",1,0,"show-legend",4]]],["as-switch","6zhkqdpo",1,[["checked",2,1,1,4],["disabled",1,1,1,4],["el",64],["label",1,0,1,2],["name",1,1,1,2]]],["as-tabs","9ypuajt1",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-toolbar","0opux7fz",1,[["element",64]]],["as-widget-header","ppwo1bhx",1,[["error",1,0,1,2],["header",1,0,1,2],["isEmpty",1,0,"is-empty",4],["isLoading",1,0,"is-loading",4],["noDataMessage",1,0,"no-data-message",2],["subheader",1,0,1,2]]],["as-y-axis","8hz8be5k",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]]

@@ -6,5 +6,5 @@ /*!

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

@@ -5,40 +5,6 @@

import { defineCustomElement } from './airship.core.js';
import {
CategoryWidget,
Dropdown,
HistogramWidget,
Infowindow,
Legend,
Loader,
RangeSlider,
RangeSliderBar,
RangeSliderThumb,
ResponsiveContent,
StackedBarWidget,
Switch,
Tabs,
Toolbar,
WidgetHeader,
YAxis
} from './airship.components.js';
import { COMPONENTS } from './airship.components.js';
export function defineCustomElements(win, opts) {
return defineCustomElement(win, [
CategoryWidget,
Dropdown,
HistogramWidget,
Infowindow,
Legend,
Loader,
RangeSlider,
RangeSliderBar,
RangeSliderThumb,
ResponsiveContent,
StackedBarWidget,
Switch,
Tabs,
Toolbar,
WidgetHeader,
YAxis
], opts);
return defineCustomElement(win, COMPONENTS, opts);
}

@@ -1,11 +0,1 @@

function redrawChildren(element) {
var allChildren = element.querySelectorAll('*');
for (var _i = 0, allChildren_1 = allChildren; _i < allChildren_1.length; _i++) {
var child = allChildren_1[_i];
var isAirshipElement = child.tagName.toLowerCase().indexOf('as-') === 0 && child.forceUpdate;
if (isAirshipElement) {
child.forceUpdate();
}
}
}
export { redrawChildren as a };
function redrawChildren(e){for(var r=0,a=e.querySelectorAll("*");r<a.length;r++){var o=a[r];0===o.tagName.toLowerCase().indexOf("as-")&&o.forceUpdate&&o.forceUpdate()}}export{redrawChildren as a};
export function applyPolyfill(window, document) {/*!
Array.prototype.fill
*/
Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(t){var r,e,i,n,o,a,l;if(null==this)throw new TypeError("this is null or not defined");for(e=(r=Object(this)).length>>>0,n=(i=arguments[1]>>0)<0?Math.max(e+i,0):Math.min(i,e),l=(a=void 0===(o=arguments[2])?e:o>>0)<0?Math.max(e+a,0):Math.min(a,e);n<l;)r[n]=t,n++;return r}});
/*!
Array.prototype.find

@@ -6,2 +11,6 @@ */

/*!
Array.prototype.findIndex
*/
Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(c,d){if(null==this)throw new TypeError('"this" is null or not defined');var b=Object(this),e=b.length>>>0;if("function"!==typeof c)throw new TypeError("predicate must be a function");for(var a=0;a<e;){if(c.call(d,b[a],a,b))return a;a++}return-1},configurable:!0,writable:!0});
/*!
Array.from

@@ -14,2 +23,3 @@ */

*/
Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return!1;var i,o,a=0|e,u=Math.max(0<=a?a:n-Math.abs(a),0);for(;u<n;){if((i=t[u])===(o=r)||"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))return!0;u++}return!1}});}
Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return!1;var i,o,a=0|e,u=Math.max(0<=a?a:n-Math.abs(a),0);for(;u<n;){if((i=t[u])===(o=r)||"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))return!0;u++}return!1}});
}

@@ -8,3 +8,2 @@ export function applyPolyfill(window, document) {/*! document-register-element, 1.7.0

}
/*!

@@ -17,5 +16,9 @@ Element.closest and Element.matches

/*!
Element.getRootNode()
*/
(function(c){function d(a){a=b(a);return 11===a.nodeType?d(a.host):a}function b(a){return a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)})})(Element.prototype);
/*!
Element.remove()
https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
*/
(function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);}
(function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
}

@@ -8,2 +8,14 @@ export function applyPolyfill(window, document) {/*!

*/
Object.entries||(Object.entries=function(c){for(var b=Object.keys(c),a=b.length,d=Array(a);a--;)d[a]=[b[a],c[b[a]]];return d});}
Object.entries||(Object.entries=function(c){for(var b=Object.keys(c),a=b.length,d=Array(a);a--;)d[a]=[b[a],c[b[a]]];return d});
/*!
Object.values
*/
Object.values||(Object.values=function(n){return Object.keys(n).map(function(r){return n[r]})});
/*!
Number
*/
void 0===Number.isFinite&&(Number.isFinite=function(a){return"number"===typeof a&&isFinite(a)});
Number.isNaN=Number.isNaN||function(a){return a!==a};
Number.isInteger=Number.isInteger||function(a){return"number"===typeof a&&isFinite(a)&&Math.floor(a)===a};
}

@@ -1,1 +0,1 @@

export declare function defineCustomElements(win: any): Promise<void>;
export declare function defineCustomElements(win: any, opts?: any): Promise<void>;

@@ -1,1 +0,6 @@

{"name":"loader","typings":"./index.d.ts","module":"../esm/es5/airship.define.js","es2017":"../esm/es2017/airship.define.js"}
{
"name": "loader",
"typings": "./index.d.ts",
"module": "./index.js",
"es2017": "./index.es2017.js"
}

@@ -133,3 +133,3 @@ /**

export interface EventEmitter<T= any> {
emit: (data?: T) => void;
emit: (data?: T) => CustomEvent<T>;
}

@@ -136,0 +136,0 @@

{
"name": "@carto/airship-components",
"version": "1.0.3",
"version": "1.0.4-rc.0",
"description": "Airship is a set of tools designed to facilitate the development of location intelligence apps by offering layouts, basic patterns, templates, CSS classes, components, widgets and much more.",

@@ -28,11 +28,13 @@ "module": "dist/esm/index.js",

"devDependencies": {
"@stencil/core": "0.13.2",
"@stencil/sass": "0.0.5",
"@types/d3": "^5.0.0",
"@stencil/core": "0.16.1",
"@stencil/sass": "0.0.6",
"@types/d3": "5.0.1",
"@types/jest": "23.3.3",
"@types/puppeteer": "1.9.0",
"conventional-changelog-cli": "^2.0.1",
"jest": "23.5.0",
"jest": "23.6.0",
"jest-cli": "23.6.0",
"jest-environment-node": "23.4.0",
"lerna": "^2.11.0",
"lerna": "2.11.0",
"puppeteer": "1.8.0",
"stylelint": "^9.3.0",

@@ -58,11 +60,11 @@ "stylelint-config-property-sort-order-smacss": "^4.0.0",

"dependencies": {
"d3-array": "^1.2.1",
"d3-axis": "^1.0.8",
"d3-brush": "^1.0.4",
"d3-format": "^1.3.2",
"d3-scale": "^2.1.0",
"d3-scale-chromatic": "^1.3.3",
"d3-selection": "^1.3.0",
"d3-transition": "^1.1.1"
"d3-array": "1.2.1",
"d3-axis": "1.0.8",
"d3-brush": "1.0.4",
"d3-format": "1.3.2",
"d3-scale": "2.1.0",
"d3-scale-chromatic": "1.3.3",
"d3-selection": "1.3.0",
"d3-transition": "1.1.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc