var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{u(r.next(t))}catch(t){i(t)}}function a(t){try{u(r["throw"](t))}catch(t){i(t)}}function u(t){t.done?n(t.value):o(t.value).then(s,a)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){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(t){return function(e){return u([t,e])}}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=e.call(t,n)}catch(t){s=[6,t];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(["./p-2172a2da.system.js","./p-0431762c.system.js","./p-af035210.system.js","./p-fba672db.system.js","./p-38e2ad31.system.js","./p-2fc64b72.system.js","./p-b5dd9b68.system.js","./p-f887c8bb.system.js","./p-8a0a3550.system.js","./p-5ccdd889.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.g},function(t){o=t.A},function(){},function(){},function(t){i=t.C},function(){},function(){},function(){},function(){},function(){}],execute:function(){var s=t("component_demo",function(){function t(t){e(this,t)}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){i.baseUrl="https://api.payfunc.com/";i.key="";return[2]}))}))};t.prototype.render=function(){var t=[{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(o,{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:t,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(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}())}}}));