@carto/airship-components
Advanced tools
Comparing version 2.0.0-rc.0 to 2.0.0-rc.1
/*! | ||
* Airship Components · CARTO · https://carto.com | ||
* 2019-02-15T17:29:07 | ||
* 2019-03-22T12:12:52 | ||
*/ | ||
!function(e,t,s,r,i,a,n,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,s){(e["s-apps"]=e["s-apps"]||[]).push("airship"),s.componentOnReady||(s.componentOnReady=function(){var t=this;function s(s){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,a=0;a<r.length;a++)if(e[r[a]].componentOnReady){if(e[r[a]].componentOnReady(t,s))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,s])}s(null)}return e.Promise?new e.Promise(s):{then:s}})}(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,s,r){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 s)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,u)?u.src=i+"airship.lxskcdo2.js":(u.src=i+"airship.hcolalas.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-time-series-widget,as-toolbar,as-widget-header,as-widget-selection,as-y-axis",HTMLElement.prototype); | ||
!function(e,t,s,r,i,a,n,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,s){(e["s-apps"]=e["s-apps"]||[]).push("airship"),s.componentOnReady||(s.componentOnReady=function(){var t=this;function s(s){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,a=0;a<r.length;a++)if(e[r[a]].componentOnReady){if(e[r[a]].componentOnReady(t,s))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,s])}s(null)}return e.Promise?new e.Promise(s):{then:s}})}(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,s,r){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 s)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,u)?u.src=i+"airship.pairevfl.js":(u.src=i+"airship.lgsrecxj.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-time-series-widget,as-toolbar,as-widget-header,as-widget-selection,as-y-axis",HTMLElement.prototype); |
@@ -40,3 +40,2 @@ import { event as d3event, select } from 'd3-selection'; | ||
this.tooltip = null; | ||
this._mockBackground = false; | ||
this._muteSelectionChanged = false; | ||
@@ -69,3 +68,2 @@ this._lastEmittedSelection = null; | ||
this._backgroundData = backgroundData === null ? this._mockBackgroundData(data) : prepareData(backgroundData); | ||
this._mockBackground = backgroundData === null; | ||
const newScale = binsScale(this._data); | ||
@@ -134,3 +132,2 @@ const wasCategoricalData = !!this.isCategoricalData; | ||
} | ||
this.binsScale = binsScale(this._data); | ||
this.isCategoricalData = isCategoricalData(this._data); | ||
@@ -449,3 +446,5 @@ requestAnimationFrame(() => { | ||
_dataForDomain() { | ||
if (this._backgroundData === null || this._backgroundData.length === 0 || this._mockBackground) { | ||
const maxData = Math.max.apply(window, this._data.map((data) => data.value)); | ||
const maxBackground = Math.max.apply(window, this._backgroundData.map((data) => data.value)); | ||
if (maxData > maxBackground) { | ||
return this._data; | ||
@@ -452,0 +451,0 @@ } |
@@ -82,3 +82,2 @@ import { scaleLinear } from 'd3-scale'; | ||
async componentDidLoad() { | ||
console.warn('[as-time-series-widget] This is an unreleased component, use at your own risk'); | ||
if (this.timeFormatLocale) { | ||
@@ -85,0 +84,0 @@ timeFormatDefaultLocale(this.timeFormatLocale); |
// airship: Host Data, ES Module/es2017 Target | ||
export const COMPONENTS = [["as-category-widget","lviodzsm",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","w6zfcvoh",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","zhisgi2n",1,[["axisFormatter",1],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["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],["isCategoricalData",16],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["range",1],["responsive",1,0,1,4],["selectedFormatter",1],["selectionEmpty",16],["selectionFooter",16],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltip",16],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-infowindow","se9scahi",1,[["element",64],["src",1,0,1,2]]],["as-legend","riustvwz",1,[["data",1]]],["as-loader","bdti9x4n",1],["as-range-slider","qhnsomau",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","qhnsomau",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","qhnsomau",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","riustvwz",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","2be7tag5",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","wubyvvev",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-time-series-widget","zhisgi2n",1,[["animated",1,1,1,4],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["disableInteractivity",1,0,"disable-interactivity",4],["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],["playing",1,0,1,4],["progress",1,0,1,8],["range",1],["responsive",1,0,1,4],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["timeFormat",1,0,"time-format",2],["timeFormatLocale",1],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-toolbar","tjwfxnap",1,[["element",64]]],["as-widget-header","bdti9x4n",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-widget-selection","bdti9x4n",1,[["clearText",1,0,"clear-text",2],["selection",1,0,1,2],["showClear",1,0,"show-clear",4]]],["as-y-axis","eg1xni7z",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]] | ||
export const COMPONENTS = [["as-category-widget","lviodzsm",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","w6zfcvoh",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","pkyhqhz4",1,[["axisFormatter",1],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["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],["isCategoricalData",16],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["range",1],["responsive",1,0,1,4],["selectedFormatter",1],["selectionEmpty",16],["selectionFooter",16],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltip",16],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-infowindow","se9scahi",1,[["element",64],["src",1,0,1,2]]],["as-legend","riustvwz",1,[["data",1]]],["as-loader","bdti9x4n",1],["as-range-slider","qhnsomau",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","qhnsomau",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","qhnsomau",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","riustvwz",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","2be7tag5",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","wubyvvev",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-time-series-widget","pkyhqhz4",1,[["animated",1,1,1,4],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["disableInteractivity",1,0,"disable-interactivity",4],["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],["playing",1,0,1,4],["progress",1,0,1,8],["range",1],["responsive",1,0,1,4],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["timeFormat",1,0,"time-format",2],["timeFormatLocale",1],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-toolbar","tjwfxnap",1,[["element",64]]],["as-widget-header","bdti9x4n",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-widget-selection","bdti9x4n",1,[["clearText",1,0,"clear-text",2],["selection",1,0,1,2],["showClear",1,0,"show-clear",4]]],["as-y-axis","eg1xni7z",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]] |
// airship: Host Data, ES Module/es5 Target | ||
export var COMPONENTS = [["as-category-widget","lviodzsm",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","w6zfcvoh",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","zhisgi2n",1,[["axisFormatter",1],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["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],["isCategoricalData",16],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["range",1],["responsive",1,0,1,4],["selectedFormatter",1],["selectionEmpty",16],["selectionFooter",16],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltip",16],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-infowindow","se9scahi",1,[["element",64],["src",1,0,1,2]]],["as-legend","riustvwz",1,[["data",1]]],["as-loader","bdti9x4n",1],["as-range-slider","qhnsomau",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","qhnsomau",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","qhnsomau",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","riustvwz",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","2be7tag5",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","wubyvvev",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-time-series-widget","zhisgi2n",1,[["animated",1,1,1,4],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["disableInteractivity",1,0,"disable-interactivity",4],["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],["playing",1,0,1,4],["progress",1,0,1,8],["range",1],["responsive",1,0,1,4],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["timeFormat",1,0,"time-format",2],["timeFormatLocale",1],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-toolbar","tjwfxnap",1,[["element",64]]],["as-widget-header","bdti9x4n",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-widget-selection","bdti9x4n",1,[["clearText",1,0,"clear-text",2],["selection",1,0,1,2],["showClear",1,0,"show-clear",4]]],["as-y-axis","eg1xni7z",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]] | ||
export var COMPONENTS = [["as-category-widget","lviodzsm",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","w6zfcvoh",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","pkyhqhz4",1,[["axisFormatter",1],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["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],["isCategoricalData",16],["isLoading",1,0,"is-loading",4],["noDataBodyMessage",1,0,"no-data-body-message",2],["noDataHeaderMessage",1,0,"no-data-header-message",2],["range",1],["responsive",1,0,1,4],["selectedFormatter",1],["selectionEmpty",16],["selectionFooter",16],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["tooltip",16],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-infowindow","se9scahi",1,[["element",64],["src",1,0,1,2]]],["as-legend","riustvwz",1,[["data",1]]],["as-loader","bdti9x4n",1],["as-range-slider","qhnsomau",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","qhnsomau",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","qhnsomau",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","riustvwz",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","2be7tag5",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","wubyvvev",1,[["activeTab",2,0,"active-tab",8],["element",64],["xl",1,0,1,4]]],["as-time-series-widget","pkyhqhz4",1,[["animated",1,1,1,4],["backgroundData",1],["clearSelection",32],["clearText",1,0,"clear-text",2],["color",1,0,1,2],["colorRange",1],["data",1],["defaultFormatter",32],["description",1,0,1,2],["disableAnimation",1,0,"disable-animation",4],["disableInteractivity",1,0,"disable-interactivity",4],["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],["playing",1,0,1,4],["progress",1,0,1,8],["range",1],["responsive",1,0,1,4],["setSelection",32],["showClear",1,0,"show-clear",4],["showHeader",1,0,"show-header",4],["timeFormat",1,0,"time-format",2],["timeFormatLocale",1],["tooltipFormatter",1],["unselectedColor",1,0,"unselected-color",2],["xAxisOptions",1],["xFormatter",32],["xLabel",1,0,"x-label",2],["yAxisOptions",1],["yLabel",1,0,"y-label",2]]],["as-toolbar","tjwfxnap",1,[["element",64]]],["as-widget-header","bdti9x4n",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-widget-selection","bdti9x4n",1,[["clearText",1,0,"clear-text",2],["selection",1,0,1,2],["showClear",1,0,"show-clear",4]]],["as-y-axis","eg1xni7z",1,[["element",64],["from",1,0,1,8],["responsive",1,0,1,4],["to",1,0,1,8]]]] |
@@ -9,2 +9,2 @@ /*! | ||
/* webpackMode: "lazy" */ | ||
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})}if(!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,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}; | ||
"./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}; |
@@ -195,3 +195,2 @@ import 'd3-transition'; | ||
private _backgroundData; | ||
private _mockBackground; | ||
private _color; | ||
@@ -198,0 +197,0 @@ private _barBackgroundColor; |
{ | ||
"name": "@carto/airship-components", | ||
"version": "2.0.0-rc.0", | ||
"version": "2.0.0-rc.1", | ||
"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.", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
2294358
298
24400