var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{s(r.next(t))}catch(n){o(n)}}function a(t){try{s(r["throw"](t))}catch(n){o(n)}}function s(t){t.done?e(t.value):i(t.value).then(u,a)}s((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return s([t,n])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(a){u=[6,a];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./index-c04bc24f.system.js","./toast-util-c735360e.system.js","./index-d10c7ade.system.js"],(function(t){"use strict";var n,e,r,i,o;return{setters:[function(t){n=t.r;e=t.i;r=t.k},function(t){i=t.c;o=t.a},function(){}],execute:function(){var u=t("fw_toast",function(){function t(t){n(this,t);this.position="top-center";this.timeout=4e3;this.type="warning";this.actionLinkText="";this.sticky=false}t.prototype.componentWillLoad=function(){this.toastContainer=i(this)};t.prototype.trigger=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){o(t,this.toastContainer,this);return[2]}))}))};t.prototype.render=function(){return e(r,null,e("slot",null))};return t}())}}}));