/*! Built with http://stenciljs.com */
const{h:t}=window.webcomponents;import{d as n}from"./chunk-05893731.js";const e=Symbol(),s=Symbol();class o extends n{constructor(t){if(super(),t!==s)throw new Error("Cannot construct singleton");this._type="BaseService"}static get instance(){return this[e]||(this[e]=new o(s)),this[e]}get type(){return this._type}set type(t){this._type=t}}var c=function(t,n,e,s){return new(e||(e=Promise))(function(o,c){function r(t){try{u(s.next(t))}catch(t){c(t)}}function i(t){try{u(s.throw(t))}catch(t){c(t)}}function u(t){t.done?o(t.value):new e(function(n){n(t.value)}).then(r,i)}u((s=s.apply(t,n||[])).next())})};class r{constructor(){this.base=o.instance}fetchJson(t){return c(this,void 0,void 0,function*(){return this.base.fetchJson(t)})}}export{r as a};