import{a as t}from"./p-d6eb762b.js";import"./p-112455b1.js";import"./p-1ae2b158.js";var n=function(t,n,o,i){return new(o||(o=Promise))((function(r,e){function c(t){try{u(i.next(t))}catch(t){e(t)}}function s(t){try{u(i.throw(t))}catch(t){e(t)}}function u(t){var n;t.done?r(t.value):(n=t.value,n instanceof o?n:new o((function(t){t(n)}))).then(c,s)}u((i=i.apply(t,n||[])).next())}))};class o{constructor(t){this.connection=t}getPaymentOptions(t,o,i){return n(this,void 0,void 0,(function*(){return yield this.connection.get(`contact/${i}/payment-option/${t}/${o}`)}))}get(t,o,i){return n(this,void 0,void 0,(function*(){return yield this.connection.get("contact?countryCode="+i+"&identityNumber="+t+"&zipCode="+o)}))}static open(n,i){const r=t.open(n,i);return r&&new o(r)}}export{o as Contact}