elwins-test-web-components
Advanced tools
Comparing version 0.1.11 to 0.2.0
'use strict'; | ||
const index = require('./index-eca317e8.js'); | ||
const patch = require('./patch-ea4eec86.js'); | ||
const index = require('./index-a656b3e3.js'); | ||
patch.patchBrowser().then(options => { | ||
/* | ||
Stencil Client Patch Browser v2.1.1 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
const patchBrowser = () => { | ||
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('elwins-test-web-components.cjs.js', document.baseURI).href)); | ||
const opts = {}; | ||
if ( importMeta !== '') { | ||
opts.resourcesUrl = new URL('.', importMeta).href; | ||
} | ||
return index.promiseResolve(opts); | ||
}; | ||
patchBrowser().then(options => { | ||
return index.bootstrapLazy([["eve-button_2.cjs",[[1,"eve-button",{"fill":[1537],"href":[1],"target":[1],"rel":[1]}],[1,"eve-introduction",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); |
@@ -5,25 +5,25 @@ 'use strict'; | ||
const index = require('./index-eca317e8.js'); | ||
const index = require('./index-a656b3e3.js'); | ||
const eveButtonCss = ":host{display:inline-block;width:auto;font-family:var(--eve-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none;--border-radius:5px;--border-width:3px;--border-color:#4598d8;--border-style:solid}:host(.button-solid){--background:#4598d8;--color:#ffffff}:host(.button-outline){--border-color:#dde5ea;--background:transparent;--color:#0c1f2b}.button-native{border-radius:var(--border-radius);display:block;position:relative;padding:20px;width:100%;height:100%;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);line-height:1;cursor:pointer;z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;text-decoration:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}"; | ||
const eveButtonCss = ":host{display:inline-block;width:auto;font-family:var(--eve-font-family, inherit);user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;font-kerning:none;--border-radius:5px;--border-width:3px;--border-color:#4598d8;--border-style:solid}:host(.button-solid){--background:#4598d8;--color:#ffffff}:host(.button-outline){--border-color:#dde5ea;--background:transparent;--color:#0c1f2b}.button-native{border-radius:var(--border-radius);display:block;position:relative;padding:20px;width:100%;height:100%;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);line-height:1;cursor:pointer;z-index:0;box-sizing:border-box;text-decoration:none}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}"; | ||
const EveButton = class { | ||
constructor(hostRef) { | ||
index.registerInstance(this, hostRef); | ||
constructor(hostRef) { | ||
index.registerInstance(this, hostRef); | ||
} | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
return (index.h(index.Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, index.h("a", Object.assign({}, attrs, { class: "button-native" }), index.h("span", { class: "button-inner" }, index.h("slot", { name: "start" }), index.h("slot", null), index.h("slot", { name: "end" }))))); | ||
} | ||
return (index.h(index.Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, index.h("a", Object.assign({}, attrs, { class: "button-native" }), index.h("span", { class: "button-inner" }, index.h("slot", { name: "start" }), index.h("slot", null), index.h("slot", { name: "end" }))))); | ||
} | ||
}; | ||
@@ -33,5 +33,5 @@ EveButton.style = eveButtonCss; | ||
function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
} | ||
@@ -42,11 +42,11 @@ | ||
const EveIntroduction = class { | ||
constructor(hostRef) { | ||
index.registerInstance(this, hostRef); | ||
} | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
} | ||
render() { | ||
return index.h("div", null, "My name is ", this.getText()); | ||
} | ||
constructor(hostRef) { | ||
index.registerInstance(this, hostRef); | ||
} | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
} | ||
render() { | ||
return index.h("div", null, "My name is ", this.getText()); | ||
} | ||
}; | ||
@@ -53,0 +53,0 @@ EveIntroduction.style = eveIntroductionCss; |
@@ -5,8 +5,14 @@ 'use strict'; | ||
const index = require('./index-eca317e8.js'); | ||
const patch = require('./patch-ea4eec86.js'); | ||
const index = require('./index-a656b3e3.js'); | ||
/* | ||
Stencil Client Patch Esm v2.1.1 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
const patchEsm = () => { | ||
return index.promiseResolve(); | ||
}; | ||
const defineCustomElements = (win, options) => { | ||
if (typeof window === 'undefined') return Promise.resolve(); | ||
return patch.patchEsm().then(() => { | ||
return patchEsm().then(() => { | ||
return index.bootstrapLazy([["eve-button_2.cjs",[[1,"eve-button",{"fill":[1537],"href":[1],"target":[1],"rel":[1]}],[1,"eve-introduction",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
@@ -13,0 +19,0 @@ }); |
@@ -8,4 +8,4 @@ { | ||
"name": "@stencil/core", | ||
"version": "1.17.3", | ||
"typescriptVersion": "3.9.7" | ||
"version": "2.1.1", | ||
"typescriptVersion": "4.0.3" | ||
}, | ||
@@ -12,0 +12,0 @@ "collections": [], |
import { Component, Host, h, Prop } from "@stencil/core"; | ||
export class EveButton { | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
return (h(Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, | ||
h("a", Object.assign({}, attrs, { class: "button-native" }), | ||
h("span", { class: "button-inner" }, | ||
h("slot", { name: "start" }), | ||
h("slot", null), | ||
h("slot", { name: "end" }))))); | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
static get is() { return "eve-button"; } | ||
static get encapsulation() { return "shadow"; } | ||
static get originalStyleUrls() { return { | ||
"$": ["eve-button.css"] | ||
}; } | ||
static get styleUrls() { return { | ||
"$": ["eve-button.css"] | ||
}; } | ||
static get properties() { return { | ||
"fill": { | ||
"type": "string", | ||
"mutable": true, | ||
"complexType": { | ||
"original": "\"outline\" | \"solid\"", | ||
"resolved": "\"outline\" | \"solid\"", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": true, | ||
"docs": { | ||
"tags": [], | ||
"text": "Set to `\"outline\"` for a transparent button with a border, or to `\"solid\"`.\nThe default style is `\"solid\"`." | ||
}, | ||
"attribute": "fill", | ||
"reflect": true | ||
}, | ||
"href": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Contains a URL or a URL fragment that the hyperlink points to." | ||
}, | ||
"attribute": "href", | ||
"reflect": false | ||
}, | ||
"target": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Specifies where to display the linked URL.\nSpecial keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`." | ||
}, | ||
"attribute": "target", | ||
"reflect": false | ||
}, | ||
"rel": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Specifies the relationship of the target object to the link object.\nThe value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)." | ||
}, | ||
"attribute": "rel", | ||
"reflect": false | ||
} | ||
}; } | ||
return (h(Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, | ||
h("a", Object.assign({}, attrs, { class: "button-native" }), | ||
h("span", { class: "button-inner" }, | ||
h("slot", { name: "start" }), | ||
h("slot", null), | ||
h("slot", { name: "end" }))))); | ||
} | ||
static get is() { return "eve-button"; } | ||
static get encapsulation() { return "shadow"; } | ||
static get originalStyleUrls() { return { | ||
"$": ["eve-button.css"] | ||
}; } | ||
static get styleUrls() { return { | ||
"$": ["eve-button.css"] | ||
}; } | ||
static get properties() { return { | ||
"fill": { | ||
"type": "string", | ||
"mutable": true, | ||
"complexType": { | ||
"original": "\"outline\" | \"solid\"", | ||
"resolved": "\"outline\" | \"solid\"", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": true, | ||
"docs": { | ||
"tags": [], | ||
"text": "Set to `\"outline\"` for a transparent button with a border, or to `\"solid\"`.\nThe default style is `\"solid\"`." | ||
}, | ||
"attribute": "fill", | ||
"reflect": true | ||
}, | ||
"href": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Contains a URL or a URL fragment that the hyperlink points to." | ||
}, | ||
"attribute": "href", | ||
"reflect": false | ||
}, | ||
"target": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Specifies where to display the linked URL.\nSpecial keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`." | ||
}, | ||
"attribute": "target", | ||
"reflect": false | ||
}, | ||
"rel": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string | undefined", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "Specifies the relationship of the target object to the link object.\nThe value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)." | ||
}, | ||
"attribute": "rel", | ||
"reflect": false | ||
} | ||
}; } | ||
} |
import { Component, Prop, h } from "@stencil/core"; | ||
import { format } from "../../utils/utils"; | ||
export class EveIntroduction { | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
} | ||
render() { | ||
return h("div", null, | ||
"My name is ", | ||
this.getText()); | ||
} | ||
static get is() { return "eve-introduction"; } | ||
static get encapsulation() { return "shadow"; } | ||
static get originalStyleUrls() { return { | ||
"$": ["eve-introduction.css"] | ||
}; } | ||
static get styleUrls() { return { | ||
"$": ["eve-introduction.css"] | ||
}; } | ||
static get properties() { return { | ||
"first": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The first name" | ||
}, | ||
"attribute": "first", | ||
"reflect": false | ||
}, | ||
"middle": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The middle name" | ||
}, | ||
"attribute": "middle", | ||
"reflect": false | ||
}, | ||
"last": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The last name" | ||
}, | ||
"attribute": "last", | ||
"reflect": false | ||
} | ||
render() { | ||
return h("div", null, | ||
"My name is ", | ||
this.getText()); | ||
} | ||
static get is() { return "eve-introduction"; } | ||
static get encapsulation() { return "shadow"; } | ||
static get originalStyleUrls() { return { | ||
"$": ["eve-introduction.css"] | ||
}; } | ||
static get styleUrls() { return { | ||
"$": ["eve-introduction.css"] | ||
}; } | ||
static get properties() { return { | ||
"first": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The first name" | ||
}, | ||
"attribute": "first", | ||
"reflect": false | ||
}, | ||
"middle": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The middle name" | ||
}, | ||
"attribute": "middle", | ||
"reflect": false | ||
}, | ||
"last": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": false, | ||
"docs": { | ||
"tags": [], | ||
"text": "The last name" | ||
}, | ||
"attribute": "last", | ||
"reflect": false | ||
} | ||
}; } | ||
}; } | ||
} |
export function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
} |
@@ -1,1 +0,1 @@ | ||
import{b as e}from"./p-ee60b7e2.js";import{p as t}from"./p-37899a70.js";t().then(t=>e([["p-31289d71",[[1,"eve-button",{fill:[1537],href:[1],target:[1],rel:[1]}],[1,"eve-introduction",{first:[1],middle:[1],last:[1]}]]]],t)); | ||
import{p as t,b as e}from"./p-3fb4536f.js";(()=>{const e=import.meta.url,r={};return""!==e&&(r.resourcesUrl=new URL(".",e).href),t(r)})().then((t=>e([["p-2433a9eb",[[1,"eve-button",{fill:[1537],href:[1],target:[1],rel:[1]}],[1,"eve-introduction",{first:[1],middle:[1],last:[1]}]]]],t))); |
@@ -1,24 +0,24 @@ | ||
import { r as registerInstance, h, H as Host } from './index-0c005ad9.js'; | ||
import { r as registerInstance, h, H as Host } from './index-c8f17c55.js'; | ||
const eveButtonCss = ":host{display:inline-block;width:auto;font-family:var(--eve-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none;--border-radius:5px;--border-width:3px;--border-color:#4598d8;--border-style:solid}:host(.button-solid){--background:#4598d8;--color:#ffffff}:host(.button-outline){--border-color:#dde5ea;--background:transparent;--color:#0c1f2b}.button-native{border-radius:var(--border-radius);display:block;position:relative;padding:20px;width:100%;height:100%;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);line-height:1;cursor:pointer;z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;text-decoration:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}"; | ||
const eveButtonCss = ":host{display:inline-block;width:auto;font-family:var(--eve-font-family, inherit);user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;font-kerning:none;--border-radius:5px;--border-width:3px;--border-color:#4598d8;--border-style:solid}:host(.button-solid){--background:#4598d8;--color:#ffffff}:host(.button-outline){--border-color:#dde5ea;--background:transparent;--color:#0c1f2b}.button-native{border-radius:var(--border-radius);display:block;position:relative;padding:20px;width:100%;height:100%;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);line-height:1;cursor:pointer;z-index:0;box-sizing:border-box;text-decoration:none}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}"; | ||
const EveButton = class { | ||
constructor(hostRef) { | ||
registerInstance(this, hostRef); | ||
constructor(hostRef) { | ||
registerInstance(this, hostRef); | ||
} | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
render() { | ||
const { rel, target, href } = this; | ||
const attrs = { | ||
href, | ||
rel, | ||
target, | ||
}; | ||
let fill = this.fill; | ||
if (fill === undefined) { | ||
fill = "solid"; | ||
} | ||
return (h(Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, h("a", Object.assign({}, attrs, { class: "button-native" }), h("span", { class: "button-inner" }, h("slot", { name: "start" }), h("slot", null), h("slot", { name: "end" }))))); | ||
} | ||
return (h(Host, { class: { | ||
[`button-${fill}`]: true, | ||
} }, h("a", Object.assign({}, attrs, { class: "button-native" }), h("span", { class: "button-inner" }, h("slot", { name: "start" }), h("slot", null), h("slot", { name: "end" }))))); | ||
} | ||
}; | ||
@@ -28,5 +28,5 @@ EveButton.style = eveButtonCss; | ||
function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
} | ||
@@ -37,11 +37,11 @@ | ||
const EveIntroduction = class { | ||
constructor(hostRef) { | ||
registerInstance(this, hostRef); | ||
} | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
} | ||
render() { | ||
return h("div", null, "My name is ", this.getText()); | ||
} | ||
constructor(hostRef) { | ||
registerInstance(this, hostRef); | ||
} | ||
getText() { | ||
return format(this.first, this.middle, this.last); | ||
} | ||
render() { | ||
return h("div", null, "My name is ", this.getText()); | ||
} | ||
}; | ||
@@ -48,0 +48,0 @@ EveIntroduction.style = eveIntroductionCss; |
@@ -1,1 +0,1 @@ | ||
var StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return Object.assign(Object.assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return Object.assign(Object.assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window); | ||
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('./cjs/index.cjs.js'); | ||
export * from './esm/index.js'; |
export declare class EveButton { | ||
/** | ||
* Set to `"outline"` for a transparent button with a border, or to `"solid"`. | ||
* The default style is `"solid"`. | ||
*/ | ||
fill?: "outline" | "solid"; | ||
/** | ||
* Contains a URL or a URL fragment that the hyperlink points to. | ||
*/ | ||
href: string | undefined; | ||
/** | ||
* Specifies where to display the linked URL. | ||
* Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. | ||
*/ | ||
target: string | undefined; | ||
/** | ||
* Specifies the relationship of the target object to the link object. | ||
* The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). | ||
*/ | ||
rel: string | undefined; | ||
render(): any; | ||
/** | ||
* Set to `"outline"` for a transparent button with a border, or to `"solid"`. | ||
* The default style is `"solid"`. | ||
*/ | ||
fill?: "outline" | "solid"; | ||
/** | ||
* Contains a URL or a URL fragment that the hyperlink points to. | ||
*/ | ||
href: string | undefined; | ||
/** | ||
* Specifies where to display the linked URL. | ||
* Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. | ||
*/ | ||
target: string | undefined; | ||
/** | ||
* Specifies the relationship of the target object to the link object. | ||
* The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). | ||
*/ | ||
rel: string | undefined; | ||
render(): any; | ||
} |
export declare class EveIntroduction { | ||
/** | ||
* The first name | ||
*/ | ||
first: string; | ||
/** | ||
* The middle name | ||
*/ | ||
middle: string; | ||
/** | ||
* The last name | ||
*/ | ||
last: string; | ||
private getText; | ||
render(): any; | ||
/** | ||
* The first name | ||
*/ | ||
first: string; | ||
/** | ||
* The middle name | ||
*/ | ||
middle: string; | ||
/** | ||
* The last name | ||
*/ | ||
last: string; | ||
private getText; | ||
render(): any; | ||
} |
@@ -46,6 +46,2 @@ declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void; | ||
assetsDirs?: string[]; | ||
/** | ||
* @deprecated Use `assetsDirs` instead | ||
*/ | ||
assetsDir?: string; | ||
} | ||
@@ -85,10 +81,2 @@ export interface ShadowRootOptions { | ||
reflect?: boolean; | ||
/** @deprecated: "attr" has been deprecated, please use "attribute" instead. */ | ||
attr?: string; | ||
/** @deprecated "context" has been deprecated. */ | ||
context?: string; | ||
/** @deprecated "connect" has been deprecated, please use ES modules and/or dynamic imports instead. */ | ||
connect?: string; | ||
/** @deprecated "reflectToAttr" has been deprecated, please use "reflect" instead. */ | ||
reflectToAttr?: boolean; | ||
} | ||
@@ -150,3 +138,3 @@ export interface MethodDecorator { | ||
} | ||
export declare type ListenTargetOptions = 'parent' | 'body' | 'document' | 'window'; | ||
export declare type ListenTargetOptions = 'body' | 'document' | 'window'; | ||
export interface StateDecorator { | ||
@@ -227,2 +215,3 @@ (): PropertyDecorator; | ||
export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null; | ||
export declare type ErrorHandler = (err: any, element?: HTMLElement) => void; | ||
/** | ||
@@ -271,4 +260,2 @@ * `setMode()` is used for libraries which provide multiple "modes" for styles. | ||
componentOnReady(): Promise<this>; | ||
/** @deprecated */ | ||
forceUpdate(): void; | ||
} | ||
@@ -290,2 +277,7 @@ /** | ||
/** | ||
* `setErrorHandler()` can be used to inject a custom global error handler. | ||
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler. | ||
*/ | ||
export declare const setErrorHandler: (handler: ErrorHandler) => void; | ||
/** | ||
* This file gets copied to all distributions of stencil component collections. | ||
@@ -340,9 +332,2 @@ * - no imports | ||
} | ||
export interface ComponentDidUnload { | ||
/** | ||
* The component did unload and the element | ||
* will be destroyed. | ||
*/ | ||
componentDidUnload(): void; | ||
} | ||
export interface ComponentInterface { | ||
@@ -452,2 +437,6 @@ connectedCallback?(): void; | ||
/** | ||
* Fragment | ||
*/ | ||
export declare const Fragment: FunctionalComponent<{}>; | ||
/** | ||
* The "h" namespace is used to import JSX types for elements and attributes. | ||
@@ -458,9 +447,9 @@ * It is imported in order to avoid conflicting global JSX issues. | ||
function h(sel: any): VNode; | ||
function h(sel: Node, data: VNodeData): VNode; | ||
function h(sel: any, data: VNodeData): VNode; | ||
function h(sel: Node, data: VNodeData | null): VNode; | ||
function h(sel: any, data: VNodeData | null): VNode; | ||
function h(sel: any, text: string): VNode; | ||
function h(sel: any, children: Array<VNode | undefined | null>): VNode; | ||
function h(sel: any, data: VNodeData, text: string): VNode; | ||
function h(sel: any, data: VNodeData, children: Array<VNode | undefined | null>): VNode; | ||
function h(sel: any, data: VNodeData, children: VNode): VNode; | ||
function h(sel: any, data: VNodeData | null, text: string): VNode; | ||
function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode; | ||
function h(sel: any, data: VNodeData | null, children: VNode): VNode; | ||
namespace JSX { | ||
@@ -472,2 +461,10 @@ interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements { | ||
} | ||
export declare function h(sel: any): VNode; | ||
export declare function h(sel: Node, data: VNodeData | null): VNode; | ||
export declare function h(sel: any, data: VNodeData | null): VNode; | ||
export declare function h(sel: any, text: string): VNode; | ||
export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode; | ||
export declare function h(sel: any, data: VNodeData | null, text: string): VNode; | ||
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode; | ||
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode; | ||
export interface VNode { | ||
@@ -474,0 +471,0 @@ $flags$: number; |
{ | ||
"name": "elwins-test-web-components-loader", | ||
"typings": "./index.d.ts", | ||
"module": "./index.mjs", | ||
"module": "./index.js", | ||
"main": "./index.cjs.js", | ||
"node:main": "./node-main.js", | ||
"jsnext:main": "./index.es2017.mjs", | ||
"es2015": "./index.es2017.mjs", | ||
"es2017": "./index.es2017.mjs", | ||
"jsnext:main": "./index.es2017.js", | ||
"es2015": "./index.es2017.js", | ||
"es2017": "./index.es2017.js", | ||
"unpkg": "./cdn.js" | ||
} |
{ | ||
"name": "elwins-test-web-components", | ||
"version": "0.1.11", | ||
"version": "0.2.0", | ||
"description": "Some test Web Components build with Stencil", | ||
@@ -9,6 +9,7 @@ "repository": { | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"es2015": "dist/esm/index.mjs", | ||
"es2017": "dist/esm/index.mjs", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.js", | ||
"es2015": "dist/esm/index.js", | ||
"es2017": "dist/esm/index.js", | ||
"jsnext:main": "dist/esm/index.js", | ||
"types": "dist/types/index.d.ts", | ||
@@ -31,3 +32,3 @@ "collection": "dist/collection/collection-manifest.json", | ||
"@stencil/angular-output-target": "0.0.5", | ||
"@stencil/core": "^1.17.3", | ||
"@stencil/core": "^2.1.1", | ||
"@stencil/react-output-target": "0.0.9", | ||
@@ -42,3 +43,3 @@ "@stencil/vue-output-target": "0.0.3", | ||
"license": "MIT", | ||
"gitHead": "d4c7ce55c71adeb644d981de30caed3c5bb5b48b" | ||
"gitHead": "e4e8518b35b27c6f28d5103fbfba09c639aeeb71" | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
1
3
313964
44
4926