gauge-page-header 0.1.70 → 0.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BnO-0qV2.js');
3
+ var index = require('./index-exTdujX-.js');
4
4
 
5
5
  const eswat2IoCss = () => `a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}`;
6
6
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BnO-0qV2.js');
3
+ var index = require('./index-exTdujX-.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.40.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.41.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -4,7 +4,7 @@ const NAMESPACE = 'gauge-page-header';
4
4
  const BUILD = /* gauge-page-header */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", prop: true, propChangeCallback: false, updatable: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.40.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.41.0 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
  var __create = Object.create;
10
10
  var __defProp = Object.defineProperty;
@@ -1859,6 +1859,43 @@ function createShadowRoot(cmpMeta) {
1859
1859
  }
1860
1860
  }
1861
1861
  }
1862
+ function getHostSlotNodes(childNodes, hostName, slotName) {
1863
+ let i2 = 0;
1864
+ let slottedNodes = [];
1865
+ let childNode;
1866
+ for (; i2 < childNodes.length; i2++) {
1867
+ childNode = childNodes[i2];
1868
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
1869
+ slottedNodes.push(childNode);
1870
+ if (typeof slotName !== "undefined") return slottedNodes;
1871
+ }
1872
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
1873
+ }
1874
+ return slottedNodes;
1875
+ }
1876
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
1877
+ function dispatchSlotChangeEvent(elm) {
1878
+ elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
1879
+ }
1880
+ function findSlotFromSlottedNode(slottedNode, parentHost) {
1881
+ var _a;
1882
+ parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
1883
+ if (!parentHost) return { slotNode: null, slotName: "" };
1884
+ const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
1885
+ const childNodes = internalCall(parentHost, "childNodes");
1886
+ const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
1887
+ return { slotNode, slotName };
1888
+ }
1889
+ function internalCall(node, method) {
1890
+ if ("__" + method in node) {
1891
+ const toReturn = node["__" + method];
1892
+ if (typeof toReturn !== "function") return toReturn;
1893
+ return toReturn.bind(node);
1894
+ } else {
1895
+ if (typeof node[method] !== "function") return node[method];
1896
+ return node[method].bind(node);
1897
+ }
1898
+ }
1862
1899
  var createTime = (fnName, tagName = "") => {
1863
1900
  {
1864
1901
  return () => {
@@ -2408,8 +2445,16 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2408
2445
  elm.data = text;
2409
2446
  }
2410
2447
  };
2411
- var insertBefore = (parent, newNode, reference) => {
2412
- {
2448
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2449
+ if (typeof newNode["s-sn"] === "string") {
2450
+ parent.insertBefore(newNode, reference);
2451
+ const { slotNode } = findSlotFromSlottedNode(newNode);
2452
+ if (slotNode && true) dispatchSlotChangeEvent(slotNode);
2453
+ return newNode;
2454
+ }
2455
+ if (parent.__insertBefore) {
2456
+ return parent.__insertBefore(newNode, reference);
2457
+ } else {
2413
2458
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
2414
2459
  }
2415
2460
  };
@@ -2748,7 +2793,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2748
2793
  hostRef.$flags$ &= -9 /* isConstructingInstance */;
2749
2794
  }
2750
2795
  endNewInstance();
2751
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
2796
+ {
2797
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
2798
+ }
2752
2799
  } else {
2753
2800
  Cstr = elm.constructor;
2754
2801
  const cmpTag = elm.localName;
@@ -2881,10 +2928,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2881
2928
  }
2882
2929
  const tagName = transformTag(cmpMeta.$tagName$);
2883
2930
  const HostElement = class extends HTMLElement {
2931
+ ["s-p"];
2932
+ ["s-rc"];
2933
+ hasRegisteredEventListeners = false;
2884
2934
  // StencilLazyHost
2885
2935
  constructor(self) {
2886
2936
  super(self);
2887
- this.hasRegisteredEventListeners = false;
2888
2937
  self = this;
2889
2938
  registerHost(self, cmpMeta);
2890
2939
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BnO-0qV2.js');
3
+ var index = require('./index-exTdujX-.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.40.1",
8
+ "version": "4.41.0",
9
9
  "typescriptVersion": "5.8.3"
10
10
  },
11
11
  "collections": [],
@@ -99,7 +99,8 @@ export class GaugePageHeader {
99
99
  "VehicleInfo": {
100
100
  "location": "import",
101
101
  "path": "../../typings",
102
- "id": "src/typings/index.ts::VehicleInfo"
102
+ "id": "src/typings/index.ts::VehicleInfo",
103
+ "referenceLocation": "VehicleInfo"
103
104
  }
104
105
  }
105
106
  },
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-hgciYOL8.js';
1
+ import { r as registerInstance, h } from './index-CG4Z_BQZ.js';
2
2
 
3
3
  const eswat2IoCss = () => `a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}`;
4
4
 
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-hgciYOL8.js';
2
- export { s as setNonce } from './index-hgciYOL8.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-CG4Z_BQZ.js';
2
+ export { s as setNonce } from './index-CG4Z_BQZ.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.40.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.41.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -2,7 +2,7 @@ const NAMESPACE = 'gauge-page-header';
2
2
  const BUILD = /* gauge-page-header */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", prop: true, propChangeCallback: false, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.40.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.41.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __create = Object.create;
8
8
  var __defProp = Object.defineProperty;
@@ -1857,6 +1857,43 @@ function createShadowRoot(cmpMeta) {
1857
1857
  }
1858
1858
  }
1859
1859
  }
1860
+ function getHostSlotNodes(childNodes, hostName, slotName) {
1861
+ let i2 = 0;
1862
+ let slottedNodes = [];
1863
+ let childNode;
1864
+ for (; i2 < childNodes.length; i2++) {
1865
+ childNode = childNodes[i2];
1866
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
1867
+ slottedNodes.push(childNode);
1868
+ if (typeof slotName !== "undefined") return slottedNodes;
1869
+ }
1870
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
1871
+ }
1872
+ return slottedNodes;
1873
+ }
1874
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
1875
+ function dispatchSlotChangeEvent(elm) {
1876
+ elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
1877
+ }
1878
+ function findSlotFromSlottedNode(slottedNode, parentHost) {
1879
+ var _a;
1880
+ parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
1881
+ if (!parentHost) return { slotNode: null, slotName: "" };
1882
+ const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
1883
+ const childNodes = internalCall(parentHost, "childNodes");
1884
+ const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
1885
+ return { slotNode, slotName };
1886
+ }
1887
+ function internalCall(node, method) {
1888
+ if ("__" + method in node) {
1889
+ const toReturn = node["__" + method];
1890
+ if (typeof toReturn !== "function") return toReturn;
1891
+ return toReturn.bind(node);
1892
+ } else {
1893
+ if (typeof node[method] !== "function") return node[method];
1894
+ return node[method].bind(node);
1895
+ }
1896
+ }
1860
1897
  var createTime = (fnName, tagName = "") => {
1861
1898
  {
1862
1899
  return () => {
@@ -2406,8 +2443,16 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2406
2443
  elm.data = text;
2407
2444
  }
2408
2445
  };
2409
- var insertBefore = (parent, newNode, reference) => {
2410
- {
2446
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2447
+ if (typeof newNode["s-sn"] === "string") {
2448
+ parent.insertBefore(newNode, reference);
2449
+ const { slotNode } = findSlotFromSlottedNode(newNode);
2450
+ if (slotNode && true) dispatchSlotChangeEvent(slotNode);
2451
+ return newNode;
2452
+ }
2453
+ if (parent.__insertBefore) {
2454
+ return parent.__insertBefore(newNode, reference);
2455
+ } else {
2411
2456
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
2412
2457
  }
2413
2458
  };
@@ -2746,7 +2791,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2746
2791
  hostRef.$flags$ &= -9 /* isConstructingInstance */;
2747
2792
  }
2748
2793
  endNewInstance();
2749
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
2794
+ {
2795
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
2796
+ }
2750
2797
  } else {
2751
2798
  Cstr = elm.constructor;
2752
2799
  const cmpTag = elm.localName;
@@ -2879,10 +2926,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2879
2926
  }
2880
2927
  const tagName = transformTag(cmpMeta.$tagName$);
