var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(s,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./index-c820db66.system.js","./index-04238c17.system.js","./index-dc84aac6.system.js","./App-f9075e71.system.js","./index-8fad73f5.system.js","./index-b0fe4e4c.system.js","./index-9ceb7f8c.system.js","./_commonjsHelpers-c8881874.system.js","./index-2d937df8.system.js"],(function(e){"use strict";var t,n,r,o,i;return{setters:[function(e){t=e.r;n=e.h;r=e.g},function(){},function(e){o=e.C},function(e){i=e.A},function(){},function(){},function(){},function(){},function(){}],execute:function(){var s=e("component_demo",function(){function e(e){t(this,e)}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){o.baseUrl="https://api.payfunc.com/";o.key="";return[2]}))}))};e.prototype.render=function(){var e=[{number:"ts001-b",name:"Basic T-shirt, black",price:119.6,vat:29.9,quantity:5},{number:"ts001-w",name:"Basic T-shirt, white",price:200,vat:50,quantity:10}];return n(i,{label:"Component Demo"},n("ig-user-menu",{slot:"nav-end","user-name":"Test User AB"}),n("smoothly-room",{path:"item",label:"Items"},n("ig-items-display",{items:e,currency:"SEK"}),n("ig-items-display",{items:1337.4222,currency:"SEK"})),n("smoothly-room",{label:"Orders",path:"order"},n("ig-orders",{orders:this.orders})),n("smoothly-room",{path:"onboard",label:"Onboard"},n("onboard-demo",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}())}}}));