text: var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):a(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(s){o=[6,s];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,a++)n[a]=i[o];return n};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="stencil-dependency-example";var a=0;var i=false;var o;var s;var c=window;var u=document;var l={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)}};var f=function(){return!!u.documentElement.attachShadow}();var $=function(){try{new CSSStyleSheet;return true}catch(e){}return false}();var v=new WeakMap;var h=function(e){return v.get(e)};var d=e("r",(function(e,t){return v.set(t.$lazyInstance$=e,t)}));var p=function(e){var t={$flags$:0,$hostElement$:e,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return v.set(e,t)};var m=function(e){return console.error(e)};var g=new Map;var y=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleIds$;var o=g.get(i);if(o){return o[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{g.set(i,e)}return e[a]}),m)};var w=new Map;var _=[];var b=[];var S=[];var R=function(e,t){return function(r){e.push(r);if(!i){i=true;if(t&&l.$flags$&4){E(N)}else{l.raf(N)}}}};var x=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(r){m(r)}}e.length=0};var j=function(e,t){var r=0;var n=0;while(r<e.length&&(n=performance.now())<t){try{e[r++](n)}catch(a){m(a)}}if(r===e.length){e.length=0}else if(r!==0){e.splice(0,r)}};var N=function(){a++;x(_);var e=(l.$flags$&6)===2?performance.now()+10*Math.ceil(a*(1/22)):Infinity;j(b,e);j(S,e);if(b.length>0){S.push.apply(S,b);b.length=0}if(i=_.length+b.length+S.length>0){l.raf(N)}else{a=0}};var E=function(e){return Promise.resolve().then(e)};var C=R(b,true);var L=function(e){return e!=null};var U=function(e){e=typeof e;return e==="object"||e==="function"};var A=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var M=function(e,t){{return function(){return}}};var O=e("a",(function(){if(!(c.CSS&&c.CSS.supports&&c.CSS.supports("color","var(--c)"))){return t.import("./p-a614138e.system.js").then((function(){l.$cssShim$=c.__stencil_cssshim;if(l.$cssShim$){return l.$cssShim$.initShim()}}))}return Promise.resolve()}));var P=e("p",(function(){return __awaiter(r,void 0,void 0,(function(){var e,r,a,i,o;return __generator(this,(function(s){switch(s.label){case 0:{l.$cssShim$=c.__stencil_cssshim}e=t.meta.url;r=new RegExp("/"+n+"(\\.esm)?\\.js($|\\?|#)");a=Array.from(u.querySelectorAll("script")).find((function(e){return r.test(e.src)||e.getAttribute("data-stencil-namespace")===n}));i=a["data-opts"];if(!(e!==""))return[3,1];return[2,Object.assign(Object.assign({},i),{resourcesUrl:new URL(".",e).href})];case 1:o=new URL(".",new URL(a.getAttribute("data-resources-url")||a.src,c.location.href));T(o.href);if(!!window.customElements)return[3,3];return[4,t.import("./p-5b416380.system.js")];case 2:s.sent();s.label=3;case 3:return[2,Object.assign(Object.assign({},i),{resourcesUrl:o.href})]}}))}))}));var T=function(e){var t=A(n);try{c[t]=new Function("w","return import(w);//"+Math.random())}catch(a){var r=new Map;c[t]=function(n){var a=new URL(n,e).href;var i=r.get(a);if(!i){var o=u.createElement("script");o.type="module";o.src=URL.createObjectURL(new Blob(["import * as m from '"+a+"'; window."+t+".m = m;"],{type:"application/javascript"}));i=new Promise((function(e){o.onload=function(){e(c[t].m);o.remove()}}));r.set(a,i);u.head.appendChild(o)}return i}}};var I="hydrated";var B=new WeakMap;var H=function(e,t,r){var n=w.get(e);if($&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}w.set(e,n)};var q=function(e,t,r,n){var a=F(t.$tagName$);var i=w.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var o=B.get(e);var s=void 0;if(!o){B.set(e,o=new Set)}if(!o.has(a)){{if(l.$cssShim$){s=l.$cssShim$.createHostStyle(n,a,i,!!(t.$flags$&10));var c=s["s-sc"];if(c){a=c;o=null}}else{s=u.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArrays(e.adoptedStyleSheets,[i])}}return a};var z=function(e,t,r){var n=k("attachStyles",t.$tagName$);var a=q(f&&e.shadowRoot?e.shadowRoot:e.getRootNode(),t,r,e);if(t.$flags$&10){e["s-sc"]=a;e.classList.add(a+"-h")}n()};var F=function(e,t){return"sc-"+e};var W=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var o=false;var s=[];var c=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){c(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!U(a)){a=String(a)}if(i&&o){s[s.length-1].$text$+=a}else{s.push(i?G(null,a):a)}o=i}}};c(r);var u=G(e,null);u.$attrs$=t;if(s.length>0){u.$children$=s}return u}));var G=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r};var Q={};var V=function(e){return e&&e.$tag$===Q};var D=function(e,t,r,n){var a=t.$children$[r];var i=0;var s;var c;if(a.$text$!==null){s=a.$elm$=u.createTextNode(a.$text$)}else{s=a.$elm$=u.createElement(a.$tag$);if(L(o)&&s["s-si"]!==o){s.classList.add(s["s-si"]=o)}if(a.$children$){for(i=0;i<a.$children$.length;++i){c=D(e,a,i);if(c){s.appendChild(c)}}}}return s};var J=function(e,t,r,n,a,i){var o=e;var c;if(o.shadowRoot&&o.tagName===s){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){c=D(null,r,a);if(c){n[a].$elm$=c;o.insertBefore(c,t)}}}};var K=function(e,t){var r=t.$elm$=e.$elm$;var n=t.$children$;if(t.$text$===null){if(n!==null){J(r,null,t,n,0,n.length-1)}}else if(e.$text$!==t.$text$){r.data=t.$text$}};var X=function(e,t,r,n){s=e.tagName;var a=t.$vnode$||G(null,null);var i=V(n)?n:W(null,null,n);i.$tag$=null;i.$flags$|=4;t.$vnode$=i;i.$elm$=a.$elm$=e.shadowRoot||e;{o=e["s-sc"]}K(a,i)};var Y=function(e,t){if(t&&!e.$onRenderResolve$){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var Z=function(e,t,r,n){if(t.$flags$&4){t.$flags$|=512;return}var a=k("scheduleUpdate",r.$tagName$);var i=t.$ancestorComponent$;var o=t.$lazyInstance$;var s=function(){return ee(e,t,r,o,n)};Y(t,i);var c;a();return ne(c,(function(){return C(s)}))};var ee=function(e,t,r,n,a){var i=k("update",r.$tagName$);var o=e["s-rc"];if(a){z(e,r,t.$modeName$)}var s=k("render",r.$tagName$);{{try{X(e,t,r,n.render())}catch(f){m(f)}}}if(l.$cssShim$){l.$cssShim$.updateHost(e)}{t.$flags$|=2}if(o){o.forEach((function(e){return e()}));e["s-rc"]=undefined}s();i();{var c=e["s-p"];var u=function(){return te(e,t,r)};if(c.length===0){u()}else{Promise.all(c).then(u);t.$flags$|=4;c.length=0}}};var te=function(e,t,r){var n=k("postUpdate",r.$tagName$);var a=t.$ancestorComponent$;if(!(t.$flags$&64)){t.$flags$|=64;{e.classList.add(I)}n();{t.$onReadyResolve$(e);if(!a){re()}}}else{n()}{if(t.$onRenderResolve$){t.$onRenderResolve$();t.$onRenderResolve$=undefined}if(t.$flags$&512){E((function(){return Z(e,t,r,false)}))}t.$flags$&=~(4|512)}};var re=function(e){{u.documentElement.classList.add(I)}{l.$flags$|=2}};var ne=function(e,t){return e&&e.then?e.then(t):t()};var ae=function(e,t,r){return e};var ie=function(e,n,a,i,o){return __awaiter(r,void 0,void 0,(function(){var r,i,s,c,u,l,f;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,5];n.$flags$|=32;o=y(a);if(!o.then)return[3,2];r=M();return[4,o];case 1:o=$.sent();r();$.label=2;case 2:i=k("createInstance",a.$tagName$);try{new o(n)}catch(v){m(v)}i();s=F(a.$tagName$);if(!(!w.has(s)&&o.style))return[3,5];c=k("registerStyles",a.$tagName$);u=o.style;if(!(a.$flags$&8))return[3,4];return[4,t.import("./p-ed968002.system.js").then((function(e){return e.scopeCss(u,s,false)}))];case 3:u=$.sent();$.label=4;case 4:H(s,u,!!(a.$flags$&1));c();$.label=5;case 5:l=n.$ancestorComponent$;f=function(){return Z(e,n,a,true)};if(l&&l["s-rc"]){l["s-rc"].push(f)}else{f()}return[2]}}))}))};var oe=function(e,t){if((l.$flags$&1)===0){var r=k("connectedCallback",t.$tagName$);var n=h(e);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){Y(n,n.$ancestorComponent$=a);break}}}{E((function(){return ie(e,n,t)}))}}r()}};var se=function(e){if((l.$flags$&1)===0){var t=h(e);if(l.$cssShim$){l.$cssShim$.removeHost(e)}}};var ce=e("b",(function(e,t){if(t===void 0){t={}}var r=k();var n=[];var a=t.exclude||[];var i=u.head;var o=c.customElements;var s=i.querySelector("meta[charset]");var $=u.createElement("style");var v=[];var d;var m=true;Object.assign(l,t);l.$resourcesUrl$=new URL(t.resourcesUrl||"./",u.baseURI).href;if(t.syncQueue){l.$flags$|=4}e.forEach((function(e){return e[1].forEach((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};if(!f&&r.$flags$&1){r.$flags$|=8}var i=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;p(t);if(r.$flags$&1){if(f){t.attachShadow({mode:"open"})}else if(!("shadowRoot"in t)){t.shadowRoot=t}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(m){v.push(this)}else{l.jmp((function(){return oe(e,r)}))}};t.prototype.disconnectedCallback=function(){var e=this;l.jmp((function(){return se(e)}))};t.prototype["s-hmr"]=function(e){};t.prototype.forceUpdate=function(){};t.prototype.componentOnReady=function(){return h(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleIds$=e[0];if(!a.includes(i)&&!o.get(i)){n.push(i);o.define(i,ae(s))}}))}));$.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}";$.setAttribute("data-styles","");i.insertBefore($,s?s.nextSibling:i.firstChild);m=false;if(v.length>0){v.forEach((function(e){return e.connectedCallback()}))}else{l.jmp((function(){return d=setTimeout(re,30,"timeout")}))}r()}))}}}));