2881
2928
  const HostElement = class extends HTMLElement {
2929
+ ["s-p"];
2930
+ ["s-rc"];
2931
+ hasRegisteredEventListeners = false;
2882
2932
  // StencilLazyHost
2883
2933
  constructor(self) {
2884
2934
  super(self);
2885
- this.hasRegisteredEventListeners = false;
2886
2935
  self = this;
2887
2936
  registerHost(self, cmpMeta);
2888
2937
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-hgciYOL8.js';
2
- export { s as setNonce } from './index-hgciYOL8.js';
1
+ import { b as bootstrapLazy } from './index-CG4Z_BQZ.js';
2
+ export { s as setNonce } from './index-CG4Z_BQZ.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as a,b as e}from"./p-hgciYOL8.js";export{s as setNonce}from"./p-hgciYOL8.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,s={};return""!==e&&(s.resourcesUrl=new URL(".",e).href),a(s)})().then((async a=>(await o(),e([["p-1a625b20",[[1,"gauge-page-header",{vehicleInfo:[16]}],[1,"eswat2-io"]]]],a))));
1
+ import{p as e,b as a}from"./p-CG4Z_BQZ.js";export{s as setNonce}from"./p-CG4Z_BQZ.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await o(),a([["p-6bc9edbb",[[1,"gauge-page-header",{vehicleInfo:[16]}],[1,"eswat2-io"]]]],e))));
@@ -1 +1 @@
1
- import{r as e,h as a}from"./p-hgciYOL8.js";const i="eswat2",r=class{constructor(a){e(this,a)}render(){return a("a",{key:"19b3032cee637162468f46d0adee024409fe18bf",href:"https://eswat2.dev","aria-label":i,title:i},(({hex:e="currentColor",size:i=24})=>a("svg",{width:i,height:i,viewBox:"0 0 24 24"},a("g",{fill:e},a("path",{d:"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25\n 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19\n 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61\n 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83\n 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79\n 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08\n 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77\n 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11\n 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57\n 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96\n 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44\n 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75\n 19.33,18.38Z"})),a("path",{d:"M0 0h24v24H0z",fill:"none"})))({}))}};r.style="a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";const s=e=>{if(navigator.clipboard)try{navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy!",e)}},c=class{constructor(a){e(this,a)}yearMakeModel(){const{ModelYear:e,Make:a,Model:i}=this.vehicleInfo||{ModelYear:2020,Make:"-",Model:"-"};return`${e} ${a} ${i}`}isCertified(){const{IsCertified:e}=this.vehicleInfo||{IsCertified:!1};return e}isRetail(){const{RetailWholesale:e}=this.vehicleInfo||{RetailWholesale:"R"};return"R"===e}isNew(){const{NewUsed:e}=this.vehicleInfo||{NewUsed:"N"};return"N"===e}stockNumber(){const{StockNumber:e}=this.vehicleInfo||{StockNumber:"-"};return e}vin(){const{Vin:e}=this.vehicleInfo||{Vin:"-"};return e}daysInInventory(){const{DaysInInventory:e}=this.vehicleInfo||{DaysInInventory:0};return`${e} Days`}mileage(){const{Odometer:e}=this.vehicleInfo||{Odometer:0};return`${Intl.NumberFormat().format(e)} mi`}body(){const{BodyDescription:e}=this.vehicleInfo||{BodyDescription:"-"};return e}exteriorColor(){const{ExteriorColor:e}=this.vehicleInfo||{ExteriorColor:"-"};return e}interiorColor(){const{InteriorColor:e}=this.vehicleInfo||{InteriorColor:"-"};return e}driveTrain(){const{DriveTrainType:e}=this.vehicleInfo||{DriveTrainType:"-"};return e}engine(){const{EngineDescription:e}=this.vehicleInfo||{EngineDescription:"-"};return e}transmission(){const{TransmissionDescription:e}=this.vehicleInfo||{TransmissionDescription:"- "};return e}render(){var e="";return this.isNew()||(e=this.isCertified()?a("span",{class:"certified badge"},a("span",{role:"label"},"Certified")):a("span",{class:"not-certified badge"},a("span",{role:"label"},"Not Certified"))),[a("div",{key:"0d991decd8f3decc5fed001f20690eaef654eeea",class:"gauge-page-header"},a("eswat2-io",{key:"79c472d52bd91b87dddbbaaa853c087b561cf5ba"}),a("div",{key:"f8525320a5f1e2f9b155d62667d4de85ed290032",class:"year-make-model-container",onClick:()=>s(this.yearMakeModel()),title:"Click to Copy Year/Make/Model"},a("h1",{key:"185f78d4dbbbbb20850a520d4fd54acb18f25f9d",id:"year-make-model-header"},this.yearMakeModel()),a("span",{key:"960fdd7f015ad694464372f051ef1726c8a71ed2",class:"badge-set-container"},e,this.isRetail()?a("span",{class:"retail badge"},a("span",{role:"label"},"Retail")):a("span",{class:"wholesale badge"},a("span",{role:"label"},"Wholesale")))),a("div",{key:"0ae3adab71009085cb486c1c65dcdb4aaaa55ce6",class:"vehicle-identifier-info-container",onClick:()=>s(this.vin()),title:"Click to Copy VIN"},a("h4",{key:"a30f061c401340b209fca53ac65d36db175eb45c",id:"vehicle-identifier-info-header"},a("span",{key:"e94b11522a40108e0b99c480eff9d9e78aec470b",class:"vehicle-info-header-segment capitalize"},this.stockNumber()),a("span",{key:"dadb1cfd52b87784a948f45f77f13963a35707ed",class:"vehicle-info-header-segment capitalize"},this.vin()),a("span",{key:"139955772a602590e5bbcec354b894921e5a592b",class:"vehicle-info-header-segment"},this.daysInInventory()),a("span",{key:"e2f7c14a8f5c1cad99e7821c20d5d053fa2abf6e",class:"vehicle-info-header-segment"},this.mileage()))),a("div",{key:"07394b4a1806ab3ccc9c2c454a0c4d9bf49d0413",class:"vehicle-data-container"},a("div",{key:"c8f377e4884b0cae8a32cdd3ceecd653c2372bfb",class:"vehicle-info-segment"},a("h4",{key:"9e2f6f3220f3b7d58993be4c085dd6c2d83bc5c4",class:"segment-heading"},"Body"),a("p",{key:"f738ba1e1c74287c20b1db6efc3b7fd4dc0eae6d",class:"segment-value"},this.body())),a("div",{key:"60c883e9d2a202f565e55de9de7f1ecbfd6883b1",class:"vehicle-info-segment"},a("h4",{key:"b764d8ad6418a96eb7ec6f20d6e8e497da48e7fa",class:"segment-heading"},"Color"),a("p",{key:"3b77c23c478c96e77c0e07ade7272077503e9f82",class:"segment-value"},this.exteriorColor())),a("div",{key:"4a705ee722143b8660eb839f71f39921c22672a4",class:"vehicle-info-segment"},a("h4",{key:"612d6888563cb44fc88e6fea22a784f64935f9e0",class:"segment-heading"},"Int. Color"),a("p",{key:"9b51b24a0ebc2b4b3200e9a554047e4d3e9054d4",class:"segment-value"},this.interiorColor())),a("div",{key:"b68e17bd9efdb425f813ee9b94d2baf1e76ed1c0",class:"vehicle-info-segment"},a("h4",{key:"417d55c72032105115ece2f3aefe076be95ea80b",class:"segment-heading"},"Drive Train"),a("p",{key:"3b6ea726618ed8f84a39ffea0c75a85864f196a1",class:"segment-value"},this.driveTrain())),a("div",{key:"f12082fe6244ecc9f6cc3c02f9b035b1498fa04a",class:"vehicle-info-segment"},a("h4",{key:"27b4d35b5aed5054f6e7d68ee925425b7035bfb8",class:"segment-heading"},"Engine"),a("p",{key:"b8e4ca5e24ccdd1394ac4e149ae2c0771fca2ab7",class:"segment-value"},this.engine())),a("div",{key:"4abfe41c388cd113421c5eec4d444aa6db3f5676",class:"vehicle-info-segment"},a("h4",{key:"04d369b5fd240d3f38716379d46fd8b6103e32f4",class:"segment-heading"},"Transmission"),a("p",{key:"421e0ac28eabf1d2bd575c4b12e9f48b8342f892",class:"segment-value"},this.transmission()))))]}};c.style=":host{--clrs-navy:#001f3f;--clrs-blue:#0074d9;--clrs-aqua:#7fdbff;--clrs-teal:#39cccc;--clrs-olive:#3d9970;--clrs-green:#2ecc40;--clrs-lime:#01ff70;--clrs-yellow:#ffdc00;--clrs-orange:#ff851b;--clrs-red:#ff4136;--clrs-maroon:#85144b;--clrs-fuchsia:#f012be;--clrs-purple:#b10dc9;--clrs-black:#111111;--clrs-gray:#aaaaaa;--clrs-silver:#dddddd;--clrs-bada55:#bada55;--clrs-slate:#708090;--clrs-slate4:#4e5964;--clrs-white:#ffffff}.gauge-page-header{padding:0 5px;display:flex;flex-direction:column;color:var(--clrs-navy)}.gauge-page-header *{font-family:'Roboto'}.gauge-page-header .year-make-model-container{height:35px;display:flex;align-items:center}.gauge-page-header #year-make-model-header{font-size:32px;font-weight:500;margin-left:0}.gauge-page-header .vehicle-identifier-info-container{height:30px;margin-bottom:5px;}.gauge-page-header #vehicle-identifier-info-header{font-weight:400;margin-top:8px}.gauge-page-header .vehicle-info-header-segment{margin-right:1em}.gauge-page-header .vehicle-info-header-segment.capitalize{text-transform:uppercase}.gauge-page-header .vehicle-info-header-segment:not(:last-child):after{padding-left:1em;content:'|'}.gauge-page-header .vehicle-info-segment{float:left;margin-right:30px;font-size:14px}.gauge-page-header .vehicle-data-container{display:flex;flex-direction:row}.gauge-page-header .segment-heading{color:var(--clrs-slate);font-size:14px;font-weight:400;margin-bottom:4px}.gauge-page-header .segment-value{margin-top:0;font-weight:400}.gauge-page-header .badge-set-container{display:flex;padding-left:8px}.gauge-page-header .badge{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 10px;font-size:12px;border-radius:1em;font-weight:600;border:solid 1px;}.gauge-page-header .badge.certified{background-color:#f9fffb;border-color:#5ebb47}.gauge-page-header .badge.certified [role='label']{color:#008629}.gauge-page-header .badge.not-certified{border-color:#46576f}.gauge-page-header .badge.not-certified [role='label']{color:#46576f}.gauge-page-header .badge.retail{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.retail [role='label']{color:#0576b3}.gauge-page-header .badge.wholesale{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.wholesale [role='label']{color:#0576b3}";export{r as eswat2_io,c as gauge_page_header}
1
+ import{r as e,h as a}from"./p-CG4Z_BQZ.js";const r="eswat2",i=class{constructor(a){e(this,a)}render(){return a("a",{key:"19b3032cee637162468f46d0adee024409fe18bf",href:"https://eswat2.dev","aria-label":r,title:r},(({hex:e="currentColor",size:r=24})=>a("svg",{width:r,height:r,viewBox:"0 0 24 24"},a("g",{fill:e},a("path",{d:"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25\n 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19\n 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61\n 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83\n 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79\n 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08\n 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77\n 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11\n 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57\n 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96\n 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44\n 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75\n 19.33,18.38Z"})),a("path",{d:"M0 0h24v24H0z",fill:"none"})))({}))}};i.style="a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";const s=e=>{if(navigator.clipboard)try{navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy!",e)}},c=class{constructor(a){e(this,a)}yearMakeModel(){const{ModelYear:e,Make:a,Model:r}=this.vehicleInfo||{ModelYear:2020,Make:"-",Model:"-"};return`${e} ${a} ${r}`}isCertified(){const{IsCertified:e}=this.vehicleInfo||{IsCertified:!1};return e}isRetail(){const{RetailWholesale:e}=this.vehicleInfo||{RetailWholesale:"R"};return"R"===e}isNew(){const{NewUsed:e}=this.vehicleInfo||{NewUsed:"N"};return"N"===e}stockNumber(){const{StockNumber:e}=this.vehicleInfo||{StockNumber:"-"};return e}vin(){const{Vin:e}=this.vehicleInfo||{Vin:"-"};return e}daysInInventory(){const{DaysInInventory:e}=this.vehicleInfo||{DaysInInventory:0};return`${e} Days`}mileage(){const{Odometer:e}=this.vehicleInfo||{Odometer:0};return`${Intl.NumberFormat().format(e)} mi`}body(){const{BodyDescription:e}=this.vehicleInfo||{BodyDescription:"-"};return e}exteriorColor(){const{ExteriorColor:e}=this.vehicleInfo||{ExteriorColor:"-"};return e}interiorColor(){const{InteriorColor:e}=this.vehicleInfo||{InteriorColor:"-"};return e}driveTrain(){const{DriveTrainType:e}=this.vehicleInfo||{DriveTrainType:"-"};return e}engine(){const{EngineDescription:e}=this.vehicleInfo||{EngineDescription:"-"};return e}transmission(){const{TransmissionDescription:e}=this.vehicleInfo||{TransmissionDescription:"- "};return e}render(){var e="";return this.isNew()||(e=this.isCertified()?a("span",{class:"certified badge"},a("span",{role:"label"},"Certified")):a("span",{class:"not-certified badge"},a("span",{role:"label"},"Not Certified"))),[a("div",{key:"0d991decd8f3decc5fed001f20690eaef654eeea",class:"gauge-page-header"},a("eswat2-io",{key:"79c472d52bd91b87dddbbaaa853c087b561cf5ba"}),a("div",{key:"f8525320a5f1e2f9b155d62667d4de85ed290032",class:"year-make-model-container",onClick:()=>s(this.yearMakeModel()),title:"Click to Copy Year/Make/Model"},a("h1",{key:"185f78d4dbbbbb20850a520d4fd54acb18f25f9d",id:"year-make-model-header"},this.yearMakeModel()),a("span",{key:"960fdd7f015ad694464372f051ef1726c8a71ed2",class:"badge-set-container"},e,this.isRetail()?a("span",{class:"retail badge"},a("span",{role:"label"},"Retail")):a("span",{class:"wholesale badge"},a("span",{role:"label"},"Wholesale")))),a("div",{key:"0ae3adab71009085cb486c1c65dcdb4aaaa55ce6",class:"vehicle-identifier-info-container",onClick:()=>s(this.vin()),title:"Click to Copy VIN"},a("h4",{key:"a30f061c401340b209fca53ac65d36db175eb45c",id:"vehicle-identifier-info-header"},a("span",{key:"e94b11522a40108e0b99c480eff9d9e78aec470b",class:"vehicle-info-header-segment capitalize"},this.stockNumber()),a("span",{key:"dadb1cfd52b87784a948f45f77f13963a35707ed",class:"vehicle-info-header-segment capitalize"},this.vin()),a("span",{key:"139955772a602590e5bbcec354b894921e5a592b",class:"vehicle-info-header-segment"},this.daysInInventory()),a("span",{key:"e2f7c14a8f5c1cad99e7821c20d5d053fa2abf6e",class:"vehicle-info-header-segment"},this.mileage()))),a("div",{key:"07394b4a1806ab3ccc9c2c454a0c4d9bf49d0413",class:"vehicle-data-container"},a("div",{key:"c8f377e4884b0cae8a32cdd3ceecd653c2372bfb",class:"vehicle-info-segment"},a("h4",{key:"9e2f6f3220f3b7d58993be4c085dd6c2d83bc5c4",class:"segment-heading"},"Body"),a("p",{key:"f738ba1e1c74287c20b1db6efc3b7fd4dc0eae6d",class:"segment-value"},this.body())),a("div",{key:"60c883e9d2a202f565e55de9de7f1ecbfd6883b1",class:"vehicle-info-segment"},a("h4",{key:"b764d8ad6418a96eb7ec6f20d6e8e497da48e7fa",class:"segment-heading"},"Color"),a("p",{key:"3b77c23c478c96e77c0e07ade7272077503e9f82",class:"segment-value"},this.exteriorColor())),a("div",{key:"4a705ee722143b8660eb839f71f39921c22672a4",class:"vehicle-info-segment"},a("h4",{key:"612d6888563cb44fc88e6fea22a784f64935f9e0",class:"segment-heading"},"Int. Color"),a("p",{key:"9b51b24a0ebc2b4b3200e9a554047e4d3e9054d4",class:"segment-value"},this.interiorColor())),a("div",{key:"b68e17bd9efdb425f813ee9b94d2baf1e76ed1c0",class:"vehicle-info-segment"},a("h4",{key:"417d55c72032105115ece2f3aefe076be95ea80b",class:"segment-heading"},"Drive Train"),a("p",{key:"3b6ea726618ed8f84a39ffea0c75a85864f196a1",class:"segment-value"},this.driveTrain())),a("div",{key:"f12082fe6244ecc9f6cc3c02f9b035b1498fa04a",class:"vehicle-info-segment"},a("h4",{key:"27b4d35b5aed5054f6e7d68ee925425b7035bfb8",class:"segment-heading"},"Engine"),a("p",{key:"b8e4ca5e24ccdd1394ac4e149ae2c0771fca2ab7",class:"segment-value"},this.engine())),a("div",{key:"4abfe41c388cd113421c5eec4d444aa6db3f5676",class:"vehicle-info-segment"},a("h4",{key:"04d369b5fd240d3f38716379d46fd8b6103e32f4",class:"segment-heading"},"Transmission"),a("p",{key:"421e0ac28eabf1d2bd575c4b12e9f48b8342f892",class:"segment-value"},this.transmission()))))]}};c.style=":host{--clrs-navy:#001f3f;--clrs-blue:#0074d9;--clrs-aqua:#7fdbff;--clrs-teal:#39cccc;--clrs-olive:#3d9970;--clrs-green:#2ecc40;--clrs-lime:#01ff70;--clrs-yellow:#ffdc00;--clrs-orange:#ff851b;--clrs-red:#ff4136;--clrs-maroon:#85144b;--clrs-fuchsia:#f012be;--clrs-purple:#b10dc9;--clrs-black:#111111;--clrs-gray:#aaaaaa;--clrs-silver:#dddddd;--clrs-bada55:#bada55;--clrs-slate:#708090;--clrs-slate4:#4e5964;--clrs-white:#ffffff}.gauge-page-header{padding:0 5px;display:flex;flex-direction:column;color:var(--clrs-navy)}.gauge-page-header *{font-family:'Roboto'}.gauge-page-header .year-make-model-container{height:35px;display:flex;align-items:center}.gauge-page-header #year-make-model-header{font-size:32px;font-weight:500;margin-left:0}.gauge-page-header .vehicle-identifier-info-container{height:30px;margin-bottom:5px;}.gauge-page-header #vehicle-identifier-info-header{font-weight:400;margin-top:8px}.gauge-page-header .vehicle-info-header-segment{margin-right:1em}.gauge-page-header .vehicle-info-header-segment.capitalize{text-transform:uppercase}.gauge-page-header .vehicle-info-header-segment:not(:last-child):after{padding-left:1em;content:'|'}.gauge-page-header .vehicle-info-segment{float:left;margin-right:30px;font-size:14px}.gauge-page-header .vehicle-data-container{display:flex;flex-direction:row}.gauge-page-header .segment-heading{color:var(--clrs-slate);font-size:14px;font-weight:400;margin-bottom:4px}.gauge-page-header .segment-value{margin-top:0;font-weight:400}.gauge-page-header .badge-set-container{display:flex;padding-left:8px}.gauge-page-header .badge{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 10px;font-size:12px;border-radius:1em;font-weight:600;border:solid 1px;}.gauge-page-header .badge.certified{background-color:#f9fffb;border-color:#5ebb47}.gauge-page-header .badge.certified [role='label']{color:#008629}.gauge-page-header .badge.not-certified{border-color:#46576f}.gauge-page-header .badge.not-certified [role='label']{color:#46576f}.gauge-page-header .badge.retail{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.retail [role='label']{color:#0576b3}.gauge-page-header .badge.wholesale{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.wholesale [role='label']{color:#0576b3}";export{i as eswat2_io,c as gauge_page_header}
@@ -0,0 +1,2 @@
1
+ var t,e,n,i,s,r,o,l,h,c,f,u,a,p,d,v,m,w=Object.create,g=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,$=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,S=t=>{throw TypeError(t)},j=(t,e)=>function(){return e||(0,t[y(t)[0]])((e={exports:{}}).exports,e),e.exports},E=(t,e,n)=>e.has(t)||S("Cannot "+n),M=(t,e,n)=>(E(t,e,"read from private field"),n?n.call(t):e.get(t)),k=(t,e,n)=>e.has(t)?S("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),x=(t,e,n)=>(E(t,e,"write to private field"),e.set(t,n),n),N=(t,e,n)=>(E(t,e,"access private method"),n),P=j({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=i(t,n)),e instanceof RegExp&&(e=i(e,n));var r=s(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function i(t,e){var n=e.match(t);return n?n[0]:null}function s(t,e,n){var i,s,r,o,l,h=n.indexOf(t),c=n.indexOf(e,h+1),f=h;if(h>=0&&c>0){if(t===e)return[h,c];for(i=[],r=n.length;f>=0&&!l;)f==h?(i.push(f),h=n.indexOf(t,f+1)):1==i.length?l=[i.pop(),c]:((s=i.pop())<r&&(r=s,o=c),c=n.indexOf(e,f+1)),f=h<c&&h>=0?h:c;i.length&&(l=[r,o])}return l}e.exports=n,n.range=s}}),R=j({"node_modules/brace-expansion/index.js"(t,e){var n=P();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),v(function(t){return t.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(r).split("\\,").join(o).split("\\.").join(l)}(t),!0).map(c)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",r="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function h(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(i).join("\\").split(s).join("{").split(r).join("}").split(o).join(",").split(l).join(".")}function f(t){if(!t)return[""];var e=[],i=n("{","}",t);if(!i)return t.split(",");var s=i.body,r=i.post,o=i.pre.split(",");o[o.length-1]+="{"+s+"}";var l=f(r);return r.length&&(o[o.length-1]+=l.shift(),o.push.apply(o,l)),e.push.apply(e,o),e}function u(t){return"{"+t+"}"}function a(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function d(t,e){return t>=e}function v(t,e){var i=[],s=n("{","}",t);if(!s)return[t];var o=s.pre,l=s.post.length?v(s.post,!1):[""];if(/\$$/.test(s.pre))for(var c=0;c<l.length;c++)i.push(C=o+"{"+s.body+"}"+l[c]);else{var m,w,g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),b=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),y=g||b,$=s.body.indexOf(",")>=0;if(!y&&!$)return s.post.match(/,(?!,).*\}/)?v(t=s.pre+"{"+s.body+r+s.post):[t];if(y)m=s.body.split(/\.\./);else if(1===(m=f(s.body)).length&&1===(m=v(m[0],!1).map(u)).length)return l.map((function(t){return s.pre+m[0]+t}));if(y){var O=h(m[0]),S=h(m[1]),j=Math.max(m[0].length,m[1].length),E=3==m.length?Math.abs(h(m[2])):1,M=p;S<O&&(E*=-1,M=d);var k=m.some(a);w=[];for(var x=O;M(x,S);x+=E){var N;if(b)"\\"===(N=String.fromCharCode(x))&&(N="");else if(N=x+"",k){var P=j-N.length;if(P>0){var R=Array(P+1).join("0");N=x<0?"-"+R+N.slice(1):R+N}}w.push(N)}}else{w=[];for(var W=0;W<m.length;W++)w.push.apply(w,v(m[W],!1))}for(W=0;W<w.length;W++)for(c=0;c<l.length;c++){var C=o+w[W]+l[c];(!e||y||C)&&i.push(C)}}return i}}}),W=(t,e)=>{var n;Object.entries(null!=(n=e.i.t)?n:{}).map((([n,[i]])=>{if(31&i||32&i){const i=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.o.has(n)?e.o.get(n):i}}))},C=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},z=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.i.h&&W(t,e))},L=(t,e)=>e in t,A=(t,e)=>(0,console.error)(t,e),T=new Map,_=new Map,D="slot-fb{display:contents}slot-fb[hidden]{display:none}",G="undefined"!=typeof window?window:{},U={h:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,i)=>t.addEventListener(e,n,i),rel:(t,e,n,i)=>t.removeEventListener(e,n,i),ce:(t,e)=>new CustomEvent(t,e)},I=t=>Promise.resolve(t),Z=(()=>{try{return!!G.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!Z&&(()=>!!G.document&&Object.getOwnPropertyDescriptor(G.document.adoptedStyleSheets,"length").writable)(),H=!1,V=[],q=[],B=(t,e)=>n=>{t.push(n),H||(H=!0,e&&4&U.h?K(Y):U.raf(Y))},J=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){A(t)}t.length=0},Y=()=>{J(V),J(q),(H=V.length>0)&&U.raf(Y)},K=t=>I().then(t),Q=B(q,!0),X=t=>"object"==(t=typeof t)||"function"===t,tt=((t,e,n)=>(n=null!=t?w($(t)):{},((t,e,n,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of y(e))O.call(t,n)||undefined===n||g(t,n,{get:()=>e[n],enumerable:!(i=b(e,n))||i.enumerable});return t})(g(n,"default",{value:t,enumerable:!0}),t)))(R()),et=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},nt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},it=t=>t.replace(/[[\]\\-]/g,"\\$&"),st=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rt=t=>t.join(""),ot=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const i=[],s=[];let r=n+1,o=!1,l=!1,h=!1,c=!1,f=n,u="";t:for(;r<t.length;){const e=t.charAt(r);if("!"!==e&&"^"!==e||r!==n+1){if("]"===e&&o&&!h){f=r+1;break}if(o=!0,"\\"!==e||h){if("["===e&&!h)for(const[e,[o,h,c]]of Object.entries(nt))if(t.startsWith(e,r)){if(u)return["$.",!1,t.length-n,!0];r+=e.length,c?s.push(o):i.push(o),l=l||h;continue t}h=!1,u?(e>u?i.push(it(u)+"-"+it(e)):e===u&&i.push(it(e)),u="",r++):t.startsWith("-]",r+1)?(i.push(it(e+"-")),r+=2):t.startsWith("-",r+1)?(u=e,r+=2):(i.push(it(e)),r++)}else h=!0,r++}else c=!0,r++}if(f<r)return["",!1,0,!1];if(!i.length&&!s.length)return["$.",!1,t.length-n,!0];if(0===s.length&&1===i.length&&/^\\?.$/.test(i[0])&&!c){const t=2===i[0].length?i[0].slice(-1):i[0];return[st(t),!1,f-n,!1]}const a="["+(c?"^":"")+rt(i)+"]",p="["+(c?"":"^")+rt(s)+"]";return[i.length&&s.length?"("+a+"|"+p+")":i.length?a:p,l,f-n,!0]},lt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ht=new Set(["!","?","+","*","@"]),ct=t=>ht.has(t),ft="(?!\\.)",ut=new Set(["[","."]),at=new Set(["..","."]),pt=new Set("().*{}+?[]^$\\!"),dt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vt="[^/]",mt=vt+"*?",wt=vt+"+?",gt=class w{constructor(a,p,d={}){k(this,u),((t,e,n)=>{((t,e,n)=>{e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),k(this,t),k(this,e),k(this,n,!1),k(this,i,[]),k(this,s),k(this,r),k(this,o),k(this,l,!1),k(this,h),k(this,c),k(this,f,!1),this.type=a,a&&x(this,e,!0),x(this,s,p),x(this,t,M(this,s)?M(M(this,s),t):this),x(this,h,M(this,t)===this?d:M(M(this,t),h)),x(this,o,M(this,t)===this?[]:M(M(this,t),o)),"!"!==a||M(M(this,t),l)||M(this,o).push(this),x(this,r,M(this,s)?M(M(this,s),i).length:0)}get hasMagic(){if(void 0!==M(this,e))return M(this,e);for(const t of M(this,i))if("string"!=typeof t&&(t.type||t.hasMagic))return x(this,e,!0);return M(this,e)}toString(){return void 0!==M(this,c)?M(this,c):x(this,c,this.type?this.type+"("+M(this,i).map((t=>t+"")).join("|")+")":M(this,i).map((t=>t+"")).join(""))}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof w&&M(e,s)===this))throw Error("invalid part: "+e);M(this,i).push(e)}}toJSON(){var e;const n=null===this.type?M(this,i).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...M(this,i).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&n.unshift([]),this.isEnd()&&(this===M(this,t)||M(M(this,t),l)&&"!"===(null==(e=M(this,s))?void 0:e.type))&&n.push({}),n}isStart(){var e;if(M(this,t)===this)return!0;if(!(null==(e=M(this,s))?void 0:e.isStart()))return!1;if(0===M(this,r))return!0;const n=M(this,s);for(let t=0;t<M(this,r);t++){const e=M(n,i)[t];if(!(e instanceof w&&"!"===e.type))return!1}return!0}isEnd(){var e,n,o;if(M(this,t)===this)return!0;if("!"===(null==(e=M(this,s))?void 0:e.type))return!0;if(!(null==(n=M(this,s))?void 0:n.isEnd()))return!1;if(!this.type)return null==(o=M(this,s))?void 0:o.isEnd();const l=M(this,s)?M(M(this,s),i).length:0;return M(this,r)===l-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(t){const e=new w(this.type,t);for(const t of M(this,i))e.copyIn(t);return e}static fromGlob(t,e={}){var n;const i=new w(null,void 0,e);return N(n=w,p,d).call(n,t,i,0,e),i}toMMPattern(){if(this!==M(this,t))return M(this,t).toMMPattern();const n=""+this,[i,s,r,o]=this.toRegExpSource();if(!(r||M(this,e)||M(this,h).nocase&&!M(this,h).nocaseMagicOnly&&n.toUpperCase()!==n.toLowerCase()))return s;const l=(M(this,h).nocase?"i":"")+(o?"u":"");return Object.assign(RegExp(`^${i}$`,l),{_src:i,_glob:n})}get options(){return M(this,h)}toRegExpSource(r){var o;const c=null!=r?r:!!M(this,h).dot;if(M(this,t)===this&&N(this,u,a).call(this),!this.type){const h=this.isStart()&&this.isEnd(),f=M(this,i).map((t=>{var i;const[s,o,l,c]="string"==typeof t?N(i=w,p,m).call(i,t,M(this,e),h):t.toRegExpSource(r);return x(this,e,M(this,e)||l),x(this,n,M(this,n)||c),s})).join("");let u="";if(this.isStart()&&"string"==typeof M(this,i)[0]&&(1!==M(this,i).length||!at.has(M(this,i)[0]))){const t=ut,e=c&&t.has(f.charAt(0))||f.startsWith("\\.")&&t.has(f.charAt(2))||f.startsWith("\\.\\.")&&t.has(f.charAt(4)),n=!c&&!r&&t.has(f.charAt(0));u=e?"(?!(?:^|/)\\.\\.?(?:$|/))":n?ft:""}let a="";return this.isEnd()&&M(M(this,t),l)&&"!"===(null==(o=M(this,s))?void 0:o.type)&&(a="(?:$|\\/)"),[u+f+a,lt(f),x(this,e,!!M(this,e)),M(this,n)]}const d="*"===this.type||"+"===this.type,g="!"===this.type?"(?:(?!(?:":"(?:";let b=N(this,u,v).call(this,c);if(this.isStart()&&this.isEnd()&&!b&&"!"!==this.type){const t=""+this;return x(this,i,[t]),this.type=null,x(this,e,void 0),[t,lt(""+this),!1,!1]}let y=!d||r||c?"":N(this,u,v).call(this,!0);y===b&&(y=""),y&&(b=`(?:${b})(?:${y})*?`);let $="";return $="!"===this.type&&M(this,f)?(this.isStart()&&!c?ft:"")+wt:g+b+("!"===this.type?"))"+(!this.isStart()||c||r?"":ft)+mt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[$,lt(b),x(this,e,!!M(this,e)),M(this,n)]}};t=new WeakMap,e=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,h=new WeakMap,c=new WeakMap,f=new WeakMap,u=new WeakSet,a=function(){if(this!==M(this,t))throw Error("should only call on root");if(M(this,l))return this;let e;for(x(this,l,!0);e=M(this,o).pop();){if("!"!==e.type)continue;let t=e,n=M(t,s);for(;n;){for(let s=M(t,r)+1;!n.type&&s<M(n,i).length;s++)for(const t of M(e,i)){if("string"==typeof t)throw Error("string part in extglob AST??");t.copyIn(M(n,i)[s])}t=n,n=M(t,s)}}return this},p=new WeakSet,d=function(t,n,s,r){var o,l;let h=!1,c=!1,u=-1,a=!1;if(null===n.type){let e=s,i="";for(;e<t.length;){const s=t.charAt(e++);if(h||"\\"===s)h=!h,i+=s;else if(c)e===u+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||e===u+2&&a||(c=!1),i+=s;else if("["!==s)if(r.noext||!ct(s)||"("!==t.charAt(e))i+=s;else{n.push(i),i="";const l=new gt(s,n);e=N(o=gt,p,d).call(o,t,l,e,r),n.push(l)}else c=!0,u=e,a=!1,i+=s}return n.push(i),e}let v=s+1,m=new gt(null,n);const w=[];let g="";for(;v<t.length;){const e=t.charAt(v++);if(h||"\\"===e)h=!h,g+=e;else if(c)v===u+1?"^"!==e&&"!"!==e||(a=!0):"]"!==e||v===u+2&&a||(c=!1),g+=e;else if("["!==e)if(ct(e)&&"("===t.charAt(v)){m.push(g),g="";const n=new gt(e,m);m.push(n),v=N(l=gt,p,d).call(l,t,n,v,r)}else if("|"!==e){if(")"===e)return""===g&&0===M(n,i).length&&x(n,f,!0),m.push(g),g="",n.push(...w,m),v;g+=e}else m.push(g),g="",w.push(m),m=new gt(null,n);else c=!0,u=v,a=!1,g+=e}return n.type=null,x(n,e,void 0),x(n,i,[t.substring(s-1)]),v},v=function(t){return M(this,i).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[i,s,r,o]=e.toRegExpSource(t);return x(this,n,M(this,n)||o),i})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},m=function(t,e,n=!1){let i=!1,s="",r=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(i)i=!1,s+=(pt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,i,l,h]=ot(t,o);if(l){s+=n,r=r||i,o+=l-1,e=e||h;continue}}"*"!==l?"?"!==l?s+=dt(l):(s+=vt,e=!0):(s+=n&&"*"===t?wt:mt,e=!0)}else o===t.length-1?s+="\\\\":i=!0}return[s,lt(t),!!e,r]},k(gt,p);var bt=gt,yt=(t,e,n={})=>(et(e),!(!n.nocomment&&"#"===e.charAt(0))&&new Vt(e,n).match(t)),$t=/^\*+([^+@!?\*\[\(]*)$/,Ot=t=>e=>!e.startsWith(".")&&e.endsWith(t),St=t=>e=>e.endsWith(t),jt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),Et=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Mt=/^\*+\.\*+$/,kt=t=>!t.startsWith(".")&&t.includes("."),xt=t=>"."!==t&&".."!==t&&t.includes("."),Nt=/^\.\*+$/,Pt=t=>"."!==t&&".."!==t&&t.startsWith("."),Rt=/^\*+$/,Wt=t=>0!==t.length&&!t.startsWith("."),Ct=t=>0!==t.length&&"."!==t&&".."!==t,zt=/^\?+([^+@!?\*\[\(]*)?$/,Lt=([t,e=""])=>{const n=Dt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},At=([t,e=""])=>{const n=Gt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Tt=([t,e=""])=>{const n=Gt([t]);return e?t=>n(t)&&t.endsWith(e):n},_t=([t,e=""])=>{const n=Dt([t]);return e?t=>n(t)&&t.endsWith(e):n},Dt=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},Gt=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Ut="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";yt.sep="win32"===Ut?"\\":"/";var It=Symbol("globstar **");yt.GLOBSTAR=It,yt.filter=(t,e={})=>n=>yt(n,t,e);var Zt=(t,e={})=>Object.assign({},t,e);yt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return yt;const e=yt;return Object.assign(((n,i,s={})=>e(n,i,Zt(t,s))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,Zt(t,n))}static defaults(n){return e.defaults(Zt(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,i={}){super(e,n,Zt(t,i))}static fromGlob(n,i={}){return e.AST.fromGlob(n,Zt(t,i))}},unescape:(n,i={})=>e.unescape(n,Zt(t,i)),escape:(n,i={})=>e.escape(n,Zt(t,i)),filter:(n,i={})=>e.filter(n,Zt(t,i)),defaults:n=>e.defaults(Zt(t,n)),makeRe:(n,i={})=>e.makeRe(n,Zt(t,i)),braceExpand:(n,i={})=>e.braceExpand(n,Zt(t,i)),match:(n,i,s={})=>e.match(n,i,Zt(t,s)),sep:e.sep,GLOBSTAR:It})};var Ft=(t,e={})=>(et(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,tt.default)(t));yt.braceExpand=Ft,yt.makeRe=(t,e={})=>new Vt(t,e).makeRe(),yt.match=(t,e,n={})=>{const i=new Vt(e,n);return t=t.filter((t=>i.match(t))),i.options.nonull&&!t.length&&t.push(e),t};var Ht=/[?*]|[+@!]\(.*?\)|\[|\]/,Vt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){et(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||Ut,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Ht.test(t[2])||Ht.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,i),this.set=i.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const i=t[n];1===n&&""===i&&""===t[0]||"."!==i&&""!==i||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const i=t[n-1];i&&"."!==i&&".."!==i&&"**"!==i&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let i=-1;for(;-1!==(i=n.indexOf("**",i+1));){let s=i;for(;"**"===n[s+1];)s++;s>i&&n.splice(i+1,s-i);const r=n[i+2],o=n[i+3];if(".."!==n[i+1])continue;if(!r||"."===r||".."===r||!o||"."===o||".."===o)continue;e=!0,n.splice(i,1);const l=n.slice(0);l[i]="**",t.push(l),i--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const i=n[t];1===t&&""===i&&""===n[0]||"."!==i&&""!==i||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let s=0;for(;-1!==(s=n.indexOf("..",s+1));){const t=n[s-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(s-1,2,...1===s&&"**"===n[s+1]?["."]:[]),0===n.length&&n.push(""),s-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const i=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);i&&(t[e]=i,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let i=0,s=0,r=[],o="";for(;i<t.length&&s<e.length;)if(t[i]===e[s])r.push("b"===o?e[s]:t[i]),i++,s++;else if(n&&"**"===t[i]&&e[s]===t[i+1])r.push(t[i]),i++;else if(n&&"**"===e[s]&&t[i]===e[s+1])r.push(e[s]),s++;else if("*"!==t[i]||!e[s]||!this.options.dot&&e[s].startsWith(".")||"**"===e[s]){if("*"!==e[s]||!t[i]||!this.options.dot&&t[i].startsWith(".")||"**"===t[i])return!1;if("a"===o)return!1;o="b",r.push(e[s]),i++,s++}else{if("b"===o)return!1;o="a",r.push(t[i]),i++,s++}return t.length===e.length&&r}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let i=0;i<t.length&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const i=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=i?3:n?0:void 0,o=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof r&&"number"==typeof o){const[n,i]=[t[r],e[o]];n.toLowerCase()===i.toLowerCase()&&(e[o]=n,o>r?e=e.slice(o):r>o&&(t=t.slice(r)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,o=0,l=t.length,h=e.length;r<l&&o<h;r++,o++){this.debug("matchOne loop");var c=e[o],f=t[r];if(this.debug(e,c,f),!1===c)return!1;if(c===It){this.debug("GLOBSTAR",[e,c,f]);var u=r,a=o+1;if(a===h){for(this.debug("** at the end");r<l;r++)if("."===t[r]||".."===t[r]||!i.dot&&"."===t[r].charAt(0))return!1;return!0}for(;u<l;){var p=t[u];if(this.debug("\nglobstar while",t,u,e,a,p),this.matchOne(t.slice(u),e.slice(a),n))return this.debug("globstar found match!",u,l,p),!0;if("."===p||".."===p||!i.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,u,e,a);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!n||(this.debug("\n>>> no match, partial?",t,u,e,a),u!==l))}let s;if("string"==typeof c?(s=f===c,this.debug("string match",c,f,s)):(s=c.test(f),this.debug("pattern match",c,f,s)),!s)return!1}if(r===l&&o===h)return!0;if(r===l)return n;if(o===h)return r===l-1&&""===t[r];throw Error("wtf?")}braceExpand(){return Ft(this.pattern,this.options)}parse(t){et(t);const e=this.options;if("**"===t)return It;if(""===t)return"";let n,i=null;(n=t.match(Rt))?i=e.dot?Ct:Wt:(n=t.match($t))?i=(e.nocase?e.dot?Et:jt:e.dot?St:Ot)(n[1]):(n=t.match(zt))?i=(e.nocase?e.dot?At:Lt:e.dot?Tt:_t)(n):(n=t.match(Mt))?i=e.dot?xt:kt:(n=t.match(Nt))&&(i=Pt);const s=bt.fromGlob(t,this.options).toMMPattern();return i&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(e.nocase?["i"]:[]);let s=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))i.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===It?It:t._src}));return e.forEach(((t,i)=>{const s=e[i+1],r=e[i-1];t===It&&r!==It&&(void 0===r?void 0!==s&&s!==It?e[i+1]="(?:\\/|"+n+"\\/)?"+s:e[i]=n:void 0===s?e[i-1]=r+"(?:\\/|"+n+")?":s!==It&&(e[i-1]=r+"(?:\\/|\\/"+n+"\\/)"+s,e[i+1]=It))})),e.filter((t=>t!==It)).join("/")})).join("|");const[r,o]=t.length>1?["(?:",")"]:["",""];s="^"+r+s+o+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=RegExp(s,[...i].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let r=i[i.length-1];if(!r)for(let t=i.length-2;!r&&t>=0;t--)r=i[t];for(let t=0;t<s.length;t++){const o=s[t];let l=i;if(n.matchBase&&1===o.length&&(l=[r]),this.matchOne(l,o,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return yt.defaults(t).Minimatch}};function qt(t){var e,n,i;return null!=(i=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?i:void 0}yt.AST=bt,yt.Minimatch=Vt,yt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),yt.unescape=lt,((t,e)=>{for(var n in e)g(t,n,{get:e[n],enumerable:!0})})({},{err:()=>Jt,map:()=>Yt,ok:()=>Bt,unwrap:()=>Qt,unwrapErr:()=>Xt});var Bt=t=>({isOk:!0,isErr:!1,value:t}),Jt=t=>({isOk:!1,isErr:!0,value:t});function Yt(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>Bt(t))):Bt(n)}if(t.isErr)return Jt(t.value);throw"should never get here"}var Kt,Qt=t=>{if(t.isOk)return t.value;throw t.value},Xt=t=>{if(t.isErr)return t.value;throw t.value};function te(){const t=this.attachShadow({mode:"open"});void 0===Kt&&(Kt=null),Kt&&(F?t.adoptedStyleSheets.push(Kt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,Kt])}function ee(t,e,n){let i,s=0,r=[];for(;s<t.length;s++){if(i=t[s],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===n||ne(i)===n)&&(r.push(i),void 0!==n))return r;r=[...r,...ee(i.childNodes,e,n)]}return r}var ne=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;var ie=new WeakMap,se=t=>"sc-"+t.p,re=(t,e,...n)=>{let i=null,s=null,r=!1,o=!1;const l=[],h=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?h(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof t&&!X(i))&&(i+=""),r&&o?l[l.length-1].v+=i:l.push(r?oe(null,i):i),o=r)};if(h(n),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const c=oe(t,null);return c.m=e,l.length>0&&(c.$=l),c.O=s,c},oe=(t,e)=>({h:0,S:t,v:e,j:null,$:null,m:null,O:null}),le={},he=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};he("::slotted"),he(":host"),he(":host-context");var ce,fe=t=>(null==t||X(t),t),ue=(t,e,n,i,s,r)=>{if(n===i)return;let o=L(t,e),l=e.toLowerCase();if("class"===e){const e=t.classList,s=pe(n);let r=pe(i);e.remove(...s.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!s.includes(t))))}else if("key"===e);else if(o||"o"!==e[0]||"n"!==e[1]){const l=X(i);if((o||l&&null!==i)&&!s)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const s=null==i?"":i;"list"===e?o=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}null==i||!1===i?!1===i&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||s)&&!l&&1===t.nodeType&&t.setAttribute(e,i=!0===i?"":i)}else if(e="-"===e[2]?e.slice(3):L(G,l)?l.slice(2):l[2]+e.slice(3),n||i){const s=e.endsWith(de);e=e.replace(ve,""),n&&U.rel(t,e,n,s),i&&U.ael(t,e,i,s)}},ae=/\s/,pe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ae):[]),de="Capture",ve=RegExp(de+"$"),me=(t,e,n)=>{const i=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.m||{},r=e.m||{};for(const t of we(Object.keys(s)))t in r||ue(i,t,s[t],void 0,n,e.h);for(const t of we(Object.keys(r)))ue(i,t,s[t],r[t],n,e.h)};function we(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var ge=!1,be=(t,e,n)=>{const i=e.$[n];let s,r,o=0;if(null!==i.v)s=i.j=G.document.createTextNode(i.v);else{if(ge||(ge="svg"===i.S),!G.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=i.j=G.document.createElementNS(ge?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.S),ge&&"foreignObject"===i.S&&(ge=!1),me(null,i,ge),i.$){const e="template"===i.S?s.content:s;for(o=0;o<i.$.length;++o)r=be(t,i,o),r&&e.appendChild(r)}"svg"===i.S?ge=!1:"foreignObject"===s.tagName&&(ge=!0)}return s["s-hn"]=ce,s},ye=(t,e,n,i,s,r)=>{let o,l=t;for(l.shadowRoot&&l.tagName===ce&&(l=l.shadowRoot),"template"===n.S&&(l=l.content);s<=r;++s)i[s]&&(o=be(null,n,s),o&&(i[s].j=o,je(l,o,e)))},$e=(t,e,n)=>{for(let i=e;i<=n;++i){const e=t[i];if(e){const t=e.j;t&&t.remove()}}},Oe=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.O&&e.O&&(t.O=e.O),!0):t.O===e.O),Se=(t,e,n=!1)=>{const i=e.j=t.j,s=t.$,r=e.$,o=e.S,l=e.v;null===l?(me(t,e,ge="svg"===o||"foreignObject"!==o&&ge),null!==s&&null!==r?((t,e,n,i,s=!1)=>{let r,o,l=0,h=0,c=0,f=0,u=e.length-1,a=e[0],p=e[u],d=i.length-1,v=i[0],m=i[d];const w="template"===n.S?t.content:t;for(;l<=u&&h<=d;)if(null==a)a=e[++l];else if(null==p)p=e[--u];else if(null==v)v=i[++h];else if(null==m)m=i[--d];else if(Oe(a,v,s))Se(a,v,s),a=e[++l],v=i[++h];else if(Oe(p,m,s))Se(p,m,s),p=e[--u],m=i[--d];else if(Oe(a,m,s))Se(a,m,s),je(w,a.j,p.j.nextSibling),a=e[++l],m=i[--d];else if(Oe(p,v,s))Se(p,v,s),je(w,p.j,a.j),p=e[--u],v=i[++h];else{for(c=-1,f=l;f<=u;++f)if(e[f]&&null!==e[f].O&&e[f].O===v.O){c=f;break}c>=0?(o=e[c],o.S!==v.S?r=be(e&&e[h],n,c):(Se(o,v,s),e[c]=void 0,r=o.j),v=i[++h]):(r=be(e&&e[h],n,h),v=i[++h]),r&&je(a.j.parentNode,r,a.j)}l>u?ye(t,null==i[d+1]?null:i[d+1].j,n,i,h,d):h>d&&$e(e,l,u)})(i,s,e,r,n):null!==r?(null!==t.v&&(i.textContent=""),ye(i,null,e,r,0,r.length-1)):!n&&null!==s&&$e(s,0,s.length-1),ge&&"svg"===o&&(ge=!1)):t.v!==l&&(i.data=l)},je=(t,e,n)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,n);const{slotNode:i}=function(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=ne(t)||"";return{slotNode:ee(function(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},Ee=(t,e)=>{if(e&&!t.M&&e["s-p"]){const n=e["s-p"].push(new Promise((i=>t.M=()=>{e["s-p"].splice(n-1,1),i()})))}},Me=(t,e)=>{if(t.h|=16,4&t.h)return void(t.h|=512);Ee(t,t.k);const n=()=>ke(t,e);if(!e)return Q(n);queueMicrotask((()=>{n()}))},ke=(t,e)=>{const n=t.$hostElement$,i=t.l;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.N.length&&t.N.forEach((t=>t(n))),s=ze(i,"componentWillLoad",void 0,n)):s=ze(i,"componentWillUpdate",void 0,n),s=xe(s,(()=>ze(i,"componentWillRender",void 0,n))),xe(s,(()=>Pe(t,i,e)))},xe=(t,e)=>Ne(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ne=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pe=async(t,e,n)=>{var i;const s=t.$hostElement$,r=s["s-rc"];n&&(t=>{const e=t.i,n=t.$hostElement$,i=e.h,s=((t,e)=>{var n,i,s;const r=se(e),o=_.get(r);if(!G.document)return r;if(t=11===t.nodeType?t:G.document,o)if("string"==typeof o){let s,l=ie.get(t=t.head||t);if(l||ie.set(t,l=new Set),!l.has(r)){s=G.document.createElement("style"),s.innerHTML=o;const h=null!=(n=U.P)?n:qt(G.document);if(null!=h&&s.setAttribute("nonce",h),!(1&e.h))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(Z){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(o),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.h&&t.insertBefore(s,null),4&e.h&&(s.innerHTML+=D),l&&l.add(r)}}else{let e=ie.get(t);if(e||ie.set(t,e=new Set),!e.has(r)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let i;if(o.constructor===n.CSSStyleSheet)i=o;else{i=new n.CSSStyleSheet;for(let t=0;t<o.cssRules.length;t++)i.insertRule(o.cssRules[t].cssText,t)}F?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(r)}}return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Re(t,e,s,n),r&&(r.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(i=s["s-p"])?i:[],n=()=>We(t);0===e.length?n():(Promise.all(e).then(n),t.h|=4,e.length=0)}},Re=(t,e,n,i)=>{try{e=e.render(),t.h&=-17,t.h|=2,((t,e,n=!1)=>{const i=t.$hostElement$,s=t.R||oe(null,null),r=(t=>t&&t.S===le)(e)?e:re(null,null,e);if(ce=i.tagName,n&&r.m)for(const t of Object.keys(r.m))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.m[t]=i[t]);r.S=null,r.h|=4,t.R=r,r.j=s.j=i.shadowRoot||i,Se(s,r,n)})(t,e,i)}catch(e){A(e,t.$hostElement$)}return null},We=t=>{const e=t.$hostElement$,n=t.l,i=t.k;ze(n,"componentDidRender",void 0,e),64&t.h?ze(n,"componentDidUpdate",void 0,e):(t.h|=64,Le(e),ze(n,"componentDidLoad",void 0,e),t.W(e),i||Ce()),t.M&&(t.M(),t.M=void 0),512&t.h&&K((()=>Me(t,!1))),t.h&=-517},Ce=()=>{K((()=>(t=>{const e=U.ce("appload",{detail:{namespace:"gauge-page-header"}});return t.dispatchEvent(e),e})(G)))},ze=(t,e,n,i)=>{if(t&&t[e])try{return t[e](n)}catch(t){A(t,i)}},Le=t=>t.classList.add("hydrated"),Ae=(t,e,n,i)=>{const s=C(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${i.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.o.get(e),o=s.h,l=s.l;if(n=fe(n),!(8&o&&void 0!==r||n===r||Number.isNaN(r)&&Number.isNaN(n)||(s.o.set(e,n),2!=(18&o)))){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(n,r,e))return;Me(s,!1)}},Te=(t,e,n)=>{var i;const s=t.prototype;return e.t&&Object.entries(null!=(i=e.t)?i:{}).map((([t,[i]])=>{if(31&i||2&n&&32&i){const{get:r,set:o}=Object.getOwnPropertyDescriptor(s,t)||{};r&&(e.t[t][0]|=2048),o&&(e.t[t][0]|=4096),(1&n||!r)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>C(this).o.get(e))(0,t);const n=C(this),i=n?n.l:s;if(!i)return;return i[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(s){const r=C(this);if(r){if(o)return void 0===(32&i?this[t]:r.$hostElement$[t])&&r.o.get(t)&&(s=r.o.get(t)),o.call(this,fe(s)),void Ae(this,t,s=32&i?this[t]:r.$hostElement$[t],e);{if(!(1&n&&4096&e.t[t][0]))return Ae(this,t,s,e),void(1&n&&!r.l&&r.N.push((()=>{4096&e.t[t][0]&&r.l[t]!==r.o.get(t)&&(r.l[t]=s)})));const i=()=>{const n=r.l[t];!r.o.get(t)&&n&&r.o.set(t,n),r.l[t]=fe(s),Ae(this,t,r.l[t],e)};r.l?i():r.N.push((()=>{i()}))}}}})}})),t},_e=(t,e)=>{ze(t,"connectedCallback",void 0,e)},De=(t,e)=>{ze(t,"disconnectedCallback",void 0,e||t)},Ge=(t,e={})=>{var n;if(!G.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const i=[],s=e.exclude||[],r=G.customElements,o=G.document.head,l=o.querySelector("meta[charset]"),h=G.document.createElement("style"),c=[];let f,u=!0;Object.assign(U,e),U.u=new URL(e.resourcesUrl||"./",G.document.baseURI).href;let a=!1;if(t.map((t=>{t[1].map((e=>{const n={h:e[0],p:e[1],t:e[2],C:e[3]};4&n.h&&(a=!0),n.t=e[2];const o=n.p,l=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={h:0,$hostElement$:t,i:e,o:new Map,L:new Map};n.A=new Promise((t=>n.W=t)),t["s-p"]=[],t["s-rc"]=[],n.N=[];const i=n;t.__stencil__getHostRef=()=>i})(t=this,n),1&n.h)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else te.call(t,n)}connectedCallback(){C(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):U.jmp((()=>(t=>{if(!(1&U.h)){const e=C(t);if(!e)return;const n=e.i,i=()=>{};if(1&e.h)(null==e?void 0:e.l)?_e(e.l,t):(null==e?void 0:e.A)&&e.A.then((()=>_e(e.l,t)));else{e.h|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(e,e.k=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let i;if(!(32&e.h)){if(e.h|=32,n.T){const s=((t,e)=>{const n=t.p.replace(/-/g,"_"),i=t.T;if(!i)return;const s=T.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(T.set(i,t),t[n])),(t=>{A(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};i=await s,t()}else i=s;if(!i)throw Error(`Constructor for "${n.p}#${e._}" was not found`);i.isProxied||(Te(i,n,2),i.isProxied=!0);const r=()=>{};e.h|=8;try{new i(e)}catch(e){A(e,t)}e.h&=-9,r(),_e(e.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.h|=128));if(i&&i.style){let t;"string"==typeof i.style&&(t=i.style);const e=se(n);if(!_.has(e)){const i=()=>{};((t,e,n)=>{let i=_.get(t);Z&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,_.set(t,i)})(e,t,!!(1&n.h)),i()}}}const s=e.k,r=()=>Me(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(t,e,n)}i()}})(this))))}disconnectedCallback(){U.jmp((()=>(async t=>{if(!(1&U.h)){const e=C(t);(null==e?void 0:e.l)?De(e.l,t):(null==e?void 0:e.A)&&e.A.then((()=>De(e.l,t)))}ie.has(t)&&ie.delete(t),t.shadowRoot&&ie.has(t.shadowRoot)&&ie.delete(t.shadowRoot)})(this))),U.raf((()=>{var t;const e=C(this);if(!e)return;const n=c.findIndex((t=>t===this));n>-1&&c.splice(n,1),(null==(t=null==e?void 0:e.R)?void 0:t.j)instanceof Node&&!e.R.j.isConnected&&delete e.R.j}))}componentOnReady(){var t;return null==(t=C(this))?void 0:t.A}};n.T=t[0],s.includes(o)||r.get(o)||(i.push(o),r.define(o,Te(l,n,1)))}))})),i.length>0&&(a&&(h.textContent+=D),h.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",h.innerHTML.length)){h.setAttribute("data-styles","");const t=null!=(n=U.P)?n:qt(G.document);null!=t&&h.setAttribute("nonce",t),o.insertBefore(h,l?l.nextSibling:o.firstChild)}u=!1,c.length?c.map((t=>t.connectedCallback())):U.jmp((()=>f=setTimeout(Ce,30)))},Ue=t=>U.P=t;export{Ge as b,re as h,I as p,z as r,Ue as s}
@@ -673,6 +673,35 @@ export declare function h(sel: any, text: string): VNode;
673
673
  export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
674
674
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
675
675
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
676
+ /**
677
+ * Automatic JSX runtime functions for TypeScript's react-jsx mode.
678
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsx".
679
+ * @param type type of node
680
+ * @param props properties of node
681
+ * @param key optional key for the node
682
+ * @returns a jsx vnode
683
+ */
684
+ export declare function jsx(type: any, props: any, key?: string): VNode;
685
+ /**
686
+ * Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
687
+ * @param type type of node
688
+ * @param props properties of node
689
+ * @param key optional key for the node
690
+ * @returns a jsx vnode
691
+ */
692
+ export declare function jsxs(type: any, props: any, key?: string): VNode;
693
+ /**
694
+ * Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
695
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
696
+ * @param type type of node
697
+ * @param props properties of node
698
+ * @param key optional key for the node
699
+ * @param isStaticChildren indicates if the children are static
700
+ * @param source source information
701
+ * @param self reference to the component instance
702
+ * @returns a jsx vnode
703
+ */
704
+ export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
676
705
  export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
677
706
  /**
678
707
  * A virtual DOM node
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gauge-page-header",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "format": "prettier --write src"
25
25
  },
26
26
  "dependencies": {
27
- "@stencil/core": "4.40.1"
27
+ "@stencil/core": "4.41.0"
28
28
  },
29
29
  "license": "MIT",
30
30
  "devDependencies": {
@@ -1,2 +0,0 @@
1
- var t,e,i,n,s,r,o,l,h,c,f,a,u,p,d,v,m,w=Object.create,g=Object.defineProperty,b=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyNames,y=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,S=t=>{throw TypeError(t)},j=(t,e)=>function(){return e||(0,t[$(t)[0]])((e={exports:{}}).exports,e),e.exports},M=(t,e,i)=>e.has(t)||S("Cannot "+i),k=(t,e,i)=>(M(t,e,"read from private field"),i?i.call(t):e.get(t)),E=(t,e,i)=>e.has(t)?S("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),x=(t,e,i)=>(M(t,e,"write to private field"),e.set(t,i),i),P=(t,e,i)=>(M(t,e,"access private method"),i),W=j({"node_modules/balanced-match/index.js"(t,e){function i(t,e,i){t instanceof RegExp&&(t=n(t,i)),e instanceof RegExp&&(e=n(e,i));var r=s(t,e,i);return r&&{start:r[0],end:r[1],pre:i.slice(0,r[0]),body:i.slice(r[0]+t.length,r[1]),post:i.slice(r[1]+e.length)}}function n(t,e){var i=e.match(t);return i?i[0]:null}function s(t,e,i){var n,s,r,o,l,h=i.indexOf(t),c=i.indexOf(e,h+1),f=h;if(h>=0&&c>0){if(t===e)return[h,c];for(n=[],r=i.length;f>=0&&!l;)f==h?(n.push(f),h=i.indexOf(t,f+1)):1==n.length?l=[n.pop(),c]:((s=n.pop())<r&&(r=s,o=c),c=i.indexOf(e,f+1)),f=h<c&&h>=0?h:c;n.length&&(l=[r,o])}return l}e.exports=i,i.range=s}}),R=j({"node_modules/brace-expansion/index.js"(t,e){var i=W();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),v(function(t){return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(r).split("\\,").join(o).split("\\.").join(l)}(t),!0).map(c)):[]};var n="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",r="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function h(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(n).join("\\").split(s).join("{").split(r).join("}").split(o).join(",").split(l).join(".")}function f(t){if(!t)return[""];var e=[],n=i("{","}",t);if(!n)return t.split(",");var s=n.body,r=n.post,o=n.pre.split(",");o[o.length-1]+="{"+s+"}";var l=f(r);return r.length&&(o[o.length-1]+=l.shift(),o.push.apply(o,l)),e.push.apply(e,o),e}function a(t){return"{"+t+"}"}function u(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function d(t,e){return t>=e}function v(t,e){var n=[],s=i("{","}",t);if(!s)return[t];var o=s.pre,l=s.post.length?v(s.post,!1):[""];if(/\$$/.test(s.pre))for(var c=0;c<l.length;c++)n.push(N=o+"{"+s.body+"}"+l[c]);else{var m,w,g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),b=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),$=g||b,y=s.body.indexOf(",")>=0;if(!$&&!y)return s.post.match(/,(?!,).*\}/)?v(t=s.pre+"{"+s.body+r+s.post):[t];if($)m=s.body.split(/\.\./);else if(1===(m=f(s.body)).length&&1===(m=v(m[0],!1).map(a)).length)return l.map((function(t){return s.pre+m[0]+t}));if($){var O=h(m[0]),S=h(m[1]),j=Math.max(m[0].length,m[1].length),M=3==m.length?Math.abs(h(m[2])):1,k=p;S<O&&(M*=-1,k=d);var E=m.some(u);w=[];for(var x=O;k(x,S);x+=M){var P;if(b)"\\"===(P=String.fromCharCode(x))&&(P="");else if(P=x+"",E){var W=j-P.length;if(W>0){var R=Array(W+1).join("0");P=x<0?"-"+R+P.slice(1):R+P}}w.push(P)}}else{w=[];for(var C=0;C<m.length;C++)w.push.apply(w,v(m[C],!1))}for(C=0;C<w.length;C++)for(c=0;c<l.length;c++){var N=o+w[C]+l[c];(!e||$||N)&&n.push(N)}}return n}}}),C=(t,e)=>{var i;Object.entries(null!=(i=e.i.t)?i:{}).map((([i,[n]])=>{if(31&n||32&n){const n=t[i],s=function(t,e){for(;t;){const i=Object.getOwnPropertyDescriptor(t,e);if(null==i?void 0:i.get)return i;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),i)||Object.getOwnPropertyDescriptor(t,i);s&&Object.defineProperty(t,i,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[i]=e.o.has(i)?e.o.get(i):n}}))},N=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},z=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.i.h&&C(t,e))},A=(t,e)=>e in t,L=(t,e)=>(0,console.error)(t,e),T=new Map,D=new Map,G="slot-fb{display:contents}slot-fb[hidden]{display:none}",U="undefined"!=typeof window?window:{},I={h:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,i,n)=>t.addEventListener(e,i,n),rel:(t,e,i,n)=>t.removeEventListener(e,i,n),ce:(t,e)=>new CustomEvent(t,e)},Z=t=>Promise.resolve(t),_=(()=>{try{return!!U.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!_&&(()=>!!U.document&&Object.getOwnPropertyDescriptor(U.document.adoptedStyleSheets,"length").writable)(),H=!1,V=[],q=[],B=(t,e)=>i=>{t.push(i),H||(H=!0,e&&4&I.h?K(Y):I.raf(Y))},J=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){L(t)}t.length=0},Y=()=>{J(V),J(q),(H=V.length>0)&&I.raf(Y)},K=t=>Z().then(t),Q=B(q,!0),X=t=>"object"==(t=typeof t)||"function"===t,tt=((t,e,i)=>(i=null!=t?w(y(t)):{},((t,e,i,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let i of $(e))O.call(t,i)||undefined===i||g(t,i,{get:()=>e[i],enumerable:!(n=b(e,i))||n.enumerable});return t})(g(i,"default",{value:t,enumerable:!0}),t)))(R()),et=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},it={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},nt=t=>t.replace(/[[\]\\-]/g,"\\$&"),st=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rt=t=>t.join(""),ot=(t,e)=>{const i=e;if("["!==t.charAt(i))throw Error("not in a brace expression");const n=[],s=[];let r=i+1,o=!1,l=!1,h=!1,c=!1,f=i,a="";t:for(;r<t.length;){const e=t.charAt(r);if("!"!==e&&"^"!==e||r!==i+1){if("]"===e&&o&&!h){f=r+1;break}if(o=!0,"\\"!==e||h){if("["===e&&!h)for(const[e,[o,h,c]]of Object.entries(it))if(t.startsWith(e,r)){if(a)return["$.",!1,t.length-i,!0];r+=e.length,c?s.push(o):n.push(o),l=l||h;continue t}h=!1,a?(e>a?n.push(nt(a)+"-"+nt(e)):e===a&&n.push(nt(e)),a="",r++):t.startsWith("-]",r+1)?(n.push(nt(e+"-")),r+=2):t.startsWith("-",r+1)?(a=e,r+=2):(n.push(nt(e)),r++)}else h=!0,r++}else c=!0,r++}if(f<r)return["",!1,0,!1];if(!n.length&&!s.length)return["$.",!1,t.length-i,!0];if(0===s.length&&1===n.length&&/^\\?.$/.test(n[0])&&!c){const t=2===n[0].length?n[0].slice(-1):n[0];return[st(t),!1,f-i,!1]}const u="["+(c?"^":"")+rt(n)+"]",p="["+(c?"":"^")+rt(s)+"]";return[n.length&&s.length?"("+u+"|"+p+")":n.length?u:p,l,f-i,!0]},lt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ht=new Set(["!","?","+","*","@"]),ct=t=>ht.has(t),ft="(?!\\.)",at=new Set(["[","."]),ut=new Set(["..","."]),pt=new Set("().*{}+?[]^$\\!"),dt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vt="[^/]",mt=vt+"*?",wt=vt+"+?",gt=class w{constructor(u,p,d={}){E(this,a),((t,e,i)=>{((t,e,i)=>{e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i})(t,e+"",i)})(this,"type"),E(this,t),E(this,e),E(this,i,!1),E(this,n,[]),E(this,s),E(this,r),E(this,o),E(this,l,!1),E(this,h),E(this,c),E(this,f,!1),this.type=u,u&&x(this,e,!0),x(this,s,p),x(this,t,k(this,s)?k(k(this,s),t):this),x(this,h,k(this,t)===this?d:k(k(this,t),h)),x(this,o,k(this,t)===this?[]:k(k(this,t),o)),"!"!==u||k(k(this,t),l)||k(this,o).push(this),x(this,r,k(this,s)?k(k(this,s),n).length:0)}get hasMagic(){if(void 0!==k(this,e))return k(this,e);for(const t of k(this,n))if("string"!=typeof t&&(t.type||t.hasMagic))return x(this,e,!0);return k(this,e)}toString(){return void 0!==k(this,c)?k(this,c):x(this,c,this.type?this.type+"("+k(this,n).map((t=>t+"")).join("|")+")":k(this,n).map((t=>t+"")).join(""))}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof w&&k(e,s)===this))throw Error("invalid part: "+e);k(this,n).push(e)}}toJSON(){var e;const i=null===this.type?k(this,n).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...k(this,n).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&i.unshift([]),this.isEnd()&&(this===k(this,t)||k(k(this,t),l)&&"!"===(null==(e=k(this,s))?void 0:e.type))&&i.push({}),i}isStart(){var e;if(k(this,t)===this)return!0;if(!(null==(e=k(this,s))?void 0:e.isStart()))return!1;if(0===k(this,r))return!0;const i=k(this,s);for(let t=0;t<k(this,r);t++){const e=k(i,n)[t];if(!(e instanceof w&&"!"===e.type))return!1}return!0}isEnd(){var e,i,o;if(k(this,t)===this)return!0;if("!"===(null==(e=k(this,s))?void 0:e.type))return!0;if(!(null==(i=k(this,s))?void 0:i.isEnd()))return!1;if(!this.type)return null==(o=k(this,s))?void 0:o.isEnd();const l=k(this,s)?k(k(this,s),n).length:0;return k(this,r)===l-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(t){const e=new w(this.type,t);for(const t of k(this,n))e.copyIn(t);return e}static fromGlob(t,e={}){var i;const n=new w(null,void 0,e);return P(i=w,p,d).call(i,t,n,0,e),n}toMMPattern(){if(this!==k(this,t))return k(this,t).toMMPattern();const i=""+this,[n,s,r,o]=this.toRegExpSource();if(!(r||k(this,e)||k(this,h).nocase&&!k(this,h).nocaseMagicOnly&&i.toUpperCase()!==i.toLowerCase()))return s;const l=(k(this,h).nocase?"i":"")+(o?"u":"");return Object.assign(RegExp(`^${n}$`,l),{_src:n,_glob:i})}get options(){return k(this,h)}toRegExpSource(r){var o;const c=null!=r?r:!!k(this,h).dot;if(k(this,t)===this&&P(this,a,u).call(this),!this.type){const h=this.isStart()&&this.isEnd(),f=k(this,n).map((t=>{var n;const[s,o,l,c]="string"==typeof t?P(n=w,p,m).call(n,t,k(this,e),h):t.toRegExpSource(r);return x(this,e,k(this,e)||l),x(this,i,k(this,i)||c),s})).join("");let a="";if(this.isStart()&&"string"==typeof k(this,n)[0]&&(1!==k(this,n).length||!ut.has(k(this,n)[0]))){const t=at,e=c&&t.has(f.charAt(0))||f.startsWith("\\.")&&t.has(f.charAt(2))||f.startsWith("\\.\\.")&&t.has(f.charAt(4)),i=!c&&!r&&t.has(f.charAt(0));a=e?"(?!(?:^|/)\\.\\.?(?:$|/))":i?ft:""}let u="";return this.isEnd()&&k(k(this,t),l)&&"!"===(null==(o=k(this,s))?void 0:o.type)&&(u="(?:$|\\/)"),[a+f+u,lt(f),x(this,e,!!k(this,e)),k(this,i)]}const d="*"===this.type||"+"===this.type,g="!"===this.type?"(?:(?!(?:":"(?:";let b=P(this,a,v).call(this,c);if(this.isStart()&&this.isEnd()&&!b&&"!"!==this.type){const t=""+this;return x(this,n,[t]),this.type=null,x(this,e,void 0),[t,lt(""+this),!1,!1]}let $=!d||r||c?"":P(this,a,v).call(this,!0);$===b&&($=""),$&&(b=`(?:${b})(?:${$})*?`);let y="";return y="!"===this.type&&k(this,f)?(this.isStart()&&!c?ft:"")+wt:g+b+("!"===this.type?"))"+(!this.isStart()||c||r?"":ft)+mt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&$?")":"*"===this.type&&$?")?":")"+this.type),[y,lt(b),x(this,e,!!k(this,e)),k(this,i)]}};t=new WeakMap,e=new WeakMap,i=new WeakMap,n=new WeakMap,s=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,h=new WeakMap,c=new WeakMap,f=new WeakMap,a=new WeakSet,u=function(){if(this!==k(this,t))throw Error("should only call on root");if(k(this,l))return this;let e;for(x(this,l,!0);e=k(this,o).pop();){if("!"!==e.type)continue;let t=e,i=k(t,s);for(;i;){for(let s=k(t,r)+1;!i.type&&s<k(i,n).length;s++)for(const t of k(e,n)){if("string"==typeof t)throw Error("string part in extglob AST??");t.copyIn(k(i,n)[s])}t=i,i=k(t,s)}}return this},p=new WeakSet,d=function(t,i,s,r){var o,l;let h=!1,c=!1,a=-1,u=!1;if(null===i.type){let e=s,n="";for(;e<t.length;){const s=t.charAt(e++);if(h||"\\"===s)h=!h,n+=s;else if(c)e===a+1?"^"!==s&&"!"!==s||(u=!0):"]"!==s||e===a+2&&u||(c=!1),n+=s;else if("["!==s)if(r.noext||!ct(s)||"("!==t.charAt(e))n+=s;else{i.push(n),n="";const l=new gt(s,i);e=P(o=gt,p,d).call(o,t,l,e,r),i.push(l)}else c=!0,a=e,u=!1,n+=s}return i.push(n),e}let v=s+1,m=new gt(null,i);const w=[];let g="";for(;v<t.length;){const e=t.charAt(v++);if(h||"\\"===e)h=!h,g+=e;else if(c)v===a+1?"^"!==e&&"!"!==e||(u=!0):"]"!==e||v===a+2&&u||(c=!1),g+=e;else if("["!==e)if(ct(e)&&"("===t.charAt(v)){m.push(g),g="";const i=new gt(e,m);m.push(i),v=P(l=gt,p,d).call(l,t,i,v,r)}else if("|"!==e){if(")"===e)return""===g&&0===k(i,n).length&&x(i,f,!0),m.push(g),g="",i.push(...w,m),v;g+=e}else m.push(g),g="",w.push(m),m=new gt(null,i);else c=!0,a=v,u=!1,g+=e}return i.type=null,x(i,e,void 0),x(i,n,[t.substring(s-1)]),v},v=function(t){return k(this,n).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,s,r,o]=e.toRegExpSource(t);return x(this,i,k(this,i)||o),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},m=function(t,e,i=!1){let n=!1,s="",r=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(n)n=!1,s+=(pt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[i,n,l,h]=ot(t,o);if(l){s+=i,r=r||n,o+=l-1,e=e||h;continue}}"*"!==l?"?"!==l?s+=dt(l):(s+=vt,e=!0):(s+=i&&"*"===t?wt:mt,e=!0)}else o===t.length-1?s+="\\\\":n=!0}return[s,lt(t),!!e,r]},E(gt,p);var bt=gt,$t=(t,e,i={})=>(et(e),!(!i.nocomment&&"#"===e.charAt(0))&&new Vt(e,i).match(t)),yt=/^\*+([^+@!?\*\[\(]*)$/,Ot=t=>e=>!e.startsWith(".")&&e.endsWith(t),St=t=>e=>e.endsWith(t),jt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),Mt=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),kt=/^\*+\.\*+$/,Et=t=>!t.startsWith(".")&&t.includes("."),xt=t=>"."!==t&&".."!==t&&t.includes("."),Pt=/^\.\*+$/,Wt=t=>"."!==t&&".."!==t&&t.startsWith("."),Rt=/^\*+$/,Ct=t=>0!==t.length&&!t.startsWith("."),Nt=t=>0!==t.length&&"."!==t&&".."!==t,zt=/^\?+([^+@!?\*\[\(]*)?$/,At=([t,e=""])=>{const i=Gt([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},Lt=([t,e=""])=>{const i=Ut([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},Tt=([t,e=""])=>{const i=Ut([t]);return e?t=>i(t)&&t.endsWith(e):i},Dt=([t,e=""])=>{const i=Gt([t]);return e?t=>i(t)&&t.endsWith(e):i},Gt=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},Ut=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},It="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";$t.sep="win32"===It?"\\":"/";var Zt=Symbol("globstar **");$t.GLOBSTAR=Zt,$t.filter=(t,e={})=>i=>$t(i,t,e);var _t=(t,e={})=>Object.assign({},t,e);$t.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return $t;const e=$t;return Object.assign(((i,n,s={})=>e(i,n,_t(t,s))),{Minimatch:class extends e.Minimatch{constructor(e,i={}){super(e,_t(t,i))}static defaults(i){return e.defaults(_t(t,i)).Minimatch}},AST:class extends e.AST{constructor(e,i,n={}){super(e,i,_t(t,n))}static fromGlob(i,n={}){return e.AST.fromGlob(i,_t(t,n))}},unescape:(i,n={})=>e.unescape(i,_t(t,n)),escape:(i,n={})=>e.escape(i,_t(t,n)),filter:(i,n={})=>e.filter(i,_t(t,n)),defaults:i=>e.defaults(_t(t,i)),makeRe:(i,n={})=>e.makeRe(i,_t(t,n)),braceExpand:(i,n={})=>e.braceExpand(i,_t(t,n)),match:(i,n,s={})=>e.match(i,n,_t(t,s)),sep:e.sep,GLOBSTAR:Zt})};var Ft=(t,e={})=>(et(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,tt.default)(t));$t.braceExpand=Ft,$t.makeRe=(t,e={})=>new Vt(t,e).makeRe(),$t.match=(t,e,i={})=>{const n=new Vt(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t};var Ht=/[?*]|[+@!]\(.*?\)|\[|\]/,Vt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){et(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||It,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const i=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Ht.test(t[2])||Ht.test(t[3])),i=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(i)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,n),this.set=n.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let i=0;i<t[e].length;i++)"**"===t[e][i]&&(t[e][i]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let i=e;for(;"**"===t[i+1];)i++;i!==e&&t.splice(e,i-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const i=t[t.length-1];return"**"===e&&"**"===i?t:".."===e&&i&&".."!==i&&"."!==i&&"**"!==i?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){const n=t[i];1===i&&""===n&&""===t[0]||"."!==n&&""!==n||(e=!0,t.splice(i,1),i--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let i=0;for(;-1!==(i=t.indexOf("..",i+1));){const n=t[i-1];n&&"."!==n&&".."!==n&&"**"!==n&&(e=!0,t.splice(i-1,2),i-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let i of t){let n=-1;for(;-1!==(n=i.indexOf("**",n+1));){let s=n;for(;"**"===i[s+1];)s++;s>n&&i.splice(n+1,s-n);const r=i[n+2],o=i[n+3];if(".."!==i[n+1])continue;if(!r||"."===r||".."===r||!o||"."===o||".."===o)continue;e=!0,i.splice(n,1);const l=i.slice(0);l[n]="**",t.push(l),n--}if(!this.preserveMultipleSlashes){for(let t=1;t<i.length-1;t++){const n=i[t];1===t&&""===n&&""===i[0]||"."!==n&&""!==n||(e=!0,i.splice(t,1),t--)}"."!==i[0]||2!==i.length||"."!==i[1]&&""!==i[1]||(e=!0,i.pop())}let s=0;for(;-1!==(s=i.indexOf("..",s+1));){const t=i[s-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,i.splice(s-1,2,...1===s&&"**"===i[s+1]?["."]:[]),0===i.length&&i.push(""),s-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let i=e+1;i<t.length;i++){const n=this.partsMatch(t[e],t[i],!this.preserveMultipleSlashes);n&&(t[e]=n,t[i]=[])}return t.filter((t=>t.length))}partsMatch(t,e,i=!1){let n=0,s=0,r=[],o="";for(;n<t.length&&s<e.length;)if(t[n]===e[s])r.push("b"===o?e[s]:t[n]),n++,s++;else if(i&&"**"===t[n]&&e[s]===t[n+1])r.push(t[n]),n++;else if(i&&"**"===e[s]&&t[n]===e[s+1])r.push(e[s]),s++;else if("*"!==t[n]||!e[s]||!this.options.dot&&e[s].startsWith(".")||"**"===e[s]){if("*"!==e[s]||!t[n]||!this.options.dot&&t[n].startsWith(".")||"**"===t[n])return!1;if("a"===o)return!1;o="b",r.push(e[s]),n++,s++}else{if("b"===o)return!1;o="a",r.push(t[n]),n++,s++}return t.length===e.length&&r}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,i=0;for(let n=0;n<t.length&&"!"===t.charAt(n);n++)e=!e,i++;i&&(this.pattern=t.slice(i)),this.negate=e}matchOne(t,e,i=!1){const n=this.options;if(this.isWindows){const i="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),n=!i&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=n?3:i?0:void 0,o=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof r&&"number"==typeof o){const[i,n]=[t[r],e[o]];i.toLowerCase()===n.toLowerCase()&&(e[o]=i,o>r?e=e.slice(o):r>o&&(t=t.slice(r)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,o=0,l=t.length,h=e.length;r<l&&o<h;r++,o++){this.debug("matchOne loop");var c=e[o],f=t[r];if(this.debug(e,c,f),!1===c)return!1;if(c===Zt){this.debug("GLOBSTAR",[e,c,f]);var a=r,u=o+1;if(u===h){for(this.debug("** at the end");r<l;r++)if("."===t[r]||".."===t[r]||!n.dot&&"."===t[r].charAt(0))return!1;return!0}for(;a<l;){var p=t[a];if(this.debug("\nglobstar while",t,a,e,u,p),this.matchOne(t.slice(a),e.slice(u),i))return this.debug("globstar found match!",a,l,p),!0;if("."===p||".."===p||!n.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,a,e,u);break}this.debug("globstar swallow a segment, and continue"),a++}return!(!i||(this.debug("\n>>> no match, partial?",t,a,e,u),a!==l))}let s;if("string"==typeof c?(s=f===c,this.debug("string match",c,f,s)):(s=c.test(f),this.debug("pattern match",c,f,s)),!s)return!1}if(r===l&&o===h)return!0;if(r===l)return i;if(o===h)return r===l-1&&""===t[r];throw Error("wtf?")}braceExpand(){return Ft(this.pattern,this.options)}parse(t){et(t);const e=this.options;if("**"===t)return Zt;if(""===t)return"";let i,n=null;(i=t.match(Rt))?n=e.dot?Nt:Ct:(i=t.match(yt))?n=(e.nocase?e.dot?Mt:jt:e.dot?St:Ot)(i[1]):(i=t.match(zt))?n=(e.nocase?e.dot?Lt:At:e.dot?Tt:Dt)(i):(i=t.match(kt))?n=e.dot?xt:Et:(i=t.match(Pt))&&(n=Wt);const s=bt.fromGlob(t,this.options).toMMPattern();return n&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:n}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,i=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=new Set(e.nocase?["i"]:[]);let s=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))n.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Zt?Zt:t._src}));return e.forEach(((t,n)=>{const s=e[n+1],r=e[n-1];t===Zt&&r!==Zt&&(void 0===r?void 0!==s&&s!==Zt?e[n+1]="(?:\\/|"+i+"\\/)?"+s:e[n]=i:void 0===s?e[n-1]=r+"(?:\\/|"+i+")?":s!==Zt&&(e[n-1]=r+"(?:\\/|\\/"+i+"\\/)"+s,e[n+1]=Zt))})),e.filter((t=>t!==Zt)).join("/")})).join("|");const[r,o]=t.length>1?["(?:",")"]:["",""];s="^"+r+s+o+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=RegExp(s,[...n].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const s=this.set;this.debug(this.pattern,"set",s);let r=n[n.length-1];if(!r)for(let t=n.length-2;!r&&t>=0;t--)r=n[t];for(let t=0;t<s.length;t++){const o=s[t];let l=n;if(i.matchBase&&1===o.length&&(l=[r]),this.matchOne(l,o,e))return!!i.flipNegate||!this.negate}return!i.flipNegate&&this.negate}static defaults(t){return $t.defaults(t).Minimatch}};function qt(t){var e,i,n;return null!=(n=null==(i=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:i.getAttribute("content"))?n:void 0}$t.AST=bt,$t.Minimatch=Vt,$t.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),$t.unescape=lt,((t,e)=>{for(var i in e)g(t,i,{get:e[i],enumerable:!0})})({},{err:()=>Jt,map:()=>Yt,ok:()=>Bt,unwrap:()=>Qt,unwrapErr:()=>Xt});var Bt=t=>({isOk:!0,isErr:!1,value:t}),Jt=t=>({isOk:!1,isErr:!0,value:t});function Yt(t,e){if(t.isOk){const i=e(t.value);return i instanceof Promise?i.then((t=>Bt(t))):Bt(i)}if(t.isErr)return Jt(t.value);throw"should never get here"}var Kt,Qt=t=>{if(t.isOk)return t.value;throw t.value},Xt=t=>{if(t.isErr)return t.value;throw t.value};function te(){const t=this.attachShadow({mode:"open"});void 0===Kt&&(Kt=null),Kt&&(F?t.adoptedStyleSheets.push(Kt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,Kt])}var ee=new WeakMap,ie=t=>"sc-"+t.p,ne=(t,e,...i)=>{let n=null,s=null,r=!1,o=!1;const l=[],h=e=>{for(let i=0;i<e.length;i++)n=e[i],Array.isArray(n)?h(n):null!=n&&"boolean"!=typeof n&&((r="function"!=typeof t&&!X(n))&&(n+=""),r&&o?l[l.length-1].v+=n:l.push(r?se(null,n):n),o=r)};if(h(i),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const c=se(t,null);return c.m=e,l.length>0&&(c.$=l),c.O=s,c},se=(t,e)=>({h:0,S:t,v:e,j:null,$:null,m:null,O:null}),re={},oe=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};oe("::slotted"),oe(":host"),oe(":host-context");var le,he=t=>(null==t||X(t),t),ce=(t,e,i,n,s,r)=>{if(i===n)return;let o=A(t,e),l=e.toLowerCase();if("class"===e){const e=t.classList,s=ae(i);let r=ae(n);e.remove(...s.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!s.includes(t))))}else if("key"===e);else if(o||"o"!==e[0]||"n"!==e[1]){const l=X(n);if((o||l&&null!==n)&&!s)try{if(t.tagName.includes("-"))t[e]!==n&&(t[e]=n);else{const s=null==n?"":n;"list"===e?o=!1:null!=i&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}null==n||!1===n?!1===n&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||s)&&!l&&1===t.nodeType&&t.setAttribute(e,n=!0===n?"":n)}else if(e="-"===e[2]?e.slice(3):A(U,l)?l.slice(2):l[2]+e.slice(3),i||n){const s=e.endsWith(ue);e=e.replace(pe,""),i&&I.rel(t,e,i,s),n&&I.ael(t,e,n,s)}},fe=/\s/,ae=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(fe):[]),ue="Capture",pe=RegExp(ue+"$"),de=(t,e,i)=>{const n=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.m||{},r=e.m||{};for(const t of ve(Object.keys(s)))t in r||ce(n,t,s[t],void 0,i,e.h);for(const t of ve(Object.keys(r)))ce(n,t,s[t],r[t],i,e.h)};function ve(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var me=!1,we=(t,e,i)=>{const n=e.$[i];let s,r,o=0;if(null!==n.v)s=n.j=U.document.createTextNode(n.v);else{if(me||(me="svg"===n.S),!U.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=n.j=U.document.createElementNS(me?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",n.S),me&&"foreignObject"===n.S&&(me=!1),de(null,n,me),n.$){const e="template"===n.S?s.content:s;for(o=0;o<n.$.length;++o)r=we(t,n,o),r&&e.appendChild(r)}"svg"===n.S?me=!1:"foreignObject"===s.tagName&&(me=!0)}return s["s-hn"]=le,s},ge=(t,e,i,n,s,r)=>{let o,l=t;for(l.shadowRoot&&l.tagName===le&&(l=l.shadowRoot),"template"===i.S&&(l=l.content);s<=r;++s)n[s]&&(o=we(null,i,s),o&&(n[s].j=o,Oe(l,o,e)))},be=(t,e,i)=>{for(let n=e;n<=i;++n){const e=t[n];if(e){const t=e.j;t&&t.remove()}}},$e=(t,e,i=!1)=>t.S===e.S&&(i?(i&&!t.O&&e.O&&(t.O=e.O),!0):t.O===e.O),ye=(t,e,i=!1)=>{const n=e.j=t.j,s=t.$,r=e.$,o=e.S,l=e.v;null===l?(de(t,e,me="svg"===o||"foreignObject"!==o&&me),null!==s&&null!==r?((t,e,i,n,s=!1)=>{let r,o,l=0,h=0,c=0,f=0,a=e.length-1,u=e[0],p=e[a],d=n.length-1,v=n[0],m=n[d];const w="template"===i.S?t.content:t;for(;l<=a&&h<=d;)if(null==u)u=e[++l];else if(null==p)p=e[--a];else if(null==v)v=n[++h];else if(null==m)m=n[--d];else if($e(u,v,s))ye(u,v,s),u=e[++l],v=n[++h];else if($e(p,m,s))ye(p,m,s),p=e[--a],m=n[--d];else if($e(u,m,s))ye(u,m,s),Oe(w,u.j,p.j.nextSibling),u=e[++l],m=n[--d];else if($e(p,v,s))ye(p,v,s),Oe(w,p.j,u.j),p=e[--a],v=n[++h];else{for(c=-1,f=l;f<=a;++f)if(e[f]&&null!==e[f].O&&e[f].O===v.O){c=f;break}c>=0?(o=e[c],o.S!==v.S?r=we(e&&e[h],i,c):(ye(o,v,s),e[c]=void 0,r=o.j),v=n[++h]):(r=we(e&&e[h],i,h),v=n[++h]),r&&Oe(u.j.parentNode,r,u.j)}l>a?ge(t,null==n[d+1]?null:n[d+1].j,i,n,h,d):h>d&&be(e,l,a)})(n,s,e,r,i):null!==r?(null!==t.v&&(n.textContent=""),ge(n,null,e,r,0,r.length-1)):!i&&null!==s&&be(s,0,s.length-1),me&&"svg"===o&&(me=!1)):t.v!==l&&(n.data=l)},Oe=(t,e,i)=>null==t?void 0:t.insertBefore(e,i),Se=(t,e)=>{if(e&&!t.M&&e["s-p"]){const i=e["s-p"].push(new Promise((n=>t.M=()=>{e["s-p"].splice(i-1,1),n()})))}},je=(t,e)=>{if(t.h|=16,4&t.h)return void(t.h|=512);Se(t,t.k);const i=()=>Me(t,e);if(!e)return Q(i);queueMicrotask((()=>{i()}))},Me=(t,e)=>{const i=t.$hostElement$,n=t.l;if(!n)throw Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.P.length&&t.P.forEach((t=>t(i))),s=Ce(n,"componentWillLoad",void 0,i)):s=Ce(n,"componentWillUpdate",void 0,i),s=ke(s,(()=>Ce(n,"componentWillRender",void 0,i))),ke(s,(()=>xe(t,n,e)))},ke=(t,e)=>Ee(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ee=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,xe=async(t,e,i)=>{var n;const s=t.$hostElement$,r=s["s-rc"];i&&(t=>{const e=t.i,i=t.$hostElement$,n=e.h,s=((t,e)=>{var i,n,s;const r=ie(e),o=D.get(r);if(!U.document)return r;if(t=11===t.nodeType?t:U.document,o)if("string"==typeof o){let s,l=ee.get(t=t.head||t);if(l||ee.set(t,l=new Set),!l.has(r)){s=U.document.createElement("style"),s.innerHTML=o;const h=null!=(i=I.W)?i:qt(U.document);if(null!=h&&s.setAttribute("nonce",h),!(1&e.h))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),i=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==i?void 0:i.parentNode)===t?i:null)}else if("host"in t)if(_){const e=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(o),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.h&&t.insertBefore(s,null),4&e.h&&(s.innerHTML+=G),l&&l.add(r)}}else{let e=ee.get(t);if(e||ee.set(t,e=new Set),!e.has(r)){const i=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let n;if(o.constructor===i.CSSStyleSheet)n=o;else{n=new i.CSSStyleSheet;for(let t=0;t<o.cssRules.length;t++)n.insertRule(o.cssRules[t].cssText,t)}F?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],e.add(r)}}return r})(i.shadowRoot?i.shadowRoot:i.getRootNode(),e);10&n&&(i["s-sc"]=s,i.classList.add(s+"-h"))})(t);Pe(t,e,s,i),r&&(r.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(n=s["s-p"])?n:[],i=()=>We(t);0===e.length?i():(Promise.all(e).then(i),t.h|=4,e.length=0)}},Pe=(t,e,i,n)=>{try{e=e.render(),t.h&=-17,t.h|=2,((t,e,i=!1)=>{const n=t.$hostElement$,s=t.R||se(null,null),r=(t=>t&&t.S===re)(e)?e:ne(null,null,e);if(le=n.tagName,i&&r.m)for(const t of Object.keys(r.m))n.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.m[t]=n[t]);r.S=null,r.h|=4,t.R=r,r.j=s.j=n.shadowRoot||n,ye(s,r,i)})(t,e,n)}catch(e){L(e,t.$hostElement$)}return null},We=t=>{const e=t.$hostElement$,i=t.l,n=t.k;Ce(i,"componentDidRender",void 0,e),64&t.h?Ce(i,"componentDidUpdate",void 0,e):(t.h|=64,Ne(e),Ce(i,"componentDidLoad",void 0,e),t.C(e),n||Re()),t.M&&(t.M(),t.M=void 0),512&t.h&&K((()=>je(t,!1))),t.h&=-517},Re=()=>{K((()=>(t=>{const e=I.ce("appload",{detail:{namespace:"gauge-page-header"}});return t.dispatchEvent(e),e})(U)))},Ce=(t,e,i,n)=>{if(t&&t[e])try{return t[e](i)}catch(t){L(t,n)}},Ne=t=>t.classList.add("hydrated"),ze=(t,e,i,n)=>{const s=N(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${n.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.o.get(e),o=s.h,l=s.l;if(i=he(i),!(8&o&&void 0!==r||i===r||Number.isNaN(r)&&Number.isNaN(i)||(s.o.set(e,i),2!=(18&o)))){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(i,r,e))return;je(s,!1)}},Ae=(t,e,i)=>{var n;const s=t.prototype;return e.t&&Object.entries(null!=(n=e.t)?n:{}).map((([t,[n]])=>{if(31&n||2&i&&32&n){const{get:r,set:o}=Object.getOwnPropertyDescriptor(s,t)||{};r&&(e.t[t][0]|=2048),o&&(e.t[t][0]|=4096),(1&i||!r)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>N(this).o.get(e))(0,t);const i=N(this),n=i?i.l:s;if(!n)return;return n[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(s){const r=N(this);if(r){if(o)return void 0===(32&n?this[t]:r.$hostElement$[t])&&r.o.get(t)&&(s=r.o.get(t)),o.call(this,he(s)),void ze(this,t,s=32&n?this[t]:r.$hostElement$[t],e);{if(!(1&i&&4096&e.t[t][0]))return ze(this,t,s,e),void(1&i&&!r.l&&r.P.push((()=>{4096&e.t[t][0]&&r.l[t]!==r.o.get(t)&&(r.l[t]=s)})));const n=()=>{const i=r.l[t];!r.o.get(t)&&i&&r.o.set(t,i),r.l[t]=he(s),ze(this,t,r.l[t],e)};r.l?n():r.P.push((()=>{n()}))}}}})}})),t},Le=(t,e)=>{Ce(t,"connectedCallback",void 0,e)},Te=(t,e)=>{Ce(t,"disconnectedCallback",void 0,e||t)},De=(t,e={})=>{var i;if(!U.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const n=[],s=e.exclude||[],r=U.customElements,o=U.document.head,l=o.querySelector("meta[charset]"),h=U.document.createElement("style"),c=[];let f,a=!0;Object.assign(I,e),I.u=new URL(e.resourcesUrl||"./",U.document.baseURI).href;let u=!1;if(t.map((t=>{t[1].map((e=>{const i={h:e[0],p:e[1],t:e[2],N:e[3]};4&i.h&&(u=!0),i.t=e[2];const o=i.p,l=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const i={h:0,$hostElement$:t,i:e,o:new Map,A:new Map};i.L=new Promise((t=>i.C=t)),t["s-p"]=[],t["s-rc"]=[],i.P=[];const n=i;t.__stencil__getHostRef=()=>n})(t=this,i),1&i.h)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else te.call(t,i)}connectedCallback(){N(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),a?c.push(this):I.jmp((()=>(t=>{if(!(1&I.h)){const e=N(t);if(!e)return;const i=e.i,n=()=>{};if(1&e.h)(null==e?void 0:e.l)?Le(e.l,t):(null==e?void 0:e.L)&&e.L.then((()=>Le(e.l,t)));else{e.h|=1;{let i=t;for(;i=i.parentNode||i.host;)if(i["s-p"]){Se(e,e.k=i);break}}i.t&&Object.entries(i.t).map((([e,[i]])=>{if(31&i&&e in t&&t[e]!==Object.prototype[e]){const i=t[e];delete t[e],t[e]=i}})),(async(t,e,i)=>{let n;if(!(32&e.h)){if(e.h|=32,i.T){const s=((t,e)=>{const i=t.p.replace(/-/g,"_"),n=t.T;if(!n)return;const s=T.get(n);return s?s[i]:import(`./${n}.entry.js`).then((t=>(T.set(n,t),t[i])),(t=>{L(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(i,e);if(s&&"then"in s){const t=()=>{};n=await s,t()}else n=s;if(!n)throw Error(`Constructor for "${i.p}#${e.D}" was not found`);n.isProxied||(Ae(n,i,2),n.isProxied=!0);const r=()=>{};e.h|=8;try{new n(e)}catch(e){L(e,t)}e.h&=-9,r(),Le(e.l,t)}else n=t.constructor,customElements.whenDefined(t.localName).then((()=>e.h|=128));if(n&&n.style){let t;"string"==typeof n.style&&(t=n.style);const e=ie(i);if(!D.has(e)){const n=()=>{};((t,e,i)=>{let n=D.get(t);_&&i?(n=n||new CSSStyleSheet,"string"==typeof n?n=e:n.replaceSync(e)):n=e,D.set(t,n)})(e,t,!!(1&i.h)),n()}}}const s=e.k,r=()=>je(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(t,e,i)}n()}})(this))))}disconnectedCallback(){I.jmp((()=>(async t=>{if(!(1&I.h)){const e=N(t);(null==e?void 0:e.l)?Te(e.l,t):(null==e?void 0:e.L)&&e.L.then((()=>Te(e.l,t)))}ee.has(t)&&ee.delete(t),t.shadowRoot&&ee.has(t.shadowRoot)&&ee.delete(t.shadowRoot)})(this))),I.raf((()=>{var t;const e=N(this);if(!e)return;const i=c.findIndex((t=>t===this));i>-1&&c.splice(i,1),(null==(t=null==e?void 0:e.R)?void 0:t.j)instanceof Node&&!e.R.j.isConnected&&delete e.R.j}))}componentOnReady(){var t;return null==(t=N(this))?void 0:t.L}};i.T=t[0],s.includes(o)||r.get(o)||(n.push(o),r.define(o,Ae(l,i,1)))}))})),n.length>0&&(u&&(h.textContent+=G),h.textContent+=n.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",h.innerHTML.length)){h.setAttribute("data-styles","");const t=null!=(i=I.W)?i:qt(U.document);null!=t&&h.setAttribute("nonce",t),o.insertBefore(h,l?l.nextSibling:o.firstChild)}a=!1,c.length?c.map((t=>t.connectedCallback())):I.jmp((()=>f=setTimeout(Re,30)))},Ge=t=>I.W=t;export{De as b,ne as h,Z as p,z as r,Ge as s}