var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,s){function c(e){try{u(n.next(e))}catch(e){s(e)}}function i(e){try{u(n["throw"](e))}catch(e){s(e)}}function u(e){e.done?t(e.value):a(e.value).then(c,i)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function i(e){return function(r){return u([e,r])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(s=c[0]&2?a["return"]:c[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,c[1])).done)return s;if(a=0,s)c=[c[0]&2,s.value];switch(c[0]){case 0:case 1:s=c;break;case 4:t.label++;return{value:c[1],done:false};case 5:t.label++;a=c[1];c=[0];continue;case 7:c=t.ops.pop();t.trys.pop();continue;default:if(!(s=t.trys,s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){t.label=c[1];break}if(c[0]===6&&t.label<s[1]){t.label=s[1];s=c;break}if(s&&t.label<s[2]){t.label=s[2];t.ops.push(c);break}if(s[2])t.ops.pop();t.trys.pop();continue}c=r.call(e,t)}catch(e){c=[6,e];a=0}finally{n=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var t=0,n=r.length,a=e.length;t<n;t++,a++)e[a]=r[t];return e};System.register(["./p-fba672db.system.js"],(function(e,r){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e("C",void 0);function n(e,t,n){return __awaiter(this,void 0,void 0,(function(){var n,a;return __generator(this,(function(s){switch(s.label){case 0:a=e;switch(a){case"authorization":return[3,1];case"verification":return[3,3];case"settlement":return[3,5];case"merchant":return[3,7];case"card":return[3,9];case"contact":return[3,11];case"customer":return[3,13];case"order":return[3,15];case"log":return[3,17];case"me":return[3,19]}return[3,21];case 1:return[4,r.import("./p-431bcd7f.system.js")];case 2:n=new(s.sent().Authorization)(t);return[3,21];case 3:return[4,r.import("./p-a214f049.system.js")];case 4:n=new(s.sent().Verification)(t);return[3,21];case 5:return[4,r.import("./p-bfa39244.system.js")];case 6:n=new(s.sent().Settlement)(t);return[3,21];case 7:return[4,r.import("./p-65808cd9.system.js")];case 8:n=new(s.sent().Merchant)(t);return[3,21];case 9:return[4,r.import("./p-e3c35da8.system.js")];case 10:n=new(s.sent().Card)(t);return[3,21];case 11:return[4,r.import("./p-034813ff.system.js")];case 12:n=new(s.sent().Contact)(t);return[3,21];case 13:return[4,r.import("./p-20a6fc36.system.js")];case 14:n=new(s.sent().Customer)(t);return[3,21];case 15:return[4,r.import("./p-afade37d.system.js")];case 16:n=new(s.sent().Order)(t);return[3,21];case 17:return[4,r.import("./p-6f9beecd.system.js")];case 18:n=new(s.sent().Log)(t);return[3,21];case 19:return[4,r.import("./p-153ae035.system.js")];case 20:n=new(s.sent().Me)(t);return[3,21];case 21:return[2,n]}}))}))}var a;(function(e){var r;(function(e){e.acquirer=["authorization","merchant","verification","settlement"];e.card=["card"];e.log=["log"];e.psp=["order","customer","me","contact"];e.values=__spreadArray(__spreadArray(__spreadArray(__spreadArray([],e.acquirer),e.card),e.log),e.psp);function r(r){return typeof r=="string"&&e.values.includes(r)}e.is=r;e.open=n})(r=e.Subset||(e.Subset={}));function a(e,n){var a=[];for(var s=2;s<arguments.length;s++){a[s-2]=arguments[s]}return __awaiter(this,void 0,void 0,(function(){var s,c,i;var u=this;return __generator(this,(function(o){switch(o.label){case 0:s=t.open(e,n);i=(c=Object).fromEntries;return[4,Promise.all(a.map((function(t){return __awaiter(u,void 0,void 0,(function(){var n;return __generator(this,(function(a){switch(a.label){case 0:n=[t];return[4,r.open(t,s,e)];case 1:return[2,n.concat([a.sent()])]}}))}))})))];case 1:return[2,i.apply(c,[o.sent()])]}}))}))}e.open=a})(a||(a=e("C",{})))}}}));