import{r as registerInstance,h}from"./index-08b73e9e.js";import{d as dist}from"./index-3cf720d3.js";import{b as Address}from"./Item-f4cbd6f4.js";import"./index-945f930d.js";import"./Credentials-b84c0c5f.js";import"./Token-ba2c5d5c.js";import"./index-a0a71287.js";import"./_commonjsHelpers-9943807e.js";import"./index-1f953d81.js";import"./TextDecoder-357ac2ce.js";var styleCss=".sc-ig-address-display-h{display:block;border-top:1px solid rgb(var(--smoothly-medium-color));border-bottom:1px solid rgb(var(--smoothly-medium-color))}";var IntergiroAddressDisplay=function(){function s(s){registerInstance(this,s)}s.prototype.render=function(){var s,r,e;var d=typeof this.value=="string"?JSON.parse(this.value):this.value;return d.countryCode==""?h("address",null,(s=d.address1)!==null&&s!==void 0?s:"",h("br",null),(r=d.address2)!==null&&r!==void 0?r:"",h("br",null),(e=d.address3)!==null&&e!==void 0?e:""):h("address",null,d.street,h("br",null),d.zipCode," ",d.city,h("br",null),Address.DE.is(d)||Address.General.is(d)&&d.state?d.state+" ":[],dist.CountryCode.Name.from("en",d.countryCode))};return s}();IntergiroAddressDisplay.style=styleCss;export{IntergiroAddressDisplay as ig_address_display};