New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

i18n-postal-address

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-postal-address - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

6

dist/postal-address.d.ts

@@ -14,2 +14,7 @@ import type PostalAddressInterface from './types/postal-address';

private stringParser;
/**
* If `true`, changes to one property will propagate to related properties.
* Default is `true`.
*/
private propagateToRelatedProperties;
constructor(presetState?: Partial<AddressObject> | string);

@@ -46,2 +51,3 @@ private getFormat;

setStringParser(parser: Parsers): this;
setPropagation(propagate: boolean): this;
setOutputFormat(format: OutputFormat): this;

@@ -48,0 +54,0 @@ setFormat({ country, type, useTransforms, }: {

2

dist/postal-address.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PostalAddress=e():t.PostalAddress=e()}(self,(()=>(()=>{var t={4919:function(t,e){var r,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(a="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parser:{expand_address:()=>[],parse_address:()=>[]}}})?r.apply(e,[e]):r)||(t.exports=a)},3130:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[e.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[e.capitalize]}]]}}};r.CA.default=r.CA.english,r.RS=r.HR,r.SI=r.HR,r.KP=r.KR,r.NO.default=r.NO.personal,r.SE.default=r.SE.personal,r.BO=r.AR,r.CL=r.AR,r.CO=r.AR,r.EC=r.AR,r.GY=r.AR,r.PY=r.AR,r.PE=r.AR,r.UY=r.AR,r.VE=r.AR,t.default=r})?a.apply(e,o):a)||(t.exports=n)},4961:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:e.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:e.capitalizeWhenTwo}],title:[]};t.default=r})?a.apply(e,o):a)||(t.exports=n)},5817:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseLibpostal=t.default=void 0;const r={array:function(t,e){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const a=[];return Array.isArray(e)&&e.forEach((e=>{const o=[];Array.isArray(e)&&e.forEach((e=>{if("string"==typeof e)t[e]&&o.push(t[e]);else if("object"==typeof e&&"string"==typeof e.attribute){let a=t[e.attribute];r&&Array.isArray(e.transforms)&&e.transforms.forEach((t=>{"function"==typeof t&&(a=t(a))})),a&&o.push(a)}})),o.length>0&&a.push(o)})),a},string:null};t.parseLibpostal=(t,r)=>{const a={};return Object.keys(t).forEach((o=>{const n=t[o].reduce(((t,a)=>{let o="",n=t=>t;if(r.forEach((t=>{let{component:e,value:r}=t;"string"==typeof a&&(o=e===a?r:o),"object"==typeof a&&"string"==typeof a.attribute&&(o=e===a.attribute?r:o,n=a.transform)})),o){const r=n((0,e.pascalCase)(o));t.push(r)}return t}),[]);a[o]=n.join(" ")})),a},t.default=r},void 0===(n=a.apply(e,o))||(t.exports=n)},2821:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(6028)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pascalCase=t.capitalizeWhenTwo=t.capitalize=t.addCommaAfter=void 0;t.addCommaAfter=t=>t&&"string"==typeof t?"".concat(t).concat(","):"";t.capitalize=t=>"string"==typeof t?t.toUpperCase():"";t.capitalizeWhenTwo=t=>t&&"string"==typeof t&&2===t.length?t.toUpperCase():t;t.pascalCase=t=>"string"==typeof t?t.replace(/(\w)(\w*)/g,((t,e,r)=>e.toUpperCase()+r.toLowerCase())):""})?a.apply(e,o):a)||(t.exports=n)},6698:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(7886)],void 0===(n="function"==typeof(a=function(t,e){"use strict";var a=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=a(e),t.default=e.default})?a.apply(e,o):a)||(t.exports=n)},4790:function(t,e){var r,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(a="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?r.apply(e,[e]):r)||(t.exports=a)},934:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="PostalAddressError"}}t.default=r},void 0===(n=a.apply(e,o))||(t.exports=n)},7886:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(934),r(3130),r(5817),r(6341),r(3066)],void 0===(n="function"==typeof(a=function(t,e,a,o,n,s,i){"use strict";var u=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=u(e),a=u(a),o=u(o),n=u(n);const c=(i=u(i)).default;t.default=class{constructor(t){(0,e.default)(this,"stringParser",""),this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof t?(0,s.parseStringToObject)(t,this.stringParser):(0,s.constructInitialObject)(t),this.validators={formatForCountry:t=>this.allowed.formatForCountry.includes(t),formatForType:t=>this.allowed.formatForType.includes(t),outputFormat:t=>this.allowed.outputFormat.includes(t)},this.allowed={formatForCountry:Object.keys(o.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=o.default,this.addressParsers=n.default}getFormat(t){var e,r;const{outputFormat:a,formatForCountry:o,formatForType:n,addressFormats:s}=this,i=t||a;let u=s[o];u||(u=null==s?void 0:s.US);const c=(null===(e=u)||void 0===e?void 0:e[n])||(null===(r=u)||void 0===r?void 0:r.default);return null!=c&&c[i]?c[i]:null!=c&&c.array?c.array:null}getParser(t){const{outputFormat:e,addressParsers:r}=this,a=t||e;return r[a]?r[a]:null}output(t){const{useTransforms:e}=this,r=this.getFormat(t),a=this.getParser(t);return"function"==typeof a&&r?a(this.object,r,e):null}setProperty(t,e){"string"==typeof e&&t in this.object&&"string"==typeof this.object[t]&&(this.object[t]=e)}setAddress(t){return this.setAddress1(t),this}setAddress1(t){return this.setProperty("address1",t),this.setProperty("dong",t),this}setAddress2(t){return this.setProperty("address2",t),this}setAddressNum(t){return this.setProperty("addressNum",t),this}setCity(t){return this.setProperty("city",t),this.setProperty("si",t),this}setCompanyName(t){return this.setProperty("companyName",t),this}setCountry(t){this.setProperty("country",t);const e=c[t];return e&&this.setProperty("countryAlpha2",e),this}setDo(t){return this.setProperty("do",t),this.setProperty("province",t),this}setDong(t){return this.setProperty("dong",t),this.setProperty("address1",t),this}setFirstLastName(t){return this.setProperty("firstLastName",t),this}setFirstName(t){return this.setProperty("firstName",t),this}setGu(t){return this.setProperty("gu",t),this}setHonorific(t){return this.setProperty("honorific",t),this}setJobTitle(t){return this.setProperty("jobTitle",t),this}setLastName(t){return this.setProperty("lastName",t),this.setProperty("secondLastName",t),this}setPostalCode(t){return this.setProperty("postalCode",t),this}setPrefecture(t){return this.setProperty("prefecture",t),this}setProvince(t){return this.setProperty("province",t),this.setProperty("do",t),this}setRegion(t){return this.setProperty("region",t),this}setRepublic(t){return this.setProperty("republic",t),this}setSecondLastName(t){return this.setProperty("secondLastName",t),this.setProperty("lastName",t),this}setSecondName(t){return this.setProperty("secondName",t),this}setSi(t){return this.setProperty("si",t),this.setProperty("city",t),this}setState(t){return this.setProperty("state",t),this}setTitle(t){return this.setProperty("title",t),this}setStringParser(t){return this.stringParser=t,this}setOutputFormat(t){return this.outputFormat=(0,s.parseValidator)(this.outputFormat,t,this.validators.outputFormat),this}setFormat(t){let{country:e,type:r,useTransforms:a}=t;return"string"==typeof e&&(this.formatForCountry=(0,s.parseValidator)(this.formatForCountry,e,this.validators.formatForCountry)),"string"==typeof r&&(this.formatForType=(0,s.parseValidator)(this.formatForType,r,this.validators.formatForType)),"boolean"==typeof a&&(this.useTransforms=a),this}addFormat(t){let{country:e,format:r,parser:o="array",type:n="default"}=t;if(!e)throw new a.default("Country is not specified, but is required");if("string"!=typeof e||2!==e.length)throw new a.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new a.default("Format is not specified, but is required");if(!(0,s.isValidFormat)(r,o))throw new a.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,s.containsValidTokens)(r,o))throw new a.default("Format contains invalid tokens");const i=e.toUpperCase();return this.addressFormats={...this.addressFormats,[i]:{[n]:{[o]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(t){return this.object=(0,s.constructInitialObject)(t),this}fromString(t){return this.object=(0,s.parseStringToObject)(t,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const t=this.toArray();return null!=t&&t.length?t.map((t=>t.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?a.apply(e,o):a)||(t.exports=n)},4102:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(4919),r(934),r(4961),r(5817)],void 0===(n="function"==typeof(a=function(t,e,a,o,n,s){"use strict";var i=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=i(e),a=i(a),o=i(o),n=i(n);t.default=class{constructor(t){if((0,e.default)(this,"previousInput",""),(0,e.default)(this,"previousOutput",{}),null==t||!t.parser)throw new o.default("No parser specified");this.parser=t.parser}parse(t){if(!t)throw new o.default("No input specified to parse");if(this.previousInput===t)return this.previousOutput;switch(this.parser){case"libpostal":{const e=a.default.parser.parse_address(t);this.previousOutput=(0,s.parseLibpostal)(n.default,e);break}default:throw new o.default("Unsupported parser: ".concat(this.parser))}return this.previousOutput}}})?a.apply(e,o):a)||(t.exports=n)},6341:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431),r(4102),r(934),r(4790)],a=function(t,e,a,o,n){"use strict";var s=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.parseValidator=t.parseStringToObject=t.isValidFormat=t.containsValidTokens=t.constructInitialObject=t.allowedTokens=void 0,a=s(a),o=s(o),n=s(n);const i=t.allowedTokens=Object.keys(n.default);t.constructInitialObject=t=>{const e={...n.default};return Object.entries(t||{}).forEach((t=>{let[r,a]=t;r in e&&"string"==typeof a&&(e[r]=a)})),e};t.parseStringToObject=(t,e)=>{throw n.default,new o.default("This feature is not supported in your environment")};t.parseValidator=(t,e,r)=>"function"==typeof r?r(e)?e:t:e;t.containsValidTokens=function(t){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(t))&&t.every((t=>t.every((t=>{const e="object"==typeof t?t.attribute:t;return i.includes(e)}))))};t.isValidFormat=function(t){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(t)){const[e]=t;if(Array.isArray(e)){const[t]=e;if("string"==typeof t)return!0;if("object"==typeof t&&"string"==typeof t.attribute)return!0}}return!1}},void 0===(n=a.apply(e,o))||(t.exports=n)},3231:(t,e,r)=>{var a=r(4040);t.exports=function(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},3203:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6027:(t,e,r)=>{var a=r(7501).default;t.exports=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4040:(t,e,r)=>{var a=r(7501).default,o=r(6027);t.exports=function(t){var e=o(t,"string");return"symbol"==a(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},1575:(t,e,r)=>{"use strict";var a=r(5893),o=r(5545),n=TypeError;t.exports=function(t){if(a(t))return t;throw new n(o(t)+" is not a function")}},9272:(t,e,r)=>{"use strict";var a=r(545),o=String,n=TypeError;t.exports=function(t){if(a(t))return t;throw new n("Can't set "+o(t)+" as a prototype")}},9408:(t,e,r)=>{"use strict";var a=r(7936),o=r(9464),n=r(7144).f,s=a("unscopables"),i=Array.prototype;void 0===i[s]&&n(i,s,{configurable:!0,value:o(null)}),t.exports=function(t){i[s][t]=!0}},9384:(t,e,r)=>{"use strict";var a=r(8373).charAt;t.exports=function(t,e,r){return e+(r?a(t,e).length:1)}},9972:(t,e,r)=>{"use strict";var a=r(5287),o=String,n=TypeError;t.exports=function(t){if(a(t))return t;throw new n(o(t)+" is not an object")}},2971:(t,e,r)=>{"use strict";var a=r(9405),o=r(9961),n=r(9969),s=function(t){return function(e,r,s){var i,u=a(e),c=n(u),l=o(s,c);if(t&&r!=r){for(;c>l;)if((i=u[l++])!=i)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3048:(t,e,r)=>{"use strict";var a=r(6406),o=a({}.toString),n=a("".slice);t.exports=function(t){return n(o(t),8,-1)}},5683:(t,e,r)=>{"use strict";var a=r(6623),o=r(5893),n=r(3048),s=r(7936)("toStringTag"),i=Object,u="Arguments"===n(function(){return arguments}());t.exports=a?n:function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=i(t),s))?r:u?n(e):"Object"===(a=n(e))&&o(e.callee)?"Arguments":a}},779:(t,e,r)=>{"use strict";var a=r(4130),o=r(6627),n=r(10),s=r(7144);t.exports=function(t,e,r){for(var i=o(e),u=s.f,c=n.f,l=0;l<i.length;l++){var d=i[l];a(t,d)||r&&a(r,d)||u(t,d,c(e,d))}}},9494:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4160:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},9251:(t,e,r)=>{"use strict";var a=r(3877),o=r(7144),n=r(9637);t.exports=a?function(t,e,r){return o.f(t,e,n(1,r))}:function(t,e,r){return t[e]=r,t}},9637:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7205:(t,e,r)=>{"use strict";var a=r(5893),o=r(7144),n=r(3911),s=r(3630);t.exports=function(t,e,r,i){i||(i={});var u=i.enumerable,c=void 0!==i.name?i.name:e;if(a(r)&&n(r,c,i),i.global)u?t[e]=r:s(e,r);else{try{i.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},3630:(t,e,r)=>{"use strict";var a=r(7802),o=Object.defineProperty;t.exports=function(t,e){try{o(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e}},3877:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9800:(t,e,r)=>{"use strict";var a=r(7802),o=r(5287),n=a.document,s=o(n)&&o(n.createElement);t.exports=function(t){return s?n.createElement(t):{}}},3136:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2823:(t,e,r)=>{"use strict";var a=r(9800)("span").classList,o=a&&a.constructor&&a.constructor.prototype;t.exports=o===Object.prototype?void 0:o},2626:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7245:(t,e,r)=>{"use strict";var a,o,n=r(7802),s=r(2626),i=n.process,u=n.Deno,c=i&&i.versions||u&&u.version,l=c&&c.v8;l&&(o=(a=l.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!o&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(o=+a[1]),t.exports=o},4286:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2390:(t,e,r)=>{"use strict";var a=r(7802),o=r(10).f,n=r(9251),s=r(7205),i=r(3630),u=r(779),c=r(5031);t.exports=function(t,e){var r,l,d,f,p,y=t.target,m=t.global,h=t.stat;if(r=m?a:h?a[y]||i(y,{}):a[y]&&a[y].prototype)for(l in e){if(f=e[l],d=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(m?l:y+(h?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(t.sham||d&&d.sham)&&n(f,"sham",!0),s(r,l,f,t)}}},5306:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},3282:(t,e,r)=>{"use strict";r(9139);var a=r(1550),o=r(7205),n=r(3351),s=r(5306),i=r(7936),u=r(9251),c=i("species"),l=RegExp.prototype;t.exports=function(t,e,r,d){var f=i(t),p=!s((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),y=p&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return e=!0,null},r[f](""),!e}));if(!p||!y||r){var m=/./[f],h=e(f,""[t],(function(t,e,r,o,s){var i=e.exec;return i===n||i===l.exec?p&&!s?{done:!0,value:a(m,e,r,o)}:{done:!0,value:a(t,r,e,o)}:{done:!1}}));o(String.prototype,t,h[0]),o(l,f,h[1])}d&&u(l[f],"sham",!0)}},6415:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,n=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(a?s.bind(n):function(){return s.apply(n,arguments)})},7219:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1550:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype.call;t.exports=a?o.bind(o):function(){return o.apply(o,arguments)}},9656:(t,e,r)=>{"use strict";var a=r(3877),o=r(4130),n=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,i=o(n,"name"),u=i&&"something"===function(){}.name,c=i&&(!a||a&&s(n,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:c}},8692:(t,e,r)=>{"use strict";var a=r(6406),o=r(1575);t.exports=function(t,e,r){try{return a(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6406:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,n=o.call,s=a&&o.bind.bind(n,n);t.exports=a?s:function(t){return function(){return n.apply(t,arguments)}}},1570:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893);t.exports=function(t,e){return arguments.length<2?(r=a[t],o(r)?r:void 0):a[t]&&a[t][e];var r}},6628:(t,e,r)=>{"use strict";var a=r(1575),o=r(7707);t.exports=function(t,e){var r=t[e];return o(r)?void 0:a(r)}},5338:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),n=Math.floor,s=a("".charAt),i=a("".replace),u=a("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,a,d,f){var p=r+t.length,y=a.length,m=l;return void 0!==d&&(d=o(d),m=c),i(f,m,(function(o,i){var c;switch(s(i,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=d[u(i,1,-1)];break;default:var l=+i;if(0===l)return o;if(l>y){var f=n(l/10);return 0===f?o:f<=y?void 0===a[f-1]?s(i,1):a[f-1]+s(i,1):o}c=a[l-1]}return void 0===c?"":c}))}},7802:function(t,e,r){"use strict";var a=function(t){return t&&t.Math===Math&&t};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r.g&&r.g)||a("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4130:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),n=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return n(o(t),e)}},3421:t=>{"use strict";t.exports={}},2343:(t,e,r)=>{"use strict";var a=r(1570);t.exports=a("document","documentElement")},3075:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306),n=r(9800);t.exports=!a&&!o((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))},5366:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),n=r(3048),s=Object,i=a("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===n(t)?i(t,""):s(t)}:s},5088:(t,e,r)=>{"use strict";var a=r(6406),o=r(5893),n=r(4830),s=a(Function.toString);o(n.inspectSource)||(n.inspectSource=function(t){return s(t)}),t.exports=n.inspectSource},9930:(t,e,r)=>{"use strict";var a,o,n,s=r(5585),i=r(7802),u=r(5287),c=r(9251),l=r(4130),d=r(4830),f=r(139),p=r(3421),y="Object already initialized",m=i.TypeError,h=i.WeakMap;if(s||d.state){var v=d.state||(d.state=new h);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw new m(y);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},n=function(t){return v.has(t)}}else{var b=f("state");p[b]=!0,a=function(t,e){if(l(t,b))throw new m(y);return e.facade=t,c(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},n=function(t){return l(t,b)}}t.exports={set:a,get:o,has:n,enforce:function(t){return n(t)?o(t):a(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},5893:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},5031:(t,e,r)=>{"use strict";var a=r(5306),o=r(5893),n=/#|\.prototype\./,s=function(t,e){var r=u[i(t)];return r===l||r!==c&&(o(e)?a(e):!!e)},i=s.normalize=function(t){return String(t).replace(n,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},7707:t=>{"use strict";t.exports=function(t){return null==t}},5287:(t,e,r)=>{"use strict";var a=r(5893);t.exports=function(t){return"object"==typeof t?null!==t:a(t)}},545:(t,e,r)=>{"use strict";var a=r(5287);t.exports=function(t){return a(t)||null===t}},99:t=>{"use strict";t.exports=!1},103:(t,e,r)=>{"use strict";var a=r(1570),o=r(5893),n=r(2075),s=r(345),i=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return o(e)&&n(e.prototype,i(t))}},3691:(t,e,r)=>{"use strict";var a=r(4760).IteratorPrototype,o=r(9464),n=r(9637),s=r(3581),i=r(9921),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(a,{next:n(+!c,r)}),s(t,l,!1,!0),i[l]=u,t}},7227:(t,e,r)=>{"use strict";var a=r(2390),o=r(1550),n=r(99),s=r(9656),i=r(5893),u=r(3691),c=r(6900),l=r(1126),d=r(3581),f=r(9251),p=r(7205),y=r(7936),m=r(9921),h=r(4760),v=s.PROPER,b=s.CONFIGURABLE,g=h.IteratorPrototype,N=h.BUGGY_SAFARI_ITERATORS,x=y("iterator"),S="keys",C="values",T="entries",P=function(){return this};t.exports=function(t,e,r,s,y,h,A){u(r,e,s);var O,w,M,j=function(t){if(t===y&&L)return L;if(!N&&t&&t in E)return E[t];switch(t){case S:case C:case T:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",R=!1,E=t.prototype,F=E[x]||E["@@iterator"]||y&&E[y],L=!N&&F||j(y),_="Array"===e&&E.entries||F;if(_&&(O=c(_.call(new t)))!==Object.prototype&&O.next&&(n||c(O)===g||(l?l(O,g):i(O[x])||p(O,x,P)),d(O,I,!0,!0),n&&(m[I]=P)),v&&y===C&&F&&F.name!==C&&(!n&&b?f(E,"name",C):(R=!0,L=function(){return o(F,this)})),y)if(w={values:j(C),keys:h?L:j(S),entries:j(T)},A)for(M in w)(N||R||!(M in E))&&p(E,M,w[M]);else a({target:e,proto:!0,forced:N||R},w);return n&&!A||E[x]===L||p(E,x,L,{name:y}),m[e]=L,w}},4760:(t,e,r)=>{"use strict";var a,o,n,s=r(5306),i=r(5893),u=r(5287),c=r(9464),l=r(6900),d=r(7205),f=r(7936),p=r(99),y=f("iterator"),m=!1;[].keys&&("next"in(n=[].keys())?(o=l(l(n)))!==Object.prototype&&(a=o):m=!0),!u(a)||s((function(){var t={};return a[y].call(t)!==t}))?a={}:p&&(a=c(a)),i(a[y])||d(a,y,(function(){return this})),t.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:m}},9921:t=>{"use strict";t.exports={}},9969:(t,e,r)=>{"use strict";var a=r(9099);t.exports=function(t){return a(t.length)}},3911:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),n=r(5893),s=r(4130),i=r(3877),u=r(9656).CONFIGURABLE,c=r(5088),l=r(9930),d=l.enforce,f=l.get,p=String,y=Object.defineProperty,m=a("".slice),h=a("".replace),v=a([].join),b=i&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),N=t.exports=function(t,e,r){"Symbol("===m(p(e),0,7)&&(e="["+h(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(i?y(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&s(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?i&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=d(t);return s(a,"source")||(a.source=v(g,"string"==typeof e?e:"")),t};Function.prototype.toString=N((function(){return n(this)&&f(this).source||c(this)}),"toString")},1402:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?r:e)(a)}},9464:(t,e,r)=>{"use strict";var a,o=r(9972),n=r(3872),s=r(4286),i=r(3421),u=r(2343),c=r(9800),l=r(139),d="prototype",f="script",p=l("IE_PROTO"),y=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},h=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&a?h(a):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):h(a);for(var o=s.length;o--;)delete v[d][s[o]];return v()};i[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[p]=t):r=v(),void 0===e?r:n.f(r,e)}},3872:(t,e,r)=>{"use strict";var a=r(3877),o=r(7475),n=r(7144),s=r(9972),i=r(9405),u=r(1008);e.f=a&&!o?Object.defineProperties:function(t,e){s(t);for(var r,a=i(e),o=u(e),c=o.length,l=0;c>l;)n.f(t,r=o[l++],a[r]);return t}},7144:(t,e,r)=>{"use strict";var a=r(3877),o=r(3075),n=r(7475),s=r(9972),i=r(3662),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";e.f=a?n?function(t,e,r){if(s(t),e=i(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var a=l(t,e);a&&a[p]&&(t[e]=r.value,r={configurable:f in r?r[f]:a[f],enumerable:d in r?r[d]:a[d],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=i(e),s(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},10:(t,e,r)=>{"use strict";var a=r(3877),o=r(1550),n=r(1940),s=r(9637),i=r(9405),u=r(3662),c=r(4130),l=r(3075),d=Object.getOwnPropertyDescriptor;e.f=a?d:function(t,e){if(t=i(t),e=u(e),l)try{return d(t,e)}catch(t){}if(c(t,e))return s(!o(n.f,t,e),t[e])}},7397:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},6855:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},6900:(t,e,r)=>{"use strict";var a=r(4130),o=r(5893),n=r(5864),s=r(139),i=r(9494),u=s("IE_PROTO"),c=Object,l=c.prototype;t.exports=i?c.getPrototypeOf:function(t){var e=n(t);if(a(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},2075:(t,e,r)=>{"use strict";var a=r(6406);t.exports=a({}.isPrototypeOf)},5079:(t,e,r)=>{"use strict";var a=r(6406),o=r(4130),n=r(9405),s=r(2971).indexOf,i=r(3421),u=a([].push);t.exports=function(t,e){var r,a=n(t),c=0,l=[];for(r in a)!o(i,r)&&o(a,r)&&u(l,r);for(;e.length>c;)o(a,r=e[c++])&&(~s(l,r)||u(l,r));return l}},1008:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286);t.exports=Object.keys||function(t){return a(t,o)}},1940:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},1126:(t,e,r)=>{"use strict";var a=r(8692),o=r(9972),n=r(9272);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=a(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,a){return o(r),n(a),e?t(r,a):r.__proto__=a,r}}():void 0)},1253:(t,e,r)=>{"use strict";var a=r(1550),o=r(5893),n=r(5287),s=TypeError;t.exports=function(t,e){var r,i;if("string"===e&&o(r=t.toString)&&!n(i=a(r,t)))return i;if(o(r=t.valueOf)&&!n(i=a(r,t)))return i;if("string"!==e&&o(r=t.toString)&&!n(i=a(r,t)))return i;throw new s("Can't convert object to primitive value")}},6627:(t,e,r)=>{"use strict";var a=r(1570),o=r(6406),n=r(7397),s=r(6855),i=r(9972),u=o([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=n.f(i(t)),r=s.f;return r?u(e,r(t)):e}},7771:(t,e,r)=>{"use strict";var a=r(1550),o=r(9972),n=r(5893),s=r(3048),i=r(3351),u=TypeError;t.exports=function(t,e){var r=t.exec;if(n(r)){var c=a(r,t,e);return null!==c&&o(c),c}if("RegExp"===s(t))return a(i,t,e);throw new u("RegExp#exec called on incompatible receiver")}},3351:(t,e,r)=>{"use strict";var a,o,n=r(1550),s=r(6406),i=r(2755),u=r(3137),c=r(9688),l=r(9231),d=r(9464),f=r(9930).get,p=r(8880),y=r(2901),m=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,b=s("".charAt),g=s("".indexOf),N=s("".replace),x=s("".slice),S=(o=/b*/g,n(h,a=/a/,"a"),n(h,o,"a"),0!==a.lastIndex||0!==o.lastIndex),C=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(S||T||C||p||y)&&(v=function(t){var e,r,a,o,s,c,l,p=this,y=f(p),P=i(t),A=y.raw;if(A)return A.lastIndex=p.lastIndex,e=n(v,A,P),p.lastIndex=A.lastIndex,e;var O=y.groups,w=C&&p.sticky,M=n(u,p),j=p.source,I=0,R=P;if(w&&(M=N(M,"y",""),-1===g(M,"g")&&(M+="g"),R=x(P,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b(P,p.lastIndex-1))&&(j="(?: "+j+")",R=" "+R,I++),r=new RegExp("^(?:"+j+")",M)),T&&(r=new RegExp("^"+j+"$(?!\\s)",M)),S&&(a=p.lastIndex),o=n(h,w?r:p,R),w?o?(o.input=x(o.input,I),o[0]=x(o[0],I),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:a),T&&o&&o.length>1&&n(m,o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&O)for(o.groups=c=d(null),s=0;s<O.length;s++)c[(l=O[s])[0]]=o[l[1]];return o}),t.exports=v},3137:(t,e,r)=>{"use strict";var a=r(9972);t.exports=function(){var t=a(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},9688:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp,n=a((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),s=n||a((function(){return!o("a","y").sticky})),i=n||a((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:i,MISSED_STICKY:s,UNSUPPORTED_Y:n}},8880:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},2901:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},6762:(t,e,r)=>{"use strict";var a=r(7707),o=TypeError;t.exports=function(t){if(a(t))throw new o("Can't call method on "+t);return t}},3581:(t,e,r)=>{"use strict";var a=r(7144).f,o=r(4130),n=r(7936)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,n)&&a(t,n,{configurable:!0,value:e})}},139:(t,e,r)=>{"use strict";var a=r(9231),o=r(6350),n=a("keys");t.exports=function(t){return n[t]||(n[t]=o(t))}},4830:(t,e,r)=>{"use strict";var a=r(7802),o=r(3630),n="__core-js_shared__",s=a[n]||o(n,{});t.exports=s},9231:(t,e,r)=>{"use strict";var a=r(99),o=r(4830);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:a?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8373:(t,e,r)=>{"use strict";var a=r(6406),o=r(5930),n=r(2755),s=r(6762),i=a("".charAt),u=a("".charCodeAt),c=a("".slice),l=function(t){return function(e,r){var a,l,d=n(s(e)),f=o(r),p=d.length;return f<0||f>=p?t?"":void 0:(a=u(d,f))<55296||a>56319||f+1===p||(l=u(d,f+1))<56320||l>57343?t?i(d,f):a:t?c(d,f,f+2):l-56320+(a-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4053:(t,e,r)=>{"use strict";var a=r(7245),o=r(5306),n=r(7802).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},9961:(t,e,r)=>{"use strict";var a=r(5930),o=Math.max,n=Math.min;t.exports=function(t,e){var r=a(t);return r<0?o(r+e,0):n(r,e)}},9405:(t,e,r)=>{"use strict";var a=r(5366),o=r(6762);t.exports=function(t){return a(o(t))}},5930:(t,e,r)=>{"use strict";var a=r(1402);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},9099:(t,e,r)=>{"use strict";var a=r(5930),o=Math.min;t.exports=function(t){var e=a(t);return e>0?o(e,9007199254740991):0}},5864:(t,e,r)=>{"use strict";var a=r(6762),o=Object;t.exports=function(t){return o(a(t))}},6090:(t,e,r)=>{"use strict";var a=r(1550),o=r(5287),n=r(103),s=r(6628),i=r(1253),u=r(7936),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||n(t))return t;var r,u=s(t,l);if(u){if(void 0===e&&(e="default"),r=a(u,t,e),!o(r)||n(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},3662:(t,e,r)=>{"use strict";var a=r(6090),o=r(103);t.exports=function(t){var e=a(t,"string");return o(e)?e:e+""}},6623:(t,e,r)=>{"use strict";var a={};a[r(7936)("toStringTag")]="z",t.exports="[object z]"===String(a)},2755:(t,e,r)=>{"use strict";var a=r(5683),o=String;t.exports=function(t){if("Symbol"===a(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},5545:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6350:(t,e,r)=>{"use strict";var a=r(6406),o=0,n=Math.random(),s=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+n,36)}},345:(t,e,r)=>{"use strict";var a=r(4053);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7475:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306);t.exports=a&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5585:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893),n=a.WeakMap;t.exports=o(n)&&/native code/.test(String(n))},7936:(t,e,r)=>{"use strict";var a=r(7802),o=r(9231),n=r(4130),s=r(6350),i=r(4053),u=r(345),c=a.Symbol,l=o("wks"),d=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return n(l,t)||(l[t]=i&&n(c,t)?c[t]:d("Symbol."+t)),l[t]}},3227:(t,e,r)=>{"use strict";var a=r(9405),o=r(9408),n=r(9921),s=r(9930),i=r(7144).f,u=r(7227),c=r(4160),l=r(99),d=r(3877),f="Array Iterator",p=s.set,y=s.getterFor(f);t.exports=u(Array,"Array",(function(t,e){p(this,{type:f,target:a(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var m=n.Arguments=n.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==m.name)try{i(m,"name",{value:"values"})}catch(t){}},9139:(t,e,r)=>{"use strict";var a=r(2390),o=r(3351);a({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},6028:(t,e,r)=>{"use strict";var a=r(6415),o=r(1550),n=r(6406),s=r(3282),i=r(5306),u=r(9972),c=r(5893),l=r(7707),d=r(5930),f=r(9099),p=r(2755),y=r(6762),m=r(9384),h=r(6628),v=r(5338),b=r(7771),g=r(7936)("replace"),N=Math.max,x=Math.min,S=n([].concat),C=n([].push),T=n("".indexOf),P=n("".slice),A="$0"==="a".replace(/./,"$0"),O=!!/./[g]&&""===/./[g]("a","$0");s("replace",(function(t,e,r){var n=O?"$":"$0";return[function(t,r){var a=y(this),n=l(t)?void 0:h(t,g);return n?o(n,t,a,r):o(e,p(a),t,r)},function(t,o){var s=u(this),i=p(t);if("string"==typeof o&&-1===T(o,n)&&-1===T(o,"$<")){var l=r(e,s,i,o);if(l.done)return l.value}var y=c(o);y||(o=p(o));var h,g=s.global;g&&(h=s.unicode,s.lastIndex=0);for(var A,O=[];null!==(A=b(s,i))&&(C(O,A),g);)""===p(A[0])&&(s.lastIndex=m(i,f(s.lastIndex),h));for(var w,M="",j=0,I=0;I<O.length;I++){for(var R,E=p((A=O[I])[0]),F=N(x(d(A.index),i.length),0),L=[],_=1;_<A.length;_++)C(L,void 0===(w=A[_])?w:String(w));var G=A.groups;if(y){var B=S([E],L,F,i);void 0!==G&&C(B,G),R=p(a(o,void 0,B))}else R=v(E,i,F,L,G,o);F>=j&&(M+=P(i,j,F)+R,j=F+E.length)}return M+P(i,j)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!A||O)},1431:(t,e,r)=>{"use strict";var a=r(7802),o=r(3136),n=r(2823),s=r(3227),i=r(9251),u=r(3581),c=r(7936)("iterator"),l=s.values,d=function(t,e){if(t){if(t[c]!==l)try{i(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),o[e])for(var r in s)if(t[r]!==s[r])try{i(t,r,s[r])}catch(e){t[r]=s[r]}}};for(var f in o)d(a[f]&&a[f].prototype,f);d(n,"DOMTokenList")},3066:t=>{"use strict";t.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},e={};function r(a){var o=e[a];if(void 0!==o)return o.exports;var n=e[a]={exports:{}};return t[a].call(n.exports,n,n.exports,r),n.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(6698)})()));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PostalAddress=t():e.PostalAddress=t()}(this,(()=>{return e={753:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={parser:{expand_address:()=>[],parse_address:()=>[]}}})?a.apply(t,[t]):a)||(e.exports=r)},272:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[t.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[t.capitalize]}]]}}};a.CA.default=a.CA.english,a.RS=a.HR,a.SI=a.HR,a.KP=a.KR,a.NO.default=a.NO.personal,a.SE.default=a.SE.personal,a.BO=a.AR,a.CL=a.AR,a.CO=a.AR,a.EC=a.AR,a.GY=a.AR,a.PY=a.AR,a.PE=a.AR,a.UY=a.AR,a.VE=a.AR,e.default=a})?r.apply(t,s):r)||(e.exports=o)},545:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:t.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:t.capitalizeWhenTwo}],title:[]};e.default=a})?r.apply(t,s):r)||(e.exports=o)},24:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLibpostal=e.default=void 0;const a={array:function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];return Array.isArray(t)&&t.forEach((t=>{const s=[];Array.isArray(t)&&t.forEach((t=>{if("string"==typeof t)e[t]&&s.push(e[t]);else if("object"==typeof t&&"string"==typeof t.attribute){let r=e[t.attribute];a&&Array.isArray(t.transforms)&&t.transforms.forEach((e=>{"function"==typeof e&&(r=e(r))})),r&&s.push(r)}})),s.length>0&&r.push(s)})),r},string:null};e.parseLibpostal=(e,a)=>{const r={};return Object.keys(e).forEach((s=>{const o=e[s].reduce(((e,r)=>{let s="",o=e=>e;if(a.forEach((e=>{let{component:t,value:a}=e;"string"==typeof r&&(s=t===r?a:s),"object"==typeof r&&"string"==typeof r.attribute&&(s=t===r.attribute?a:s,o=r.transform)})),s){const a=o((0,t.pascalCase)(s));e.push(a)}return e}),[]);r[s]=o.join(" ")})),r},e.default=a},void 0===(o=r.apply(t,s))||(e.exports=o)},903:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pascalCase=e.capitalizeWhenTwo=e.capitalize=e.addCommaAfter=void 0;e.addCommaAfter=e=>e&&"string"==typeof e?`${e},`:"";e.capitalize=e=>"string"==typeof e?e.toUpperCase():"";e.capitalizeWhenTwo=e=>e&&"string"==typeof e&&2===e.length?e.toUpperCase():e;e.pascalCase=e=>"string"==typeof e?e.replace(/(\w)(\w*)/g,((e,t,a)=>t.toUpperCase()+a.toLowerCase())):""})?a.apply(t,[t]):a)||(e.exports=r)},61:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(279)],void 0===(o="function"==typeof(r=function(e,t){"use strict";var r=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=r(t),e.default=t.default})?r.apply(t,s):r)||(e.exports=o)},951:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?a.apply(t,[t]):a)||(e.exports=r)},164:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class t extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="PostalAddressError"}}e.default=t},void 0===(r=a.apply(t,[t]))||(e.exports=r)},279:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(164),a(272),a(24),a(428),a(51)],void 0===(o="function"==typeof(r=function(e,t,r,s,o,i){"use strict";var n=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=n(t),r=n(r),s=n(s);const d=(i=n(i)).default;e.default=class{stringParser="";propagateToRelatedProperties=!0;constructor(e){this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof e?(0,o.parseStringToObject)(e,this.stringParser):(0,o.constructInitialObject)(e),this.validators={formatForCountry:e=>this.allowed.formatForCountry.includes(e),formatForType:e=>this.allowed.formatForType.includes(e),outputFormat:e=>this.allowed.outputFormat.includes(e)},this.allowed={formatForCountry:Object.keys(r.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=r.default,this.addressParsers=s.default}getFormat(e){var t,a;const{outputFormat:r,formatForCountry:s,formatForType:o,addressFormats:i}=this,n=e||r;let d=i[s];d||(d=null==i?void 0:i.US);const l=(null===(t=d)||void 0===t?void 0:t[o])||(null===(a=d)||void 0===a?void 0:a.default);return null!=l&&l[n]?l[n]:null!=l&&l.array?l.array:null}getParser(e){const{outputFormat:t,addressParsers:a}=this,r=e||t;return a[r]?a[r]:null}output(e){const{useTransforms:t}=this,a=this.getFormat(e),r=this.getParser(e);return"function"==typeof r&&a?r(this.object,a,t):null}setProperty(e,t){"string"==typeof t&&e in this.object&&"string"==typeof this.object[e]&&(this.object[e]=t)}setAddress(e){return this.setAddress1(e),this}setAddress1(e){return this.setProperty("address1",e),this.propagateToRelatedProperties&&this.setProperty("dong",e),this}setAddress2(e){return this.setProperty("address2",e),this}setAddressNum(e){return this.setProperty("addressNum",e),this}setCity(e){return this.setProperty("city",e),this.propagateToRelatedProperties&&this.setProperty("si",e),this}setCompanyName(e){return this.setProperty("companyName",e),this}setCountry(e){if(this.setProperty("country",e),this.propagateToRelatedProperties){const t=d[e];t&&this.setProperty("countryAlpha2",t)}return this}setDo(e){return this.setProperty("do",e),this.propagateToRelatedProperties&&this.setProperty("province",e),this}setDong(e){return this.setProperty("dong",e),this.propagateToRelatedProperties&&this.setProperty("address1",e),this}setFirstLastName(e){return this.setProperty("firstLastName",e),this}setFirstName(e){return this.setProperty("firstName",e),this}setGu(e){return this.setProperty("gu",e),this}setHonorific(e){return this.setProperty("honorific",e),this}setJobTitle(e){return this.setProperty("jobTitle",e),this}setLastName(e){return this.setProperty("lastName",e),this.propagateToRelatedProperties&&this.setProperty("secondLastName",e),this}setPostalCode(e){return this.setProperty("postalCode",e),this}setPrefecture(e){return this.setProperty("prefecture",e),this}setProvince(e){return this.setProperty("province",e),this.propagateToRelatedProperties&&this.setProperty("do",e),this}setRegion(e){return this.setProperty("region",e),this}setRepublic(e){return this.setProperty("republic",e),this}setSecondLastName(e){return this.setProperty("secondLastName",e),this.propagateToRelatedProperties&&this.setProperty("lastName",e),this}setSecondName(e){return this.setProperty("secondName",e),this}setSi(e){return this.setProperty("si",e),this.propagateToRelatedProperties&&this.setProperty("city",e),this}setState(e){return this.setProperty("state",e),this}setTitle(e){return this.setProperty("title",e),this}setStringParser(e){return this.stringParser=e,this}setPropagation(e){return this.propagateToRelatedProperties=e,this}setOutputFormat(e){return this.outputFormat=(0,o.parseValidator)(this.outputFormat,e,this.validators.outputFormat),this}setFormat(e){let{country:t,type:a,useTransforms:r}=e;return"string"==typeof t&&(this.formatForCountry=(0,o.parseValidator)(this.formatForCountry,t,this.validators.formatForCountry)),"string"==typeof a&&(this.formatForType=(0,o.parseValidator)(this.formatForType,a,this.validators.formatForType)),"boolean"==typeof r&&(this.useTransforms=r),this}addFormat(e){let{country:a,format:r,parser:s="array",type:i="default"}=e;if(!a)throw new t.default("Country is not specified, but is required");if("string"!=typeof a||2!==a.length)throw new t.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new t.default("Format is not specified, but is required");if(!(0,o.isValidFormat)(r,s))throw new t.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,o.containsValidTokens)(r,s))throw new t.default("Format contains invalid tokens");const n=a.toUpperCase();return this.addressFormats={...this.addressFormats,[n]:{[i]:{[s]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(e){return this.object=(0,o.constructInitialObject)(e),this}fromString(e){return this.object=(0,o.parseStringToObject)(e,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const e=this.toArray();return null!=e&&e.length?e.map((e=>e.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?r.apply(t,s):r)||(e.exports=o)},202:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(753),a(164),a(545),a(24)],void 0===(o="function"==typeof(r=function(e,t,r,s,o){"use strict";var i=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=i(t),r=i(r),s=i(s);e.default=class{previousInput="";previousOutput={};constructor(e){if(null==e||!e.parser)throw new r.default("No parser specified");this.parser=e.parser}parse(e){if(!e)throw new r.default("No input specified to parse");if(this.previousInput===e)return this.previousOutput;switch(this.parser){case"libpostal":{const a=t.default.parser.parse_address(e);this.previousOutput=(0,o.parseLibpostal)(s.default,a);break}default:throw new r.default(`Unsupported parser: ${this.parser}`)}return this.previousOutput}}})?r.apply(t,s):r)||(e.exports=o)},428:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(202),a(164),a(951)],r=function(e,t,r,s){"use strict";var o=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.parseValidator=e.parseStringToObject=e.isValidFormat=e.containsValidTokens=e.constructInitialObject=e.allowedTokens=void 0,t=o(t),r=o(r),s=o(s);const i=e.allowedTokens=Object.keys(s.default);e.constructInitialObject=e=>{const t={...s.default};return Object.entries(e||{}).forEach((e=>{let[a,r]=e;a in t&&"string"==typeof r&&(t[a]=r)})),t};e.parseStringToObject=(e,t)=>{throw s.default,new r.default("This feature is not supported in your environment")};e.parseValidator=(e,t,a)=>"function"==typeof a?a(t)?t:e:t;e.containsValidTokens=function(e){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(e))&&e.every((e=>e.every((e=>{const t="object"==typeof e?e.attribute:e;return i.includes(t)}))))};e.isValidFormat=function(e){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(e)){const[t]=e;if(Array.isArray(t)){const[e]=t;if("string"==typeof e)return!0;if("object"==typeof e&&"string"==typeof e.attribute)return!0}}return!1}},void 0===(o=r.apply(t,s))||(e.exports=o)},784:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},51:e=>{"use strict";e.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},t={},function a(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.exports}(61);var e,t}));

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PostalAddress=e():t.PostalAddress=e()}(this,(()=>{return t={4919:function(t,e){var r,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(a="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parser:{expand_address:()=>[],parse_address:()=>[]}}})?r.apply(e,[e]):r)||(t.exports=a)},3130:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[e.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[e.capitalize]}]]}}};r.CA.default=r.CA.english,r.RS=r.HR,r.SI=r.HR,r.KP=r.KR,r.NO.default=r.NO.personal,r.SE.default=r.SE.personal,r.BO=r.AR,r.CL=r.AR,r.CO=r.AR,r.EC=r.AR,r.GY=r.AR,r.PY=r.AR,r.PE=r.AR,r.UY=r.AR,r.VE=r.AR,t.default=r})?a.apply(e,o):a)||(t.exports=n)},4961:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:e.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:e.capitalizeWhenTwo}],title:[]};t.default=r})?a.apply(e,o):a)||(t.exports=n)},5817:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseLibpostal=t.default=void 0;const r={array:function(t,e){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const a=[];return Array.isArray(e)&&e.forEach((e=>{const o=[];Array.isArray(e)&&e.forEach((e=>{if("string"==typeof e)t[e]&&o.push(t[e]);else if("object"==typeof e&&"string"==typeof e.attribute){let a=t[e.attribute];r&&Array.isArray(e.transforms)&&e.transforms.forEach((t=>{"function"==typeof t&&(a=t(a))})),a&&o.push(a)}})),o.length>0&&a.push(o)})),a},string:null};t.parseLibpostal=(t,r)=>{const a={};return Object.keys(t).forEach((o=>{const n=t[o].reduce(((t,a)=>{let o="",n=t=>t;if(r.forEach((t=>{let{component:e,value:r}=t;"string"==typeof a&&(o=e===a?r:o),"object"==typeof a&&"string"==typeof a.attribute&&(o=e===a.attribute?r:o,n=a.transform)})),o){const r=n((0,e.pascalCase)(o));t.push(r)}return t}),[]);a[o]=n.join(" ")})),a},t.default=r},void 0===(n=a.apply(e,o))||(t.exports=n)},2821:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(6028)],void 0===(n="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pascalCase=t.capitalizeWhenTwo=t.capitalize=t.addCommaAfter=void 0;t.addCommaAfter=t=>t&&"string"==typeof t?"".concat(t).concat(","):"";t.capitalize=t=>"string"==typeof t?t.toUpperCase():"";t.capitalizeWhenTwo=t=>t&&"string"==typeof t&&2===t.length?t.toUpperCase():t;t.pascalCase=t=>"string"==typeof t?t.replace(/(\w)(\w*)/g,((t,e,r)=>e.toUpperCase()+r.toLowerCase())):""})?a.apply(e,o):a)||(t.exports=n)},6698:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(7886)],void 0===(n="function"==typeof(a=function(t,e){"use strict";var a=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=a(e),t.default=e.default})?a.apply(e,o):a)||(t.exports=n)},4790:function(t,e){var r,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(a="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?r.apply(e,[e]):r)||(t.exports=a)},934:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="PostalAddressError"}}t.default=r},void 0===(n=a.apply(e,o))||(t.exports=n)},7886:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(934),r(3130),r(5817),r(6341),r(3066)],void 0===(n="function"==typeof(a=function(t,e,a,o,n,s,i){"use strict";var u=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=u(e),a=u(a),o=u(o),n=u(n);const c=(i=u(i)).default;t.default=class{constructor(t){(0,e.default)(this,"stringParser",""),this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof t?(0,s.parseStringToObject)(t,this.stringParser):(0,s.constructInitialObject)(t),this.validators={formatForCountry:t=>this.allowed.formatForCountry.includes(t),formatForType:t=>this.allowed.formatForType.includes(t),outputFormat:t=>this.allowed.outputFormat.includes(t)},this.allowed={formatForCountry:Object.keys(o.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=o.default,this.addressParsers=n.default}getFormat(t){var e,r;const{outputFormat:a,formatForCountry:o,formatForType:n,addressFormats:s}=this,i=t||a;let u=s[o];u||(u=null==s?void 0:s.US);const c=(null===(e=u)||void 0===e?void 0:e[n])||(null===(r=u)||void 0===r?void 0:r.default);return null!=c&&c[i]?c[i]:null!=c&&c.array?c.array:null}getParser(t){const{outputFormat:e,addressParsers:r}=this,a=t||e;return r[a]?r[a]:null}output(t){const{useTransforms:e}=this,r=this.getFormat(t),a=this.getParser(t);return"function"==typeof a&&r?a(this.object,r,e):null}setProperty(t,e){"string"==typeof e&&t in this.object&&"string"==typeof this.object[t]&&(this.object[t]=e)}setAddress(t){return this.setAddress1(t),this}setAddress1(t){return this.setProperty("address1",t),this.setProperty("dong",t),this}setAddress2(t){return this.setProperty("address2",t),this}setAddressNum(t){return this.setProperty("addressNum",t),this}setCity(t){return this.setProperty("city",t),this.setProperty("si",t),this}setCompanyName(t){return this.setProperty("companyName",t),this}setCountry(t){this.setProperty("country",t);const e=c[t];return e&&this.setProperty("countryAlpha2",e),this}setDo(t){return this.setProperty("do",t),this.setProperty("province",t),this}setDong(t){return this.setProperty("dong",t),this.setProperty("address1",t),this}setFirstLastName(t){return this.setProperty("firstLastName",t),this}setFirstName(t){return this.setProperty("firstName",t),this}setGu(t){return this.setProperty("gu",t),this}setHonorific(t){return this.setProperty("honorific",t),this}setJobTitle(t){return this.setProperty("jobTitle",t),this}setLastName(t){return this.setProperty("lastName",t),this.setProperty("secondLastName",t),this}setPostalCode(t){return this.setProperty("postalCode",t),this}setPrefecture(t){return this.setProperty("prefecture",t),this}setProvince(t){return this.setProperty("province",t),this.setProperty("do",t),this}setRegion(t){return this.setProperty("region",t),this}setRepublic(t){return this.setProperty("republic",t),this}setSecondLastName(t){return this.setProperty("secondLastName",t),this.setProperty("lastName",t),this}setSecondName(t){return this.setProperty("secondName",t),this}setSi(t){return this.setProperty("si",t),this.setProperty("city",t),this}setState(t){return this.setProperty("state",t),this}setTitle(t){return this.setProperty("title",t),this}setStringParser(t){return this.stringParser=t,this}setOutputFormat(t){return this.outputFormat=(0,s.parseValidator)(this.outputFormat,t,this.validators.outputFormat),this}setFormat(t){let{country:e,type:r,useTransforms:a}=t;return"string"==typeof e&&(this.formatForCountry=(0,s.parseValidator)(this.formatForCountry,e,this.validators.formatForCountry)),"string"==typeof r&&(this.formatForType=(0,s.parseValidator)(this.formatForType,r,this.validators.formatForType)),"boolean"==typeof a&&(this.useTransforms=a),this}addFormat(t){let{country:e,format:r,parser:o="array",type:n="default"}=t;if(!e)throw new a.default("Country is not specified, but is required");if("string"!=typeof e||2!==e.length)throw new a.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new a.default("Format is not specified, but is required");if(!(0,s.isValidFormat)(r,o))throw new a.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,s.containsValidTokens)(r,o))throw new a.default("Format contains invalid tokens");const i=e.toUpperCase();return this.addressFormats={...this.addressFormats,[i]:{[n]:{[o]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(t){return this.object=(0,s.constructInitialObject)(t),this}fromString(t){return this.object=(0,s.parseStringToObject)(t,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const t=this.toArray();return null!=t&&t.length?t.map((t=>t.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?a.apply(e,o):a)||(t.exports=n)},4102:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(4919),r(934),r(4961),r(5817)],void 0===(n="function"==typeof(a=function(t,e,a,o,n,s){"use strict";var i=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=i(e),a=i(a),o=i(o),n=i(n);t.default=class{constructor(t){if((0,e.default)(this,"previousInput",""),(0,e.default)(this,"previousOutput",{}),null==t||!t.parser)throw new o.default("No parser specified");this.parser=t.parser}parse(t){if(!t)throw new o.default("No input specified to parse");if(this.previousInput===t)return this.previousOutput;switch(this.parser){case"libpostal":{const e=a.default.parser.parse_address(t);this.previousOutput=(0,s.parseLibpostal)(n.default,e);break}default:throw new o.default("Unsupported parser: ".concat(this.parser))}return this.previousOutput}}})?a.apply(e,o):a)||(t.exports=n)},6341:function(t,e,r){var a,o,n;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431),r(4102),r(934),r(4790)],a=function(t,e,a,o,n){"use strict";var s=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.parseValidator=t.parseStringToObject=t.isValidFormat=t.containsValidTokens=t.constructInitialObject=t.allowedTokens=void 0,a=s(a),o=s(o),n=s(n);const i=t.allowedTokens=Object.keys(n.default);t.constructInitialObject=t=>{const e={...n.default};return Object.entries(t||{}).forEach((t=>{let[r,a]=t;r in e&&"string"==typeof a&&(e[r]=a)})),e};t.parseStringToObject=(t,e)=>{throw n.default,new o.default("This feature is not supported in your environment")};t.parseValidator=(t,e,r)=>"function"==typeof r?r(e)?e:t:e;t.containsValidTokens=function(t){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(t))&&t.every((t=>t.every((t=>{const e="object"==typeof t?t.attribute:t;return i.includes(e)}))))};t.isValidFormat=function(t){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(t)){const[e]=t;if(Array.isArray(e)){const[t]=e;if("string"==typeof t)return!0;if("object"==typeof t&&"string"==typeof t.attribute)return!0}}return!1}},void 0===(n=a.apply(e,o))||(t.exports=n)},3231:(t,e,r)=>{var a=r(4040);t.exports=function(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},3203:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6027:(t,e,r)=>{var a=r(7501).default;t.exports=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4040:(t,e,r)=>{var a=r(7501).default,o=r(6027);t.exports=function(t){var e=o(t,"string");return"symbol"==a(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},1575:(t,e,r)=>{"use strict";var a=r(5893),o=r(5545),n=TypeError;t.exports=function(t){if(a(t))return t;throw new n(o(t)+" is not a function")}},9272:(t,e,r)=>{"use strict";var a=r(545),o=String,n=TypeError;t.exports=function(t){if(a(t))return t;throw new n("Can't set "+o(t)+" as a prototype")}},9408:(t,e,r)=>{"use strict";var a=r(7936),o=r(9464),n=r(7144).f,s=a("unscopables"),i=Array.prototype;void 0===i[s]&&n(i,s,{configurable:!0,value:o(null)}),t.exports=function(t){i[s][t]=!0}},9384:(t,e,r)=>{"use strict";var a=r(8373).charAt;t.exports=function(t,e,r){return e+(r?a(t,e).length:1)}},9972:(t,e,r)=>{"use strict";var a=r(5287),o=String,n=TypeError;t.exports=function(t){if(a(t))return t;throw new n(o(t)+" is not an object")}},2971:(t,e,r)=>{"use strict";var a=r(9405),o=r(9961),n=r(9969),s=function(t){return function(e,r,s){var i,u=a(e),c=n(u),l=o(s,c);if(t&&r!=r){for(;c>l;)if((i=u[l++])!=i)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3048:(t,e,r)=>{"use strict";var a=r(6406),o=a({}.toString),n=a("".slice);t.exports=function(t){return n(o(t),8,-1)}},5683:(t,e,r)=>{"use strict";var a=r(6623),o=r(5893),n=r(3048),s=r(7936)("toStringTag"),i=Object,u="Arguments"===n(function(){return arguments}());t.exports=a?n:function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=i(t),s))?r:u?n(e):"Object"===(a=n(e))&&o(e.callee)?"Arguments":a}},779:(t,e,r)=>{"use strict";var a=r(4130),o=r(6627),n=r(10),s=r(7144);t.exports=function(t,e,r){for(var i=o(e),u=s.f,c=n.f,l=0;l<i.length;l++){var d=i[l];a(t,d)||r&&a(r,d)||u(t,d,c(e,d))}}},9494:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4160:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},9251:(t,e,r)=>{"use strict";var a=r(3877),o=r(7144),n=r(9637);t.exports=a?function(t,e,r){return o.f(t,e,n(1,r))}:function(t,e,r){return t[e]=r,t}},9637:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7205:(t,e,r)=>{"use strict";var a=r(5893),o=r(7144),n=r(3911),s=r(3630);t.exports=function(t,e,r,i){i||(i={});var u=i.enumerable,c=void 0!==i.name?i.name:e;if(a(r)&&n(r,c,i),i.global)u?t[e]=r:s(e,r);else{try{i.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},3630:(t,e,r)=>{"use strict";var a=r(7802),o=Object.defineProperty;t.exports=function(t,e){try{o(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e}},3877:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9800:(t,e,r)=>{"use strict";var a=r(7802),o=r(5287),n=a.document,s=o(n)&&o(n.createElement);t.exports=function(t){return s?n.createElement(t):{}}},3136:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2823:(t,e,r)=>{"use strict";var a=r(9800)("span").classList,o=a&&a.constructor&&a.constructor.prototype;t.exports=o===Object.prototype?void 0:o},2626:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7245:(t,e,r)=>{"use strict";var a,o,n=r(7802),s=r(2626),i=n.process,u=n.Deno,c=i&&i.versions||u&&u.version,l=c&&c.v8;l&&(o=(a=l.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!o&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(o=+a[1]),t.exports=o},4286:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2390:(t,e,r)=>{"use strict";var a=r(7802),o=r(10).f,n=r(9251),s=r(7205),i=r(3630),u=r(779),c=r(5031);t.exports=function(t,e){var r,l,d,f,p,y=t.target,m=t.global,h=t.stat;if(r=m?a:h?a[y]||i(y,{}):a[y]&&a[y].prototype)for(l in e){if(f=e[l],d=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(m?l:y+(h?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(t.sham||d&&d.sham)&&n(f,"sham",!0),s(r,l,f,t)}}},5306:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},3282:(t,e,r)=>{"use strict";r(9139);var a=r(1550),o=r(7205),n=r(3351),s=r(5306),i=r(7936),u=r(9251),c=i("species"),l=RegExp.prototype;t.exports=function(t,e,r,d){var f=i(t),p=!s((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),y=p&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return e=!0,null},r[f](""),!e}));if(!p||!y||r){var m=/./[f],h=e(f,""[t],(function(t,e,r,o,s){var i=e.exec;return i===n||i===l.exec?p&&!s?{done:!0,value:a(m,e,r,o)}:{done:!0,value:a(t,r,e,o)}:{done:!1}}));o(String.prototype,t,h[0]),o(l,f,h[1])}d&&u(l[f],"sham",!0)}},6415:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,n=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(a?s.bind(n):function(){return s.apply(n,arguments)})},7219:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1550:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype.call;t.exports=a?o.bind(o):function(){return o.apply(o,arguments)}},9656:(t,e,r)=>{"use strict";var a=r(3877),o=r(4130),n=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,i=o(n,"name"),u=i&&"something"===function(){}.name,c=i&&(!a||a&&s(n,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:c}},8692:(t,e,r)=>{"use strict";var a=r(6406),o=r(1575);t.exports=function(t,e,r){try{return a(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6406:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,n=o.call,s=a&&o.bind.bind(n,n);t.exports=a?s:function(t){return function(){return n.apply(t,arguments)}}},1570:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893);t.exports=function(t,e){return arguments.length<2?(r=a[t],o(r)?r:void 0):a[t]&&a[t][e];var r}},6628:(t,e,r)=>{"use strict";var a=r(1575),o=r(7707);t.exports=function(t,e){var r=t[e];return o(r)?void 0:a(r)}},5338:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),n=Math.floor,s=a("".charAt),i=a("".replace),u=a("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,a,d,f){var p=r+t.length,y=a.length,m=l;return void 0!==d&&(d=o(d),m=c),i(f,m,(function(o,i){var c;switch(s(i,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=d[u(i,1,-1)];break;default:var l=+i;if(0===l)return o;if(l>y){var f=n(l/10);return 0===f?o:f<=y?void 0===a[f-1]?s(i,1):a[f-1]+s(i,1):o}c=a[l-1]}return void 0===c?"":c}))}},7802:function(t){"use strict";var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4130:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),n=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return n(o(t),e)}},3421:t=>{"use strict";t.exports={}},2343:(t,e,r)=>{"use strict";var a=r(1570);t.exports=a("document","documentElement")},3075:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306),n=r(9800);t.exports=!a&&!o((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))},5366:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),n=r(3048),s=Object,i=a("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===n(t)?i(t,""):s(t)}:s},5088:(t,e,r)=>{"use strict";var a=r(6406),o=r(5893),n=r(4830),s=a(Function.toString);o(n.inspectSource)||(n.inspectSource=function(t){return s(t)}),t.exports=n.inspectSource},9930:(t,e,r)=>{"use strict";var a,o,n,s=r(5585),i=r(7802),u=r(5287),c=r(9251),l=r(4130),d=r(4830),f=r(139),p=r(3421),y="Object already initialized",m=i.TypeError,h=i.WeakMap;if(s||d.state){var v=d.state||(d.state=new h);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw new m(y);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},n=function(t){return v.has(t)}}else{var b=f("state");p[b]=!0,a=function(t,e){if(l(t,b))throw new m(y);return e.facade=t,c(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},n=function(t){return l(t,b)}}t.exports={set:a,get:o,has:n,enforce:function(t){return n(t)?o(t):a(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},5893:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},5031:(t,e,r)=>{"use strict";var a=r(5306),o=r(5893),n=/#|\.prototype\./,s=function(t,e){var r=u[i(t)];return r===l||r!==c&&(o(e)?a(e):!!e)},i=s.normalize=function(t){return String(t).replace(n,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},7707:t=>{"use strict";t.exports=function(t){return null==t}},5287:(t,e,r)=>{"use strict";var a=r(5893);t.exports=function(t){return"object"==typeof t?null!==t:a(t)}},545:(t,e,r)=>{"use strict";var a=r(5287);t.exports=function(t){return a(t)||null===t}},99:t=>{"use strict";t.exports=!1},103:(t,e,r)=>{"use strict";var a=r(1570),o=r(5893),n=r(2075),s=r(345),i=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return o(e)&&n(e.prototype,i(t))}},3691:(t,e,r)=>{"use strict";var a=r(4760).IteratorPrototype,o=r(9464),n=r(9637),s=r(3581),i=r(9921),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(a,{next:n(+!c,r)}),s(t,l,!1,!0),i[l]=u,t}},7227:(t,e,r)=>{"use strict";var a=r(2390),o=r(1550),n=r(99),s=r(9656),i=r(5893),u=r(3691),c=r(6900),l=r(1126),d=r(3581),f=r(9251),p=r(7205),y=r(7936),m=r(9921),h=r(4760),v=s.PROPER,b=s.CONFIGURABLE,g=h.IteratorPrototype,N=h.BUGGY_SAFARI_ITERATORS,x=y("iterator"),S="keys",C="values",P="entries",T=function(){return this};t.exports=function(t,e,r,s,y,h,A){u(r,e,s);var O,w,M,j=function(t){if(t===y&&L)return L;if(!N&&t&&t in E)return E[t];switch(t){case S:case C:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",R=!1,E=t.prototype,F=E[x]||E["@@iterator"]||y&&E[y],L=!N&&F||j(y),_="Array"===e&&E.entries||F;if(_&&(O=c(_.call(new t)))!==Object.prototype&&O.next&&(n||c(O)===g||(l?l(O,g):i(O[x])||p(O,x,T)),d(O,I,!0,!0),n&&(m[I]=T)),v&&y===C&&F&&F.name!==C&&(!n&&b?f(E,"name",C):(R=!0,L=function(){return o(F,this)})),y)if(w={values:j(C),keys:h?L:j(S),entries:j(P)},A)for(M in w)(N||R||!(M in E))&&p(E,M,w[M]);else a({target:e,proto:!0,forced:N||R},w);return n&&!A||E[x]===L||p(E,x,L,{name:y}),m[e]=L,w}},4760:(t,e,r)=>{"use strict";var a,o,n,s=r(5306),i=r(5893),u=r(5287),c=r(9464),l=r(6900),d=r(7205),f=r(7936),p=r(99),y=f("iterator"),m=!1;[].keys&&("next"in(n=[].keys())?(o=l(l(n)))!==Object.prototype&&(a=o):m=!0),!u(a)||s((function(){var t={};return a[y].call(t)!==t}))?a={}:p&&(a=c(a)),i(a[y])||d(a,y,(function(){return this})),t.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:m}},9921:t=>{"use strict";t.exports={}},9969:(t,e,r)=>{"use strict";var a=r(9099);t.exports=function(t){return a(t.length)}},3911:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),n=r(5893),s=r(4130),i=r(3877),u=r(9656).CONFIGURABLE,c=r(5088),l=r(9930),d=l.enforce,f=l.get,p=String,y=Object.defineProperty,m=a("".slice),h=a("".replace),v=a([].join),b=i&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),N=t.exports=function(t,e,r){"Symbol("===m(p(e),0,7)&&(e="["+h(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(i?y(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&s(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?i&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=d(t);return s(a,"source")||(a.source=v(g,"string"==typeof e?e:"")),t};Function.prototype.toString=N((function(){return n(this)&&f(this).source||c(this)}),"toString")},1402:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?r:e)(a)}},9464:(t,e,r)=>{"use strict";var a,o=r(9972),n=r(3872),s=r(4286),i=r(3421),u=r(2343),c=r(9800),l=r(139),d="prototype",f="script",p=l("IE_PROTO"),y=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},h=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&a?h(a):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):h(a);for(var o=s.length;o--;)delete v[d][s[o]];return v()};i[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[p]=t):r=v(),void 0===e?r:n.f(r,e)}},3872:(t,e,r)=>{"use strict";var a=r(3877),o=r(7475),n=r(7144),s=r(9972),i=r(9405),u=r(1008);e.f=a&&!o?Object.defineProperties:function(t,e){s(t);for(var r,a=i(e),o=u(e),c=o.length,l=0;c>l;)n.f(t,r=o[l++],a[r]);return t}},7144:(t,e,r)=>{"use strict";var a=r(3877),o=r(3075),n=r(7475),s=r(9972),i=r(3662),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";e.f=a?n?function(t,e,r){if(s(t),e=i(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var a=l(t,e);a&&a[p]&&(t[e]=r.value,r={configurable:f in r?r[f]:a[f],enumerable:d in r?r[d]:a[d],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=i(e),s(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},10:(t,e,r)=>{"use strict";var a=r(3877),o=r(1550),n=r(1940),s=r(9637),i=r(9405),u=r(3662),c=r(4130),l=r(3075),d=Object.getOwnPropertyDescriptor;e.f=a?d:function(t,e){if(t=i(t),e=u(e),l)try{return d(t,e)}catch(t){}if(c(t,e))return s(!o(n.f,t,e),t[e])}},7397:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},6855:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},6900:(t,e,r)=>{"use strict";var a=r(4130),o=r(5893),n=r(5864),s=r(139),i=r(9494),u=s("IE_PROTO"),c=Object,l=c.prototype;t.exports=i?c.getPrototypeOf:function(t){var e=n(t);if(a(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},2075:(t,e,r)=>{"use strict";var a=r(6406);t.exports=a({}.isPrototypeOf)},5079:(t,e,r)=>{"use strict";var a=r(6406),o=r(4130),n=r(9405),s=r(2971).indexOf,i=r(3421),u=a([].push);t.exports=function(t,e){var r,a=n(t),c=0,l=[];for(r in a)!o(i,r)&&o(a,r)&&u(l,r);for(;e.length>c;)o(a,r=e[c++])&&(~s(l,r)||u(l,r));return l}},1008:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286);t.exports=Object.keys||function(t){return a(t,o)}},1940:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},1126:(t,e,r)=>{"use strict";var a=r(8692),o=r(9972),n=r(9272);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=a(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,a){return o(r),n(a),e?t(r,a):r.__proto__=a,r}}():void 0)},1253:(t,e,r)=>{"use strict";var a=r(1550),o=r(5893),n=r(5287),s=TypeError;t.exports=function(t,e){var r,i;if("string"===e&&o(r=t.toString)&&!n(i=a(r,t)))return i;if(o(r=t.valueOf)&&!n(i=a(r,t)))return i;if("string"!==e&&o(r=t.toString)&&!n(i=a(r,t)))return i;throw new s("Can't convert object to primitive value")}},6627:(t,e,r)=>{"use strict";var a=r(1570),o=r(6406),n=r(7397),s=r(6855),i=r(9972),u=o([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=n.f(i(t)),r=s.f;return r?u(e,r(t)):e}},7771:(t,e,r)=>{"use strict";var a=r(1550),o=r(9972),n=r(5893),s=r(3048),i=r(3351),u=TypeError;t.exports=function(t,e){var r=t.exec;if(n(r)){var c=a(r,t,e);return null!==c&&o(c),c}if("RegExp"===s(t))return a(i,t,e);throw new u("RegExp#exec called on incompatible receiver")}},3351:(t,e,r)=>{"use strict";var a,o,n=r(1550),s=r(6406),i=r(2755),u=r(3137),c=r(9688),l=r(9231),d=r(9464),f=r(9930).get,p=r(8880),y=r(2901),m=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,b=s("".charAt),g=s("".indexOf),N=s("".replace),x=s("".slice),S=(o=/b*/g,n(h,a=/a/,"a"),n(h,o,"a"),0!==a.lastIndex||0!==o.lastIndex),C=c.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(S||P||C||p||y)&&(v=function(t){var e,r,a,o,s,c,l,p=this,y=f(p),T=i(t),A=y.raw;if(A)return A.lastIndex=p.lastIndex,e=n(v,A,T),p.lastIndex=A.lastIndex,e;var O=y.groups,w=C&&p.sticky,M=n(u,p),j=p.source,I=0,R=T;if(w&&(M=N(M,"y",""),-1===g(M,"g")&&(M+="g"),R=x(T,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b(T,p.lastIndex-1))&&(j="(?: "+j+")",R=" "+R,I++),r=new RegExp("^(?:"+j+")",M)),P&&(r=new RegExp("^"+j+"$(?!\\s)",M)),S&&(a=p.lastIndex),o=n(h,w?r:p,R),w?o?(o.input=x(o.input,I),o[0]=x(o[0],I),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:a),P&&o&&o.length>1&&n(m,o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&O)for(o.groups=c=d(null),s=0;s<O.length;s++)c[(l=O[s])[0]]=o[l[1]];return o}),t.exports=v},3137:(t,e,r)=>{"use strict";var a=r(9972);t.exports=function(){var t=a(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},9688:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp,n=a((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),s=n||a((function(){return!o("a","y").sticky})),i=n||a((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:i,MISSED_STICKY:s,UNSUPPORTED_Y:n}},8880:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},2901:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},6762:(t,e,r)=>{"use strict";var a=r(7707),o=TypeError;t.exports=function(t){if(a(t))throw new o("Can't call method on "+t);return t}},3581:(t,e,r)=>{"use strict";var a=r(7144).f,o=r(4130),n=r(7936)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,n)&&a(t,n,{configurable:!0,value:e})}},139:(t,e,r)=>{"use strict";var a=r(9231),o=r(6350),n=a("keys");t.exports=function(t){return n[t]||(n[t]=o(t))}},4830:(t,e,r)=>{"use strict";var a=r(7802),o=r(3630),n="__core-js_shared__",s=a[n]||o(n,{});t.exports=s},9231:(t,e,r)=>{"use strict";var a=r(99),o=r(4830);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:a?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8373:(t,e,r)=>{"use strict";var a=r(6406),o=r(5930),n=r(2755),s=r(6762),i=a("".charAt),u=a("".charCodeAt),c=a("".slice),l=function(t){return function(e,r){var a,l,d=n(s(e)),f=o(r),p=d.length;return f<0||f>=p?t?"":void 0:(a=u(d,f))<55296||a>56319||f+1===p||(l=u(d,f+1))<56320||l>57343?t?i(d,f):a:t?c(d,f,f+2):l-56320+(a-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4053:(t,e,r)=>{"use strict";var a=r(7245),o=r(5306),n=r(7802).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},9961:(t,e,r)=>{"use strict";var a=r(5930),o=Math.max,n=Math.min;t.exports=function(t,e){var r=a(t);return r<0?o(r+e,0):n(r,e)}},9405:(t,e,r)=>{"use strict";var a=r(5366),o=r(6762);t.exports=function(t){return a(o(t))}},5930:(t,e,r)=>{"use strict";var a=r(1402);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},9099:(t,e,r)=>{"use strict";var a=r(5930),o=Math.min;t.exports=function(t){var e=a(t);return e>0?o(e,9007199254740991):0}},5864:(t,e,r)=>{"use strict";var a=r(6762),o=Object;t.exports=function(t){return o(a(t))}},6090:(t,e,r)=>{"use strict";var a=r(1550),o=r(5287),n=r(103),s=r(6628),i=r(1253),u=r(7936),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||n(t))return t;var r,u=s(t,l);if(u){if(void 0===e&&(e="default"),r=a(u,t,e),!o(r)||n(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},3662:(t,e,r)=>{"use strict";var a=r(6090),o=r(103);t.exports=function(t){var e=a(t,"string");return o(e)?e:e+""}},6623:(t,e,r)=>{"use strict";var a={};a[r(7936)("toStringTag")]="z",t.exports="[object z]"===String(a)},2755:(t,e,r)=>{"use strict";var a=r(5683),o=String;t.exports=function(t){if("Symbol"===a(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},5545:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6350:(t,e,r)=>{"use strict";var a=r(6406),o=0,n=Math.random(),s=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+n,36)}},345:(t,e,r)=>{"use strict";var a=r(4053);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7475:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306);t.exports=a&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5585:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893),n=a.WeakMap;t.exports=o(n)&&/native code/.test(String(n))},7936:(t,e,r)=>{"use strict";var a=r(7802),o=r(9231),n=r(4130),s=r(6350),i=r(4053),u=r(345),c=a.Symbol,l=o("wks"),d=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return n(l,t)||(l[t]=i&&n(c,t)?c[t]:d("Symbol."+t)),l[t]}},3227:(t,e,r)=>{"use strict";var a=r(9405),o=r(9408),n=r(9921),s=r(9930),i=r(7144).f,u=r(7227),c=r(4160),l=r(99),d=r(3877),f="Array Iterator",p=s.set,y=s.getterFor(f);t.exports=u(Array,"Array",(function(t,e){p(this,{type:f,target:a(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var m=n.Arguments=n.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==m.name)try{i(m,"name",{value:"values"})}catch(t){}},9139:(t,e,r)=>{"use strict";var a=r(2390),o=r(3351);a({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},6028:(t,e,r)=>{"use strict";var a=r(6415),o=r(1550),n=r(6406),s=r(3282),i=r(5306),u=r(9972),c=r(5893),l=r(7707),d=r(5930),f=r(9099),p=r(2755),y=r(6762),m=r(9384),h=r(6628),v=r(5338),b=r(7771),g=r(7936)("replace"),N=Math.max,x=Math.min,S=n([].concat),C=n([].push),P=n("".indexOf),T=n("".slice),A="$0"==="a".replace(/./,"$0"),O=!!/./[g]&&""===/./[g]("a","$0");s("replace",(function(t,e,r){var n=O?"$":"$0";return[function(t,r){var a=y(this),n=l(t)?void 0:h(t,g);return n?o(n,t,a,r):o(e,p(a),t,r)},function(t,o){var s=u(this),i=p(t);if("string"==typeof o&&-1===P(o,n)&&-1===P(o,"$<")){var l=r(e,s,i,o);if(l.done)return l.value}var y=c(o);y||(o=p(o));var h,g=s.global;g&&(h=s.unicode,s.lastIndex=0);for(var A,O=[];null!==(A=b(s,i))&&(C(O,A),g);)""===p(A[0])&&(s.lastIndex=m(i,f(s.lastIndex),h));for(var w,M="",j=0,I=0;I<O.length;I++){for(var R,E=p((A=O[I])[0]),F=N(x(d(A.index),i.length),0),L=[],_=1;_<A.length;_++)C(L,void 0===(w=A[_])?w:String(w));var G=A.groups;if(y){var B=S([E],L,F,i);void 0!==G&&C(B,G),R=p(a(o,void 0,B))}else R=v(E,i,F,L,G,o);F>=j&&(M+=T(i,j,F)+R,j=F+E.length)}return M+T(i,j)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!A||O)},1431:(t,e,r)=>{"use strict";var a=r(7802),o=r(3136),n=r(2823),s=r(3227),i=r(9251),u=r(3581),c=r(7936)("iterator"),l=s.values,d=function(t,e){if(t){if(t[c]!==l)try{i(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),o[e])for(var r in s)if(t[r]!==s[r])try{i(t,r,s[r])}catch(e){t[r]=s[r]}}};for(var f in o)d(a[f]&&a[f].prototype,f);d(n,"DOMTokenList")},3066:t=>{"use strict";t.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},e={},function r(a){var o=e[a];if(void 0!==o)return o.exports;var n=e[a]={exports:{}};return t[a].call(n.exports,n,n.exports,r),n.exports}(6698);var t,e}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PostalAddress=t():e.PostalAddress=t()}(this,(()=>{return e={753:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={parser:{expand_address:()=>[],parse_address:()=>[]}}})?a.apply(t,[t]):a)||(e.exports=r)},272:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[t.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[t.capitalize]}]]}}};a.CA.default=a.CA.english,a.RS=a.HR,a.SI=a.HR,a.KP=a.KR,a.NO.default=a.NO.personal,a.SE.default=a.SE.personal,a.BO=a.AR,a.CL=a.AR,a.CO=a.AR,a.EC=a.AR,a.GY=a.AR,a.PY=a.AR,a.PE=a.AR,a.UY=a.AR,a.VE=a.AR,e.default=a})?r.apply(t,s):r)||(e.exports=o)},545:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:t.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:t.capitalizeWhenTwo}],title:[]};e.default=a})?r.apply(t,s):r)||(e.exports=o)},24:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLibpostal=e.default=void 0;const a={array:function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];return Array.isArray(t)&&t.forEach((t=>{const s=[];Array.isArray(t)&&t.forEach((t=>{if("string"==typeof t)e[t]&&s.push(e[t]);else if("object"==typeof t&&"string"==typeof t.attribute){let r=e[t.attribute];a&&Array.isArray(t.transforms)&&t.transforms.forEach((e=>{"function"==typeof e&&(r=e(r))})),r&&s.push(r)}})),s.length>0&&r.push(s)})),r},string:null};e.parseLibpostal=(e,a)=>{const r={};return Object.keys(e).forEach((s=>{const o=e[s].reduce(((e,r)=>{let s="",o=e=>e;if(a.forEach((e=>{let{component:t,value:a}=e;"string"==typeof r&&(s=t===r?a:s),"object"==typeof r&&"string"==typeof r.attribute&&(s=t===r.attribute?a:s,o=r.transform)})),s){const a=o((0,t.pascalCase)(s));e.push(a)}return e}),[]);r[s]=o.join(" ")})),r},e.default=a},void 0===(o=r.apply(t,s))||(e.exports=o)},903:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pascalCase=e.capitalizeWhenTwo=e.capitalize=e.addCommaAfter=void 0;e.addCommaAfter=e=>e&&"string"==typeof e?`${e},`:"";e.capitalize=e=>"string"==typeof e?e.toUpperCase():"";e.capitalizeWhenTwo=e=>e&&"string"==typeof e&&2===e.length?e.toUpperCase():e;e.pascalCase=e=>"string"==typeof e?e.replace(/(\w)(\w*)/g,((e,t,a)=>t.toUpperCase()+a.toLowerCase())):""})?a.apply(t,[t]):a)||(e.exports=r)},61:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(279)],void 0===(o="function"==typeof(r=function(e,t){"use strict";var r=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=r(t),e.default=t.default})?r.apply(t,s):r)||(e.exports=o)},951:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?a.apply(t,[t]):a)||(e.exports=r)},164:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class t extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="PostalAddressError"}}e.default=t},void 0===(r=a.apply(t,[t]))||(e.exports=r)},279:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(164),a(272),a(24),a(428),a(51)],void 0===(o="function"==typeof(r=function(e,t,r,s,o,i){"use strict";var n=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=n(t),r=n(r),s=n(s);const d=(i=n(i)).default;e.default=class{stringParser="";propagateToRelatedProperties=!0;constructor(e){this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof e?(0,o.parseStringToObject)(e,this.stringParser):(0,o.constructInitialObject)(e),this.validators={formatForCountry:e=>this.allowed.formatForCountry.includes(e),formatForType:e=>this.allowed.formatForType.includes(e),outputFormat:e=>this.allowed.outputFormat.includes(e)},this.allowed={formatForCountry:Object.keys(r.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=r.default,this.addressParsers=s.default}getFormat(e){var t,a;const{outputFormat:r,formatForCountry:s,formatForType:o,addressFormats:i}=this,n=e||r;let d=i[s];d||(d=null==i?void 0:i.US);const l=(null===(t=d)||void 0===t?void 0:t[o])||(null===(a=d)||void 0===a?void 0:a.default);return null!=l&&l[n]?l[n]:null!=l&&l.array?l.array:null}getParser(e){const{outputFormat:t,addressParsers:a}=this,r=e||t;return a[r]?a[r]:null}output(e){const{useTransforms:t}=this,a=this.getFormat(e),r=this.getParser(e);return"function"==typeof r&&a?r(this.object,a,t):null}setProperty(e,t){"string"==typeof t&&e in this.object&&"string"==typeof this.object[e]&&(this.object[e]=t)}setAddress(e){return this.setAddress1(e),this}setAddress1(e){return this.setProperty("address1",e),this.propagateToRelatedProperties&&this.setProperty("dong",e),this}setAddress2(e){return this.setProperty("address2",e),this}setAddressNum(e){return this.setProperty("addressNum",e),this}setCity(e){return this.setProperty("city",e),this.propagateToRelatedProperties&&this.setProperty("si",e),this}setCompanyName(e){return this.setProperty("companyName",e),this}setCountry(e){if(this.setProperty("country",e),this.propagateToRelatedProperties){const t=d[e];t&&this.setProperty("countryAlpha2",t)}return this}setDo(e){return this.setProperty("do",e),this.propagateToRelatedProperties&&this.setProperty("province",e),this}setDong(e){return this.setProperty("dong",e),this.propagateToRelatedProperties&&this.setProperty("address1",e),this}setFirstLastName(e){return this.setProperty("firstLastName",e),this}setFirstName(e){return this.setProperty("firstName",e),this}setGu(e){return this.setProperty("gu",e),this}setHonorific(e){return this.setProperty("honorific",e),this}setJobTitle(e){return this.setProperty("jobTitle",e),this}setLastName(e){return this.setProperty("lastName",e),this.propagateToRelatedProperties&&this.setProperty("secondLastName",e),this}setPostalCode(e){return this.setProperty("postalCode",e),this}setPrefecture(e){return this.setProperty("prefecture",e),this}setProvince(e){return this.setProperty("province",e),this.propagateToRelatedProperties&&this.setProperty("do",e),this}setRegion(e){return this.setProperty("region",e),this}setRepublic(e){return this.setProperty("republic",e),this}setSecondLastName(e){return this.setProperty("secondLastName",e),this.propagateToRelatedProperties&&this.setProperty("lastName",e),this}setSecondName(e){return this.setProperty("secondName",e),this}setSi(e){return this.setProperty("si",e),this.propagateToRelatedProperties&&this.setProperty("city",e),this}setState(e){return this.setProperty("state",e),this}setTitle(e){return this.setProperty("title",e),this}setStringParser(e){return this.stringParser=e,this}setPropagation(e){return this.propagateToRelatedProperties=e,this}setOutputFormat(e){return this.outputFormat=(0,o.parseValidator)(this.outputFormat,e,this.validators.outputFormat),this}setFormat(e){let{country:t,type:a,useTransforms:r}=e;return"string"==typeof t&&(this.formatForCountry=(0,o.parseValidator)(this.formatForCountry,t,this.validators.formatForCountry)),"string"==typeof a&&(this.formatForType=(0,o.parseValidator)(this.formatForType,a,this.validators.formatForType)),"boolean"==typeof r&&(this.useTransforms=r),this}addFormat(e){let{country:a,format:r,parser:s="array",type:i="default"}=e;if(!a)throw new t.default("Country is not specified, but is required");if("string"!=typeof a||2!==a.length)throw new t.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new t.default("Format is not specified, but is required");if(!(0,o.isValidFormat)(r,s))throw new t.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,o.containsValidTokens)(r,s))throw new t.default("Format contains invalid tokens");const n=a.toUpperCase();return this.addressFormats={...this.addressFormats,[n]:{[i]:{[s]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(e){return this.object=(0,o.constructInitialObject)(e),this}fromString(e){return this.object=(0,o.parseStringToObject)(e,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const e=this.toArray();return null!=e&&e.length?e.map((e=>e.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?r.apply(t,s):r)||(e.exports=o)},202:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(753),a(164),a(545),a(24)],void 0===(o="function"==typeof(r=function(e,t,r,s,o){"use strict";var i=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=i(t),r=i(r),s=i(s);e.default=class{previousInput="";previousOutput={};constructor(e){if(null==e||!e.parser)throw new r.default("No parser specified");this.parser=e.parser}parse(e){if(!e)throw new r.default("No input specified to parse");if(this.previousInput===e)return this.previousOutput;switch(this.parser){case"libpostal":{const a=t.default.parser.parse_address(e);this.previousOutput=(0,o.parseLibpostal)(s.default,a);break}default:throw new r.default(`Unsupported parser: ${this.parser}`)}return this.previousOutput}}})?r.apply(t,s):r)||(e.exports=o)},428:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(202),a(164),a(951)],r=function(e,t,r,s){"use strict";var o=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.parseValidator=e.parseStringToObject=e.isValidFormat=e.containsValidTokens=e.constructInitialObject=e.allowedTokens=void 0,t=o(t),r=o(r),s=o(s);const i=e.allowedTokens=Object.keys(s.default);e.constructInitialObject=e=>{const t={...s.default};return Object.entries(e||{}).forEach((e=>{let[a,r]=e;a in t&&"string"==typeof r&&(t[a]=r)})),t};e.parseStringToObject=(e,t)=>{throw s.default,new r.default("This feature is not supported in your environment")};e.parseValidator=(e,t,a)=>"function"==typeof a?a(t)?t:e:t;e.containsValidTokens=function(e){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(e))&&e.every((e=>e.every((e=>{const t="object"==typeof e?e.attribute:e;return i.includes(t)}))))};e.isValidFormat=function(e){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(e)){const[t]=e;if(Array.isArray(t)){const[e]=t;if("string"==typeof e)return!0;if("object"==typeof e&&"string"==typeof e.attribute)return!0}}return!1}},void 0===(o=r.apply(t,s))||(e.exports=o)},784:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},51:e=>{"use strict";e.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},t={},function a(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.exports}(61);var e,t}));

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PostalAddress=e():t.PostalAddress=e()}("undefined"!=typeof self?self:this,(()=>{return t={3130:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(s="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[e.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[e.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[e.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[e.capitalize]}]]}}};r.CA.default=r.CA.english,r.RS=r.HR,r.SI=r.HR,r.KP=r.KR,r.NO.default=r.NO.personal,r.SE.default=r.SE.personal,r.BO=r.AR,r.CL=r.AR,r.CO=r.AR,r.EC=r.AR,r.GY=r.AR,r.PY=r.AR,r.PE=r.AR,r.UY=r.AR,r.VE=r.AR,t.default=r})?a.apply(e,o):a)||(t.exports=s)},4961:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],void 0===(s="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:e.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:e.capitalizeWhenTwo}],title:[]};t.default=r})?a.apply(e,o):a)||(t.exports=s)},5817:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(2821)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseLibpostal=t.default=void 0;const r={array:function(t,e){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const a=[];return Array.isArray(e)&&e.forEach((e=>{const o=[];Array.isArray(e)&&e.forEach((e=>{if("string"==typeof e)t[e]&&o.push(t[e]);else if("object"==typeof e&&"string"==typeof e.attribute){let a=t[e.attribute];r&&Array.isArray(e.transforms)&&e.transforms.forEach((t=>{"function"==typeof t&&(a=t(a))})),a&&o.push(a)}})),o.length>0&&a.push(o)})),a},string:null};t.parseLibpostal=(t,r)=>{const a={};return Object.keys(t).forEach((o=>{const s=t[o].reduce(((t,a)=>{let o="",s=t=>t;if(r.forEach((t=>{let{component:e,value:r}=t;"string"==typeof a&&(o=e===a?r:o),"object"==typeof a&&"string"==typeof a.attribute&&(o=e===a.attribute?r:o,s=a.transform)})),o){const r=s((0,e.pascalCase)(o));t.push(r)}return t}),[]);a[o]=s.join(" ")})),a},t.default=r},void 0===(s=a.apply(e,o))||(t.exports=s)},2821:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(6028)],void 0===(s="function"==typeof(a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pascalCase=t.capitalizeWhenTwo=t.capitalize=t.addCommaAfter=void 0;t.addCommaAfter=t=>t&&"string"==typeof t?"".concat(t).concat(","):"";t.capitalize=t=>"string"==typeof t?t.toUpperCase():"";t.capitalizeWhenTwo=t=>t&&"string"==typeof t&&2===t.length?t.toUpperCase():t;t.pascalCase=t=>"string"==typeof t?t.replace(/(\w)(\w*)/g,((t,e,r)=>e.toUpperCase()+r.toLowerCase())):""})?a.apply(e,o):a)||(t.exports=s)},6698:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(7886)],void 0===(s="function"==typeof(a=function(t,e){"use strict";var a=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=a(e),t.default=e.default})?a.apply(e,o):a)||(t.exports=s)},4790:function(t,e){var r,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(a="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?r.apply(e,[e]):r)||(t.exports=a)},934:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431)],a=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="PostalAddressError"}}t.default=r},void 0===(s=a.apply(e,o))||(t.exports=s)},7886:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(934),r(3130),r(5817),r(6341),r(3066)],void 0===(s="function"==typeof(a=function(t,e,a,o,s,n,i){"use strict";var u=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=u(e),a=u(a),o=u(o),s=u(s);const c=(i=u(i)).default;t.default=class{constructor(t){(0,e.default)(this,"stringParser","libpostal"),this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof t?(0,n.parseStringToObject)(t,this.stringParser):(0,n.constructInitialObject)(t),this.validators={formatForCountry:t=>this.allowed.formatForCountry.includes(t),formatForType:t=>this.allowed.formatForType.includes(t),outputFormat:t=>this.allowed.outputFormat.includes(t)},this.allowed={formatForCountry:Object.keys(o.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=o.default,this.addressParsers=s.default}getFormat(t){var e,r;const{outputFormat:a,formatForCountry:o,formatForType:s,addressFormats:n}=this,i=t||a;let u=n[o];u||(u=null==n?void 0:n.US);const c=(null===(e=u)||void 0===e?void 0:e[s])||(null===(r=u)||void 0===r?void 0:r.default);return null!=c&&c[i]?c[i]:null!=c&&c.array?c.array:null}getParser(t){const{outputFormat:e,addressParsers:r}=this,a=t||e;return r[a]?r[a]:null}output(t){const{useTransforms:e}=this,r=this.getFormat(t),a=this.getParser(t);return"function"==typeof a&&r?a(this.object,r,e):null}setProperty(t,e){"string"==typeof e&&t in this.object&&"string"==typeof this.object[t]&&(this.object[t]=e)}setAddress(t){return this.setAddress1(t),this}setAddress1(t){return this.setProperty("address1",t),this.setProperty("dong",t),this}setAddress2(t){return this.setProperty("address2",t),this}setAddressNum(t){return this.setProperty("addressNum",t),this}setCity(t){return this.setProperty("city",t),this.setProperty("si",t),this}setCompanyName(t){return this.setProperty("companyName",t),this}setCountry(t){this.setProperty("country",t);const e=c[t];return e&&this.setProperty("countryAlpha2",e),this}setDo(t){return this.setProperty("do",t),this.setProperty("province",t),this}setDong(t){return this.setProperty("dong",t),this.setProperty("address1",t),this}setFirstLastName(t){return this.setProperty("firstLastName",t),this}setFirstName(t){return this.setProperty("firstName",t),this}setGu(t){return this.setProperty("gu",t),this}setHonorific(t){return this.setProperty("honorific",t),this}setJobTitle(t){return this.setProperty("jobTitle",t),this}setLastName(t){return this.setProperty("lastName",t),this.setProperty("secondLastName",t),this}setPostalCode(t){return this.setProperty("postalCode",t),this}setPrefecture(t){return this.setProperty("prefecture",t),this}setProvince(t){return this.setProperty("province",t),this.setProperty("do",t),this}setRegion(t){return this.setProperty("region",t),this}setRepublic(t){return this.setProperty("republic",t),this}setSecondLastName(t){return this.setProperty("secondLastName",t),this.setProperty("lastName",t),this}setSecondName(t){return this.setProperty("secondName",t),this}setSi(t){return this.setProperty("si",t),this.setProperty("city",t),this}setState(t){return this.setProperty("state",t),this}setTitle(t){return this.setProperty("title",t),this}setStringParser(t){return this.stringParser=t,this}setOutputFormat(t){return this.outputFormat=(0,n.parseValidator)(this.outputFormat,t,this.validators.outputFormat),this}setFormat(t){let{country:e,type:r,useTransforms:a}=t;return"string"==typeof e&&(this.formatForCountry=(0,n.parseValidator)(this.formatForCountry,e,this.validators.formatForCountry)),"string"==typeof r&&(this.formatForType=(0,n.parseValidator)(this.formatForType,r,this.validators.formatForType)),"boolean"==typeof a&&(this.useTransforms=a),this}addFormat(t){let{country:e,format:r,parser:o="array",type:s="default"}=t;if(!e)throw new a.default("Country is not specified, but is required");if("string"!=typeof e||2!==e.length)throw new a.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new a.default("Format is not specified, but is required");if(!(0,n.isValidFormat)(r,o))throw new a.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,n.containsValidTokens)(r,o))throw new a.default("Format contains invalid tokens");const i=e.toUpperCase();return this.addressFormats={...this.addressFormats,[i]:{[s]:{[o]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(t){return this.object=(0,n.constructInitialObject)(t),this}fromString(t){return this.object=(0,n.parseStringToObject)(t,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const t=this.toArray();return null!=t&&t.length?t.map((t=>t.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?a.apply(e,o):a)||(t.exports=s)},4102:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(3231),r(283),r(934),r(4961),r(5817)],void 0===(s="function"==typeof(a=function(t,e,a,o,s,n){"use strict";var i=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e=i(e),a=i(a),o=i(o),s=i(s);t.default=class{constructor(t){if((0,e.default)(this,"previousInput",""),(0,e.default)(this,"previousOutput",{}),null==t||!t.parser)throw new o.default("No parser specified");this.parser=t.parser}parse(t){if(!t)throw new o.default("No input specified to parse");if(this.previousInput===t)return this.previousOutput;switch(this.parser){case"libpostal":{const e=a.default.parser.parse_address(t);this.previousOutput=(0,n.parseLibpostal)(s.default,e);break}default:throw new o.default("Unsupported parser: ".concat(this.parser))}return this.previousOutput}}})?a.apply(e,o):a)||(t.exports=s)},6341:function(t,e,r){var a,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[e,r(1431),r(4102),r(934),r(4790)],a=function(t,e,a,o,s){"use strict";var n=r(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.parseValidator=t.parseStringToObject=t.isValidFormat=t.containsValidTokens=t.constructInitialObject=t.allowedTokens=void 0,a=n(a),o=n(o),s=n(s);const i=t.allowedTokens=Object.keys(s.default);t.constructInitialObject=t=>{const e={...s.default};return Object.entries(t||{}).forEach((t=>{let[r,a]=t;r in e&&"string"==typeof a&&(e[r]=a)})),e};t.parseStringToObject=(t,e)=>{const r={...s.default};if(!e)throw new o.default("No parser specified");return{...r,...new a.default({parser:e}).parse(t)}};t.parseValidator=(t,e,r)=>"function"==typeof r?r(e)?e:t:e;t.containsValidTokens=function(t){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(t))&&t.every((t=>t.every((t=>{const e="object"==typeof t?t.attribute:t;return i.includes(e)}))))};t.isValidFormat=function(t){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(t)){const[e]=t;if(Array.isArray(e)){const[t]=e;if("string"==typeof t)return!0;if("object"==typeof t&&"string"==typeof t.attribute)return!0}}return!1}},void 0===(s=a.apply(e,o))||(t.exports=s)},283:t=>{"use strict";t.exports=require("node-postal")},3231:(t,e,r)=>{var a=r(4040);t.exports=function(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},3203:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6027:(t,e,r)=>{var a=r(7501).default;t.exports=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},4040:(t,e,r)=>{var a=r(7501).default,o=r(6027);t.exports=function(t){var e=o(t,"string");return"symbol"==a(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},1575:(t,e,r)=>{"use strict";var a=r(5893),o=r(5545),s=TypeError;t.exports=function(t){if(a(t))return t;throw new s(o(t)+" is not a function")}},9272:(t,e,r)=>{"use strict";var a=r(545),o=String,s=TypeError;t.exports=function(t){if(a(t))return t;throw new s("Can't set "+o(t)+" as a prototype")}},9408:(t,e,r)=>{"use strict";var a=r(7936),o=r(9464),s=r(7144).f,n=a("unscopables"),i=Array.prototype;void 0===i[n]&&s(i,n,{configurable:!0,value:o(null)}),t.exports=function(t){i[n][t]=!0}},9384:(t,e,r)=>{"use strict";var a=r(8373).charAt;t.exports=function(t,e,r){return e+(r?a(t,e).length:1)}},9972:(t,e,r)=>{"use strict";var a=r(5287),o=String,s=TypeError;t.exports=function(t){if(a(t))return t;throw new s(o(t)+" is not an object")}},2971:(t,e,r)=>{"use strict";var a=r(9405),o=r(9961),s=r(9969),n=function(t){return function(e,r,n){var i,u=a(e),c=s(u),l=o(n,c);if(t&&r!=r){for(;c>l;)if((i=u[l++])!=i)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}},3048:(t,e,r)=>{"use strict";var a=r(6406),o=a({}.toString),s=a("".slice);t.exports=function(t){return s(o(t),8,-1)}},5683:(t,e,r)=>{"use strict";var a=r(6623),o=r(5893),s=r(3048),n=r(7936)("toStringTag"),i=Object,u="Arguments"===s(function(){return arguments}());t.exports=a?s:function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=i(t),n))?r:u?s(e):"Object"===(a=s(e))&&o(e.callee)?"Arguments":a}},779:(t,e,r)=>{"use strict";var a=r(4130),o=r(6627),s=r(10),n=r(7144);t.exports=function(t,e,r){for(var i=o(e),u=n.f,c=s.f,l=0;l<i.length;l++){var d=i[l];a(t,d)||r&&a(r,d)||u(t,d,c(e,d))}}},9494:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4160:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},9251:(t,e,r)=>{"use strict";var a=r(3877),o=r(7144),s=r(9637);t.exports=a?function(t,e,r){return o.f(t,e,s(1,r))}:function(t,e,r){return t[e]=r,t}},9637:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7205:(t,e,r)=>{"use strict";var a=r(5893),o=r(7144),s=r(3911),n=r(3630);t.exports=function(t,e,r,i){i||(i={});var u=i.enumerable,c=void 0!==i.name?i.name:e;if(a(r)&&s(r,c,i),i.global)u?t[e]=r:n(e,r);else{try{i.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},3630:(t,e,r)=>{"use strict";var a=r(7802),o=Object.defineProperty;t.exports=function(t,e){try{o(a,t,{value:e,configurable:!0,writable:!0})}catch(r){a[t]=e}return e}},3877:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9800:(t,e,r)=>{"use strict";var a=r(7802),o=r(5287),s=a.document,n=o(s)&&o(s.createElement);t.exports=function(t){return n?s.createElement(t):{}}},3136:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2823:(t,e,r)=>{"use strict";var a=r(9800)("span").classList,o=a&&a.constructor&&a.constructor.prototype;t.exports=o===Object.prototype?void 0:o},2626:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7245:(t,e,r)=>{"use strict";var a,o,s=r(7802),n=r(2626),i=s.process,u=s.Deno,c=i&&i.versions||u&&u.version,l=c&&c.v8;l&&(o=(a=l.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!o&&n&&(!(a=n.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=n.match(/Chrome\/(\d+)/))&&(o=+a[1]),t.exports=o},4286:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2390:(t,e,r)=>{"use strict";var a=r(7802),o=r(10).f,s=r(9251),n=r(7205),i=r(3630),u=r(779),c=r(5031);t.exports=function(t,e){var r,l,d,f,p,y=t.target,m=t.global,h=t.stat;if(r=m?a:h?a[y]||i(y,{}):a[y]&&a[y].prototype)for(l in e){if(f=e[l],d=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(m?l:y+(h?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(t.sham||d&&d.sham)&&s(f,"sham",!0),n(r,l,f,t)}}},5306:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},3282:(t,e,r)=>{"use strict";r(9139);var a=r(1550),o=r(7205),s=r(3351),n=r(5306),i=r(7936),u=r(9251),c=i("species"),l=RegExp.prototype;t.exports=function(t,e,r,d){var f=i(t),p=!n((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),y=p&&!n((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return e=!0,null},r[f](""),!e}));if(!p||!y||r){var m=/./[f],h=e(f,""[t],(function(t,e,r,o,n){var i=e.exec;return i===s||i===l.exec?p&&!n?{done:!0,value:a(m,e,r,o)}:{done:!0,value:a(t,r,e,o)}:{done:!1}}));o(String.prototype,t,h[0]),o(l,f,h[1])}d&&u(l[f],"sham",!0)}},6415:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,s=o.apply,n=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(a?n.bind(s):function(){return n.apply(s,arguments)})},7219:(t,e,r)=>{"use strict";var a=r(5306);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1550:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype.call;t.exports=a?o.bind(o):function(){return o.apply(o,arguments)}},9656:(t,e,r)=>{"use strict";var a=r(3877),o=r(4130),s=Function.prototype,n=a&&Object.getOwnPropertyDescriptor,i=o(s,"name"),u=i&&"something"===function(){}.name,c=i&&(!a||a&&n(s,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:c}},8692:(t,e,r)=>{"use strict";var a=r(6406),o=r(1575);t.exports=function(t,e,r){try{return a(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6406:(t,e,r)=>{"use strict";var a=r(7219),o=Function.prototype,s=o.call,n=a&&o.bind.bind(s,s);t.exports=a?n:function(t){return function(){return s.apply(t,arguments)}}},1570:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893);t.exports=function(t,e){return arguments.length<2?(r=a[t],o(r)?r:void 0):a[t]&&a[t][e];var r}},6628:(t,e,r)=>{"use strict";var a=r(1575),o=r(7707);t.exports=function(t,e){var r=t[e];return o(r)?void 0:a(r)}},5338:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),s=Math.floor,n=a("".charAt),i=a("".replace),u=a("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,a,d,f){var p=r+t.length,y=a.length,m=l;return void 0!==d&&(d=o(d),m=c),i(f,m,(function(o,i){var c;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=d[u(i,1,-1)];break;default:var l=+i;if(0===l)return o;if(l>y){var f=s(l/10);return 0===f?o:f<=y?void 0===a[f-1]?n(i,1):a[f-1]+n(i,1):o}c=a[l-1]}return void 0===c?"":c}))}},7802:function(t){"use strict";var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4130:(t,e,r)=>{"use strict";var a=r(6406),o=r(5864),s=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return s(o(t),e)}},3421:t=>{"use strict";t.exports={}},2343:(t,e,r)=>{"use strict";var a=r(1570);t.exports=a("document","documentElement")},3075:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306),s=r(9800);t.exports=!a&&!o((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},5366:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),s=r(3048),n=Object,i=a("".split);t.exports=o((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===s(t)?i(t,""):n(t)}:n},5088:(t,e,r)=>{"use strict";var a=r(6406),o=r(5893),s=r(4830),n=a(Function.toString);o(s.inspectSource)||(s.inspectSource=function(t){return n(t)}),t.exports=s.inspectSource},9930:(t,e,r)=>{"use strict";var a,o,s,n=r(5585),i=r(7802),u=r(5287),c=r(9251),l=r(4130),d=r(4830),f=r(139),p=r(3421),y="Object already initialized",m=i.TypeError,h=i.WeakMap;if(n||d.state){var v=d.state||(d.state=new h);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw new m(y);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},s=function(t){return v.has(t)}}else{var b=f("state");p[b]=!0,a=function(t,e){if(l(t,b))throw new m(y);return e.facade=t,c(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},s=function(t){return l(t,b)}}t.exports={set:a,get:o,has:s,enforce:function(t){return s(t)?o(t):a(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},5893:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},5031:(t,e,r)=>{"use strict";var a=r(5306),o=r(5893),s=/#|\.prototype\./,n=function(t,e){var r=u[i(t)];return r===l||r!==c&&(o(e)?a(e):!!e)},i=n.normalize=function(t){return String(t).replace(s,".").toLowerCase()},u=n.data={},c=n.NATIVE="N",l=n.POLYFILL="P";t.exports=n},7707:t=>{"use strict";t.exports=function(t){return null==t}},5287:(t,e,r)=>{"use strict";var a=r(5893);t.exports=function(t){return"object"==typeof t?null!==t:a(t)}},545:(t,e,r)=>{"use strict";var a=r(5287);t.exports=function(t){return a(t)||null===t}},99:t=>{"use strict";t.exports=!1},103:(t,e,r)=>{"use strict";var a=r(1570),o=r(5893),s=r(2075),n=r(345),i=Object;t.exports=n?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return o(e)&&s(e.prototype,i(t))}},3691:(t,e,r)=>{"use strict";var a=r(4760).IteratorPrototype,o=r(9464),s=r(9637),n=r(3581),i=r(9921),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(a,{next:s(+!c,r)}),n(t,l,!1,!0),i[l]=u,t}},7227:(t,e,r)=>{"use strict";var a=r(2390),o=r(1550),s=r(99),n=r(9656),i=r(5893),u=r(3691),c=r(6900),l=r(1126),d=r(3581),f=r(9251),p=r(7205),y=r(7936),m=r(9921),h=r(4760),v=n.PROPER,b=n.CONFIGURABLE,g=h.IteratorPrototype,N=h.BUGGY_SAFARI_ITERATORS,x=y("iterator"),S="keys",C="values",P="entries",T=function(){return this};t.exports=function(t,e,r,n,y,h,A){u(r,e,n);var O,w,M,j=function(t){if(t===y&&L)return L;if(!N&&t&&t in E)return E[t];switch(t){case S:case C:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",R=!1,E=t.prototype,F=E[x]||E["@@iterator"]||y&&E[y],L=!N&&F||j(y),G="Array"===e&&E.entries||F;if(G&&(O=c(G.call(new t)))!==Object.prototype&&O.next&&(s||c(O)===g||(l?l(O,g):i(O[x])||p(O,x,T)),d(O,I,!0,!0),s&&(m[I]=T)),v&&y===C&&F&&F.name!==C&&(!s&&b?f(E,"name",C):(R=!0,L=function(){return o(F,this)})),y)if(w={values:j(C),keys:h?L:j(S),entries:j(P)},A)for(M in w)(N||R||!(M in E))&&p(E,M,w[M]);else a({target:e,proto:!0,forced:N||R},w);return s&&!A||E[x]===L||p(E,x,L,{name:y}),m[e]=L,w}},4760:(t,e,r)=>{"use strict";var a,o,s,n=r(5306),i=r(5893),u=r(5287),c=r(9464),l=r(6900),d=r(7205),f=r(7936),p=r(99),y=f("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(o=l(l(s)))!==Object.prototype&&(a=o):m=!0),!u(a)||n((function(){var t={};return a[y].call(t)!==t}))?a={}:p&&(a=c(a)),i(a[y])||d(a,y,(function(){return this})),t.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:m}},9921:t=>{"use strict";t.exports={}},9969:(t,e,r)=>{"use strict";var a=r(9099);t.exports=function(t){return a(t.length)}},3911:(t,e,r)=>{"use strict";var a=r(6406),o=r(5306),s=r(5893),n=r(4130),i=r(3877),u=r(9656).CONFIGURABLE,c=r(5088),l=r(9930),d=l.enforce,f=l.get,p=String,y=Object.defineProperty,m=a("".slice),h=a("".replace),v=a([].join),b=i&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),N=t.exports=function(t,e,r){"Symbol("===m(p(e),0,7)&&(e="["+h(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||u&&t.name!==e)&&(i?y(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&n(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=d(t);return n(a,"source")||(a.source=v(g,"string"==typeof e?e:"")),t};Function.prototype.toString=N((function(){return s(this)&&f(this).source||c(this)}),"toString")},1402:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?r:e)(a)}},9464:(t,e,r)=>{"use strict";var a,o=r(9972),s=r(3872),n=r(4286),i=r(3421),u=r(2343),c=r(9800),l=r(139),d="prototype",f="script",p=l("IE_PROTO"),y=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},h=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&a?h(a):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):h(a);for(var o=n.length;o--;)delete v[d][n[o]];return v()};i[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[p]=t):r=v(),void 0===e?r:s.f(r,e)}},3872:(t,e,r)=>{"use strict";var a=r(3877),o=r(7475),s=r(7144),n=r(9972),i=r(9405),u=r(1008);e.f=a&&!o?Object.defineProperties:function(t,e){n(t);for(var r,a=i(e),o=u(e),c=o.length,l=0;c>l;)s.f(t,r=o[l++],a[r]);return t}},7144:(t,e,r)=>{"use strict";var a=r(3877),o=r(3075),s=r(7475),n=r(9972),i=r(3662),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";e.f=a?s?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var a=l(t,e);a&&a[p]&&(t[e]=r.value,r={configurable:f in r?r[f]:a[f],enumerable:d in r?r[d]:a[d],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(n(t),e=i(e),n(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},10:(t,e,r)=>{"use strict";var a=r(3877),o=r(1550),s=r(1940),n=r(9637),i=r(9405),u=r(3662),c=r(4130),l=r(3075),d=Object.getOwnPropertyDescriptor;e.f=a?d:function(t,e){if(t=i(t),e=u(e),l)try{return d(t,e)}catch(t){}if(c(t,e))return n(!o(s.f,t,e),t[e])}},7397:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},6855:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},6900:(t,e,r)=>{"use strict";var a=r(4130),o=r(5893),s=r(5864),n=r(139),i=r(9494),u=n("IE_PROTO"),c=Object,l=c.prototype;t.exports=i?c.getPrototypeOf:function(t){var e=s(t);if(a(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},2075:(t,e,r)=>{"use strict";var a=r(6406);t.exports=a({}.isPrototypeOf)},5079:(t,e,r)=>{"use strict";var a=r(6406),o=r(4130),s=r(9405),n=r(2971).indexOf,i=r(3421),u=a([].push);t.exports=function(t,e){var r,a=s(t),c=0,l=[];for(r in a)!o(i,r)&&o(a,r)&&u(l,r);for(;e.length>c;)o(a,r=e[c++])&&(~n(l,r)||u(l,r));return l}},1008:(t,e,r)=>{"use strict";var a=r(5079),o=r(4286);t.exports=Object.keys||function(t){return a(t,o)}},1940:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},1126:(t,e,r)=>{"use strict";var a=r(8692),o=r(9972),s=r(9272);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=a(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,a){return o(r),s(a),e?t(r,a):r.__proto__=a,r}}():void 0)},1253:(t,e,r)=>{"use strict";var a=r(1550),o=r(5893),s=r(5287),n=TypeError;t.exports=function(t,e){var r,i;if("string"===e&&o(r=t.toString)&&!s(i=a(r,t)))return i;if(o(r=t.valueOf)&&!s(i=a(r,t)))return i;if("string"!==e&&o(r=t.toString)&&!s(i=a(r,t)))return i;throw new n("Can't convert object to primitive value")}},6627:(t,e,r)=>{"use strict";var a=r(1570),o=r(6406),s=r(7397),n=r(6855),i=r(9972),u=o([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=s.f(i(t)),r=n.f;return r?u(e,r(t)):e}},7771:(t,e,r)=>{"use strict";var a=r(1550),o=r(9972),s=r(5893),n=r(3048),i=r(3351),u=TypeError;t.exports=function(t,e){var r=t.exec;if(s(r)){var c=a(r,t,e);return null!==c&&o(c),c}if("RegExp"===n(t))return a(i,t,e);throw new u("RegExp#exec called on incompatible receiver")}},3351:(t,e,r)=>{"use strict";var a,o,s=r(1550),n=r(6406),i=r(2755),u=r(3137),c=r(9688),l=r(9231),d=r(9464),f=r(9930).get,p=r(8880),y=r(2901),m=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,b=n("".charAt),g=n("".indexOf),N=n("".replace),x=n("".slice),S=(o=/b*/g,s(h,a=/a/,"a"),s(h,o,"a"),0!==a.lastIndex||0!==o.lastIndex),C=c.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(S||P||C||p||y)&&(v=function(t){var e,r,a,o,n,c,l,p=this,y=f(p),T=i(t),A=y.raw;if(A)return A.lastIndex=p.lastIndex,e=s(v,A,T),p.lastIndex=A.lastIndex,e;var O=y.groups,w=C&&p.sticky,M=s(u,p),j=p.source,I=0,R=T;if(w&&(M=N(M,"y",""),-1===g(M,"g")&&(M+="g"),R=x(T,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b(T,p.lastIndex-1))&&(j="(?: "+j+")",R=" "+R,I++),r=new RegExp("^(?:"+j+")",M)),P&&(r=new RegExp("^"+j+"$(?!\\s)",M)),S&&(a=p.lastIndex),o=s(h,w?r:p,R),w?o?(o.input=x(o.input,I),o[0]=x(o[0],I),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:a),P&&o&&o.length>1&&s(m,o[0],r,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(o[n]=void 0)})),o&&O)for(o.groups=c=d(null),n=0;n<O.length;n++)c[(l=O[n])[0]]=o[l[1]];return o}),t.exports=v},3137:(t,e,r)=>{"use strict";var a=r(9972);t.exports=function(){var t=a(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},9688:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp,s=a((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=s||a((function(){return!o("a","y").sticky})),i=s||a((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:s}},8880:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},2901:(t,e,r)=>{"use strict";var a=r(5306),o=r(7802).RegExp;t.exports=a((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},6762:(t,e,r)=>{"use strict";var a=r(7707),o=TypeError;t.exports=function(t){if(a(t))throw new o("Can't call method on "+t);return t}},3581:(t,e,r)=>{"use strict";var a=r(7144).f,o=r(4130),s=r(7936)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,s)&&a(t,s,{configurable:!0,value:e})}},139:(t,e,r)=>{"use strict";var a=r(9231),o=r(6350),s=a("keys");t.exports=function(t){return s[t]||(s[t]=o(t))}},4830:(t,e,r)=>{"use strict";var a=r(7802),o=r(3630),s="__core-js_shared__",n=a[s]||o(s,{});t.exports=n},9231:(t,e,r)=>{"use strict";var a=r(99),o=r(4830);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:a?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8373:(t,e,r)=>{"use strict";var a=r(6406),o=r(5930),s=r(2755),n=r(6762),i=a("".charAt),u=a("".charCodeAt),c=a("".slice),l=function(t){return function(e,r){var a,l,d=s(n(e)),f=o(r),p=d.length;return f<0||f>=p?t?"":void 0:(a=u(d,f))<55296||a>56319||f+1===p||(l=u(d,f+1))<56320||l>57343?t?i(d,f):a:t?c(d,f,f+2):l-56320+(a-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4053:(t,e,r)=>{"use strict";var a=r(7245),o=r(5306),s=r(7802).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},9961:(t,e,r)=>{"use strict";var a=r(5930),o=Math.max,s=Math.min;t.exports=function(t,e){var r=a(t);return r<0?o(r+e,0):s(r,e)}},9405:(t,e,r)=>{"use strict";var a=r(5366),o=r(6762);t.exports=function(t){return a(o(t))}},5930:(t,e,r)=>{"use strict";var a=r(1402);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},9099:(t,e,r)=>{"use strict";var a=r(5930),o=Math.min;t.exports=function(t){var e=a(t);return e>0?o(e,9007199254740991):0}},5864:(t,e,r)=>{"use strict";var a=r(6762),o=Object;t.exports=function(t){return o(a(t))}},6090:(t,e,r)=>{"use strict";var a=r(1550),o=r(5287),s=r(103),n=r(6628),i=r(1253),u=r(7936),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||s(t))return t;var r,u=n(t,l);if(u){if(void 0===e&&(e="default"),r=a(u,t,e),!o(r)||s(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},3662:(t,e,r)=>{"use strict";var a=r(6090),o=r(103);t.exports=function(t){var e=a(t,"string");return o(e)?e:e+""}},6623:(t,e,r)=>{"use strict";var a={};a[r(7936)("toStringTag")]="z",t.exports="[object z]"===String(a)},2755:(t,e,r)=>{"use strict";var a=r(5683),o=String;t.exports=function(t){if("Symbol"===a(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},5545:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6350:(t,e,r)=>{"use strict";var a=r(6406),o=0,s=Math.random(),n=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++o+s,36)}},345:(t,e,r)=>{"use strict";var a=r(4053);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7475:(t,e,r)=>{"use strict";var a=r(3877),o=r(5306);t.exports=a&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5585:(t,e,r)=>{"use strict";var a=r(7802),o=r(5893),s=a.WeakMap;t.exports=o(s)&&/native code/.test(String(s))},7936:(t,e,r)=>{"use strict";var a=r(7802),o=r(9231),s=r(4130),n=r(6350),i=r(4053),u=r(345),c=a.Symbol,l=o("wks"),d=u?c.for||c:c&&c.withoutSetter||n;t.exports=function(t){return s(l,t)||(l[t]=i&&s(c,t)?c[t]:d("Symbol."+t)),l[t]}},3227:(t,e,r)=>{"use strict";var a=r(9405),o=r(9408),s=r(9921),n=r(9930),i=r(7144).f,u=r(7227),c=r(4160),l=r(99),d=r(3877),f="Array Iterator",p=n.set,y=n.getterFor(f);t.exports=u(Array,"Array",(function(t,e){p(this,{type:f,target:a(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var m=s.Arguments=s.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==m.name)try{i(m,"name",{value:"values"})}catch(t){}},9139:(t,e,r)=>{"use strict";var a=r(2390),o=r(3351);a({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},6028:(t,e,r)=>{"use strict";var a=r(6415),o=r(1550),s=r(6406),n=r(3282),i=r(5306),u=r(9972),c=r(5893),l=r(7707),d=r(5930),f=r(9099),p=r(2755),y=r(6762),m=r(9384),h=r(6628),v=r(5338),b=r(7771),g=r(7936)("replace"),N=Math.max,x=Math.min,S=s([].concat),C=s([].push),P=s("".indexOf),T=s("".slice),A="$0"==="a".replace(/./,"$0"),O=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(t,e,r){var s=O?"$":"$0";return[function(t,r){var a=y(this),s=l(t)?void 0:h(t,g);return s?o(s,t,a,r):o(e,p(a),t,r)},function(t,o){var n=u(this),i=p(t);if("string"==typeof o&&-1===P(o,s)&&-1===P(o,"$<")){var l=r(e,n,i,o);if(l.done)return l.value}var y=c(o);y||(o=p(o));var h,g=n.global;g&&(h=n.unicode,n.lastIndex=0);for(var A,O=[];null!==(A=b(n,i))&&(C(O,A),g);)""===p(A[0])&&(n.lastIndex=m(i,f(n.lastIndex),h));for(var w,M="",j=0,I=0;I<O.length;I++){for(var R,E=p((A=O[I])[0]),F=N(x(d(A.index),i.length),0),L=[],G=1;G<A.length;G++)C(L,void 0===(w=A[G])?w:String(w));var _=A.groups;if(y){var B=S([E],L,F,i);void 0!==_&&C(B,_),R=p(a(o,void 0,B))}else R=v(E,i,F,L,_,o);F>=j&&(M+=T(i,j,F)+R,j=F+E.length)}return M+T(i,j)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!A||O)},1431:(t,e,r)=>{"use strict";var a=r(7802),o=r(3136),s=r(2823),n=r(3227),i=r(9251),u=r(3581),c=r(7936)("iterator"),l=n.values,d=function(t,e){if(t){if(t[c]!==l)try{i(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),o[e])for(var r in n)if(t[r]!==n[r])try{i(t,r,n[r])}catch(e){t[r]=n[r]}}};for(var f in o)d(a[f]&&a[f].prototype,f);d(s,"DOMTokenList")},3066:t=>{"use strict";t.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},e={},function r(a){var o=e[a];if(void 0!==o)return o.exports;var s=e[a]={exports:{}};return t[a].call(s.exports,s,s.exports,r),s.exports}(6698);var t,e}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PostalAddress=t():e.PostalAddress=t()}(this,(()=>{return e={272:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={AR:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},AU:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],["country"]]}},AT:{default:{array:[["honorific"],["firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},BS:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["city"],["country"]]}},BG:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city"],["state"],["country"]]}},BR:{default:{array:[["companyName"],["honorific","firstName","secondName","lastName"],["address1","address2"],["postalCode","city","state"],["country"]]}},CA:{english:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"province","postalCode"],["country"]]},french:{array:[["honorific","firstName","lastName"],["address1","address2"],["city","province"],["postalCode"],["country"]]}},CH:{default:{array:[["honorific","firstName","lastName"],["address1","address2"],["postalCode","city"],["country"]]}},CN:{default:{array:[["country"],["province","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},CZ:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},DE:{default:{array:[["companyName"],["honorific","title","firstName","lastName"],["address1"],["address2"],[""],["countryAlpha2","postalCode","city"],["country"]]}},DK:{default:{array:[["honorific","title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["countryAlpha2","postalCode","city"],["country"]]}},ES:{default:{array:[["honorific","firstName","secondName","firstLastName"],["secondLastName"],["companyName"],["address1","address2"],["postalCode","city"],["country"]]}},FI:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},FR:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},GR:{default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},HU:{business:{array:[["honorific","lastName","firstName","secondName"],["companyName"],["postalCode","city"],["address1"],["address2"],["state"],["country"]]},default:{array:[["honorific","lastName","firstName"],["city"],["address1","address2"],["postalCode"],["state"],["country"]]}},IT:{default:{array:[["honorific","firstName","lastName"],["companyName"],["address1","address2"],[""],["countryAlpha2","postalCode","city","province"],["country"]]}},JP:{default:{array:[["country"],["postalCode","prefecture","city"],["address1","address2"],["companyName"],["lastName","firstName","honorific"]]}},KR:{default:{array:[["country"],["do","si","dong","gu","addressNum"],["companyName"],["lastName","firstName","honorific"]]}},MY:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state","country"]]}},NL:{business:{array:[["companyName"],["t.a.v.","title","firstName","secondName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},default:{array:[["title","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},NO:{business:{array:[["companyName"],["address1"],["firstName","lastName"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},PL:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},PT:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["country"]]}},RO:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["postalCode","city"],["state"],["country"]]}},RU:{default:{array:[["country"],["republic","state","region","city"],["address1"],["address2"],["companyName"],["lastName"],["firstName","secondName"]]}},SG:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],["country","postalCode"],["country"]]}},SE:{business:{array:[["companyName"],["firstName","lastName"],["address1"],["address2"],["postalCode","city"],["country"]]},personal:{array:[["jobTitle","firstName","lastName"],["address1","address2"],["postalCode",{attribute:"city",transforms:[t.capitalize]}],["country"]]}},TR:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"postalCode",transforms:[t.addCommaAfter]},"city"],["country"]]}},US:{default:{array:[["honorific","firstName","secondName","lastName"],["companyName"],["address1"],["address2"],[{attribute:"city",transforms:[t.addCommaAfter]},"state","postalCode"],[{attribute:"country",transforms:[t.capitalize]}]]}}};a.CA.default=a.CA.english,a.RS=a.HR,a.SI=a.HR,a.KP=a.KR,a.NO.default=a.NO.personal,a.SE.default=a.SE.personal,a.BO=a.AR,a.CL=a.AR,a.CO=a.AR,a.EC=a.AR,a.GY=a.AR,a.PY=a.AR,a.PE=a.AR,a.UY=a.AR,a.VE=a.AR,e.default=a})?r.apply(t,s):r)||(e.exports=o)},545:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a={address1:["house","house_number","unit","level","staircase","entrance","road"],address2:["near","suburb","city_district","state_district","island"],addressNum:["po_box"],city:["city"],companyName:[],country:[{attribute:"country",transform:t.capitalizeWhenTwo},"world_region"],countryAlpha2:[],do:["country_region"],dong:[],firstLastName:[],firstName:[],gu:[],honorific:[],jobTitle:[],lastName:[],postalCode:["postcode"],prefecture:["state_district"],province:[],region:["country_region"],republic:[],secondLastName:[],secondName:[],si:["city"],state:[{attribute:"state",transform:t.capitalizeWhenTwo}],title:[]};e.default=a})?r.apply(t,s):r)||(e.exports=o)},24:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(903)],r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLibpostal=e.default=void 0;const a={array:function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];return Array.isArray(t)&&t.forEach((t=>{const s=[];Array.isArray(t)&&t.forEach((t=>{if("string"==typeof t)e[t]&&s.push(e[t]);else if("object"==typeof t&&"string"==typeof t.attribute){let r=e[t.attribute];a&&Array.isArray(t.transforms)&&t.transforms.forEach((e=>{"function"==typeof e&&(r=e(r))})),r&&s.push(r)}})),s.length>0&&r.push(s)})),r},string:null};e.parseLibpostal=(e,a)=>{const r={};return Object.keys(e).forEach((s=>{const o=e[s].reduce(((e,r)=>{let s="",o=e=>e;if(a.forEach((e=>{let{component:t,value:a}=e;"string"==typeof r&&(s=t===r?a:s),"object"==typeof r&&"string"==typeof r.attribute&&(s=t===r.attribute?a:s,o=r.transform)})),s){const a=o((0,t.pascalCase)(s));e.push(a)}return e}),[]);r[s]=o.join(" ")})),r},e.default=a},void 0===(o=r.apply(t,s))||(e.exports=o)},903:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pascalCase=e.capitalizeWhenTwo=e.capitalize=e.addCommaAfter=void 0;e.addCommaAfter=e=>e&&"string"==typeof e?`${e},`:"";e.capitalize=e=>"string"==typeof e?e.toUpperCase():"";e.capitalizeWhenTwo=e=>e&&"string"==typeof e&&2===e.length?e.toUpperCase():e;e.pascalCase=e=>"string"==typeof e?e.replace(/(\w)(\w*)/g,((e,t,a)=>t.toUpperCase()+a.toLowerCase())):""})?a.apply(t,[t]):a)||(e.exports=r)},61:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(279)],void 0===(o="function"==typeof(r=function(e,t){"use strict";var r=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=r(t),e.default=t.default})?r.apply(t,s):r)||(e.exports=o)},951:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,void 0===(r="function"==typeof(a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={address1:"",address2:"",addressNum:"",city:"",companyName:"",country:"",countryAlpha2:"",do:"",dong:"",firstLastName:"",firstName:"",gu:"",honorific:"",jobTitle:"",lastName:"",postalCode:"",prefecture:"",province:"",region:"",republic:"",secondLastName:"",secondName:"",si:"",state:"",title:""}})?a.apply(t,[t]):a)||(e.exports=r)},164:function(e,t){var a,r;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,a=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class t extends Error{constructor(){super(...arguments),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="PostalAddressError"}}e.default=t},void 0===(r=a.apply(t,[t]))||(e.exports=r)},279:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(164),a(272),a(24),a(428),a(51)],void 0===(o="function"==typeof(r=function(e,t,r,s,o,i){"use strict";var n=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=n(t),r=n(r),s=n(s);const d=(i=n(i)).default;e.default=class{stringParser="libpostal";propagateToRelatedProperties=!0;constructor(e){this.outputFormat="array",this.formatForCountry="US",this.formatForType="default",this.useTransforms=!0,this.object="string"==typeof e?(0,o.parseStringToObject)(e,this.stringParser):(0,o.constructInitialObject)(e),this.validators={formatForCountry:e=>this.allowed.formatForCountry.includes(e),formatForType:e=>this.allowed.formatForType.includes(e),outputFormat:e=>this.allowed.outputFormat.includes(e)},this.allowed={formatForCountry:Object.keys(r.default),formatForType:["business","default","english","french","personal"],outputFormat:["array","string"]},this.addressFormats=r.default,this.addressParsers=s.default}getFormat(e){var t,a;const{outputFormat:r,formatForCountry:s,formatForType:o,addressFormats:i}=this,n=e||r;let d=i[s];d||(d=null==i?void 0:i.US);const l=(null===(t=d)||void 0===t?void 0:t[o])||(null===(a=d)||void 0===a?void 0:a.default);return null!=l&&l[n]?l[n]:null!=l&&l.array?l.array:null}getParser(e){const{outputFormat:t,addressParsers:a}=this,r=e||t;return a[r]?a[r]:null}output(e){const{useTransforms:t}=this,a=this.getFormat(e),r=this.getParser(e);return"function"==typeof r&&a?r(this.object,a,t):null}setProperty(e,t){"string"==typeof t&&e in this.object&&"string"==typeof this.object[e]&&(this.object[e]=t)}setAddress(e){return this.setAddress1(e),this}setAddress1(e){return this.setProperty("address1",e),this.propagateToRelatedProperties&&this.setProperty("dong",e),this}setAddress2(e){return this.setProperty("address2",e),this}setAddressNum(e){return this.setProperty("addressNum",e),this}setCity(e){return this.setProperty("city",e),this.propagateToRelatedProperties&&this.setProperty("si",e),this}setCompanyName(e){return this.setProperty("companyName",e),this}setCountry(e){if(this.setProperty("country",e),this.propagateToRelatedProperties){const t=d[e];t&&this.setProperty("countryAlpha2",t)}return this}setDo(e){return this.setProperty("do",e),this.propagateToRelatedProperties&&this.setProperty("province",e),this}setDong(e){return this.setProperty("dong",e),this.propagateToRelatedProperties&&this.setProperty("address1",e),this}setFirstLastName(e){return this.setProperty("firstLastName",e),this}setFirstName(e){return this.setProperty("firstName",e),this}setGu(e){return this.setProperty("gu",e),this}setHonorific(e){return this.setProperty("honorific",e),this}setJobTitle(e){return this.setProperty("jobTitle",e),this}setLastName(e){return this.setProperty("lastName",e),this.propagateToRelatedProperties&&this.setProperty("secondLastName",e),this}setPostalCode(e){return this.setProperty("postalCode",e),this}setPrefecture(e){return this.setProperty("prefecture",e),this}setProvince(e){return this.setProperty("province",e),this.propagateToRelatedProperties&&this.setProperty("do",e),this}setRegion(e){return this.setProperty("region",e),this}setRepublic(e){return this.setProperty("republic",e),this}setSecondLastName(e){return this.setProperty("secondLastName",e),this.propagateToRelatedProperties&&this.setProperty("lastName",e),this}setSecondName(e){return this.setProperty("secondName",e),this}setSi(e){return this.setProperty("si",e),this.propagateToRelatedProperties&&this.setProperty("city",e),this}setState(e){return this.setProperty("state",e),this}setTitle(e){return this.setProperty("title",e),this}setStringParser(e){return this.stringParser=e,this}setPropagation(e){return this.propagateToRelatedProperties=e,this}setOutputFormat(e){return this.outputFormat=(0,o.parseValidator)(this.outputFormat,e,this.validators.outputFormat),this}setFormat(e){let{country:t,type:a,useTransforms:r}=e;return"string"==typeof t&&(this.formatForCountry=(0,o.parseValidator)(this.formatForCountry,t,this.validators.formatForCountry)),"string"==typeof a&&(this.formatForType=(0,o.parseValidator)(this.formatForType,a,this.validators.formatForType)),"boolean"==typeof r&&(this.useTransforms=r),this}addFormat(e){let{country:a,format:r,parser:s="array",type:i="default"}=e;if(!a)throw new t.default("Country is not specified, but is required");if("string"!=typeof a||2!==a.length)throw new t.default("Country is not an ISO 3166-1 alpha-2 code");if(!r)throw new t.default("Format is not specified, but is required");if(!(0,o.isValidFormat)(r,s))throw new t.default("Format is invalid, should be an array of arrays of strings or objects");if(!(0,o.containsValidTokens)(r,s))throw new t.default("Format contains invalid tokens");const n=a.toUpperCase();return this.addressFormats={...this.addressFormats,[n]:{[i]:{[s]:r}}},this.allowed.formatForCountry=Object.keys(this.addressFormats),this}fromObject(e){return this.object=(0,o.constructInitialObject)(e),this}fromString(e){return this.object=(0,o.parseStringToObject)(e,this.stringParser),this}toArray(){return this.output("array")||[]}toObject(){return this.object}toString(){const e=this.toArray();return null!=e&&e.length?e.map((e=>e.join(" "))).join("\n"):""}raw(){return this.toObject()}}})?r.apply(t,s):r)||(e.exports=o)},202:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(342),a(164),a(545),a(24)],void 0===(o="function"==typeof(r=function(e,t,r,s,o){"use strict";var i=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=i(t),r=i(r),s=i(s);e.default=class{previousInput="";previousOutput={};constructor(e){if(null==e||!e.parser)throw new r.default("No parser specified");this.parser=e.parser}parse(e){if(!e)throw new r.default("No input specified to parse");if(this.previousInput===e)return this.previousOutput;switch(this.parser){case"libpostal":{const a=t.default.parser.parse_address(e);this.previousOutput=(0,o.parseLibpostal)(s.default,a);break}default:throw new r.default(`Unsupported parser: ${this.parser}`)}return this.previousOutput}}})?r.apply(t,s):r)||(e.exports=o)},428:function(e,t,a){var r,s,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[t,a(202),a(164),a(951)],r=function(e,t,r,s){"use strict";var o=a(784);Object.defineProperty(e,"__esModule",{value:!0}),e.parseValidator=e.parseStringToObject=e.isValidFormat=e.containsValidTokens=e.constructInitialObject=e.allowedTokens=void 0,t=o(t),r=o(r),s=o(s);const i=e.allowedTokens=Object.keys(s.default);e.constructInitialObject=e=>{const t={...s.default};return Object.entries(e||{}).forEach((e=>{let[a,r]=e;a in t&&"string"==typeof r&&(t[a]=r)})),t};e.parseStringToObject=(e,a)=>{const o={...s.default};if(!a)throw new r.default("No parser specified");return{...o,...new t.default({parser:a}).parse(e)}};e.parseValidator=(e,t,a)=>"function"==typeof a?a(t)?t:e:t;e.containsValidTokens=function(e){return!("array"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")||!Array.isArray(e))&&e.every((e=>e.every((e=>{const t="object"==typeof e?e.attribute:e;return i.includes(t)}))))};e.isValidFormat=function(e){if("array"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"array")&&Array.isArray(e)){const[t]=e;if(Array.isArray(t)){const[e]=t;if("string"==typeof e)return!0;if("object"==typeof e&&"string"==typeof e.attribute)return!0}}return!1}},void 0===(o=r.apply(t,s))||(e.exports=o)},342:e=>{"use strict";e.exports=require("node-postal")},784:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},51:e=>{"use strict";e.exports=JSON.parse('{"Afghanistan":"AF","Aland Islands":"AX","Albania":"AL","Algeria":"DZ","American Samoa":"AS","Andorra":"AD","Angola":"AO","Anguilla":"AI","Antarctica":"AQ","Antigua and Barbuda":"AG","Argentina":"AR","Armenia":"AM","Aruba":"AW","Australia":"AU","Austria":"AT","Azerbaijan":"AZ","Bahamas":"BS","Bahrain":"BH","Bangladesh":"BD","Barbados":"BB","Belarus":"BY","Belgium":"BE","Belize":"BZ","Benin":"BJ","Bermuda":"BM","Bhutan":"BT","Bolivia (Plurinational State of)":"BO","Bonaire Sint Eustatius and Saba":"BQ","Bosnia and Herzegovina":"BA","Botswana":"BW","Bouvet Island":"BV","Brazil":"BR","British Indian Ocean Territory":"IO","Brunei Darussalam":"BN","Bulgaria":"BG","Burkina Faso":"BF","Burundi":"BI","Cabo Verde":"CV","Cambodia":"KH","Cameroon":"CM","Canada":"CA","Cayman Islands":"KY","Central African Republic":"CF","Chad":"TD","Chile":"CL","China":"CN","Christmas Island":"CX","Cocos (Keeling) Islands":"CC","Colombia":"CO","Comoros":"KM","Congo":"CG","Congo (Democratic Republic of the)":"CD","Cook Islands":"CK","Costa Rica":"CR","Cote d\'Ivoire":"CI","Croatia":"HR","Cuba":"CU","Curacao":"CW","Cyprus":"CY","Czechia":"CZ","Denmark":"DK","Djibouti":"DJ","Dominica":"DM","Dominican Republic":"DO","Ecuador":"EC","Egypt":"EG","El Salvador":"SV","Equatorial Guinea":"GQ","Eritrea":"ER","Estonia":"EE","Ethiopia":"ET","Falkland Islands (Malvinas)":"FK","Faroe Islands":"FO","Fiji":"FJ","Finland":"FI","France":"FR","French Guiana":"GF","French Polynesia":"PF","French Southern Territories":"TF","Gabon":"GA","Gambia":"GM","Georgia":"GE","Germany":"DE","Ghana":"GH","Gibraltar":"GI","Greece":"GR","Greenland":"GL","Grenada":"GD","Guadeloupe":"GP","Guam":"GU","Guatemala":"GT","Guernsey":"GG","Guinea":"GN","Guinea-Bissau":"GW","Guyana":"GY","Haiti":"HT","Heard Island and McDonald Islands":"HM","Holy See":"VA","Honduras":"HN","Hong Kong":"HK","Hungary":"HU","Iceland":"IS","India":"IN","Indonesia":"ID","Iran (Islamic Republic of)":"IR","Iraq":"IQ","Ireland":"IE","Isle of Man":"IM","Israel":"IL","Italy":"IT","Jamaica":"JM","Japan":"JP","Jersey":"JE","Jordan":"JO","Kazakhstan":"KZ","Kenya":"KE","Kiribati":"KI","Korea (Democratic People\'s Republic of)":"KP","Korea (Republic of)":"KR","Kuwait":"KW","Kyrgyzstan":"KG","Lao People\'s Democratic Republic":"LA","Latvia":"LV","Lebanon":"LB","Lesotho":"LS","Liberia":"LR","Libya":"LY","Liechtenstein":"LI","Lithuania":"LT","Luxembourg":"LU","Macao":"MO","Macedonia (the former Yugoslav Republic of)":"MK","Madagascar":"MG","Malawi":"MW","Malaysia":"MY","Maldives":"MV","Mali":"ML","Malta":"MT","Marshall Islands":"MH","Martinique":"MQ","Mauritania":"MR","Mauritius":"MU","Mayotte":"YT","Mexico":"MX","Micronesia (Federated States of)":"FM","Moldova (Republic of)":"MD","Monaco":"MC","Mongolia":"MN","Montenegro":"ME","Montserrat":"MS","Morocco":"MA","Mozambique":"MZ","Myanmar":"MM","Namibia":"NA","Nauru":"NR","Nepal":"NP","Netherlands":"NL","New Caledonia":"NC","New Zealand":"NZ","Nicaragua":"NI","Niger":"NE","Nigeria":"NG","Niue":"NU","Norfolk Island":"NF","Northern Mariana Islands":"MP","Norway":"NO","Oman":"OM","Pakistan":"PK","Palau":"PW","Palestine State of":"PS","Panama":"PA","Papua New Guinea":"PG","Paraguay":"PY","Peru":"PE","Philippines":"PH","Pitcairn":"PN","Poland":"PL","Portugal":"PT","Puerto Rico":"PR","Qatar":"QA","Reunion":"RE","Romania":"RO","Russian Federation":"RU","Rwanda":"RW","Saint Barthelemy":"BL","Saint Helena Ascension and Tristan da Cunha":"SH","Saint Kitts and Nevis":"KN","Saint Lucia":"LC","Saint Martin (French part)":"MF","Saint Pierre and Miquelon":"PM","Saint Vincent and the Grenadines":"VC","Samoa":"WS","San Marino":"SM","Sao Tome and Principe":"ST","Saudi Arabia":"SA","Senegal":"SN","Serbia":"RS","Seychelles":"SC","Sierra Leone":"SL","Singapore":"SG","Sint Maarten (Dutch part)":"SX","Slovakia":"SK","Slovenia":"SI","Solomon Islands":"SB","Somalia":"SO","South Africa":"ZA","South Georgia and the South Sandwich Islands":"GS","South Sudan":"SS","Spain":"ES","Sri Lanka":"LK","Sudan":"SD","Suriname":"SR","Svalbard and Jan Mayen":"SJ","Swaziland":"SZ","Sweden":"SE","Switzerland":"CH","Syrian Arab Republic":"SY","Taiwan Province of China":"TW","Tajikistan":"TJ","Tanzania United Republic of":"TZ","Thailand":"TH","Timor-Leste":"TL","Togo":"TG","Tokelau":"TK","Tonga":"TO","Trinidad and Tobago":"TT","Tunisia":"TN","Turkey":"TR","Turkmenistan":"TM","Turks and Caicos Islands":"TC","Tuvalu":"TV","Uganda":"UG","Ukraine":"UA","United Arab Emirates":"AE","United Kingdom of Great Britain and Northern Ireland":"GB","United States of America":"US","United States Minor Outlying Islands":"UM","Uruguay":"UY","Uzbekistan":"UZ","Vanuatu":"VU","Venezuela (Bolivarian Republic of)":"VE","Viet Nam":"VN","Virgin Islands (British)":"VG","Virgin Islands (U.S.)":"VI","Wallis and Futuna":"WF","Western Sahara":"EH","Yemen":"YE","Zambia":"ZM","Zimbabwe":"ZW"}')}},t={},function a(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.exports}(61);var e,t}));

@@ -29,2 +29,3 @@ import type { AddFormatArgs, AddressObject, AddressOutputFormat, AddressOutputFormats, AvailableAddressFormat, FormatTypes, OutputFormat, Parsers } from './address-format';

setTitle(newValue: string): this;
setPropagation(propagate: boolean): this;
setOutputFormat(string: OutputFormat): this;

@@ -31,0 +32,0 @@ setStringParser(parser: Parsers): this;

{
"name": "i18n-postal-address",
"version": "0.9.1",
"version": "0.9.2",
"description": "A JavaScript library to produce international postal addresses formatted by region for node and the web",

@@ -53,32 +53,28 @@ "homepage": "https://joaocarmo.com/i18n-postal-address-playground",

"optionalDependencies": {
"node-postal": "^1.1.2"
"node-postal": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.5",
"@babel/core": "^7.24.9",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.25.0",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.8.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.12",
"@types/node-postal": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"core-js": "^3.35.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"core-js": "^3.37.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"husky": "^9.1.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"lint-staged": "^15.2.7",
"node-postal": "^1.1.2",
"prettier": "^3.2.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.3",
"typescript": "^5.5.4",
"typescript-eslint": "^7.17.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"

@@ -85,0 +81,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc