PageSourceSearch

https://www.musik-produktiv.es/bundles/enderecoshopware6clientstore/endereco.min.js?1790664444?var=6.6.3

js musik-produktiv.es collected 2026-10-02 12:57:49 UTC 629,630 bytes, 1 lines download raw bytes

1!function(){var e={110:function(e,t,n){var r,o,i,s=n(3870),c=n(3855),l=n(7198),a=n(9744),u=n(772),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,g=u.Dispatch,v=0,m={},y="onreadystatechange",w=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},b=function(e){w.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++v]=function(){c("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete m[e]},"process"==n(2827)(d)?r=function(e){d.nextTick(s(w,e,1))}:g&&g.now?r=function(e){g.now(s(w,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=s(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r=y in a("script")?function(e){l.appendChild(a("script"))[y]=function(){l.removeChild(this),w.call(e)}}:function(e){setTimeout(s(w,e,1),0)}),e.exports={set:f,clear:p}},380:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},422:function(e,t,n){var r=n(9149).f,o=n(5023),i=n(7280)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},761:function(e,t,n){e.exports=!n(6654)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},772:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},1008:function(e){e.exports=!1},1071:function(e){"use strict";e.exports=function(e){return e[1]}},1272:function(){!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,r;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r=n.preventDefault,n.preventDefault=function(){r.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}()},2156:function(e,t,n){var r=n(3870),o=n(2638),i=n(8858),s=n(6302),c=n(4599),l=n(4680),a={},u={},d=e.exports=function(e,t,n,d,f){var p,h,g,v,m=f?function(){return e}:l(e),y=r(n,d,t?2:1),w=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(p=c(e.length);p>w;w++)if((v=t?y(s(h=e[w])[0],h[1]):y(e[w]))===a||v===u)return v}else for(g=m.call(e);!(h=g.next()).done;)if((v=o(g,y,h.value,t))===a||v===u)return v};d.BREAK=a,d.RETURN=u},2638:function(e,t,n){var r=n(6302);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},2827:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},2984:function(e,t,n){"use strict";var r=n(4993);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},3855:function(e){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},3870:function(e,t,n){var r=n(4993);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},4096:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(s[l]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);r&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},4172:function(e,t,n){"use strict";n(6883),n(9697),n(380).Promise.finally},4317:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},4506:function(e){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},4599:function(e,t,n){var r=n(7057),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},4680:function(e,t,n){var r=n(4994),o=n(7280)("iterator"),i=n(8744);e.exports=n(380).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},4738:function(e,t,n){e.exports=!n(761)&&!n(6654)(function(){return 7!=Object.defineProperty(n(9744)("div"),"a",{get:function(){return 7}}).a})},4993:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},4994:function(e,t,n){var r=n(2827),o=n(7280)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}
1(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},5023:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},5542:function(e,t,n){"use strict";var r=n(1071),o=n.n(r),i=n(4096),s=n.n(i)()(o());s.push([e.id,'.endereco-predictions-wrapper{position:absolute;z-index:99001;height:0}.endereco-predictions-wrapper .endereco-span--neutral{border-bottom:1px dotted #5cb85c;color:#5cb85c;font-weight:700;display:inline-block;padding:0}.endereco-predictions-wrapper .endereco-span--remove{display:none !important}.endereco-predictions-wrapper--longlist .endereco-predictions{overflow-y:scroll}.endereco-predictions-wrapper-inner{width:100%;position:relative;top:6px}.endereco-text-gray{color:#aaa}.endereco-predictions{background-color:#fff;padding:8px;margin:0;list-style:none;overflow:hidden;border-radius:4px;box-shadow:1px 1px 4px rgba(0,0,0,.25),0 0 12px rgba(0,0,0,.125);width:auto;position:absolute;max-height:280px;overflow-y:auto}.endereco-predictions .endereco-predictions__item.endereco-predictions__item.endereco-predictions__item{white-space:nowrap;margin:0;box-sizing:border-box;cursor:pointer;border:0 none;background-color:inherit;display:block;position:relative;overflow:hidden;padding:8px;color:#333;width:100%}.endereco-predictions .endereco-predictions__item.endereco-predictions__item.endereco-predictions__item *{pointer-events:none}.endereco-predictions .endereco-predictions__item.endereco-predictions__item.endereco-predictions__item:last-child{margin-bottom:0}.endereco-predictions .endereco-predictions__item.endereco-predictions__item.endereco-predictions__item:hover,.endereco-predictions .endereco-predictions__item.endereco-predictions__item.endereco-predictions__item.active{background-color:rgba(76,175,80,.1)}@keyframes fadein{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0px)}}.endereco-no-scroll{overflow:hidden}.endereco-popup-container{position:fixed;z-index:9900;background-color:rgba(0,0,0,.3);top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;padding-top:80px;padding-bottom:120px;overflow-y:auto}@media screen and (min-width: 768px){.endereco-popup-container{padding-top:0;padding-bottom:0}}.endereco-popup-container--direction-ltr{direction:ltr}.endereco-popup-container--direction-rtl{direction:rtl}.endereco-modal{width:95%;box-sizing:border-box;margin:0;background-color:#fff;overflow:hidden;border-radius:4px;box-shadow:1px 1px 4px rgba(0,0,0,.25),0 0 12px rgba(0,0,0,.125);animation:fadein 300ms;animation-timing-function:ease-in-out;max-height:100vh;overflow-y:auto}@media screen and (min-width: 768px){.endereco-modal{max-width:480px}}@media screen and (min-width: 992px){.endereco-modal{max-width:560px}}.endereco-modal a{color:#0c517d}.endereco-modal--no-prediction.endereco-invalid-country-code .endereco-country-code{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-subdivision-code .endereco-subdivision-code{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-postal-code .endereco-postal-code{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-locality .endereco-locality{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-street-name .endereco-street-name{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-building-number .endereco-building-number,.endereco-modal--no-prediction.endereco-invalid-building-number .endereco-street-full{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-postnummer .endereco-additional-info{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-street-full .endereco-street-full{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.endereco-invalid-additional-info-full .endereco-additional-info{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.building_number_is_missing .endereco-building-number,.endereco-modal--no-prediction.building_number_not_found .endereco-building-number{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.building_number_is_missing .endereco-street-full,.endereco-modal--no-prediction.building_number_not_found .endereco-street-full{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.street_name_needs_correction .endereco-street-name{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.street_name_needs_correction .endereco-street-full{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.postal_code_needs_correction .endereco-postal-code{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.locality_needs_correction .endereco-locality{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.country_code_needs_correction .endereco-country-code,.endereco-modal--no-prediction.country_code_needs_correction .endereco-country-name{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal--no-prediction.subdivision_code_needs_correction .endereco-subdivision-code,.endereco-modal--no-prediction.subdivision_code_needs_correction .endereco-subdivision-name{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px;min-width:20px;min-height:1em}.endereco-modal__errors{margin:15px 0;background-color:rgba(255,0,0,.125);border-radius:4px;padding:10px}.endereco-modal__errors ul{padding:0 0 0 20px;margin:0;color:red}.endereco-modal__errors ul li{margin-bottom:.25em}.endereco-modal__errors ul li:last-child{margin-bottom:0}.endereco-modal__warning{padding:15px;background-color:#f6f6f6;margin:15px 0;border-radius:4px}.endereco-modal__header{color:#333;padding:15px 45px 15px 15px;font-family:sans-serif;position:relative}@media screen and (min-width: 768px){.endereco-modal__header{padding:30px 65px 15px 30px}}.endereco-modal__header-main{font-weight:700;text-align:left;color:red;margin:0;font-size:24px;line-height:1.25em}@media screen and (min-width: 768px){.endereco-modal__header-main{margin:0 0 10px}}.endereco-modal__header-sub{font-weight:400;text-align:left;color:#333;font-size:16px;margin:0 0 20px;line-height:1.5;display:none}@media screen and (min-width: 768px){.endereco-modal__header-sub{display:block;margin-bottom:0}}.endereco-modal__close{margin-left:auto;cursor:pointer;position:absolute;top:20px;right:20px;border:1px solid gray;border-radius:50%;width:20px;height:20px;
1display:flex;justify-content:center;align-items:center;color:gray}@media screen and (min-width: 768px){.endereco-modal__close{top:33px;right:30px}}.endereco-modal__close::after{content:"✖"}.endereco-modal__body{padding:7.5px 15px;font-family:sans-serif;background-color:#fff}@media screen and (min-width: 768px){.endereco-modal__body{padding:15px 30px}}.endereco-modal__address-container{padding:20px 20px 20px 23px;box-sizing:border-box;font-size:18px;font-weight:400;line-height:22px;cursor:pointer;border:1px solid gray;border-radius:4px;background-color:#fff;box-shadow:2px 2px 5px rgba(0,0,0,.125);display:block;font-family:serif;position:relative;overflow:hidden}.endereco-modal__address-confirmation{padding:0 0 0 15px;margin:15px 0;position:relative}.endereco-modal__address-confirmation label{font-weight:600;cursor:pointer;font-size:1.125em;padding-left:30px;position:relative;line-height:1.8em}.endereco-modal__address-confirmation input[type=checkbox]{width:20px;height:20px;margin-right:10px;position:absolute;top:0;left:0}.endereco-modal__secondary-link{margin-right:20px}.endereco-modal__footer{text-align:right;padding:7.5px 15px 15px;font-family:sans-serif}@media screen and (min-width: 768px){.endereco-modal__footer{padding:15px 30px 30px}}.endereco-modal__footer button{margin-left:10px}.endereco-modal__divider{position:relative}.endereco-modal__divider:first-child{margin-top:0 !important}.endereco-modal__divider:last-child{margin-bottom:0 !important}.endereco-modal__divider-innertext{display:inline-block;padding:2px 10px;background-color:#fff;margin-left:12px;position:relative;z-index:1}.endereco-modal__divider::after{width:100%;height:2px;background-color:rgba(0,0,0,.125);content:" ";display:block;top:calc(50% - 1px);position:absolute}.endereco-address-predictions{list-style:none;margin:15px 0;padding:0;max-height:300px;overflow:hidden;overflow-y:auto}.endereco-address-predictions:last-child{margin-bottom:0 !important}.endereco-address-predictions__item{margin:10px 0;list-style:none;background-color:#fff}.endereco-address-predictions__item:first-child{margin-top:0 !important}.endereco-address-predictions__item:last-child{margin-bottom:0 !important}.endereco-address-predictions__radio{display:none}.endereco-address-predictions__label{padding:20px 20px 20px 65px;box-sizing:border-box;font-size:18px;font-weight:400;line-height:22px;cursor:pointer;border:1px solid #ccc;border-radius:4px;box-shadow:2px 2px 5px rgba(0,0,0,.125);display:block;font-family:serif;position:relative;overflow:hidden}.endereco-address-predictions__label::after{content:" ";position:absolute;top:calc(50% - 5px);left:28px;font-size:56px;background-color:#4caf50;display:none;width:10px;height:10px;border-radius:50%;box-sizing:border-box}.endereco-address-predictions__label::before{position:absolute;top:calc(50% - 13px);left:20px;width:26px;height:26px;content:" ";background-color:rgba(0,0,0,0);border:2px solid gray;border-radius:50%;box-sizing:border-box}.endereco-address-predictions--original .endereco-span--remove{display:inline-block;background-color:rgba(255,0,0,.125);border-bottom:1px solid red;padding:0 3px}.endereco-address-predictions--original .endereco-span--add{display:none !important}.endereco-address-predictions--suggestions .endereco-span--add{border-bottom:1px solid #4caf50;background-color:rgba(76,175,80,.125);display:inline-block;padding:0 3px}.endereco-address-predictions--suggestions .endereco-span--remove{display:none}.endereco-address-predictions--original .endereco-address-predictions__label{border-color:red}.endereco-address-predictions__radio:checked~.endereco-address-predictions__label,.endereco-address-predictions__item.active .endereco-address-predictions__label{border-color:#4caf50}.endereco-address-predictions__radio:checked~.endereco-address-predictions__label::after,.endereco-address-predictions__item.active .endereco-address-predictions__label::after{display:block}.endereco-address-predictions__radio:checked~.endereco-address-predictions__label::before,.endereco-address-predictions__item.active .endereco-address-predictions__label::before{border-color:#4caf50}.endereco-s--field_correct input,.endereco-s--field_correct select,.endereco-s--field_correct .form-control,.endereco-s--field_correct .btn,.endereco-s--customer_verified input,.endereco-s--customer_verified select,.endereco-s--customer_verified .form-control,.endereco-s--customer_verified .btn,.endereco-s--salutation_correct input,.endereco-s--salutation_correct select,.endereco-s--salutation_correct .form-control,.endereco-s--salutation_correct .btn,.endereco-s--first_name_correct input,.endereco-s--first_name_correct select,.endereco-s--first_name_correct .form-control,.endereco-s--first_name_correct .btn,.endereco-s--last_name_correct input,.endereco-s--last_name_correct select,.endereco-s--last_name_correct .form-control,.endereco-s--last_name_correct .btn,.endereco-s--title_correct input,.endereco-s--title_correct select,.endereco-s--title_correct .form-control,.endereco-s--title_correct .btn,.endereco-s--email_correct input,.endereco-s--email_correct select,.endereco-s--email_correct .form-control,.endereco-s--email_correct .btn,.endereco-s--address_correct input,.endereco-s--address_correct select,.endereco-s--address_correct .form-control,.endereco-s--address_correct .btn,.endereco-s--postal_code_correct input,.endereco-s--postal_code_correct select,.endereco-s--postal_code_correct .form-control,.endereco-s--postal_code_correct .btn,.endereco-s--locality_correct input,.endereco-s--locality_correct select,.endereco-s--locality_correct .form-control,.endereco-s--locality_correct .btn,.endereco-s--street_name_correct input,.endereco-s--street_name_correct select,.endereco-s--street_name_correct .form-control,.endereco-s--street_name_correct .btn,.endereco-s--street_full_correct input,.endereco-s--street_full_correct select,.endereco-s--street_full_correct .form-control,.endereco-s--street_full_correct .btn,.endereco-s--building_number_correct input,.endereco-s--building_number_correct select,.endereco-s--building_number_correct .form-control,.endereco-s--building_number_correct .btn,.endereco-s--additional_info_correct input,.endereco-s--additional_info_correct select,.endereco-s--additional_info_correct .form-control,.endereco-s--additional_info_correct .btn,.endereco-s--country_code_correct input,.endereco-s--country_code_correct select,.endereco-s--country_code_correct .form-control,.endereco-s--country_code_correct .btn,.endereco-s--subdivision_code_correct input,.endereco-s--subdivision_code_correct select,.endereco-s--subdivision_code_correct .form-control,.endereco-s--subdivision_code_correct .btn,.endereco-s--phone_correct input,.endereco-s--phone_correct select,.endereco-s--phone_correct .form-control,.endereco-s--phone_correct .btn{border-color:#4caf50;background-color:#f8fcf8}.endereco-s--field_not_correct input,.endereco-s--field_not_correct select,.endereco-s--field_not_correct .form-control,.endereco-s--field_not_correct .btn,.endereco-s--salutation_needs_correction input,.endereco-s--salutation_needs_correction select,.endereco-s--salutation_needs_correction .form-control,.endereco-s--salutation_needs_correction .btn,.endereco-s--first_name_needs_correction input,.endereco-s--first_name_needs_correction select,.endereco-s--first_name_needs_correction .form-control,.endereco-s--first_name_needs_correction .btn,.endereco-s--last_name_needs_correction input,.endereco-s--last_name_needs_correction select,.endereco-s--last_name_needs_correction .form-control,.endereco-s--last_name_needs_correction .btn,.endereco-s--title_needs_correction input,.endereco-s--title_needs_correction select,.endereco-s--title_needs_correction .form-control,.endereco-s--title_needs_correction .btn,.endereco-s--email_not_correct input,.endereco-s--email_not_correct select,.endereco-s--email_not_correct .form-control,.endereco-s--email_not_correct .btn,.endereco-s--address_needs_correction input,.endereco-s--address_needs_correction select,.endereco-s--address_needs_correction .form-control,.endereco-s--address_needs_correction .btn,.endereco-s--address_multiple_variants input,.endereco-s--address_multiple_variants select,.endereco-s--address_multiple_variants .form-control,.endereco-s--address_multiple_variants .btn,.endereco-s--address_not_found input,.endereco-s--address_not_found select,.endereco-s--address_not_found .form-control,.endereco-s--address_not_found .btn,.endereco-s--postal_code_needs_correction input,.endereco-s--postal_code_needs_correction select,.endereco-s--postal_code_needs_correction .form-control,.endereco-s--postal_code_needs_correction .btn,.endereco-s--locality_needs_correction input,.endereco-s--locality_needs_correction select,.endereco-s--locality_needs_correction .form-control,.endereco-s--locality_needs_correction .btn,.endereco-s--street_name_needs_correction input,.endereco-s--street_name_needs_correction select,.endereco-s--street_name_needs_correction .form-control,.endereco-s--street_name_needs_correction .btn,.endereco-s--street_full_needs_correction input,.endereco-s--street_full_needs_correction select,.endereco-s--street_full_needs_correction .form-control,.endereco-s--street_full_needs_correction .btn,.endereco-s--building_number_needs_correction input,.endereco-s--building_number_needs_correction select,.endereco-s--building_number_needs_correction .form-control,.endereco-s--building_number_needs_correction .btn,.endereco-s--additional_info_needs_correction input,.endereco-s--additional_info_needs_correction select,.endereco-s--additional_info_needs_correction .form-control,.endereco-s--additional_info_needs_correction .btn,.endereco-s--country_code_needs_correction input,.endereco-s--country_code_needs_correction select,.endereco-s--country_code_needs_correction .form-control,.endereco-s--country_code_needs_correction .btn,.endereco-s--subdivision_code_needs_correction input,.endereco-s--subdivision_code_needs_correction select,.endereco-s--subdivision_code_needs_correction .form-control,.endereco-s--subdivision_code_needs_correction .btn,.endereco-s--phone_invalid input,.endereco-s--phone_invalid select,.endereco-s--phone_invalid .form-control,.endereco-s--phone_invalid .btn,.endereco-s--phone_needs_correction input,.endereco-s--phone_needs_correction select,.endereco-s--phone_needs_correction .form-control,.endereco-s--phone_needs_correction .btn,.endereco-s--phone_wrong_type input,.endereco-s--phone_wrong_type select,.endereco-s--phone_wrong_type .form-control,.endereco-s--phone_wrong_type .btn{border-color:#f0ad4e;background-color:#fefbf8}.endereco-s--field_not_correct.radio-inline,.endereco-s--salutation_needs_correction.radio-inline,.endereco-s--first_name_needs_correction.radio-inline,.endereco-s--last_name_needs_correction.radio-inline,.endereco-s--title_needs_correction.radio-inline,.endereco-s--email_not_correct.radio-inline,.endereco-s--address_needs_correction.radio-inline,.endereco-s--address_multiple_variants.radio-inline,.endereco-s--address_not_found.radio-inline,.endereco-s--postal_code_needs_correction.radio-inline,.endereco-s--locality_needs_correction.radio-inline,.endereco-s--street_name_needs_correction.radio-inline,.endereco-s--street_full_needs_correction.radio-inline,.endereco-s--building_number_needs_correction.radio-inline,.endereco-s--additional_info_needs_correction.radio-inline,.endereco-s--country_code_needs_correction.radio-inline,.endereco-s--subdivision_code_needs_correction.radio-inline,.endereco-s--phone_invalid.radio-inline,.endereco-s--phone_needs_correction.radio-inline,.endereco-s--phone_wrong_type.radio-inline{border-bottom:2px dotted #f0ad4e}.endereco-status-wrapper-list{list-style:inside;margin-bottom:1rem;color:#f0ad4e;list-style:"⚠ " inside;padding:0}.endereco-status-wrapper-list__item--email_syntax_error{color:red;list-style:"✗ " inside}.endereco-status-wrapper-list__item--email_cant_receive{color:red;list-style:"✗ " inside}.endereco-status-wrapper-list__item--email_no_mx{color:red;list-style:"✗ " inside}.endereco-status-wrapper-list__item--phone_invalid{color:red;list-style:"✗ " inside}.endereco-status-wrapper-list__item--phone_should_be_fixed{color:red;list-style:"✗ " inside}.endereco-status-wrapper-list__item--phone_should_be_mobile{color:red;list-style:"✗ " inside}.endereco-button{border:0 none;border-radius:4px;color:#fff;background-color:#009ec0;padding:5px 15px;font-size:16px;box-shadow:1px 1px 2px #444;cursor:pointer;transition:background-color 300ms ease-in-out}.endereco-button:hover{background-color:rgb(0,116.03125,141);transition:background-color 300ms ease-in-out}.endereco-relative-container{position:relative}.endereco-big-flag{position:absolute;top:0;left:0;margin:0 !important;display:flex;z-index:1;cursor:pointer;align-items:center}.endereco-flag>svg{width:100%;height:100%}.endereco-flag-dropdown-element{margin:2px 0;padding:2px 0}.endereco-small-flag{max-width:20px;height:20px;margin-right:8px}.endereco-small-flag>svg{width:100%;height:100%}.endereco-country-code-col{min-width:30px}.endereco-cur-down{max-width:8px;margin:0 4px}.endereco-cur-down>svg{width:100%}.endereco-flag-dropdown{position:absolute;top:100%;left:0;z-index:2}.endereco-flag-dropdown-inner{background-color:#fff;padding:8px;margin:0;list-style:none;overflow:hidden;border-radius:4px;box-shadow:1px 1px 4px rgba(0,0,0,.25),0 0 12px rgba(0,0,0,.125);width:auto;max-height:280px;overflow-y:auto}.endereco-flag-dropdown-inner .endereco-flag-dropdown-element{display:flex;align-items:center;white-space:nowrap;margin:0;box-sizing:border-box;
1cursor:pointer;border:0 none;background-color:inherit;position:relative;overflow:hidden;padding:8px;color:#333;width:100%}.endereco-flag-dropdown-inner .endereco-flag-dropdown-element *{pointer-events:none}.endereco-flag-dropdown-inner .endereco-flag-dropdown-element:last-child{margin-bottom:0}.endereco-flag-dropdown-inner .endereco-flag-dropdown-element:hover,.endereco-flag-dropdown-inner .endereco-flag-dropdown-element.active{background-color:rgba(76,175,80,.1)}.endereco-hidden{display:none}',""]),t.A=s},5823:function(e,t,n){var r=n(9149),o=n(7078);e.exports=n(761)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},6151:function(e,t,n){var r=n(6302),o=n(7387),i=n(2984);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},6302:function(e,t,n){var r=n(7387);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},6393:function(e,t,n){var r=n(772),o=n(380),i=n(5823),s=n(8841),c=n(3870),l="prototype",a=function(e,t,n){var u,d,f,p,h=e&a.F,g=e&a.G,v=e&a.S,m=e&a.P,y=e&a.B,w=g?r:v?r[t]||(r[t]={}):(r[t]||{})[l],b=g?o:o[t]||(o[t]={}),F=b[l]||(b[l]={});for(u in g&&(n=t),n)f=((d=!h&&w&&void 0!==w[u])?w:n)[u],p=y&&d?c(f,r):m&&"function"==typeof f?c(Function.call,f):f,w&&s(w,u,f,e&a.U),b[u]!=f&&i(b,u,p),m&&F[u]!=f&&(F[u]=f)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},6487:function(e,t,n){var r=n(8841);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},6654:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},6883:function(e,t,n){"use strict";var r,o,i,s,c=n(1008),l=n(772),a=n(3870),u=n(4994),d=n(6393),f=n(7387),p=n(4993),h=n(4506),g=n(2156),v=n(9104),m=n(110).set,y=n(8370)(),w=n(2984),b=n(7494),F=n(9972),_=n(6151),x="Promise",S=l.TypeError,C=l.process,A=C&&C.versions,E=A&&A.v8||"",P=l[x],k="process"==u(C),j=function(){},D=o=w.f,T=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(7280)("species")]=function(e){e(j,j)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(j)instanceof t&&0!==E.indexOf("6.6")&&-1===F.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s,c=o?t.ok:t.fail,l=t.resolve,a=t.reject,u=t.domain;try{c?(o||(2==e._h&&B(e),e._h=1),!0===c?n=r:(u&&u.enter(),n=c(r),u&&(u.exit(),s=!0)),n===t.promise?a(S("Promise-chain cycle")):(i=O(n))?i.call(n,l,a):l(n)):a(r)}catch(e){u&&!s&&u.exit(),a(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){m.call(l,function(){var t,n,r,o=e._v,i=I(e);if(i&&(t=b(function(){k?C.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=k||I(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){m.call(l,function(){var t;k?C.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=O(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,a(z,r,1),a(L,r,1))}catch(e){L.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};T||(P=function(e){h(this,P,x,"_h"),p(e),r.call(this);try{e(a(z,this,1),a(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(6487)(P.prototype,{then:function(e,t){var n=D(v(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(z,e,1),this.reject=a(L,e,1)},w.f=D=function(e){return e===P||e===s?new i(e):o(e)}),d(d.G+d.W+d.F*!T,{Promise:P}),n(422)(P,x),n(8288)(x),s=n(380)[x],d(d.S+d.F*!T,x,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(c||!T),x,{resolve:function(e){return _(c&&this===s?P:this,e)}}),d(d.S+d.F*!(T&&n(7073)(function(e){P.all(e).catch(j)})),x,{all:function(e){var t=this,n=D(t),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,s=1;g(e,!1,function(e){var c=i++,l=!1;n.push(void 0),s++,t.resolve(e).then(function(e){l||(l=!0,n[c]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,o=b(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},7057:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}}
1,7073:function(e,t,n){var r=n(7280)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},7078:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7150:function(e,t,n){var r=n(7387);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},7198:function(e,t,n){var r=n(772).document;e.exports=r&&r.documentElement},7280:function(e,t,n){var r=n(9054)("wks"),o=n(4317),i=n(772).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},7387:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}e.exports=function(e){return"object"===t(e)?null!==e:"function"==typeof e}},7494:function(e){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},7568:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}e=n.nmd(e);var o="__lodash_hash_undefined__",i=9007199254740991,s="[object Arguments]",c="[object Function]",l="[object Object]",a=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[s]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d[c]=d["[object Map]"]=d["[object Number]"]=d[l]=d["[object RegExp]"]=d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;var f="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,p="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,h=f||p||Function("return this")(),g="object"==r(t)&&t&&!t.nodeType&&t,v=g&&"object"==r(e)&&e&&!e.nodeType&&e,m=v&&v.exports===g,y=m&&f.process,w=function(){try{var e=v&&v.require&&v.require("util").types;return e||y&&y.binding&&y.binding("util")}catch(e){}}(),b=w&&w.isTypedArray;var F,_,x,S=Array.prototype,C=Function.prototype,A=Object.prototype,E=h["__core-js_shared__"],P=C.toString,k=A.hasOwnProperty,j=(F=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",D=A.toString,T=P.call(Object),O=RegExp("^"+P.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=m?h.Buffer:void 0,N=h.Symbol,I=h.Uint8Array,B=M?M.allocUnsafe:void 0,L=(_=Object.getPrototypeOf,x=Object,function(e){return _(x(e))}),z=Object.create,U=A.propertyIsEnumerable,R=S.splice,H=N?N.toStringTag:void 0,V=function(){try{var e=ge(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=M?M.isBuffer:void 0,G=Math.max,W=Date.now,K=ge(h,"Map"),X=ge(Object,"create"),$=function(){function e(){}return function(t){if(!Ee(t))return{};if(z)return z(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=this.__data__=new Q(e);this.size=t.size}function ee(e,t){var n=_e(e),r=!n&&Fe(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&ke(e),s=n||r||o||i,c=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=c.length;for(var a in e)!t&&!k.call(e,a)||s&&("length"==a||o&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||ve(a,l))||c.push(a);return c}function te(e,t,n){(void 0!==n&&!be(e[t],n)||void 0===n&&!(t in e))&&oe(e,t,n)}function ne(e,t,n){var r=e[t];
vendor: 6,110 bytes, line 1
1k.call(e,t)&&be(r,n)&&(void 0!==n||t in e)||oe(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function oe(e,t,n){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}J.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return n===o?void 0:n}return k.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:k.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?o:t,this},Q.prototype.clear=function(){this.__data__=[],this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():R.call(t,n,1),--this.size,!0)},Q.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},Q.prototype.has=function(e){return re(this.__data__,e)>-1},Q.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(K||Q),string:new J}},Y.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},Y.prototype.get=function(e){return he(this,e).get(e)},Y.prototype.has=function(e){return he(this,e).has(e)},Y.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Z.prototype.clear=function(){this.__data__=new Q,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Q){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Y(r)}return n.set(e,t),this.size=n.size,this};var ie,se=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),s=i.length;s--;){var c=i[ie?s:++r];if(!1===t(o[c],c,o))break}return e};function ce(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=k.call(e,H),n=e[H];try{e[H]=void 0;var r=!0}catch(e){}var o=D.call(e);r&&(t?e[H]=n:delete e[H]);return o}(e):function(e){return D.call(e)}(e)}function le(e){return Pe(e)&&ce(e)==s}function ae(e){return!(!Ee(e)||function(e){return!!j&&j in e}(e))&&(Ce(e)?O:a).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ue(e){if(!Ee(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=me(e),n=[];for(var r in e)("constructor"!=r||!t&&k.call(e,r))&&n.push(r);return n}function de(e,t,n,r,o){e!==t&&se(t,function(i,s){if(o||(o=new Z),Ee(i))!function(e,t,n,r,o,i,s){var c=ye(e,n),a=ye(t,n),u=s.get(a);if(u)return void te(e,n,u);var d=i?i(c,a,n+"",e,t,s):void 0,f=void 0===d;if(f){var p=_e(a),h=!p&&Se(a),g=!p&&!h&&ke(a);d=a,p||h||g?_e(c)?d=c:Pe(b=c)&&xe(b)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(c):h?(f=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=B?B(n):new e.constructor(n);return e.copy(r),r}(a,!0)):g?(f=!1,v=a,m=!0?(y=v.buffer,w=new y.constructor(y.byteLength),new I(w).set(new I(y)),w):v.buffer,d=new v.constructor(m,v.byteOffset,v.length)):d=[]:function(e){if(!Pe(e)||ce(e)!=l)return!1;var t=L(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==T}(a)||Fe(a)?(d=c,Fe(c)?d=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,s=t.length;for(;++i<s;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?oe(n,c,l):ne(n,c,l)}return n}(e,je(e))}(c):Ee(c)&&!Ce(c)||(d=function(e){return"function"!=typeof e.constructor||me(e)?{}:$(L(e))}(a))):f=!1}var v,m,y,w;var b;f&&(s.set(a,d),o(d,a,r,i,s),s.delete(a));te(e,n,d)}(e,t,s,n,de,r,o);else{var c=r?r(ye(e,s),i,s+"",e,t,o):void 0;void 0===c&&(c=i),te(e,s,c)}},je)}function fe(e,t){return we(function(e,t,n){return t=G(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=G(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,c)}}(e,t,Oe),e+"")}var pe=V?function(e,t){return V(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Oe;function he(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ae(n)?n:void 0}function ve(e,t){var n=r(e);return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function me(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||A)}function ye(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var we=function(e){var t=0,n=0;return function(){var r=W(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function be(e,t){return e===t||e!=e&&t!=t}var Fe=le(function(){return arguments}())?le:function(e){return Pe(e)&&k.call(e,"callee")&&!U.call(e,"callee")},_e=Array.isArray;function xe(e){return null!=e&&Ae(e.length)&&!Ce(e)}var Se=q||function(){return!1};function Ce(e){if(!Ee(e))return!1;var t=ce(e);return t==c||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ae(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ee(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function Pe(e){return null!=e&&"object"==r(e)}var ke=b?function(e){return function(t){return e(t)}}(b):function(e){return Pe(e)&&Ae(e.length)&&!!d[ce(e)]};
1function je(e){return xe(e)?ee(e,!0):ue(e)}var De,Te=(De=function(e,t,n){de(e,t,n)},fe(function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(i=De.length>3&&"function"==typeof i?(o--,i):void 0,s&&function(e,t,n){if(!Ee(n))return!1;var o=r(t);return!!("number"==o?xe(n)&&ve(t,n.length):"string"==o&&t in n)&&be(n[t],e)}(t[0],t[1],s)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var c=t[n];c&&De(e,c,n,i)}return e}));function Oe(e){return e}e.exports=Te},7759:function(e,t,n){e.exports=n(9054)("native-function-to-string",Function.toString)},7826:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var o=0|t,i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;){if(function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(n[i],e))return!0;i++}return!1}})},8288:function(e,t,n){"use strict";var r=n(772),o=n(9149),i=n(761),s=n(7280)("species");e.exports=function(e){var t=r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},8370:function(e,t,n){var r=n(772),o=n(110).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,c=r.Promise,l="process"==n(2827)(s);e.exports=function(){var e,t,n,a=function(){var r,o;for(l&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var u=c.resolve(void 0);n=function(){u.then(a)}}else n=function(){o.call(r,a)};else{var d=!0,f=document.createTextNode("");new i(a).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},8496:function(e,t,n){var r;e=n.nmd(e),function(){"use strict";var o;try{o="undefined"!=typeof Intl&&void 0!==Intl.Collator?Intl.Collator("generic",{sensitivity:"base"}):null}catch(e){console.log("Collator could not be initialized and wouldn't be used")}var i=n(9601),s=[],c=[],l={get:function(e,t,n){if(n&&o&&n.useCollator){var r,l,a,u,d,f,p=e.length,h=t.length;if(0===p)return h;if(0===h)return p;for(a=0;a<h;++a)s[a]=a,c[a]=t.charCodeAt(a);for(s[h]=h,a=0;a<p;++a){for(l=a+1,u=0;u<h;++u)r=l,f=0===o.compare(e.charAt(a),String.fromCharCode(c[u])),(l=s[u]+(f?0:1))>(d=r+1)&&(l=d),l>(d=s[u+1]+1)&&(l=d),s[u]=r;s[u]=l}return l}return i.distance(e,t)}};null!==n.amdD&&n.amdO?void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r):null!==e&&void 0!==t&&e.exports===t?e.exports=l:"undefined"!=typeof self&&"function"==typeof self.postMessage&&"function"==typeof self.importScripts?self.Levenshtein=l:"undefined"!=typeof window&&null!==window&&(window.Levenshtein=l)}()},8744:function(e){e.exports={}},8828:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}e=n.nmd(e);var o="__lodash_hash_undefined__",i=9007199254740991,s="[object Arguments]",c="[object Array]",l="[object Boolean]",a="[object Date]",u="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",g="[object Promise]",v="[object RegExp]",m="[object Set]",y="[object String]",w="[object Symbol]",b="[object WeakMap]",F="[object ArrayBuffer]",_="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[s]=C[c]=C[F]=C[l]=C[_]=C[a]=C[u]=C[d]=C[f]=C[p]=C[h]=C[v]=C[m]=C[y]=C[b]=!1;var A="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,E="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,P=A||E||Function("return this")(),k="object"==r(t)&&t&&!t.nodeType&&t,j=k&&"object"==r(e)&&e&&!e.nodeType&&e,D=j&&j.exports===k,T=D&&A.process,O=function(){try{return T&&T.binding&&T.binding("util")}catch(e){}}(),M=O&&O.isTypedArray;function N(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function B(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var L,z,U,R=Array.prototype,H=Function.prototype,V=Object.prototype,q=P["__core-js_shared__"],G=H.toString,W=V.hasOwnProperty,K=(L=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+L:"",X=V.toString,$=RegExp("^"+G.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=D?P.Buffer:void 0,Q=P.Symbol,Y=P.Uint8Array,Z=V.propertyIsEnumerable,ee=R.splice,te=Q?Q.toStringTag:void 0,ne=Object.getOwnPropertySymbols,re=J?J.isBuffer:void 0,oe=(z=Object.keys,U=Object,function(e){return z(U(e))}),ie=Oe(P,"DataView"),se=Oe(P,"Map"),ce=Oe(P,"Promise"),le=Oe(P,"Set"),ae=Oe(P,"WeakMap"),ue=Oe(Object,"create"),de=Be(ie),fe=Be(se),pe=Be(ce),he=Be(le),ge=Be(ae),ve=Q?Q.prototype:void 0,me=ve?ve.valueOf:void 0;function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new be;++t<n;)this.add(e[t])}function _e(e){var t=this.__data__=new we(e);this.size=t.size}function xe(e,t){var n=Ue(e),r=!n&&ze(e),o=!n&&!r&&Re(e),i=!n&&!r&&!o&&We(e),s=n||r||o||i,c=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=c.length;for(var a in e)!t&&!W.call(e,a)||s&&("length"==a||o&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||Ie(a,l))||c.push(a);return c}function Se(e,t){for(var n=e.length;n--;)if(Le(e[n][0],t))return n;return-1}function Ce(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":te&&te in Object(e)?function(e){var t=W.call(e,te),n=e[te];try{e[te]=void 0;var r=!0}catch(e){}var o=X.call(e);r&&(t?e[te]=n:delete e[te]);return o}(e):function(e){return X.call(e)}(e)}function Ae(e){return Ge(e)&&Ce(e)==s}function Ee(e,t,n,r,o){return e===t||(null==e||null==t||!Ge(e)&&!Ge(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var d=Ue(e),g=Ue(t),b=d?c:Ne(e),x=g?c:Ne(t),S=(b=b==s?h:b)==h,C=(x=x==s?h:x)==h,A=b==x;if(A&&Re(e)){if(!Re(t))return!1;d=!0,S=!1}if(A&&!S)return i||(i=new _e),d||We(e)?je(e,t,n,r,o,i):function(e,t,n,r,o,i,s){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case F:return!(e.byteLength!=t.byteLength||!i(new Y(e),new Y(t)));case l:case a:case p:return Le(+e,+t);case u:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case f:var c=I;case m:var d=1&r;if(c||(c=B),e.size!=t.size&&!d)return!1;var h=s.get(e);if(h)return h==t;r|=2,s.set(e,t);var g=je(c(e),c(t),r,o,i,s);return s.delete(e),g;case w:if(me)return me.call(e)==me.call(t)}return!1}(e,t,b,n,r,o,i);if(!(1&n)){var E=S&&W.call(e,"__wrapped__"),P=C&&W.call(t,"__wrapped__");
vendor: 4,377 bytes, line 1
1if(E||P){var k=E?e.value():e,j=P?t.value():t;return i||(i=new _e),o(k,j,n,r,i)}}if(!A)return!1;return i||(i=new _e),function(e,t,n,r,o,i){var s=1&n,c=De(e),l=c.length,a=De(t),u=a.length;if(l!=u&&!s)return!1;var d=l;for(;d--;){var f=c[d];if(!(s?f in t:W.call(t,f)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var h=!0;i.set(e,t),i.set(t,e);var g=s;for(;++d<l;){var v=e[f=c[d]],m=t[f];if(r)var y=s?r(m,v,f,t,e,i):r(v,m,f,e,t,i);if(!(void 0===y?v===m||o(v,m,n,r,i):y)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var w=e.constructor,b=t.constructor;w==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,Ee,o))}function Pe(e){return!(!qe(e)||function(e){return!!K&&K in e}(e))&&(He(e)?$:x).test(Be(e))}function ke(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||V,t!==r)return oe(e);var t,n,r,o=[];for(var i in Object(e))W.call(e,i)&&"constructor"!=i&&o.push(i);return o}function je(e,t,n,r,o,i){var s=1&n,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var a=i.get(e);if(a&&i.get(t))return a==t;var u=-1,d=!0,f=2&n?new Fe:void 0;for(i.set(e,t),i.set(t,e);++u<c;){var p=e[u],h=t[u];if(r)var g=s?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!N(t,function(e,t){if(s=t,!f.has(s)&&(p===e||o(p,e,n,r,i)))return f.push(t);var s})){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function De(e){return function(e,t,n){var r=t(e);return Ue(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ke,Me)}function Te(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Pe(n)?n:void 0}ye.prototype.clear=function(){this.__data__=ue?ue(null):{},this.size=0},ye.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ye.prototype.get=function(e){var t=this.__data__;if(ue){var n=t[e];return n===o?void 0:n}return W.call(t,e)?t[e]:void 0},ye.prototype.has=function(e){var t=this.__data__;return ue?void 0!==t[e]:W.call(t,e)},ye.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ue&&void 0===t?o:t,this},we.prototype.clear=function(){this.__data__=[],this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=Se(t,e);return!(n<0)&&(n==t.length-1?t.pop():ee.call(t,n,1),--this.size,!0)},we.prototype.get=function(e){var t=this.__data__,n=Se(t,e);return n<0?void 0:t[n][1]},we.prototype.has=function(e){return Se(this.__data__,e)>-1},we.prototype.set=function(e,t){var n=this.__data__,r=Se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(se||we),string:new ye}},be.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Te(this,e).get(e)},be.prototype.has=function(e){return Te(this,e).has(e)},be.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Fe.prototype.add=Fe.prototype.push=function(e){return this.__data__.set(e,o),this},Fe.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.clear=function(){this.__data__=new we,this.size=0},_e.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},_e.prototype.get=function(e){return this.__data__.get(e)},_e.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.set=function(e,t){var n=this.__data__;if(n instanceof we){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Me=ne?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}(ne(e),function(t){return Z.call(e,t)}))}:function(){return[]},Ne=Ce;function Ie(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function Be(e){if(null!=e){try{return G.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Le(e,t){return e===t||e!=e&&t!=t}
1(ie&&Ne(new ie(new ArrayBuffer(1)))!=_||se&&Ne(new se)!=f||ce&&Ne(ce.resolve())!=g||le&&Ne(new le)!=m||ae&&Ne(new ae)!=b)&&(Ne=function(e){var t=Ce(e),n=t==h?e.constructor:void 0,r=n?Be(n):"";if(r)switch(r){case de:return _;case fe:return f;case pe:return g;case he:return m;case ge:return b}return t});var ze=Ae(function(){return arguments}())?Ae:function(e){return Ge(e)&&W.call(e,"callee")&&!Z.call(e,"callee")},Ue=Array.isArray;var Re=re||function(){return!1};function He(e){if(!qe(e))return!1;var t=Ce(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function qe(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function Ge(e){return null!=e&&"object"==r(e)}var We=M?function(e){return function(t){return e(t)}}(M):function(e){return Ge(e)&&Ve(e.length)&&!!C[Ce(e)]};function Ke(e){return null!=(t=e)&&Ve(t.length)&&!He(t)?xe(e):ke(e);var t}e.exports=function(e,t){return Ee(e,t)}},8841:function(e,t,n){var r=n(772),o=n(5823),i=n(5023),s=n(4317)("src"),c=n(7759),l="toString",a=(""+c).split(l);n(380).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(i(n,s)||o(n,s,e[t]?""+e[t]:a.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,l,function(){return"function"==typeof this&&this[s]||c.call(this)})},8858:function(e,t,n){var r=n(8744),o=n(7280)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},9054:function(e,t,n){var r=n(380),o=n(772),i="__core-js_shared__",s=o[i]||(o[i]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(1008)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},9104:function(e,t,n){var r=n(6302),o=n(4993),i=n(7280)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[i])?t:o(n)}},9149:function(e,t,n){var r=n(6302),o=n(4738),i=n(7150),s=Object.defineProperty;t.f=n(761)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},9601:function(e,t,n){"use strict";n.r(t),n.d(t,{closest:function(){return i},distance:function(){return o}});var r=new Uint32Array(65536),o=function(e,t){if(e.length<t.length){var n=t;t=e,e=n}return 0===t.length?e.length:e.length<=32?function(e,t){for(var n=e.length,o=t.length,i=1<<n-1,s=-1,c=0,l=n,a=n;a--;)r[e.charCodeAt(a)]|=1<<a;for(a=0;a<o;a++){var u=r[t.charCodeAt(a)],d=u|c;(c|=~((u|=(u&s)+s^s)|s))&i&&l++,(s&=u)&i&&l--,s=s<<1|~(d|(c=c<<1|1)),c&=d}for(a=n;a--;)r[e.charCodeAt(a)]=0;return l}(e,t):function(e,t){for(var n=t.length,o=e.length,i=[],s=[],c=Math.ceil(n/32),l=Math.ceil(o/32),a=0;a<c;a++)s[a]=-1,i[a]=0;for(var u=0;u<l-1;u++){for(var d=0,f=-1,p=32*u,h=Math.min(32,o)+p,g=p;g<h;g++)r[e.charCodeAt(g)]|=1<<g;for(var v=0;v<n;v++){var m=r[t.charCodeAt(v)],y=s[v/32|0]>>>v&1,w=i[v/32|0]>>>v&1,b=m|d,F=((m|w)&f)+f^f|m|w,_=d|~(F|f),x=f&F;_>>>31^y&&(s[v/32|0]^=1<<v),x>>>31^w&&(i[v/32|0]^=1<<v),f=(x=x<<1|w)|~(b|(_=_<<1|y)),d=_&b}for(var S=p;S<h;S++)r[e.charCodeAt(S)]=0}for(var C=0,A=-1,E=32*u,P=Math.min(32,o-E)+E,k=E;k<P;k++)r[e.charCodeAt(k)]|=1<<k;for(var j=o,D=0;D<n;D++){var T=r[t.charCodeAt(D)],O=s[D/32|0]>>>D&1,M=i[D/32|0]>>>D&1,N=T|C,I=((T|M)&A)+A^A|T|M,B=C|~(I|A),L=A&I;j+=B>>>o-1&1,j-=L>>>o-1&1,B>>>31^O&&(s[D/32|0]^=1<<D),L>>>31^M&&(i[D/32|0]^=1<<D),A=(L=L<<1|M)|~(N|(B=B<<1|O)),C=B&N}for(var z=E;z<P;z++)r[e.charCodeAt(z)]=0;return j}(e,t)},i=function(e,t){for(var n=1/0,r=0,i=0;i<t.length;i++){var s=o(e,t[i]);s<n&&(n=s,r=i)}return t[r]}},9697:function(e,t,n){"use strict";var r=n(6393),o=n(380),i=n(772),s=n(9104),c=n(6151);r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}})},9744:function(e,t,n){var r=n(7387),o=n(772).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},9972:function(e,t,n){var r=n(772).navigator;e.exports=r&&r.userAgent||""}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},n.amdO={}
1,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:function(){return Ve},hasStandardBrowserEnv:function(){return Ge},hasStandardBrowserWebWorkerEnv:function(){return We},navigator:function(){return qe},origin:function(){return Ke}});var t=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})};function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=function(e){return new this(function(t,n){if(!e||void 0===e.length)return n(new TypeError(r(e)+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var o=Array.prototype.slice.call(e);if(0===o.length)return t([]);var i=o.length;function s(e,n){if(n&&("object"===r(n)||"function"==typeof n)){var c=n.then;if("function"==typeof c)return void c.call(n,function(t){s(e,t)},function(n){o[e]={status:"rejected",reason:n},0===--i&&t(o)})}o[e]={status:"fulfilled",value:n},0===--i&&t(o)}for(var c=0;c<o.length;c++)s(c,o[c])})};function i(e,t){this.name="AggregateError",this.errors=e,this.message=t||""}i.prototype=Error.prototype;var s=function(e){var t=this;return new t(function(n,r){if(!e||void 0===e.length)return r(new TypeError("Promise.any accepts an array"));var o=Array.prototype.slice.call(e);if(0===o.length)return r();for(var s=[],c=0;c<o.length;c++)try{t.resolve(o[c]).then(n).catch(function(e){s.push(e),s.length===o.length&&r(new i(s,"All promises were rejected"))})}catch(e){r(e)}})};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var l=setTimeout;function a(e){return Boolean(e&&void 0!==e.length)}function u(){}function d(e){if(!(this instanceof d))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],m(e,this)}function f(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,d._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void h(t.promise,e)}p(t.promise,r)}else(1===e._state?p:h)(t.promise,e._value)})):e._deferreds.push(t)}function p(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===c(t)||"function"==typeof t)){var n=t.then;if(t instanceof d)return e._state=3,e._value=t,void g(e);if("function"==typeof n)return void m((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,g(e)}catch(t){h(e,t)}var r,o}function h(e,t){e._state=2,e._value=t,g(e)}function g(e){2===e._state&&0===e._deferreds.length&&d._immediateFn(function(){e._handled||d._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)f(e,e._deferreds[t]);e._deferreds=null}function v(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function m(e,t){var n=!1;try{e(function(e){n||(n=!0,p(t,e))},function(e){n||(n=!0,h(t,e))})}catch(e){if(n)return;n=!0,h(t,e)}}d.prototype.catch=function(e){return this.then(null,e)},d.prototype.then=function(e,t){var n=new this.constructor(u);return f(this,new v(e,t,n)),n},d.prototype.finally=t,d.all=function(e){return new d(function(t,n){if(!a(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);
1if(0===r.length)return t([]);var o=r.length;function i(e,s){try{if(s&&("object"===c(s)||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,function(t){i(e,t)},n)}r[e]=s,0===--o&&t(r)}catch(e){n(e)}}for(var s=0;s<r.length;s++)i(s,r[s])})},d.any=s,d.allSettled=o,d.resolve=function(e){return e&&"object"===c(e)&&e.constructor===d?e:new d(function(t){t(e)})},d.reject=function(e){return new d(function(t,n){n(e)})},d.race=function(e){return new d(function(t,n){if(!a(e))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=e.length;r<o;r++)d.resolve(e[r]).then(t,n)})},d._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){l(e,0)},d._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var y=d,w=n(7568),b=n.n(w);function F(e,t){return function(){return e.apply(t,arguments)}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}var S,C=Object.prototype.toString,A=Object.getPrototypeOf,E=Symbol.iterator,P=Symbol.toStringTag,k=(S=Object.create(null),function(e){var t=C.call(e);return S[t]||(S[t]=t.slice(8,-1).toLowerCase())}),j=function(e){return e=e.toLowerCase(),function(t){return k(t)===e}},D=function(e){return function(t){return x(t)===e}},T=Array.isArray,O=D("undefined");function M(e){return null!==e&&!O(e)&&null!==e.constructor&&!O(e.constructor)&&z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var N=j("ArrayBuffer");var I,B,L=D("string"),z=D("function"),U=D("number"),R=function(e){return null!==e&&"object"===x(e)},H=function(e){if("object"!==k(e))return!1;var t=A(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||P in e||E in e)},V=j("Date"),q=j("File"),G=j("Blob"),W=j("FileList"),K=j("URLSearchParams"),X=["ReadableStream","Request","Response","Headers"].map(j),$=(B=4,function(e){if(Array.isArray(e))return e}(I=X)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(I,B)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(I,B)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),J=$[0],Q=$[1],Y=$[2],Z=$[3];function ee(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!==x(e)&&(e=[e]),T(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(M(e))return;var s,c=i?Object.getOwnPropertyNames(e):Object.keys(e),l=c.length;for(n=0;n<l;n++)s=c[n],t.call(null,e[s],s,e)}}function te(e,t){if(M(e))return null;t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,re=function(e){return!O(e)&&e!==ne};var oe,ie,se=(oe="undefined"!=typeof Uint8Array&&A(Uint8Array),function(e){return oe&&e instanceof oe}),ce=j("HTMLFormElement"),le=(ie=Object.prototype.hasOwnProperty,function(e,t){return ie.call(e,t)}),ae=j("RegExp"),ue=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};ee(n,function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};var de,fe,pe,he,ge=j("AsyncFunction"),ve=(de="function"==typeof setImmediate,fe=z(ne.postMessage),de?setImmediate:fe?(pe="axios@".concat(Math.random()),he=[],ne.addEventListener("message",function(e){var t=e.source,n=e.data;t===ne&&n===pe&&he.length&&he.shift()()},!1),function(e){he.push(e),ne.postMessage(pe,"*")}):function(e){return setTimeout(e)}),me="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ne):"undefined"!=typeof process&&process.nextTick||ve,ye={isArray:T,isArrayBuffer:N,isBuffer:M,isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||z(e.append)&&("formdata"===(t=k(e))||"object"===t&&z(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&N(e.buffer)},isString:L,isNumber:U,isBoolean:function(e){return!0===e||!1===e},isObject:R,isPlainObject:H,isEmptyObject:function(e){if(!R(e)||M(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:J,isRequest:Q,isResponse:Y,isHeaders:Z,isUndefined:O,isDate:V,isFile:q,isBlob:G,isRegExp:ae,isFunction:z,isStream:function(e){return R(e)&&z(e.pipe)},isURLSearchParams:K,isTypedArray:se,isFileList:W,forEach:ee,merge:function e(){for(var t=re(this)&&this||{},n=t.caseless,r=t.skipUndefined,o={},i=function(t,i){var s=n&&te(o,i)||i;H(o[s])&&H(t)?o[s]=e(o[s],t):H(t)?o[s]=e({},t):T(t)?o[s]=t.slice():r&&O(t)||(o[s]=t)},s=0,c=arguments.length;s<c;s++)arguments[s]&&ee(arguments[s],i);return o},extend:function(e,t,n){return ee(t,function(t,r){n&&z(t)?e[r]=F(t,n):e[r]=t},{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,s,c={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)s=o[i],r&&!r(s,e,t)||c[s]||(t[s]=e[s],c[s]=!0);e=!1!==n&&A(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:j,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(T(e))return e;var t=e.length;if(!U(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}
1,forEachEntry:function(e,t){for(var n,r=(e&&e[E]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:ce,hasOwnProperty:le,hasOwnProp:le,reduceDescriptors:ue,freezeMethods:function(e){ue(e,function(t,n){if(z(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];z(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:function(e,t){var n={},r=function(e){e.forEach(function(e){n[e]=!0})};return T(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:te,global:ne,isContextDefined:re,isSpecCompliantForm:function(e){return!!(e&&z(e.append)&&"FormData"===e[P]&&e[E])},toJSONObject:function(e){var t=new Array(10),n=function(e,r){if(R(e)){if(t.indexOf(e)>=0)return;if(M(e))return e;if(!("toJSON"in e)){t[r]=e;var o=T(e)?[]:{};return ee(e,function(e,t){var i=n(e,r+1);!O(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:ge,isThenable:function(e){return e&&(R(e)||z(e))&&z(e.then)&&z(e.catch)},setImmediate:ve,asap:me,isIterable:function(e){return null!=e&&z(e[E])}};function we(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}ye.inherits(we,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ye.toJSONObject(this.config),code:this.code,status:this.status}}});var be=we.prototype,Fe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(function(e){Fe[e]={value:e}}),Object.defineProperties(we,Fe),Object.defineProperty(be,"isAxiosError",{value:!0}),we.from=function(e,t,n,r,o,i){var s=Object.create(be);ye.toFlatObject(e,s,function(e){return e!==Error.prototype},function(e){return"isAxiosError"!==e});var c=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return we.call(s,c,l,n,r,o),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};var _e=we;function xe(e){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(e)}function Se(e){return ye.isPlainObject(e)||ye.isArray(e)}function Ce(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Ae(e,t,n){return e?e.concat(t).map(function(e,t){return e=Ce(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}var Ee=ye.toFlatObject(ye,{},null,function(e){return/^is[A-Z]/.test(e)});var Pe=function(e,t,n){if(!ye.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=ye.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ye.isUndefined(t[e])})).metaTokens,o=n.visitor||a,i=n.dots,s=n.indexes,c=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ye.isSpecCompliantForm(t);if(!ye.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ye.isDate(e))return e.toISOString();if(ye.isBoolean(e))return e.toString();if(!c&&ye.isBlob(e))throw new _e("Blob is not supported. Use a Buffer instead.");return ye.isArrayBuffer(e)||ye.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function a(e,n,o){var c=e;if(e&&!o&&"object"===xe(e))if(ye.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ye.isArray(e)&&function(e){return ye.isArray(e)&&!e.some(Se)}(e)||(ye.isFileList(e)||ye.endsWith(n,"[]"))&&(c=ye.toArray(e)))return n=Ce(n),c.forEac
1h(function(e,r){!ye.isUndefined(e)&&null!==e&&t.append(!0===s?Ae([n],r,i):null===s?n:n+"[]",l(e))}),!1;return!!Se(e)||(t.append(Ae(o,n,i),l(e)),!1)}var u=[],d=Object.assign(Ee,{defaultVisitor:a,convertValue:l,isVisitable:Se});if(!ye.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!ye.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),ye.forEach(n,function(n,i){!0===(!(ye.isUndefined(n)||null===n)&&o.call(t,n,ye.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),u.pop()}}(e),t};function ke(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function je(e,t){this._pairs=[],e&&Pe(e,this,t)}var De=je.prototype;De.append=function(e,t){this._pairs.push([e,t])},De.toString=function(e){var t=e?function(t){return e.call(this,t,ke)}:ke;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Te=je;function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Me(e,t,n){if(!t)return e;var r=n&&n.encode||Oe;ye.isFunction(n)&&(n={serialize:n});var o,i=n&&n.serialize;if(o=i?i(t,n):ye.isURLSearchParams(t)?t.toString():new Te(t,n).toString(r)){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}function Ne(e){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Be(r.key),r)}}function Be(e){var t=function(e,t){if("object"!=Ne(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ne(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ne(t)?t:t+""}var Le=function(){return function(e,t,n){return t&&Ie(e.prototype,t),n&&Ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.handlers=[]},[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){ye.forEach(this.handlers,function(t){null!==t&&e(t)})}}])}(),ze=Le,Ue={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Re={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Te,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};function He(e){return He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(e)}var Ve="undefined"!=typeof window&&"undefined"!=typeof document,qe="object"===("undefined"==typeof navigator?"undefined":He(navigator))&&navigator||void 0,Ge=Ve&&(!qe||["ReactNative","NativeScript","NS"].indexOf(qe.product)<0),We="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ke=Ve&&window.location.href||"http://localhost";function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?$e(Object(n),!0).forEach(function(t){Qe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$e(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=Je(Je({},e),Re);function Ze(e){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ze(e)}function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Ze(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ze(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nt(e,t){return Pe(e,new Ye.classes.URLSearchParams,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach(function(t){tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({visitor:function(e,t,n,r){return Ye.isNode&&ye.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}var rt=function(e){function t(e,n,r,o){var i=e[o++];if("__proto__"===i)return!0;var s=Number.isFinite(+i),c=o>=e.length;return i=!i&&ye.isArray(r)?r.length:i,c?(ye.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s):(r[i]&&ye.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&ye.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!s)}if(ye.isFormData(e)&&ye.isFunction(e.entries)){var n={};return ye.forEachEntry(e,function(e,r){t(function(e){return ye.matchAll(/\w+|\[(\w*)]/g,e).map(function(e){return"[]"===e[0]?"":e[1]||e[0]})}(e),r,n,0)}),n}return null};var ot={transitional:Ue,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=ye.isObject(e);if(i&&ye.isHTMLForm(e)&&(e=new FormData(e)),ye.isFormData(e))return o?JSON.stringify(rt(e)):e;if(ye.isArrayBuffer(e)||ye.isBuffer(e)||ye.isStream(e)||ye.isFile(e)||ye.isBlob(e)||ye.isReadableStream(e))return e;if(ye.isArrayBufferView(e))return e.buffer;if(ye.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nt(e,this.formSerializer).toString();if((n=ye.isFileList(e))||r.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return Pe(n?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(ye.isString(e))try{return(t||JSON.parse)(e),ye.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||ot.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ye.isResponse(e)||ye.isReadableStream(e))return e;if(e&&ye.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(o){if("SyntaxError"===e.name)throw _e.from(e,_e.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ye.forEach(["delete","get","head","post","put","patch"],function(e){ot.headers[e]={}});var it=ot,st=ye.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);function ct(e){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ct(e)}function lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}
vendor: 5,923 bytes, line 1
1finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||ut(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(e){return function(e){if(Array.isArray(e))return dt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ut(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ut(e,t){if(e){if("string"==typeof e)return dt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dt(e,t):void 0}}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pt(r.key),r)}}function pt(e){var t=function(e,t){if("object"!=ct(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ct(t)?t:t+""}var ht=Symbol("internals");function gt(e){return e&&String(e).trim().toLowerCase()}function vt(e){return!1===e||null==e?e:ye.isArray(e)?e.map(vt):String(e)}function mt(e,t,n,r,o){return ye.isFunction(r)?r.call(this,t,n):(o&&(t=n),ye.isString(t)?ye.isString(r)?-1!==t.indexOf(r):ye.isRegExp(r)?r.test(t):void 0:void 0)}var yt=function(){return function(e,t,n){return t&&ft(e.prototype,t),n&&ft(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t&&this.set(t)},[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=gt(t);if(!o)throw new Error("header name must be a non-empty string");var i=ye.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=vt(e))}var i=function(e,t){return ye.forEach(e,function(e,n){return o(e,n,t)})};if(ye.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(ye.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&st[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)}),o}(e),t);else if(ye.isObject(e)&&ye.isIterable(e)){var s,c,l,a={},u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ut(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(u.s();!(l=u.n()).done;){var d=l.value;if(!ye.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[c=d[0]]=(s=a[c])?ye.isArray(s)?[].concat(at(s),[d[1]]):[s,d[1]]:d[1]}}catch(e){u.e(e)}finally{u.f()}i(a,t)}else null!=e&&o(t,e,n);return this}},{key:"get",value:function(e,t){if(e=gt(e)){var n=ye.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(ye.isFunction(t))return t.call(this,r,n);if(ye.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=gt(e)){var n=ye.findKey(this,e);return!(!n||void 0===this[n]||t&&!mt(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=gt(e)){var o=ye.findKey(n,e);!o||t&&!mt(0,n[o],o,t)||(delete n[o],r=!0)}}return ye.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!mt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return ye.forEach(this,function(r,o){var i=ye.findKey(n,o);if(i)return t[i]=vt(r),void delete t[o];var s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})}(o):String(o).trim();s!==o&&delete t[o],t[s]=vt(r),n[s]=!0}),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return ye.forEach(this,function(n,r){null!=n&&!1!==n&&(t[r]=e&&ye.isArray(n)?n.join(", "):n)}),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map(function(e){var t=lt(e,2);return t[0]+": "+t[1]}).join("\n")}},{key:"getSetCookie",value:function(){return this.get("set-cookie")||[]}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach(function(e){return t.set(e)}),t}}
1,{key:"accessor",value:function(e){var t=(this[ht]=this[ht]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=gt(e);t[r]||(!function(e,t){var n=ye.toCamelCase(" "+t);["get","set","has"].forEach(function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return ye.isArray(e)?e.forEach(r):r(e),this}}])}();yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ye.reduceDescriptors(yt.prototype,function(e,t){var n=e.value,r=t[0].toUpperCase()+t.slice(1);return{get:function(){return n},set:function(e){this[r]=e}}}),ye.freezeMethods(yt);var wt=yt;function bt(e,t){var n=this||it,r=t||n,o=wt.from(r.headers),i=r.data;return ye.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ft(e){return!(!e||!e.__CANCEL__)}function _t(e,t,n){_e.call(this,null==e?"canceled":e,_e.ERR_CANCELED,t,n),this.name="CanceledError"}ye.inherits(_t,_e,{__CANCEL__:!0});var xt=_t;function St(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _e("Request failed with status code "+n.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var Ct=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,s=0;return t=void 0!==t?t:1e3,function(c){var l=Date.now(),a=o[s];n||(n=l),r[i]=c,o[i]=l;for(var u=s,d=0;u!==i;)d+=r[u++],u%=e;if((i=(i+1)%e)===s&&(s=(s+1)%e),!(l-n<t)){var f=a&&l-a;return f?Math.round(1e3*d/f):void 0}}};function At(e){return function(e){if(Array.isArray(e))return Et(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Et(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Et(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Pt=function(e,t){var n,r,o=0,i=1e3/t,s=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(void 0,At(t))};return[function(){for(var e=Date.now(),t=e-o,c=arguments.length,l=new Array(c),a=0;a<c;a++)l[a]=arguments[a];t>=i?s(l,e):(n=l,r||(r=setTimeout(function(){r=null,s(n)},i-t)))},function(){return n&&s(n)}]};function kt(e){return kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kt(e)}function jt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=kt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0,o=Ct(50,250);return Pt(function(n){var i=n.loaded,s=n.lengthComputable?n.total:void 0,c=i-r,l=o(c);r=i;var a=jt({loaded:i,total:s,progress:s?i/s:void 0,bytes:c,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:n,lengthComputable:null!=s},t?"download":"upload",!0);e(a)},n)},Tt=function(e,t){var n=null!=e;return[function(r){return t[0]({lengthComputable:n,total:e,loaded:r})},t[1]]},Ot=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ye.asap(function(){return e.apply(void 0,n)})}},Mt=Ye.hasStandardBrowserEnv?function(e,t){return function(n){return n=new URL(n,Ye.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)}}(new URL(Ye.origin),Ye.navigator&&/(msie|trident)/i.test(Ye.navigator.userAgent)):function(){return!0},Nt=Ye.hasStandardBrowserEnv?{write:function(e,t,n,r,o,i,s){if("undefined"!=typeof document){var c=["".concat(e,"=").concat(encodeURIComponent(t))];ye.isNumber(n)&&c.push("expires=".concat(new Date(n).toUTCString())),ye.isString(r)&&c.push("path=".concat(r)),ye.isString(o)&&c.push("domain=".concat(o)),!0===i&&c.push("secure"),ye.isString(s)&&c.push("SameSite=".concat(s)),document.cookie=c.join("; ")}},read:function(e){if("undefined"==typeof document)return null;var t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function It(e,t,n){var r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Lt(Object(n),!0).forEach(function(t){Ut(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ut(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Bt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rt=function(e){return e instanceof wt?zt({},e):e};function Ht(e,t){t=t||{};var n={};function r(e,t,n,r){return ye.isPlainObject(e)&&ye.isPlainObject(t)?ye.merge.call({caseless:r},e,t):ye.isPlainObject(t)?ye.merge({},t):ye.isArray(t)?t.slice():t}function o(e,t,n,o){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!ye.isUndefined(t))return r(void 0,t)}function s(e,t){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function c(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:function(e,t,n){return o(Rt(e),Rt(t),0,!0)}};return ye.forEach(Object.keys(zt(zt({},e),t)),function(r){var i=l[r]||o,s=i(e[r],t[r],r);ye.isUndefined(s)&&i!==c||(n[r]=s)}),n}function Vt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Gt=function(e){var t=Ht({},e),n=t.data,r=t.withXSRFToken,o=t.xsrfHeaderName,i=t.xsrfCookieName,s=t.headers,c=t.auth;if(t.headers=s=wt.from(s),t.url=Me(It(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ye.isFormData(n))if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(ye.isFunction(n.getHeaders)){var l=n.getHeaders(),a=["content-type","content-length"];Object.entries(l).forEach(function(e){var t=Vt(e,2),n=t[0],r=t[1];a.includes(n.toLowerCase())&&s.set(n,r)})}if(Ye.hasStandardBrowserEnv&&(r&&ye.isFunction(r)&&(r=r(t)),r||!1!==r&&Mt(t.url))){var u=o&&i&&Nt.read(i);u&&s.set(o,u)}return t};function Wt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Kt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kt(e,t):void 0}}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Xt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){var r,o,i,s,c,l=Gt(e),a=l.data,u=wt.from(l.headers).normalize(),d=l.responseType,f=l.onUploadProgress,p=l.onDownloadProgress;function h(){s&&s(),c&&c(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}var g=new XMLHttpRequest;function v(){if(g){var r=wt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());St(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}}if(g.open(l.method.toUpperCase(),l.url,!0),g.timeout=l.timeout,"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(v)},g.onabort=function(){g&&(n(new _e("Request aborted",_e.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){var r=t&&t.message?t.message:"Network Error",o=new _e(r,_e.ERR_NETWORK,e,g);o.event=t||null,n(o),g=null},g.ontimeout=function(){var t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||Ue;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new _e(t,r.clarifyTimeoutError?_e.ETIMEDOUT:_e.ECONNABORTED,e,g)),g=null},void 0===a&&u.setContentType(null),"setRequestHeader"in g&&ye.forEach(u.toJSON(),function(e,t){g.setRequestHeader(t,e)}),ye.isUndefined(l.withCredentials)||(g.withCredentials=!!l.withCredentials),d&&"json"!==d&&(g.responseType=l.responseType),p){var m=Wt(Dt(p,!0),2);i=m[0],c=m[1],g.addEventListener("progress",i)}if(f&&g.upload){var y=Wt(Dt(f),2);o=y[0],s=y[1],g.upload.addEventListener("progress",o),g.upload.addEventListener("loadend",s)}(l.cancelToken||l.signal)&&(r=function(t){g&&(n(!t||t.type?new xt(null,e,g):t),g.abort(),g=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));var w,b,F=(w=l.url,(b=/^([-+\w]{1,25})(:?\/\/|:)/.exec(w))&&b[1]||"");F&&-1===Ye.protocols.indexOf(F)?n(new _e("Unsupported protocol "+F+":",_e.ERR_BAD_REQUEST,e)):g.send(a||null)})},$t=function(e,t){var n=(e=e?e.filter(Boolean):[]).length;if(t||n){var r,o=new AbortController,i=function(e){if(!r){r=!0,c();var t=e instanceof Error?e:this.reason;o.abort(t instanceof _e?t:new xt(t instanceof Error?t.message:t))}},s=t&&setTimeout(function(){s=null,i(new _e("timeout ".concat(t," of ms exceeded"),_e.ETIMEDOUT))},t),c=function(){e&&(s&&clearTimeout(s),s=null,e.forEach(function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(function(e){return e.addEventListener("abort",i)});var l=o.signal;return l.unsubscribe=function(){return ye.asap(c)},l}};function Jt(e){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt(e)}function Qt(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Yt(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Jt(e)+" is not iterable")}function Zt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return en(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
vendor: 6,264 bytes, line 1
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(en(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,en(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,en(d,"constructor",a),en(a,"constructor",l),l.displayName="GeneratorFunction",en(a,o,"GeneratorFunction"),en(d),en(d,o,"Generator"),en(d,r,function(){return this}),en(d,"toString",function(){return"[object Generator]"}),(Zt=function(){return{w:i,m:f}})()}function en(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}en=function(e,t,n,r){function i(t,n){en(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},en(e,t,n,r)}function tn(e){return function(){return new nn(e.apply(this,arguments))}}function nn(e){var t,n;function r(t,n){try{var i=e[t](n),s=i.value,c=s instanceof sn;Promise.resolve(c?s.v:s).then(function(n){if(c){var l="return"===t?"return":"next";if(!s.k||n.done)return r(l,n);n=e[l](n).value}o(i.done?"return":"normal",n)},function(e){r("throw",e)})}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,o){return new Promise(function(i,s){var c={key:e,arg:o,resolve:i,reject:s,next:null};n?n=n.next=c:(t=n=c,r(e,o))})},"function"!=typeof e.return&&(this.return=void 0)}function rn(e){return new sn(e,0)}function on(e){var t={},n=!1;function r(t,r){return n=!0,r=new Promise(function(n){n(e[t](r))}),{done:!1,value:new sn(r,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return n?(n=!1,e):r("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(n)throw n=!1,e;return r("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return n?(n=!1,e):r("return",e)}),t}function sn(e,t){this.v=e,this.k=t}function cn(e){var t,n,r,o=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);o--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new ln(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function ln(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return ln=function(e){this.s=e,this.n=e.next},ln.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new ln(e)}nn.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},nn.prototype.next=function(e){return this._invoke("next",e)},nn.prototype.throw=function(e){return this._invoke("throw",e)},nn.prototype.return=function(e){return this._invoke("return",e)};var an=Zt().m(function e(t,n){var r,o,i;return Zt().w(function(e){for(;;)switch(e.n){case 0:if(r=t.byteLength,n&&!(r<n)){e.n=2;break}return e.n=1,t;case 1:return e.a(2);case 2:o=0;case 3:if(!(o<r)){e.n=5;break}return i=o+n,e.n=4,t.slice(o,i);case 4:o=i,e.n=3;break;case 5:return e.a(2)}},e)}),un=function(){var e=tn(Zt().m(function e(t,n){var r,o,i,s,c,l,a;return Zt().w(function(e){for(;;)switch(e.p=e.n){case 0:r=!1,o=!1,e.p=1,s=cn(dn(t));case 2:return e.n=3,rn(s.next());case 3:if(!(r=!(c=e.v).done)){e.n=5;break}return l=c.value,e.d(Yt(on(cn(an(l,n)))),4);case 4:r=!1,e.n=2;break;case 5:e.n=7;break;case 6:e.p=6,a=e.v,o=!0,i=a;case 7:if(e.p=7,e.p=8,!r||null==s.return){e.n=9;break}return e.n=9,rn(s.return());case 9:if(e.p=9,!o){e.n=10;break}throw i;case 10:return e.f(9);case 11:return e.f(7);case 12:return e.a(2)}},e,null,[[8,,9,11],[1,6,7,12]])}));return function(t,n){return e.apply(this,arguments)}}(),dn=function(){var e=tn(Zt().m(function e(t){var n,r,o,i;return Zt().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!t[Symbol.asyncIterator]){e.n=2;break}return e.d(Yt(on(cn(t))),1);case 1:return e.a(2);case 2:n=t.getReader(),e.p=3;case 4:return e.n=5,rn(n.read());case 5:if(r=e.v,o=r.done,i=r.value,!o){e.n=6;break}return e.a(3,8);case 6:return e.n=7,i;case 7:e.n=4;break;case 8:return e.p=8,e.n=9,rn(n.cancel());case 9:return e.f(8);case 10:return e.a(2)}},e,null,[[3,,8,10]])}));return function(t){return e.apply(this,arguments)}}(),fn=function(e,t,n,r){var o,i=un(e,t),s=0,c=function(e){o||(o=!0,r&&r(e))};return new ReadableStream({pull:function(e){return(t=Zt().m(function t(){var r,o,l,a,u,d;return Zt().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,i.next();case 1:if(r=t.v,o=r.done,l=r.value,!o){t.n=2;break}return c(),e.close(),t.a(2);case 2:a=l.byteLength,n&&(u=s+=a,n(u)),e.enqueue(new Uint8Array(l)),t.n=4;break;case 3:throw t.p=3,d=t.v,c(d),d;case 4:return t.a(2)}},t,null,[[0,3]])}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function s(e){Qt(i,r,o,s,c,"next",e)}function c(e){Qt(i,r,o,s,c,"throw",e)}s(void 0)})})();var t},cancel:function(e){return c(e),i.return()}},{highWaterMark:2})};function pn(e){return pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pn(e)}function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?hn(Object(n),!0).forEach(function(t){vn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=pn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=pn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function wn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return bn(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(bn(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,bn(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,bn(d,"constructor",a),bn(a,"constructor",l),l.displayName="GeneratorFunction",bn(a,o,"GeneratorFunction"),bn(d),bn(d,o,"Generator"),bn(d,r,function(){return this}),bn(d,"toString",function(){return"[object Generator]"}),(wn=function(){return{w:i,m:f}})()}function bn(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}bn=function(e,t,n,r){function i(t,n){bn(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},bn(e,t,n,r)}function Fn(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function _n(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Fn(i,r,o,s,c,"next",e)}function c(e){Fn(i,r,o,s,c,"throw",e)}s(void 0)})}}var xn,Sn=ye.isFunction,Cn={Request:(xn=ye.global).Request,Response:xn.Response},An=ye.global,En=An.ReadableStream,Pn=An.TextEncoder,kn=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e.apply(void 0,n)}catch(e){return!1}},jn=function(e){var t=e=ye.merge.call({skipUndefined:!0},Cn,e),n=t.fetch,r=t.Request,o=t.Response,i=n?Sn(n):"function"==typeof fetch,s=Sn(r),c=Sn(o);if(!i)return!1;var l,a=i&&Sn(En),u=i&&("function"==typeof Pn?(l=new Pn,function(e){return l.encode(e)}):function(){var e=_n(wn().m(function e(t){var n,o;return wn().w(function(e){for(;;)switch(e.n){case 0:return n=Uint8Array,e.n=1,new r(t).arrayBuffer();case 1:return o=e.v,e.a(2,new n(o))}},e)}));return function(t){return e.apply(this,arguments)}}()),d=s&&a&&kn(function(){var e=!1,t=new r(Ye.origin,{body:new En,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),f=c&&a&&kn(function(){return ye.isReadableStream(new o("").body)}),p={stream:f&&function(e){return e.body}};i&&["text","arrayBuffer","blob","formData","stream"].forEach(function(e){!p[e]&&(p[e]=function(t,n){var r=t&&t[e];if(r)return r.call(t);throw new _e("Response type '".concat(e,"' is not supported"),_e.ERR_NOT_SUPPORT,n)})});var h=function(){var e=_n(wn().m(function e(t){var n;return wn().w(function(e){for(;;)switch(e.n){case 0:if(null!=t){e.n=1;break}return e.a(2,0);case 1:if(!ye.isBlob(t)){e.n=2;break}return e.a(2,t.size);case 2:if(!ye.isSpecCompliantForm(t)){e.n=4;break}return n=new r(Ye.origin,{method:"POST",body:t}),e.n=3,n.arrayBuffer();case 3:case 6:return e.a(2,e.v.byteLength);case 4:if(!ye.isArrayBufferView(t)&&!ye.isArrayBuffer(t)){e.n=5;break}return e.a(2,t.byteLength);case 5:if(ye.isURLSearchParams(t)&&(t+=""),!ye.isString(t)){e.n=7;break}return e.n=6,u(t);case 7:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=_n(wn().m(function e(t,n){var r;return wn().w(function(e){for(;;)if(0===e.n)return r=ye.toFiniteNumber(t.getContentLength()),e.a(2,null==r?h(n):r)},e)}));return function(t,n){return e.apply(this,arguments)}}();return function(){var e=_n(wn().m(function e(t){var i,c,l,a,u,h,v,m,y,w,b,F,_,x,S,C,A,E,P,k,j,D,T,O,M,N,I,B,L,z,U,R,H,V,q,G,W,K,X;return wn().w(function(e){for(;;)switch(e.p=e.n){case 0:if(i=Gt(t),c=i.url,l=i.method,a=i.data,u=i.signal,h=i.cancelToken,v=i.timeout,m=i.onDownloadProgress,y=i.onUploadProgress,w=i.responseType,b=i.headers,F=i.withCredentials,_=void 0===F?"same-origin":F,x=i.fetchOptions,S=n||fetch,w=w?(w+"").toLowerCase():"text",C=$t([u,h&&h.toAbortSignal()],v),A=null,E=C&&C.unsubscribe&&function(){C.unsubscribe()},e.p=1,!(W=y&&d&&"get"!==l&&"head"!==l)){e.n=3;break}return e.n=2,g(b,a);case 2:K=P=e.v,W=0!==K;case 3:if(!W){e.n=4;break}k=new r(c,{method:"POST",body:a,duplex:"half"}),ye.isFormData(a)&&(j=k.headers.get("content-type"))&&b.setContentType(j),k.body&&(D=Tt(P,Dt(Ot(y))),T=mn(D,2),O=T[0],M=T[1],a=fn(k.body,65536,O,M));case 4:return ye.isString(_)||(_=_?"include":"omit"),N=s&&"credentials"in r.prototype,I=gn(gn({},x),{},{signal:C,method:l.toUpperCase(),headers:b.normalize().toJSON(),body:a,duplex:"half",credentials:N?_:void 0}),A=s&&new r(c,I),e.n=5,s?S(A,x):S(c,I);case 5:return B=e.v,L=f&&("stream"===w||"response"===w),f&&(m||L&&E)&&(z={},["status","statusText","headers"].forEach(function(e){z[e]=B[e]}),U=ye.toFiniteNumber(B.headers.get("content-length")),R=m&&Tt(U,Dt(Ot(m),!0))||[],H=mn(R,2),
1V=H[0],q=H[1],B=new o(fn(B.body,65536,V,function(){q&&q(),E&&E()}),z)),w=w||"text",e.n=6,p[ye.findKey(p,w)||"text"](B,t);case 6:return G=e.v,!L&&E&&E(),e.n=7,new Promise(function(e,n){St(e,n,{data:G,headers:wt.from(B.headers),status:B.status,statusText:B.statusText,config:t,request:A})});case 7:return e.a(2,e.v);case 8:if(e.p=8,X=e.v,E&&E(),!X||"TypeError"!==X.name||!/Load failed|fetch/i.test(X.message)){e.n=9;break}throw Object.assign(new _e("Network Error",_e.ERR_NETWORK,t,A),{cause:X.cause||X});case 9:throw _e.from(X,X&&X.code,t,A);case 10:return e.a(2)}},e,null,[[1,8]])}));return function(t){return e.apply(this,arguments)}}()},Dn=new Map,Tn=function(e){for(var t,n,r=e&&e.env||{},o=r.fetch,i=[r.Request,r.Response,o],s=i.length,c=Dn;s--;)t=i[s],void 0===(n=c.get(t))&&c.set(t,n=s?new Map:jn(r)),c=n;return n};Tn();function On(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Nn={http:null,xhr:Xt,fetch:{get:Tn}};ye.forEach(Nn,function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var In=function(e){return"- ".concat(e)},Bn=function(e){return ye.isFunction(e)||null===e||!1===e};var Ln={getAdapter:function(e,t){for(var n,r,o=(e=ye.isArray(e)?e:[e]).length,i={},s=0;s<o;s++){var c=void 0;if(r=n=e[s],!Bn(n)&&void 0===(r=Nn[(c=String(n)).toLowerCase()]))throw new _e("Unknown adapter '".concat(c,"'"));if(r&&(ye.isFunction(r)||(r=r.get(t))))break;i[c||"#"+s]=r}if(!r){var l=Object.entries(i).map(function(e){var t=On(e,2),n=t[0],r=t[1];return"adapter ".concat(n," ")+(!1===r?"is not supported by the environment":"is not available in the build")}),a=o?l.length>1?"since :\n"+l.map(In).join("\n"):" "+In(l[0]):"as no adapter specified";throw new _e("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Nn};function zn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xt(null,e)}function Un(e){return zn(e),e.headers=wt.from(e.headers),e.data=bt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ln.getAdapter(e.adapter||it.adapter,e)(e).then(function(t){return zn(e),t.data=bt.call(e,e.transformResponse,t),t.headers=wt.from(t.headers),t},function(t){return Ft(t)||(zn(e),t&&t.response&&(t.response.data=bt.call(e,e.transformResponse,t.response),t.response.headers=wt.from(t.response.headers))),Promise.reject(t)})}var Rn="1.13.2";function Hn(e){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(e)}var Vn={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Vn[e]=function(n){return Hn(n)===e||"a"+(t<1?"n ":" ")+e}});var qn={};Vn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Rn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new _e(r(o," has been removed"+(t?" in "+t:"")),_e.ERR_DEPRECATED);return t&&!qn[o]&&(qn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Vn.spelling=function(e){return function(t,n){return console.warn("".concat(n," is likely a misspelling of ").concat(e)),!0}};var Gn={assertOptions:function(e,t,n){if("object"!==Hn(e))throw new _e("options must be an object",_e.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],s=t[i];if(s){var c=e[i],l=void 0===c||s(c,i,e);if(!0!==l)throw new _e("option "+i+" must be "+l,_e.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _e("Unknown option "+i,_e.ERR_BAD_OPTION)}},validators:Vn};function Wn(e){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(e)}function Kn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Xn(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Xn(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Xn(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Xn(d,"constructor",a),Xn(a,"constructor",l),l.displayName="GeneratorFunction",Xn(a,o,"GeneratorFunction"),Xn(d),Xn(d,o,"Generator"),Xn(d,r,function(){return this}),Xn(d,"toString",function(){return"[object Generator]"}),(Kn=function(){return{w:i,m:f}})()}function Xn(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Xn=function(e,t,n,r){function i(t,n){Xn(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Xn(e,t,n,r)}function $n(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Qn(r.key),r)}}function Qn(e){var t=function(e,t){if("object"!=Wn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Wn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Wn(t)?t:t+""}var Yn=Gn.validators,Zn=function(){return function(e,t,n){return t&&Jn(e.prototype,t),n&&Jn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaults=t||{},this.interceptors={request:new ze,response:new ze}},[{key:"request",value:(e=Kn().m(function e(t,n){var r,o,i;return Kn().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,this._request(t,n);case 1:return e.a(2,e.v);case 2:if(e.p=2,(i=e.v)instanceof Error){r={},Error.captureStackTrace?Error.captureStackTrace(r):r=new Error,o=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?o&&!String(i.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(i.stack+="\n"+o):i.stack=o}catch(e){}}throw i;case 3:return e.a(2)}},e,this,[[0,2]])}),t=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){$n(i,r,o,s,c,"next",e)}function c(e){$n(i,r,o,s,c,"throw",e)}s(void 0)})},function(e,n){return t.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=Ht(this.defaults,t),r=n.transitional,o=n.paramsSerializer,i=n.headers;void 0!==r&&Gn.assertOptions(r,{silentJSONParsing:Yn.transitional(Yn.boolean),forcedJSONParsing:Yn.transitional(Yn.boolean),clarifyTimeoutError:Yn.transitional(Yn.boolean)},!1),null!=o&&(ye.isFunction(o)?t.paramsSerializer={serialize:o}:Gn.assertOptions(o,{encode:Yn.function,serialize:Yn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Gn.assertOptions(t,{baseUrl:Yn.spelling("baseURL"),withXsrfToken:Yn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var s=i&&ye.merge(i.common,i[t.method]);i&&ye.forEach(["delete","get","head","post","put","patch","common"],function(e){delete i[e]}),t.headers=wt.concat(s,i);var c=[],l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,c.unshift(e.fulfilled,e.rejected))});var a,u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});var d,f=0;if(!l){var p=[Un.bind(this),void 0];
1for(p.unshift.apply(p,c),p.push.apply(p,u),d=p.length,a=Promise.resolve(t);f<d;)a=a.then(p[f++],p[f++]);return a}d=c.length;for(var h=t;f<d;){var g=c[f++],v=c[f++];try{h=g(h)}catch(e){v.call(this,e);break}}try{a=Un.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,d=u.length;f<d;)a=a.then(u[f++],u[f++]);return a}},{key:"getUri",value:function(e){return Me(It((e=Ht(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}]);var e,t}();ye.forEach(["delete","get","head","options"],function(e){Zn.prototype[e]=function(t,n){return this.request(Ht(n||{},{method:e,url:t,data:(n||{}).data}))}}),ye.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(Ht(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Zn.prototype[e]=t(),Zn.prototype[e+"Form"]=t(!0)});var er=Zn;function tr(e){return tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tr(e)}function nr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rr(r.key),r)}}function rr(e){var t=function(e,t){if("object"!=tr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tr(t)?t:t+""}var or=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(e){n=e});var r=this;this.promise.then(function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t(function(e,t,o){r.reason||(r.reason=new xt(e,t,o),n(r.reason))})}return function(e,t,n){return t&&nr(e.prototype,t),n&&nr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,n=function(e){t.abort(e)};return this.subscribe(n),t.signal.unsubscribe=function(){return e.unsubscribe(n)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e(function(e){t=e}),cancel:t}}}])}(),ir=or;function sr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return cr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var lr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
1setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(lr).forEach(function(e){var t=sr(e,2),n=t[0],r=t[1];lr[r]=n});var ar=lr;var ur=function e(t){var n=new er(t),r=F(er.prototype.request,n);return ye.extend(r,er.prototype,n,{allOwnKeys:!0}),ye.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ht(t,n))},r}(it);ur.Axios=er,ur.CanceledError=xt,ur.CancelToken=ir,ur.isCancel=Ft,ur.VERSION=Rn,ur.toFormData=Pe,ur.AxiosError=_e,ur.Cancel=ur.CanceledError,ur.all=function(e){return Promise.all(e)},ur.spread=function(e){return function(t){return e.apply(null,t)}},ur.isAxiosError=function(e){return ye.isObject(e)&&!0===e.isAxiosError},ur.mergeConfig=Ht,ur.AxiosHeaders=wt,ur.formToJSON=function(e){return rt(ye.isHTMLForm(e)?new FormData(e):e)},ur.getAdapter=Ln.getAdapter,ur.HttpStatusCode=ar,ur.default=ur;var dr=ur,fr=Object.prototype.toString,pr=Array.isArray||function(e){return"[object Array]"===fr.call(e)};function hr(e){return"function"==typeof e}function gr(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function vr(e,t){return null!=e&&"object"==typeof e&&t in e}function mr(e,t){return null!=e&&"object"!=typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var yr=RegExp.prototype.test;var wr=/\S/;function br(e){return!function(e,t){return yr.call(e,t)}(wr,e)}var Fr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};var _r=/\s*/,xr=/\s+/,Sr=/\s*=/,Cr=/\s*\}/,Ar=/#|\^|\/|>|\{|&|=|!/;function Er(e){this.string=e,this.tail=e,this.pos=0}function Pr(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function kr(){this.templateCache={_cache:{},set:function(e,t){this._cache[e]=t},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}Er.prototype.eos=function(){return""===this.tail},Er.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},Er.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},Pr.prototype.push=function(e){return new Pr(e,this)},Pr.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{for(var r,o,i,s=this,c=!1;s;){if(e.indexOf(".")>0)for(r=s.view,o=e.split("."),i=0;null!=r&&i<o.length;)i===o.length-1&&(c=vr(r,o[i])||mr(r,o[i])),r=r[o[i++]];else r=s.view[e],c=vr(s.view,e);if(c){t=r;break}s=s.parent}n[e]=t}return hr(t)&&(t=t.call(this.view)),t},kr.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},kr.prototype.parse=function(e,t){var n=this.templateCache,r=e+":"+(t||jr.tags).join(":"),o=void 0!==n,i=o?n.get(r):void 0;return null==i&&(i=function(e,t){if(!e)return[];var n,r,o,i=!1,s=[],c=[],l=[],a=!1,u=!1,d="",f=0;function p(){if(a&&!u)for(;l.length;)delete c[l.pop()];else l=[];a=!1,u=!1}function h(e){if("string"==typeof e&&(e=e.split(xr,2)),!pr(e)||2!==e.length)throw new Error("Invalid tags: "+e);n=new RegExp(gr(e[0])+"\\s*"),r=new RegExp("\\s*"+gr(e[1])),o=new RegExp("\\s*"+gr("}"+e[1]))}h(t||jr.tags);for(var g,v,m,y,w,b,F=new Er(e);!F.eos();){if(g=F.pos,m=F.scanUntil(n))for(var _=0,x=m.length;_<x;
1++_)br(y=m.charAt(_))?(l.push(c.length),d+=y):(u=!0,i=!0,d+=" "),c.push(["text",y,g,g+1]),g+=1,"\n"===y&&(p(),d="",f=0,i=!1);if(!F.scan(n))break;if(a=!0,v=F.scan(Ar)||"name",F.scan(_r),"="===v?(m=F.scanUntil(Sr),F.scan(Sr),F.scanUntil(r)):"{"===v?(m=F.scanUntil(o),F.scan(Cr),F.scanUntil(r),v="&"):m=F.scanUntil(r),!F.scan(r))throw new Error("Unclosed tag at "+F.pos);if(w=">"==v?[v,m,g,F.pos,d,f,i]:[v,m,g,F.pos],f++,c.push(w),"#"===v||"^"===v)s.push(w);else if("/"===v){if(!(b=s.pop()))throw new Error('Unopened section "'+m+'" at '+g);if(b[1]!==m)throw new Error('Unclosed section "'+b[1]+'" at '+g)}else"name"===v||"{"===v||"&"===v?u=!0:"="===v&&h(m)}if(p(),b=s.pop())throw new Error('Unclosed section "'+b[1]+'" at '+F.pos);return function(e){for(var t,n=[],r=n,o=[],i=0,s=e.length;i<s;++i)switch((t=e[i])[0]){case"#":case"^":r.push(t),o.push(t),r=t[4]=[];break;case"/":o.pop()[5]=t[2],r=o.length>0?o[o.length-1][4]:n;break;default:r.push(t)}return n}(function(e){for(var t,n,r=[],o=0,i=e.length;o<i;++o)(t=e[o])&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}(c))}(e,t),o&&n.set(r,i)),i},kr.prototype.render=function(e,t,n,r){var o=this.getConfigTags(r),i=this.parse(e,o),s=t instanceof Pr?t:new Pr(t,void 0);return this.renderTokens(i,s,n,e,r)},kr.prototype.renderTokens=function(e,t,n,r,o){for(var i,s,c,l="",a=0,u=e.length;a<u;++a)c=void 0,"#"===(s=(i=e[a])[0])?c=this.renderSection(i,t,n,r,o):"^"===s?c=this.renderInverted(i,t,n,r,o):">"===s?c=this.renderPartial(i,t,n,o):"&"===s?c=this.unescapedValue(i,t):"name"===s?c=this.escapedValue(i,t,o):"text"===s&&(c=this.rawValue(i)),void 0!==c&&(l+=c);return l},kr.prototype.renderSection=function(e,t,n,r,o){var i=this,s="",c=t.lookup(e[1]);if(c){if(pr(c))for(var l=0,a=c.length;l<a;++l)s+=this.renderTokens(e[4],t.push(c[l]),n,r,o);else if("object"==typeof c||"string"==typeof c||"number"==typeof c)s+=this.renderTokens(e[4],t.push(c),n,r,o);else if(hr(c)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");null!=(c=c.call(t.view,r.slice(e[3],e[5]),function(e){return i.render(e,t,n,o)}))&&(s+=c)}else s+=this.renderTokens(e[4],t,n,r,o);return s}},kr.prototype.renderInverted=function(e,t,n,r,o){var i=t.lookup(e[1]);if(!i||pr(i)&&0===i.length)return this.renderTokens(e[4],t,n,r,o)},kr.prototype.indentPartial=function(e,t,n){for(var r=t.replace(/[^ \t]/g,""),o=e.split("\n"),i=0;i<o.length;i++)o[i].length&&(i>0||!n)&&(o[i]=r+o[i]);return o.join("\n")},kr.prototype.renderPartial=function(e,t,n,r){if(n){var o=this.getConfigTags(r),i=hr(n)?n(e[1]):n[e[1]];if(null!=i){var s=e[6],c=e[5],l=e[4],a=i;0==c&&l&&(a=this.indentPartial(i,l,s));var u=this.parse(a,o);return this.renderTokens(u,t,n,a,r)}}},kr.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},kr.prototype.escapedValue=function(e,t,n){var r=this.getConfigEscape(n)||jr.escape,o=t.lookup(e[1]);if(null!=o)return"number"==typeof o&&r===jr.escape?String(o):r(o)},kr.prototype.rawValue=function(e){return e[1]},kr.prototype.getConfigTags=function(e){return pr(e)?e:e&&"object"==typeof e?e.tags:void 0},kr.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!pr(e)?e.escape:void 0};var jr={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){Dr.templateCache=e},get templateCache(){return Dr.templateCache}},Dr=new kr;jr.clearCache=function(){return Dr.clearCache()},jr.parse=function(e,t){return Dr.parse(e,t)},jr.render=function(e,t,n,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+((pr(o=e)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)'));var o;return Dr.render(e,t,n,r)},jr.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,function(e){return Fr[e]})},jr.Scanner=Er,jr.Context=Pr,jr.Writer=kr;var Tr,Or=jr,Mr=n(8496),Nr=n.n(Mr),Ir=n(8828),Br=n.n(Ir),Lr={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},zr=new Uint8Array(16);for(var Ur=[],Rr=0;Rr<256;++Rr)Ur.push((Rr+256).toString(16).slice(1));function Hr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(Ur[e[t+0]]+Ur[e[t+1]]+Ur[e[t+2]]+Ur[e[t+3]]+"-"+Ur[e[t+4]]+Ur[e[t+5]]+"-"+Ur[e[t+6]]+Ur[e[t+7]]+"-"+Ur[e[t+8]]+Ur[e[t+9]]+"-"+Ur[e[t+10]]+Ur[e[t+11]]+Ur[e[t+12]]+Ur[e[t+13]]+Ur[e[t+14]]+Ur[e[t+15]]).toLowerCase()}var Vr=function(e,t,n){var r,o,i,s;if(Lr.randomUUID&&!t&&!e)return Lr.randomUUID();var c=null!==(r=null!==(o=(e=e||{}).random)&&void 0!==o?o:null===(i=(s=e).rng)||void 0===i?void 0:i.call(s))&&void 0!==r?r:function(){if(!Tr){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Tr=crypto.getRandomValues.bind(crypto)}return Tr(zr)}();if(c.length<16)throw new Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError("UUID byte range ".concat(n,":").concat(n+15," is out of buffer bounds"));for(var l=0;l<16;++l)t[n+l]=c[l];return t}return Hr(c)};function qr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Gr(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Gr(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Gr(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Gr(d,"constructor",a),Gr(a,"constructor",l),l.displayName="GeneratorFunction",Gr(a,o,"GeneratorFunction"),Gr(d),Gr(d,o,"Generator"),Gr(d,r,function(){return this}),Gr(d,"toString",function(){return"[object Generator]"}),(qr=function(){return{w:i,m:f}})()}function Gr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Gr=function(e,t,n,r){function i(t,n){Gr(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Gr(e,t,n,r)}function Wr(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Kr(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Wr(i,r,o,s,c,"next",e)}function c(e){Wr(i,r,o,s,c,"throw",e)}s(void 0)})}}var Xr=function(){var e,t={id:Vr(),config:{agentName:"DefaultAgent v1.0.0",showDebugInfo:!0,lang:"de",splitStreet:!0,useAutocomplete:!0,ux:{smartFill:!1,smartFillBlockTime:600,resumeSubmit:!0,disableBrowserAutocomplete:!0,maxAutocompletePredictionItems:100,maxAddressPredictionItems:3,delay:{inputAssistant:100,streetCopy:600,onBlur:300},requestTimeout:8e3,errorInsertMode:"afterbegin",errorContainer:void 0},trigger:{onblur:!0,onsubmit:!0},templates:{default:""},texts:{default:""}},type:"base",name:"default",fullName:"default",forms:[],formsWithSession:[],fieldNames:[],states:{},active:!1,activate:function(){this.active=!0},deactivate:function(){this.active=!1},_changed:!1,_awaits:0,waitForExtension:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=this;return new y(function(r,o){"string"==typeof e&&(e=[e]);var i=setInterval(function(){var t=!0;e.forEach(function(e){n.hasLoadedExtension(e)||(t=!1)}),t&&(clearTimeout(s),clearInterval(i),r())},100),s=setTimeout(function(){clearTimeout(s),clearInterval(i),console.log("Timeout!"),o()},1e3*t)})},waitForAllExtension:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this;return this._awaits++,new y(function(n,r){var o=setInterval(function(){Object.keys(t.loadedExtensions).length===t.extensions.length&&(clearTimeout(i),clearInterval(o),t._awaits--,n(t))},100),i=setTimeout(function(){clearTimeout(i),clearInterval(o),console.log("Timeout!"),t._awaits--,r(t)},1e3*e)})},waitForActive:function(){var e=this;return new y(function(t,n){var r=setInterval(function(){e.active&&(clearInterval(r),t())},100)})},waitUntilReady:function(){var e=this;return new y(function(t,n){var r=setInterval(function(){0===e._awaits&&(clearInterval(r),t())},100)})},anyActive:function(){var e=this,t=!1;return e.fieldNames.forEach(function(n){e._subscribers[n]&&e._subscribers[n].forEach(function(e){null!==e.object.offsetParent&&document.activeElement===e.object&&(t=!0)})}),window.EnderecoIntegrator.$globalFilters&&window.EnderecoIntegrator.$globalFilters.anyActive&&window.EnderecoIntegrator.$globalFilters.anyActive.forEach(function(n){t=n(t,e)}),t},anyMissing:function(){var e=this,t=!1;return t=!1,e.forms.forEach(function(e){e.isConnected&&(t=!0)}),window.EnderecoIntegrator.$globalFilters&&window.EnderecoIntegrator.$globalFilters.anyMissing&&window.EnderecoIntegrator.$globalFilters.anyMissing.forEach(function(n){t=n(t,e)}),!t},onAfterCreate:[],created:function(){var e=this;this.onAfterCreate.forEach(function(t){t(e)})},onCloseModal:[],modalClosed:function(){var e=this;this.onCloseModal.forEach(function(t){t(e)})},onAddressSelect:[],addressSelected:function(){var e=this;this.onAddressSelect.forEach(function(t){t(e)})},onBeforeSubmitResume:[],beforeSubmitResume:function(){var e=this;this.onBeforeSubmitResume.forEach(function(t){t(e)})},cb:{onFormSubmit:function(e){}}
1,util:{axios:dr,Promise:y,Mustache:Or,levenstein:Nr(),merge:b(),isEqual:Br(),CustomEvent:CustomEvent,generateId:function(){return Vr()},generateUniqueId:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"endereco",n=0;do{if(e="".concat(t,"-").concat(Vr()),++n>=100){console.warn("Max attempts reached generating unique ID, using timestamp fallback"),e="".concat(t,"-").concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9));break}}while(document.getElementById(e));return e},escapeHTML:function(e){return"string"!=typeof e?e:e.replaceAll(/&/g,"&amp;").replaceAll(/</g,"&lt;").replaceAll(/>/g,"&gt;").replaceAll(/"/g,"&quot;").replaceAll(/'/g,"&#039;")},sanitizeHTML:function(e){return"string"!=typeof e?e:e.replaceAll(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replaceAll(/on\w+\s*=\s*"[^"]*"/gi,"").replaceAll(/on\w+\s*=\s*'[^']*'/gi,"").replaceAll(/javascript:/gi,"")},safeSetContent:function(e,t){e&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?e.innerHTML=this.sanitizeHTML(t):e.textContent=t)}},api:{},getEnderecoAPI:function(){var e,t=this;return{sendRequestToAPI:(e=Kr(qr().m(function e(n,r){return qr().w(function(e){for(;;)if(0===e.n)return e.a(2,t.util.axios.post(t.config.apiUrl,n,{timeout:t.config.ux.requestTimeout,headers:r}))},e)})),function(t,n){return e.apply(this,arguments)})}},_subscribers:{},addSubscriber:function(e){var t=this;t._awaits++,this.waitForAllExtension().then(function(){if(!e)return console.log("No EnderecoSubscriber"),null;e.subject=t,void 0===t._subscribers[e.propertyName]&&(t._subscribers[e.propertyName]=[]),e.object&&e.object.form&&void 0!==t.forms&&t.hasLoadedExtension("SessionExtension")&&!t.forms.includes(e.object.form)&&t.forms.push(e.object.form),t._subscribers[e.propertyName].push(e),t.config.showDebugInfo&&console.log("Add Subscriber ",e)}).catch().finally(function(){t._awaits--})},removeSubscriber:function(e){},syncValues:(e=Kr(qr().m(function e(n){var r,o;return qr().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=n||Object.keys(t._subscribers),e.p=1,e.n=2,y.all(r.map(function(){var e=Kr(qr().m(function e(n){return qr().w(function(e){for(;;)switch(e.n){case 0:if(t._subscribers[n]&&0!==t._subscribers[n].length){e.n=1;break}return e.a(2);case 1:return e.n=2,y.all(t._subscribers[n].map(function(){var e=Kr(qr().m(function e(r){var o,i,s,c,l,a,u;return qr().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,t.util.Promise.resolve(r.value);case 1:if(o=e.v,i="get".concat(n.charAt(0).toUpperCase()+n.slice(1)),"function"!=typeof t[i]){e.n=3;break}return e.n=2,t[i]();case 2:s=e.v,e.n=4;break;case 3:s=t[n];case 4:if(c=Array.isArray(s)?s.join():s,l=!c&&0!==c,(a=!o&&0!==o)||!l){e.n=7;break}if(u="set".concat(n.charAt(0).toUpperCase()+n.slice(1)),"function"!=typeof t[u]){e.n=6;break}return e.n=5,t[u](o);case 5:e.n=7;break;case 6:t[n]=o;case 7:if(!a||l){e.n=8;break}return e.n=8,r.updateDOMValue(t[n]);case 8:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()));case 2:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()));case 2:e.n=4;break;case 3:throw e.p=3,o=e.v,console.warn("Syncing value failed",o),o;case 4:return e.a(2)}},e,null,[[1,3]])})),function(t){return e.apply(this,arguments)}),setField:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this;r._awaits++,r.util.Promise.resolve(t).then(function(o){r["_"+e]=t,r._subscribers[e].forEach(function(e){e.value=o}),n&&(r._changed=!0)}).catch().finally(function(){r._awaits--})},_listeners:{},addEventListener:function(e,t){void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t)},removeEventListener:function(e,t){},extensions:[],loadedExtensions:{},loadExtensions:function(){var e=this;this.extensions.forEach(function(t){e.loadedExtensions[t.name]||(e._awaits++,t.extend(e).then(function(t){e.loadedExtensions[t.name]=t}).catch(function(n){e.config.showDebugInfo&&console.log("Failed to load extension",n,t)}).finally(function(){e._awaits--}))})},hasLoadedExtension:function(e){return void 0!==this.loadedExtensions[e]},fire:function(e){this.config.showDebugInfo&&console.log("Fire",e),void 0!==this._listeners[e.type]&&this._listeners[e.type].forEach(function(t){t(e.detail)})},trigger:function(e,t){}};return t};function $r(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Jr(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Jr(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Jr(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Jr(d,"constructor",a),Jr(a,"constructor",l),l.displayName="GeneratorFunction",Jr(a,o,"GeneratorFunction"),Jr(d),Jr(d,o,"Generator"),Jr(d,r,function(){return this}),Jr(d,"toString",function(){return"[object Generator]"}),($r=function(){return{w:i,m:f}})()}function Jr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Jr=function(e,t,n,r){function i(t,n){Jr(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Jr(e,t,n,r)}function Qr(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Yr(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Qr(i,r,o,s,c,"next",e)}function c(e){Qr(i,r,o,s,c,"throw",e)}s(void 0)})}}var Zr,eo={name:"CountryCodeExtension",registerProperties:function(e){e._countryCode="",e._subscribers.countryCode=[],e._allowToNotifyCountryCodeSubscribers=!0},registerFields:function(e){Object.defineProperty(e,"countryCode",{get:function(){return e.getCountryCode()},set:function(t){e._awaits++;try{e.setCountryCode(t)}catch(e){console.warn("Error setting country code",{error:e,countryCode:t})}finally{e._awaits--}}}),e.getCountryCode=function(){return e._countryCode},e.setCountryCode=function(){var t=Yr($r().m(function t(n){var r,o,i,s;return $r().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyCountryCodeSubscribers,t.n=1,Promise.resolve(n);case 1:return"string"!=typeof(o=t.v)&&(o=String(o)),t.p=2,t.n=3,e.cb.setCountryCode(o);case 3:o=t.v,t.n=5;break;case 4:throw t.p=4,s=t.v,new Error("Failed in setCountryCode callback: ".concat(s.message));case 5:if(o=o.toUpperCase(),e._countryCode!==o){t.n=6;break}return t.a(2);case 6:if(e._countryCode=o,!r){t.n=7;break}return i=[],e._subscribers.countryCode.forEach(function(e){i.push(e.updateDOMValue(o))}),t.n=7,Promise.all(i);case 7:return t.a(2)}},t,null,[[2,4]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("countryCode")},registerConfig:function(e){},registerEventCallbacks:function(e){e.cb.countryCodeChange=function(t){return function(n){e._allowToNotifyCountryCodeSubscribers=!1,e.setCountryCode(t.value),e._allowToNotifyCountryCodeSubscribers=!0,e.hasLoadedExtension("SubdivisionCodeExtension")&&e._subscribers.subdivisionCode.length>0&&(e._subdivisionCode="",e._subscribers.subdivisionCode.forEach(function(e){e.value=""})),e.active&&"address"===e.type&&e.util.invalidateAddressMeta()}},e.cb.countryCodeInput=function(t){return function(n){e._allowToNotifyCountryCodeSubscribers=!1,e.setCountryCode(t.value),e._allowToNotifyCountryCodeSubscribers=!0,e.hasLoadedExtension("SubdivisionCodeExtension")&&e._subscribers.subdivisionCode.length>0&&(e._subdivisionCode="",e._subscribers.subdivisionCode.forEach(function(e){e.value=""})),e.active&&"address"===e.type&&e.util.invalidateAddressMeta()}},e.cb.countryCodeBlur=function(t){return function(){var t=Yr($r().m(function t(n){var r;return $r().w(function(t){for(;;)switch(t.p=t.n){case 0:if("address"===e.type){t.n=1;break}return t.a(2);case 1:return t.p=1,t.n=2,e.waitUntilReady();case 2:return t.n=3,e.cb.handleFormBlur();case 3:t.n=5;break;case 4:t.p=4,r=t.v,console.warn("Error in countryCodeBlur handler:",r);case 5:return t.a(2)}},t,null,[[1,4]])}));return function(e){return t.apply(this,arguments)}}()}},registerUtilities:function(e){},registerAPIHandlers:function(e){},registerFilterCallbacks:function(e){e.cb.setCountryCode=function(e){return Promise.resolve(e)}},extend:(Zr=Yr($r().m(function e(t){return $r().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,eo.registerProperties(t);case 1:return e.n=2,eo.registerFields(t);case 2:return e.n=3,eo.registerConfig(t);case 3:return e.n=4,eo.registerEventCallbacks(t);case 4:return e.n=5,eo.registerUtilities(t);case 5:return e.n=6,eo.registerAPIHandlers(t);case 6:return e.n=7,eo.registerFilterCallbacks(t);case 7:return e.a(2,eo)}},e)})),function(e){return Zr.apply(this,arguments)})},to=eo,no={name:"CountryCodeCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("CountryCodeExtension").then(function(){e._countryCodeStatus="",e._subscribers.countryCodeStatus=[],e.cb.countryCodeStatusChange=function(t){return function(n){e.countryCodeStatus=t.value}},Object.defineProperty(e,"countryCodeStatus",{get:function(){return this._countryCodeStatus},set:function(t){var n=e._countryCodeStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._countryCodeStatus=r,e._subscribers.countryCodeStatus.forEac
1h(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"countryCodeStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("CountryCodeCheckExtension applied"),n(t)}).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},ro=no;function oo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return io(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(io(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,io(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,io(d,"constructor",a),io(a,"constructor",l),l.displayName="GeneratorFunction",io(a,o,"GeneratorFunction"),io(d),io(d,o,"Generator"),io(d,r,function(){return this}),io(d,"toString",function(){return"[object Generator]"}),(oo=function(){return{w:i,m:f}})()}function io(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}io=function(e,t,n,r){function i(t,n){io(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},io(e,t,n,r)}function so(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function co(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){so(i,r,o,s,c,"next",e)}function c(e){so(i,r,o,s,c,"throw",e)}s(void 0)})}}var lo={name:"SubdivisionCodeExtension",registerProperties:function(e){e._subdivisionCode="",e._subscribers.subdivisionCode=[],e._allowToNotifySubdivisionCodeSubscribers=!0},registerFields:function(e){var t;Object.defineProperty(e,"subdivisionCode",{get:function(){return e.getSubdivisionCode()},set:(t=co(oo().m(function t(n){return oo().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setSubdivisionCode(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getSubdivisionCode=function(){return e._subdivisionCode},e.setSubdivisionCode=function(){var t=co(oo().m(function t(n){var r,o,i,s;return oo().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifySubdivisionCodeSubscribers,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return o=t.v,t.n=3,e.cb.setSubdivisionCode(o);case 3:if((o=t.v)!==e._subdivisionCode){t.n=4;break}return t.a(2);case 4:if(e._subdivisionCode=o,!r){t.n=5;break}return i=[],e._subscribers.subdivisionCode.forEach(function(e){i.push(e.updateDOMValue(o))}),t.n=5,Promise.all(i);case 5:t.n=7;break;case 6:t.p=6,s=t.v,console.warn("Error while setting the field 'subdivisionCode'",s);case 7:return t.p=7,e._awaits--,t.f(7);case 8:return t.a(2)}},t,null,[[1,6,7,8]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("subdivisionCode")},registerConfig:function(e){},registerEventCallbacks:function(e){e.cb.subdivisionCodeChange=function(t){return function(){var n=co(oo().m(function n(r){return oo().w(function(n){for(;;)switch(n.n){case 0:return e._allowToNotifySubdivisionCodeSubscribers=!1,n.n=1,e.setSubdivisionCode(t.value);case 1:e._allowToNotifySubdivisionCodeSubscribers=!0,e.active&&e.util.invalidateAddressMeta();case 2:return n.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}()},e.cb.subdivisionCodeInput=function(t){return function(){var n=co(oo().m(function n(r){return oo().w(function(n){for(;;)switch(n.n){case 0:return e._allowToNotifySubdivisionCodeSubscribers=!1,n.n=1,e.setSubdivisionCode(t.value);case 1:e._allowToNotifySubdivisionCodeSubscribers=!0,e.active&&e.util.invalidateAddressMeta();case 2:return n.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}()},e.cb.subdivisionCodeBlur=function(t){return function(){var t=co(oo().m(function t(n){var r;return oo().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.waitUntilReady();case 1:return t.n=2,e.cb.handleFormBlur();case 2:t.n=4;break;case 3:t.p=3,r=t.v,console.warn("Error in subdivisionCodeBlur handler:",r);case 4:return t.a(2)}},t,null,[[0,3]])}
1));return function(e){return t.apply(this,arguments)}}()}},registerUtilities:function(e){},registerAPIHandlers:function(e){},registerFilterCallbacks:function(e){e.cb.setSubdivisionCode=function(e){return e}},extend:function(){var e=co(oo().m(function e(t){return oo().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,lo.registerProperties(t);case 1:return e.n=2,lo.registerFields(t);case 2:return e.n=3,lo.registerConfig(t);case 3:return e.n=4,lo.registerEventCallbacks(t);case 4:return e.n=5,lo.registerUtilities(t);case 5:return e.n=6,lo.registerAPIHandlers(t);case 6:return e.n=7,lo.registerFilterCallbacks(t);case 7:return e.a(2,lo)}},e)}));return function(t){return e.apply(this,arguments)}}()},ao=lo,uo={name:"SubdivisionCodeCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("SubdivisionCodeExtension").then(function(){e._subdivisionCodeStatus="",e._subscribers.subdivisionCodeStatus=[],e.cb.subdivisionCodeStatusChange=function(t){return function(n){e.subdivisionCodeStatus=t.value}},Object.defineProperty(e,"subdivisionCodeStatus",{get:function(){return this._subdivisionCodeStatus},set:function(t){var n=e._subdivisionCodeStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._subdivisionCodeStatus=r,e._subscribers.subdivisionCodeStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"subdivisionCodeStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("SubdivisionCodeCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},fo=uo;function po(){}function ho(e,t,n,r,o){for(var i,s=[];t;)s.push(t),i=t.previousComponent,delete t.previousComponent,t=i;s.reverse();for(var c=0,l=s.length,a=0,u=0;c<l;c++){var d=s[c];if(d.removed)d.value=e.join(r.slice(u,u+d.count)),u+=d.count;else{if(!d.added&&o){var f=n.slice(a,a+d.count);f=f.map(function(e,t){var n=r[u+t];return n.length>e.length?n:e}),d.value=e.join(f)}else d.value=e.join(n.slice(a,a+d.count));a+=d.count,d.added||(u+=d.count)}}return s}po.prototype={diff:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.callback;"function"==typeof r&&(o=r,r={});var i=this;function s(e){return e=i.postProcess(e,r),o?(setTimeout(function(){o(e)},0),!0):e}e=this.castInput(e,r),t=this.castInput(t,r),e=this.removeEmpty(this.tokenize(e,r));var c=(t=this.removeEmpty(this.tokenize(t,r))).length,l=e.length,a=1,u=c+l;null!=r.maxEditLength&&(u=Math.min(u,r.maxEditLength));var d=null!==(n=r.timeout)&&void 0!==n?n:1/0,f=Date.now()+d,p=[{oldPos:-1,lastComponent:void 0}],h=this.extractCommon(p[0],t,e,0,r);if(p[0].oldPos+1>=l&&h+1>=c)return s(ho(i,p[0].lastComponent,t,e,i.useLongestToken));var g=-1/0,v=1/0;function m(){for(var n=Math.max(g,-a);n<=Math.min(v,a);n+=2){var o=void 0,u=p[n-1],d=p[n+1];u&&(p[n-1]=void 0);var f=!1;if(d){var m=d.oldPos-n;f=d&&0<=m&&m<c}var y=u&&u.oldPos+1<l;if(f||y){if(o=!y||f&&u.oldPos<d.oldPos?i.addToPath(d,!0,!1,0,r):i.addToPath(u,!1,!0,1,r),h=i.extractCommon(o,t,e,n,r),o.oldPos+1>=l&&h+1>=c)return s(ho(i,o.lastComponent,t,e,i.useLongestToken));p[n]=o,o.oldPos+1>=l&&(v=Math.min(v,n-1)),h+1>=c&&(g=Math.max(g,n+1))}else p[n]=void 0}a++}if(o)!function e(){setTimeout(function(){if(a>u||Date.now()>f)return o();m()||e()},0)}();else for(;a<=u&&Date.now()<=f;){var y=m();if(y)return y}},addToPath:function(e,t,n,r,o){var i=e.lastComponent;return i&&!o.oneChangePerToken&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r,o){for(var i=t.length,s=n.length,c=e.oldPos,l=c-r,a=0;l+1<i&&c+1<s&&this.equals(n[c+1],t[l+1],o);)l++,c++,a++,o.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return a&&!o.oneChangePerToken&&(e.lastComponent={count:a,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=c,l},equals:function(e,t,n){return n.comparator?n.comparator(e,t):e===t||n.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return Array.from(e)},join:function(e){return e.join("")},postProcess:function(e){return e}};var go=new po;function vo(e,t,n){return go.diff(e,t,n)}function mo(e,t){var n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function yo(e,t){var n;if(!e||!t||e[e.length-1]!=t[t.length-1])return"";for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function wo(e,t,n){if(e.slice(0,t.length)!=t)throw Error("string ".concat(JSON.stringify(e)," doesn't start with prefix ").concat(JSON.stringify(t),"; this is a bug"));return n+e.slice(t.length)}function bo(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error("string ".concat(JSON.stringify(e)," doesn't end with suffix ").concat(JSON.stringify(t),"; this is a bug"));return e.slice(0,-t.length)+n}function Fo(e,t){return wo(e,t,"")}function _o(e,t){return bo(e,t,"")}function xo(e,t){return t.slice(0,function(e,t){var n=0;e.length>t.length&&(n=e.length-t.length);var r=t.length;e.length<t.length&&(r=e.length);var o=Array(r),i=0;o[0]=0;for(var s=1;s<r;s++){for(t[s]==t[i]?o[s]=o[i]:o[s]=i;i>0&&t[s]!=t[i];)i=o[i];t[s]==t[i]&&i++}i=0;for(var c=n;c<e.length;c++){for(;i>0&&e[c]!=t[i];)i=o[i];e[c]==t[i]&&i++}return i}(e,t))}var So="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",Co=new RegExp("[".concat(So,"]+|\\s+|[^").concat(So,"]"),"ug"),Ao=new po;function Eo(e,t,n){return null==(null==n?void 0:n.ignoreWhitespace)||n.ignoreWhitespace?Ao.diff(e,t,n):function(e,t,n){return ko.diff(e,t,n)}
1(e,t,n)}function Po(e,t,n,r){if(t&&n){var o=t.value.match(/^\s*/)[0],i=t.value.match(/\s*$/)[0],s=n.value.match(/^\s*/)[0],c=n.value.match(/\s*$/)[0];if(e){var l=mo(o,s);e.value=bo(e.value,s,l),t.value=Fo(t.value,l),n.value=Fo(n.value,l)}if(r){var a=yo(i,c);r.value=wo(r.value,c,a),t.value=_o(t.value,a),n.value=_o(n.value,a)}}else if(n)e&&(n.value=n.value.replace(/^\s*/,"")),r&&(r.value=r.value.replace(/^\s*/,""));else if(e&&r){var u=r.value.match(/^\s*/)[0],d=t.value.match(/^\s*/)[0],f=t.value.match(/\s*$/)[0],p=mo(u,d);t.value=Fo(t.value,p);var h=yo(Fo(u,p),f);t.value=_o(t.value,h),r.value=wo(r.value,u,h),e.value=bo(e.value,u,u.slice(0,u.length-h.length))}else if(r){var g=r.value.match(/^\s*/)[0],v=xo(t.value.match(/\s*$/)[0],g);t.value=_o(t.value,v)}else if(e){var m=xo(e.value.match(/\s*$/)[0],t.value.match(/^\s*/)[0]);t.value=Fo(t.value,m)}}Ao.equals=function(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()},Ao.tokenize=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n.intlSegmenter){if("word"!=n.intlSegmenter.resolvedOptions().granularity)throw new Error('The segmenter passed must have a granularity of "word"');t=Array.from(n.intlSegmenter.segment(e),function(e){return e.segment})}else t=e.match(Co)||[];var r=[],o=null;return t.forEach(function(e){/\s/.test(e)?null==o?r.push(e):r.push(r.pop()+e):/\s/.test(o)?r[r.length-1]==o?r.push(r.pop()+e):r.push(o+e):r.push(e),o=e}),r},Ao.join=function(e){return e.map(function(e,t){return 0==t?e:e.replace(/^\s+/,"")}).join("")},Ao.postProcess=function(e,t){if(!e||t.oneChangePerToken)return e;var n=null,r=null,o=null;return e.forEach(function(e){e.added?r=e:e.removed?o=e:((r||o)&&Po(n,o,r,e),n=e,r=null,o=null)}),(r||o)&&Po(n,o,r,null),e};var ko=new po;ko.tokenize=function(e){var t=new RegExp("(\\r?\\n)|[".concat(So,"]+|[^\\S\\n\\r]+|[^").concat(So,"]"),"ug");return e.match(t)||[]};var jo=new po;jo.tokenize=function(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));var n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var o=0;o<r.length;o++){var i=r[o];o%2&&!t.newlineIsToken?n[n.length-1]+=i:n.push(i)}return n},jo.equals=function(e,t,n){return n.ignoreWhitespace?(n.newlineIsToken&&e.includes("\n")||(e=e.trim()),n.newlineIsToken&&t.includes("\n")||(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith("\n")&&(e=e.slice(0,-1)),t.endsWith("\n")&&(t=t.slice(0,-1))),po.prototype.equals.call(this,e,t,n)};var Do=new po;Do.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var To=new po;function Oo(e){return Oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oo(e)}To.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var Mo=new po;function No(e,t,n,r,o){var i,s;for(t=t||[],n=n||[],r&&(e=r(o,e)),i=0;i<t.length;i+=1)if(t[i]===e)return n[i];if("[object Array]"===Object.prototype.toString.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),i=0;i<e.length;i+=1)s[i]=No(e[i],t,n,r,o);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===Oo(e)&&null!==e){t.push(e),s={},n.push(s);var c,l=[];for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&l.push(c);for(l.sort(),i=0;i<l.length;i+=1)s[c=l[i]]=No(e[c],t,n,r,c);t.pop(),n.pop()}else s=e;return s}Mo.useLongestToken=!0,Mo.tokenize=jo.tokenize,Mo.castInput=function(e,t){var n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(No(e,null,null,o),o,"  ")},Mo.equals=function(e,t,n){return po.prototype.equals.call(Mo,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"),n)};var Io=new po;function Bo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Lo(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Lo(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Lo(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Lo(d,"constructor",a),Lo(a,"constructor",l),l.displayName="GeneratorFunction",Lo(a,o,"GeneratorFunction"),Lo(d),Lo(d,o,"Generator"),Lo(d,r,function(){return this}),Lo(d,"toString",function(){return"[object Generator]"}),(Bo=function(){return{w:i,m:f}})()}function Lo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Lo=function(e,t,n,r){function i(t,n){Lo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Lo(e,t,n,r)}function zo(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Uo(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){zo(i,r,o,s,c,"next",e)}function c(e){zo(i,r,o,s,c,"throw",e)}s(void 0)})}}Io.tokenize=function(e){return e.slice()},Io.join=Io.removeEmpty=function(e){return e};var Ro={name:"PostalCodeExtension",registerProperties:function(e){e._postalCode="",e._subscribers.postalCode=[],e._postalCodeAutocompleteRequestIndex=1,e._postalCodePredictions=[],e._postalCodePredictionsIndex=0,e._postalCodeTimeout=null,e._allowToNotifyPostalCodeSubscribers=!0,e._allowFetchPostalCodeAutocomplete=!1,e.postalCodeAutocompleteCache={cachedResults:{}},e._postalCodeAutocompleteTimeout=null},registerFields:function(e){var t;Object.defineProperty(e,"postalCode",{get:function(){return e.getPostalCode()},set:(t=Uo(Bo().m(function t(n){return Bo().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setPostalCode(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getPostalCode=function(){return e._postalCode},e.setPostalCode=function(){var t=Uo(Bo().m(function t(n){var r,o,i,s,c;return Bo().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyPostalCodeSubscribers,o=e.active&&e.config.useAutocomplete&&e._allowFetchPostalCodeAutocomplete,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return i=t.v,t.n=3,e.cb.setPostalCode(i);case 3:if((i=t.v)!==e._postalCode){t.n=4;break}return t.a(2);case 4:if(e._postalCode=i,!r){t.n=5;break}return s=[],e._subscribers.postalCode.forEach(function(e){s.push(e.updateDOMValue(i))}),t.n=5,Promise.all(s);case 5:o&&e.util.displayPostalCodeAutocompleteDropdown(i),t.n=7;break;case 6:t.p=6,c=t.v,console.warn("Error while setting the field 'postalCode'",c);case 7:return t.p=7,e._awaits--,t.f(7);case 8:return t.a(2)}},t,null,[[1,6,7,8]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("postalCode"),Object.defineProperty(e,"postalCodePredictions",{get:function(){return e.getPostalCodePredictions()},set:function(t){return e.setPostalCodePredictions(t)}}),e.getPostalCodePredictions=function(){return e._postalCodePredictions},e.setPostalCodePredictions=function(){var t=Uo(Bo().m(function t(n){var r,o;return Bo().w(function(t){for(;;)switch(t.p=t.n){case 0:return e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return r=t.v,t.n=3,e.cb.setPostalCodePredictions(r);case 3:if((r=t.v)!==e._postalCodePredictions){t.n=4;break}return t.a(2);case 4:e._postalCodePredictions=r,t.n=6;break;case 5:t.p=5,o=t.v,console.warn("Error while setting the field 'postalCodePredictions'",o);case 6:return t.p=6,e._awaits--,t.f(6);case 7:return t.a(2)}},t,null,[[1,5,6,7]])}));return function(e){return t.apply(this,arguments)}}()},registerConfig:function(e){e.config.templates.postalCodePredictions='<div endereco-postal-code-predictions data-id="{{ExtendableOb
1ject.id}}" data-input-id="{{inputId}}" class="endereco-predictions-wrapper endereco-predictions-wrapper--direction-{{direction}} {{#longList}}endereco-predictions-wrapper--longlist{{/longList}}" style="top:{};"> <div class="endereco-predictions-wrapper-inner"> <ul class="endereco-predictions"> {{#predictions}} <li class="endereco-predictions__item {{#isActive}}active{{/isActive}}" endereco-postal-code-prediction data-prediction-index="{{index}}" data-prediction-type="postalCode"> {{{postalCodeDiff}}}{{#locality}}, {{{locality}}}{{/locality}}{{#subdivisionName}}<span class="endereco-text-gray">, {{{subdivisionName}}}</span> {{/subdivisionName}} </li> {{/predictions}} </ul> </div> </div> '},registerEventCallbacks:function(e){e.cb.postalCodeChange=function(t){return function(){e._allowFetchPostalCodeAutocomplete=!1,e._allowToNotifyPostalCodeSubscribers=!1,e.postalCode=t.value,e._allowToNotifyPostalCodeSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.postalCodeInput=function(t){return function(){e._allowFetchPostalCodeAutocomplete=!0,e._allowToNotifyPostalCodeSubscribers=!1,e.postalCode=t.value,e._allowToNotifyPostalCodeSubscribers=!0,e._allowFetchPostalCodeAutocomplete=!1,e.active&&e.util.invalidateAddressMeta()}},e.cb.postalCodeBlur=function(t){return function(){var t=Uo(Bo().m(function t(n){var r;return Bo().w(function(t){for(;;)switch(t.p=t.n){case 0:return e._subscribers.postalCode.some(function(e){return document.activeElement===e.object})||(e.postalCodePredictions=[],e._postalCodePredictionsIndex=0,e.util.removePostalCodePredictionsDropdown()),t.p=1,t.n=2,e.waitUntilReady();case 2:return t.n=3,e.cb.handleFormBlur();case 3:t.n=5;break;case 4:t.p=4,r=t.v,console.warn("Error in buildingNumberBlur handler:",r);case 5:return t.a(2)}},t,null,[[1,4]])}));return function(e){return t.apply(this,arguments)}}()},e.cb.postalCodeKeydown=function(){return function(t){"ArrowUp"===t.key||"Up"===t.key?(t.preventDefault(),t.stopPropagation(),e._postalCodePredictionsIndex>-1&&(e._postalCodePredictionsIndex=e._postalCodePredictionsIndex-1,e.util.renderPostalCodePredictionsDropdown())):"ArrowDown"===t.key||"Down"===t.key?(t.preventDefault(),t.stopPropagation(),e._postalCodePredictionsIndex<e._postalCodePredictions.length-1&&(e._postalCodePredictionsIndex=e._postalCodePredictionsIndex+1,e.util.renderPostalCodePredictionsDropdown())):"Tab"===t.key||"Tab"===t.key||("Enter"===t.key||"Enter"===t.key?(e._postalCodePredictions.length>0&&e._postalCodePredictionsIndex>=0&&(t.preventDefault(),t.stopImmediatePropagation(),e.cb.applyPostalCodePredictionSelection(e._postalCodePredictionsIndex,e._postalCodePredictions),e.postalCodePredictions=[]),e.util.removePostalCodePredictionsDropdown()):"Backspace"!==t.key&&"Backspace"!==t.key||(e.config.ux.smartFill=!1))}},e.cb.applyPostalCodePredictionSelection=function(t,n){e._allowFetchPostalCodeAutocomplete=!1,e._allowFetchLocalityAutocomplete=!1,e.postalCode=n[t].postalCode,n[t].locality&&""!==n[t].locality&&(e.locality=n[t].locality),n[t].subdivisionCode&&""!==n[t].subdivisionCode&&(e.subdivisionCode=n[t].subdivisionCode),e._allowFetchPostalCodeAutocomplete=!0,e._allowFetchLocalityAutocomplete=!0}}
1,registerUtilities:function(e){e.util.displayPostalCodeAutocompleteDropdown=function(t){e.util.removePostalCodePredictionsDropdown(),e._postalCodeAutocompleteTimeout&&clearTimeout(e._postalCodeAutocompleteTimeout),e._postalCodeAutocompleteTimeout=setTimeout(Uo(Bo().m(function n(){var r,o,i;return Bo().w(function(n){for(;;)switch(n.p=n.n){case 0:return e._postalCodeAutocompleteTimeout=null,n.p=1,n.n=2,e.util.getPostalCodePredictions(t);case 2:if(r=n.v,o=e.getPostalCode(),r.originalPostalCode===o){n.n=3;break}return n.a(2);case 3:return n.n=4,e.setPostalCodePredictions(r.predictions);case 4:e.util.renderPostalCodePredictionsDropdown(),n.n=6;break;case 5:n.p=5,i=n.v,console.warn("Failed fetching predictions",{error:i,postalCode:t});case 6:return n.a(2)}},n,null,[[1,5]])})),e.config.ux.delay.inputAssistant)},e.util.removePostalCodePredictionsDropdown=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="[endereco-postal-code-predictions]";t&&(n='[endereco-postal-code-predictions][data-input-id="'.concat(t,'"]')),(t?[document.querySelector(n)]:document.querySelectorAll(n)).forEach(function(t){t&&(t.parentNode.removeChild(t),e._openDropdowns&&e._openDropdowns--)})},e.util.renderPostalCodePredictionsDropdown=function(){var t=e.getPostalCode(),n=e.getPostalCodePredictions(),r=!1;e.util.hasSubscribedField("subdivisionCode")&&(r=!0),e._subscribers.postalCode.forEach(function(o){if(o.object.id||(o.object.id=e.util.generateUniqueId("endereco")),e.util.removePostalCodePredictionsDropdown(o.object.id),n.length>0&&document.activeElement===o.object){var i=0,s=[];n.forEach(function(n){var o=vo(t,n.postalCode,{ignoreCase:!0}),i="";o.forEach(function(t){var n=t.added?"endereco-span--add":t.removed?"endereco-span--remove":"endereco-span--neutral",r=e.util.escapeHTML(t.value);i+='<span class="'.concat(n,'">').concat(r,"</span>")});var c={postalCode:n.postalCode,locality:n.locality,postalCodeDiff:i};r&&n.subdivisionCode&&(c.subdivisionCode=n.subdivisionCode,window.EnderecoIntegrator.subdivisionCodeToNameMapping&&window.EnderecoIntegrator.subdivisionCodeToNameMapping[n.subdivisionCode.toUpperCase()]?c.subdivisionName=window.EnderecoIntegrator.subdivisionCodeToNameMapping[n.subdivisionCode.toUpperCase()]:n.subdivisionCode.toUpperCase()?c.subdivisionName=n.subdivisionCode.split("-")[1]:c.subdivisionName=""),s.push(c)});var c=e.util.Mustache.render(e.config.templates.postalCodePredictions,{ExtendableObject:e,predictions:s,inputId:o.object.id,offsetTop:o.object.offsetTop+o.object.offsetHeight,offsetLeft:o.object.offsetLeft,width:o.object.offsetWidth,direction:getComputedStyle(o.object).direction,longList:s.length>6,index:function(){return i-1},isActive:function(){var t=i===e._postalCodePredictionsIndex;return i++,t}});o.object.insertAdjacentHTML("afterend",c),void 0!==e._openDropdowns&&e._openDropdowns++,document.querySelectorAll('[data-id="'.concat(e.id,'"] [endereco-postal-code-prediction]')).forEach(function(t){t.addEventListener("mousedown",function(r){var o=parseInt(t.getAttribute("data-prediction-index"));r.preventDefault(),r.stopPropagation(),e.cb.applyPostalCodePredictionSelection(o,n),e.postalCodePredictions=[],e.util.removePostalCodePredictionsDropdown()})})}})}},registerAPIHandlers:function(e){e.util.getPostalCodePredictions=function(){var t=Uo(Bo().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g,v,m;return Bo().w(function(t){for(;;)switch(t.n){case 0:if("string"==typeof n){t.n=1;break}throw new Error("Invalid argument. The postalCodeRaw has to be a string");case 1:if(r=n.trim(),o={originalPostalCode:r,predictions:[]},""!==r){t.n=2;break}return t.a(2,o);case 2:if(i=[e.countryCode,e.config.lang,r,e.locality,e.streetName,e.buildingNumber],e.util.hasSubscribedField("subdivisionCode")&&i.push(e.getSubdivisionCode()),s=i.join("-"),e.postalCodeAutocompleteCache.cachedResults[s]){t.n=6;break}if(a=++e._postalCodeAutocompleteRequestIndex,u={jsonrpc:"2.0",id:a,method:"postCodeAutocomplete",params:{country:e.countryCode,language:e.config.lang,postCode:r,cityName:e.locality,street:e.streetName,houseNumber:e.buildingNumber}},e.util.hasSubscribedField("subdivisionCode")&&(u.params.subdivisionCode=e.getSubdivisionCode()),d={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(c=e.hasLoadedExtension)&&void 0!==c&&c.call(e,"SessionExtension")?e.sessionId:"not_required"},f=[],p=e.getEnderecoAPI()){t.n=3;break}return console.warn("EnderecoAPI is not available"),t.a(2,o);
1case 3:return t.n=4,p.sendRequestToAPI(u,d);case 4:if(-32700===(null==(h=t.v)||null===(l=h.data)||void 0===l||null===(l=l.error)||void 0===l?void 0:l.code)&&(null===(g=(v=e.util).updateSessionId)||void 0===g||g.call(v)),h&&h.data&&h.data.result){t.n=5;break}return console.warn("API didn't return a valid result"),t.a(2,o);case 5:e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,m=0,h.data.result.predictions.forEach(function(t){if(t&&!(m>=10)){m++;var n={countryCode:t.country||e._countryCode,postalCode:t.postCode||"",locality:t.cityName||""};t.subdivisionCode&&e.util.hasSubscribedField("subdivisionCode")&&(n.subdivisionCode=t.subdivisionCode),f.push(n)}}),e.postalCodeAutocompleteCache.cachedResults[s]=f;case 6:return o.predictions=e.postalCodeAutocompleteCache.cachedResults[s],t.a(2,o)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerFilterCallbacks:function(e){e.cb.setPostalCode=function(e){return e},e.cb.setPostalCodePredictions=function(e){return e}},extend:function(){var e=Uo(Bo().m(function e(t){return Bo().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,Ro.registerProperties(t);case 1:return e.n=2,Ro.registerFields(t);case 2:return e.n=3,Ro.registerConfig(t);case 3:return e.n=4,Ro.registerEventCallbacks(t);case 4:return e.n=5,Ro.registerUtilities(t);case 5:return e.n=6,Ro.registerAPIHandlers(t);case 6:return e.n=7,Ro.registerFilterCallbacks(t);case 7:return e.a(2,Ro)}},e)}));return function(t){return e.apply(this,arguments)}}()},Ho=Ro,Vo={name:"PostalCodeCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("PostalCodeExtension").then(function(){e._postalCodeStatus="",e._subscribers.postalCodeStatus=[],e.cb.postalCodeStatusChange=function(t){return function(n){e.postalCodeStatus=t.value}},Object.defineProperty(e,"postalCodeStatus",{get:function(){return this._postalCodeStatus},set:function(t){var n=e._postalCodeStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._postalCodeStatus=r,e._subscribers.postalCodeStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"postalCodeStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("PostalCodeCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},qo=Vo;function Go(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Wo(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Wo(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Wo(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Wo(d,"constructor",a),Wo(a,"constructor",l),l.displayName="GeneratorFunction",Wo(a,o,"GeneratorFunction"),Wo(d),Wo(d,o,"Generator"),Wo(d,r,function(){return this}),Wo(d,"toString",function(){return"[object Generator]"}),(Go=function(){return{w:i,m:f}})()}function Wo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Wo=function(e,t,n,r){function i(t,n){Wo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Wo(e,t,n,r)}function Ko(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Xo(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Ko(i,r,o,s,c,"next",e)}function c(e){Ko(i,r,o,s,c,"throw",e)}s(void 0)})}}var $o={name:"LocalityExtension",registerProperties:function(e){e._locality="",e._subscribers.locality=[],e._localityAutocompleteRequestIndex=1,e._localityChunk="",e._localityPredictions=[],e._localityPredictionsIndex=0,e._localityTimeout=null,e._localityPredictionsIndex=0,e._allowToNotifyLocalitySubscribers=!0,e._allowFetchLocalityAutocomplete=!1,e.localityAutocompleteCache={cachedResults:{}},e._localityAutocompleteTimeout=null,e._subscribers.localityChunk=[]},registerFields:function(e){var t;Object.defineProperty(e,"locality",{get:function(){return e.getLocality()},set:(t=Xo(Go().m(function t(n){return Go().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setLocality(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getLocality=function(){return e._locality},e.setLocality=function(){var t=Xo(Go().m(function t(n){var r,o,i,s,c;return Go().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyLocalitySubscribers,o=e.active&&e.config.useAutocomplete&&e._allowFetchLocalityAutocomplete,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return i=t.v,t.n=3,e.cb.setLocality(i);case 3:if((i=t.v)!==e._locality){t.n=4;break}return t.a(2);case 4:if(e._locality=i,!r){t.n=5;break}return s=[],e._subscribers.locality.forEach(function(e){s.push(e.updateDOMValue(i))}),t.n=5,Promise.all(s);case 5:o&&e.util.displayLocalityAutocompleteDropdown(i),t.n=7;break;case 6:t.p=6,c=t.v,console.warn("Error while setting the field 'locality'",c);case 7:return t.p=7,e._awaits--,t.f(7);case 8:return t.a(2)}},t,null,[[1,6,7,8]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("locality"),Object.defineProperty(e,"localityPredictions",{get:function(){return e.getLocalityPredictions()},set:function(t){return e.setLocalityPredictions(t)}}),e.getLocalityPredictions=function(){return e._localityPredictions},e.setLocalityPredictions=function(){var t=Xo(Go().m(function t(n){var r,o;return Go().w(function(t){for(;;)switch(t.p=t.n){case 0:return e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return r=t.v,t.n=3,e.cb.setLocalityPredictions(r);case 3:if((r=t.v)!==e._localityPredictions){t.n=4;break}return t.a(2);case 4:e._localityPredictions=r,t.n=6;break;case 5:t.p=5,o=t.v,console.warn("Error while setting the field 'localityPredictions'",o);case 6:return t.p=6,e._awaits--,t.f(6);case 7:return t.a(2)}},t,null,[[1,5,6,7]])}));return function(e){return t.apply(this,arguments)}}()},registerConfig:function(e){e.config.templates.localityPredictions='<div endereco-locality-predictions data-id="{{ExtendableOb
1ject.id}}" data-input-id="{{inputId}}" class="endereco-predictions-wrapper endereco-predictions-wrapper--direction-{{direction}} {{#longList}}endereco-predictions-wrapper--longlist{{/longList}}" style="top:{};"> <div class="endereco-predictions-wrapper-inner"> <ul class="endereco-predictions"> {{#predictions}} <li class="endereco-predictions__item {{#isActive}}active{{/isActive}}" endereco-locality-prediction data-prediction-index="{{index}}" data-prediction-type="locality"> {{#postalCode}}{{{postalCode}}}, {{/postalCode}}{{{localityDiff}}}{{#subdivisionName}}<span class="endereco-text-gray">, {{{subdivisionName}}}</span> {{/subdivisionName}} </li> {{/predictions}} </ul> </div> </div> '},registerEventCallbacks:function(e){e.cb.localityChange=function(t){return function(){e._allowToNotifyLocalitySubscribers=!1,e._allowFetchLocalityAutocomplete=!1,e.locality=t.value,e._allowToNotifyLocalitySubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.localityInput=function(t){return function(){e._allowToNotifyLocalitySubscribers=!1,e._allowFetchLocalityAutocomplete=!0,e.locality=t.value,e._allowToNotifyLocalitySubscribers=!0,e._allowFetchLocalityAutocomplete=!1,e.active&&e.util.invalidateAddressMeta()}},e.cb.localityBlur=function(t){return function(){var t=Xo(Go().m(function t(n){var r;return Go().w(function(t){for(;;)switch(t.p=t.n){case 0:return e._subscribers.locality.some(function(e){return document.activeElement===e.object})||(e.localityPredictions=[],e._localityPredictionsIndex=0,e.util.removeLocalityPredictionsDropdown()),t.p=1,t.n=2,e.waitUntilReady();case 2:return t.n=3,e.cb.handleFormBlur();case 3:t.n=5;break;case 4:t.p=4,r=t.v,console.warn("Error in buildingNumberBlur handler:",r);case 5:return t.a(2)}},t,null,[[1,4]])}));return function(e){return t.apply(this,arguments)}}()},e.cb.localityKeydown=function(){return function(t){"ArrowUp"===t.key||"Up"===t.key?(t.preventDefault(),t.stopPropagation(),e._localityPredictionsIndex>-1&&(e._localityPredictionsIndex=e._localityPredictionsIndex-1,e.util.renderLocalityPredictionsDropdown())):"ArrowDown"===t.key||"Down"===t.key?(t.preventDefault(),t.stopPropagation(),e._localityPredictionsIndex<e._localityPredictions.length-1&&(e._localityPredictionsIndex=e._localityPredictionsIndex+1,e.util.renderLocalityPredictionsDropdown())):"Tab"===t.key||"Tab"===t.key||("Enter"===t.key||"Enter"===t.key?(e._localityPredictions.length>0&&e._localityPredictionsIndex>=0&&(t.preventDefault(),t.stopImmediatePropagation(),e.cb.applyLocalityPredictionSelection(e._localityPredictionsIndex,e._localityPredictions),e.localityPredictions=[]),e.util.removeLocalityPredictionsDropdown()):"Backspace"!==t.key&&"Backspace"!==t.key||(e.config.ux.smartFill=!1))}},e.cb.applyLocalityPredictionSelection=function(t,n){e._allowFetchLocalityAutocomplete=!1,e._allowFetchPostalCodeAutocomplete=!1,e.locality=n[t].locality,n[t].postalCode&&""!==n[t].postalCode&&(e.postalCode=n[t].postalCode),n[t].subdivisionCode&&""!==n[t].subdivisionCode&&(e.subdivisionCode=n[t].subdivisionCode),e._allowFetchLocalityAutocomplete=!0,e._allowFetchPostalCodeAutocomplete=!1}}
1,registerUtilities:function(e){e.util.displayLocalityAutocompleteDropdown=function(t){e.util.removeLocalityPredictionsDropdown(),e._localityAutocompleteTimeout&&clearTimeout(e._localityAutocompleteTimeout),e._localityAutocompleteTimeout=setTimeout(Xo(Go().m(function n(){var r,o,i;return Go().w(function(n){for(;;)switch(n.p=n.n){case 0:return e._localityAutocompleteTimeout=null,n.p=1,n.n=2,e.util.getLocalityPredictions(t);case 2:if(r=n.v,o=e.getLocality(),r.originalLocality===o){n.n=3;break}return n.a(2);case 3:return n.n=4,e.setLocalityPredictions(r.predictions);case 4:e.util.renderLocalityPredictionsDropdown(),n.n=6;break;case 5:n.p=5,i=n.v,console.warn("Failed fetching predictions",{error:i,locality:t});case 6:return n.a(2)}},n,null,[[1,5]])})),e.config.ux.delay.inputAssistant)},e.util.removeLocalityPredictionsDropdown=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="[endereco-locality-predictions]";e&&(t='[endereco-locality-predictions][data-input-id="'.concat(e,'"]')),(e?[document.querySelector(t)]:document.querySelectorAll(t)).forEach(function(e){e&&e.parentNode.removeChild(e)})},e.util.renderLocalityPredictionsDropdown=function(){var t=e.getLocality(),n=e.getLocalityPredictions(),r=!1;e.util.hasSubscribedField("subdivisionCode")&&(r=!0),e._subscribers.locality.forEach(function(o){if(o.object.id||(o.object.id=e.util.generateUniqueId("endereco")),e.util.removeLocalityPredictionsDropdown(o.object.id),n.length>0&&document.activeElement===o.object){var i=0,s=[];n.forEach(function(n){var o=vo(t,n.locality,{ignoreCase:!0}),i="";o.forEach(function(t){var n=t.added?"endereco-span--add":t.removed?"endereco-span--remove":"endereco-span--neutral",r=e.util.escapeHTML(t.value);i+='<span class="'.concat(n,'">').concat(r,"</span>")});var c={postalCode:n.postalCode,locality:n.locality,localityDiff:i};r&&n.subdivisionCode&&(c.subdivisionCode=n.subdivisionCode,window.EnderecoIntegrator.subdivisionCodeToNameMapping&&window.EnderecoIntegrator.subdivisionCodeToNameMapping[n.subdivisionCode.toUpperCase()]?c.subdivisionName=window.EnderecoIntegrator.subdivisionCodeToNameMapping[n.subdivisionCode.toUpperCase()]:n.subdivisionCode.toUpperCase()?c.subdivisionName=n.subdivisionCode.split("-")[1]:c.subdivisionName="&nbsp;"),s.push(c)});var c=e.util.Mustache.render(e.config.templates.localityPredictions,{ExtendableObject:e,predictions:s,inputId:o.object.id,offsetTop:o.object.offsetTop+o.object.offsetHeight,offsetLeft:o.object.offsetLeft,width:o.object.offsetWidth,direction:getComputedStyle(o.object).direction,longList:s.length>6,index:function(){return i-1},isActive:function(){var t=i===e._localityPredictionsIndex;return i++,t}});o.object.insertAdjacentHTML("afterend",c),document.querySelectorAll('[data-id="'.concat(e.id,'"] [endereco-locality-prediction]')).forEach(function(t){t.addEventListener("mousedown",function(r){var o=parseInt(t.getAttribute("data-prediction-index"));r.preventDefault(),r.stopPropagation(),e.cb.applyLocalityPredictionSelection(o,n),e.localityPredictions=[],e.util.removeLocalityPredictionsDropdown()})})}})}},registerAPIHandlers:function(e){e.util.getLocalityPredictions=function(){var t=Xo(Go().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g,v;return Go().w(function(t){for(;;)switch(t.n){case 0:if("string"==typeof n){t.n=1;break}throw new Error("Invalid argument. The localityRaw has to be a string");case 1:if(r=n.trim(),o={originalLocality:r,predictions:[]},""!==r){t.n=2;break}return t.a(2,o);case 2:if(i=[e.countryCode,e.config.lang,r],e.util.hasSubscribedField("subdivisionCode")&&i.push(e.getSubdivisionCode()),s=i.join("-"),e.localityAutocompleteCache.cachedResults[s]){t.n=6;break}if(a=++e._localityAutocompleteRequestIndex,u={jsonrpc:"2.0",id:a,method:"cityNameAutocomplete",params:{country:e.countryCode,language:e.config.lang,cityName:r}},e.util.hasSubscribedField("subdivisionCode")&&(u.params.subdivisionCode=e.getSubdivisionCode()),d={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(c=e.hasLoadedExtension)&&void 0!==c&&c.call(e,"SessionExtension")?e.sessionId:"not_required"},f=[],p=e.getEnderecoAPI()){t.n=3;break}return console.warn("EnderecoAPI is not available"),t.a(2,o);
1case 3:return t.n=4,p.sendRequestToAPI(u,d);case 4:if(-32700===(null==(h=t.v)||null===(l=h.data)||void 0===l||null===(l=l.error)||void 0===l?void 0:l.code)&&(null===(g=(v=e.util).updateSessionId)||void 0===g||g.call(v)),h&&h.data&&h.data.result){t.n=5;break}return console.warn("API didn't return a valid result"),t.a(2,o);case 5:e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,h.data.result.predictions.forEach(function(t){if(t){var n=t||{},r=n.postCode,o=n.cityName,i=n.subdivisionCode,s={postalCode:r,locality:o};void 0!==i&&e.util.hasSubscribedField("subdivisionCode")&&(s.subdivisionCode=i),f.push(s)}}),e.localityAutocompleteCache.cachedResults[s]=f;case 6:return o.predictions=e.localityAutocompleteCache.cachedResults[s],t.a(2,o)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerFilterCallbacks:function(e){e.cb.setLocality=function(e){return e},e.cb.setLocalityPredictions=function(e){return e}},extend:function(){var e=Xo(Go().m(function e(t){return Go().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,$o.registerProperties(t);case 1:return e.n=2,$o.registerFields(t);case 2:return e.n=3,$o.registerConfig(t);case 3:return e.n=4,$o.registerEventCallbacks(t);case 4:return e.n=5,$o.registerUtilities(t);case 5:return e.n=6,$o.registerAPIHandlers(t);case 6:return e.n=7,$o.registerFilterCallbacks(t);case 7:return e.a(2,$o)}},e)}));return function(t){return e.apply(this,arguments)}}()},Jo=$o,Qo={name:"LocalityCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("LocalityExtension").then(function(){e._localityStatus="",e._subscribers.localityStatus=[],e.cb.localityStatusChange=function(t){return function(n){e.localityStatus=t.value}},Object.defineProperty(e,"localityStatus",{get:function(){return this._localityStatus},set:function(t){var n=e._localityStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._localityStatus=r,e._subscribers.localityStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"localityStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("LocalityCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},Yo=Qo,Zo="{{{streetName}}} {{{buildingNumber}}} ",ei="{{{buildingNumber}}} {{{streetName}}} ",ti={default:Zo,de:Zo,at:Zo,fr:ei,us:ei,dz:ei,ad:ei,az:ei,am:ei,au:ei,bh:ei,bd:ei,bn:ei,kh:ei,ca:ei,cn:ei,cx:ei,cc:ei,cd:ei,cg:ei,ck:ei,cy:ei,ci:ei,dm:ei,eg:ei,fj:ei,ga:ei,gm:ei,ge:ei,gh:ei,gi:ei,gp:ei,gu:ei,gy:ei,hk:ei,in:ei,id:ei,ie:ei,gb:ei,il:ei,la:ei,lb:ei,lu:ei,mr:ei,mu:ei,mc:ei,ms:ei,ma:ei,mm:ei,na:ei,nz:ei,ng:ei,nf:ei,om:ei,pk:ei,pw:ei,ph:ei,pr:ei,rw:ei,re:ei,bl:ei,sh:ei,kn:ei,mf:ei,sa:ei,sn:ei,sl:ei,sg:ei,tw:ei,tz:ei,th:ei,tg:ei,tt:ei,tn:ei,tm:ei,tc:ei,vm:ei,wf:ei,ye:ei,zm:ei,zw:ei,getTemplate:function(e){return this[e=e.toLowerCase()]?this[e]:this.default}};function ni(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return ri(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ri(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,ri(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,ri(d,"constructor",a),ri(a,"constructor",l),l.displayName="GeneratorFunction",ri(a,o,"GeneratorFunction"),ri(d),ri(d,o,"Generator"),ri(d,r,function(){return this}),ri(d,"toString",function(){return"[object Generator]"}),(ni=function(){return{w:i,m:f}})()}function ri(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ri=function(e,t,n,r){function i(t,n){ri(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ri(e,t,n,r)}function oi(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ii(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){oi(i,r,o,s,c,"next",e)}function c(e){oi(i,r,o,s,c,"throw",e)}s(void 0)})}}var si={name:"StreetNameExtension",registerProperties:function(e){e._streetName="",e._streetNamePredictions=[],e._subscribers.streetName=[],e.streetNameAutocompleteCache={cachedResults:{}},e._allowToNotifyStreetNameSubscribers=!0,e._allowFetchStreetNameAutocomplete=!1,e._streetFullComposeTimeout=null,e._streetNameAutocompleteTimeout=null,e._streetNameAutocompleteRequestIndex=0,e._streetNamePredictionsIndex=0},registerFields:function(e){var t,n;Object.defineProperty(e,"streetName",{get:function(){return e.getStreetName()},set:(t=ii(ni().m(function t(n){return ni().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setStreetName(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getStreetName=function(){return e._streetName},e.setStreetName=function(){var t=ii(ni().m(function t(n){var r,o,i,s,c,l,a;return ni().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyStreetNameSubscribers,o=e.active&&e.config.useAutocomplete&&e._allowFetchStreetNameAutocomplete,i=e.active&&e._allowStreetFullCompose,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return s=t.v,t.n=3,e.cb.setStreetName(s);case 3:if((c=t.v)!==e._streetName){t.n=4;break}return t.a(2);case 4:if(e._streetName=c,!r){t.n=5;break}return l=[],e._subscribers.streetName.forEach(function(e){l.push(e.updateDOMValue(c))}),t.n=5,Promise.all(l);case 5:if(!i){t.n=6;break}return t.n=6,e.util.ensureStreetFullIntegrity(e.countryCode,c,e.buildingNumber);
1case 6:o&&e.util.displayStreetNameAutocompleteDropdown(c),t.n=8;break;case 7:t.p=7,a=t.v,console.warn("Error while setting the field 'streetName'",a);case 8:return t.p=8,e._awaits--,t.f(8);case 9:return t.a(2)}},t,null,[[1,7,8,9]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("streetName"),Object.defineProperty(e,"streetNamePredictions",{get:function(){return e.getStreetNamePredictions()},set:(n=ii(ni().m(function t(n){return ni().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setStreetNamePredictions(n);case 1:return t.a(2)}},t)})),function(e){return n.apply(this,arguments)})}),e.getStreetNamePredictions=function(){return e._streetNamePredictions},e.setStreetNamePredictions=function(){var t=ii(ni().m(function t(n){var r;return ni().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.util.Promise.resolve(n);case 1:r=t.v,e.streetNamePredictions!==r&&(e._streetNamePredictions=r,e._streetNamePredictionsIndex=0);case 2:return t.a(2)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerEventCallbacks:function(e){e.cb.streetNameChange=function(t){return function(){e._allowToNotifyStreetNameSubscribers=!1,e._allowFetchStreetNameAutocomplete=!1,e.streetName=t.value,e._allowToNotifyStreetNameSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.streetNameInput=function(t){return function(){e._allowToNotifyStreetNameSubscribers=!1,e._allowFetchStreetNameAutocomplete=!0,e.streetName=t.value,e._allowToNotifyStreetNameSubscribers=!0,e._allowFetchStreetNameAutocomplete=!1,e.active&&e.util.invalidateAddressMeta()}},e.cb.streetNameBlur=function(){return ii(ni().m(function t(){var n;return ni().w(function(t){for(;;)switch(t.p=t.n){case 0:try{e._subscribers.streetName.some(function(e){return document.activeElement===e.object})||(e.streetNamePredictions=[],e._streetNamePredictionsIndex=0,e.util.removeStreetNamePredictionsDropdown())}catch(e){console.warn("Error in streetNameBlur handler:",e)}return t.p=1,t.n=2,e.waitUntilReady();case 2:return t.n=3,e.cb.handleFormBlur();case 3:t.n=5;break;case 4:t.p=4,n=t.v,console.warn("Error in buildingNumberBlur handler:",n);case 5:return t.a(2)}},t,null,[[1,4]])}))},e.cb.streetNameKeydown=function(){return function(t){"ArrowUp"===t.key||"Up"===t.key?(t.preventDefault(),t.stopPropagation(),e._streetNamePredictionsIndex>-1&&(e._streetNamePredictionsIndex=e._streetNamePredictionsIndex-1,e.util.renderStreetNamePredictionsDropdown(e.streetNamePredictions))):"ArrowDown"===t.key||"Down"===t.key?(t.preventDefault(),t.stopPropagation(),e._streetNamePredictionsIndex<e._streetNamePredictions.length-1&&(e._streetNamePredictionsIndex=e._streetNamePredictionsIndex+1,e.util.renderStreetNamePredictionsDropdown(e.streetNamePredictions))):"Tab"===t.key||"Tab"===t.key||("Enter"===t.key||"Enter"===t.key?e._streetNamePredictions.length>0&&(t.preventDefault(),t.stopImmediatePropagation(),e._allowFetchStreetNameAutocomplete=!1,e.streetName=e.streetNamePredictions[e._streetNamePredictionsIndex].streetName,e.streetNamePredictions=[],e._streetNamePredictionsIndex=0,e._allowFetchStreetNameAutocomplete=!0,e.util.removeStreetNamePredictionsDropdown()):"Backspace"!==t.key&&"Backspace"!==t.key||(e.config.ux.smartFill=!1))}}}
1,registerUtilities:function(e){e.util.displayStreetNameAutocompleteDropdown=function(t){e.util.removeStreetNamePredictionsDropdown(),e._streetNameAutocompleteTimeout&&clearTimeout(e._streetNameAutocompleteTimeout),e._streetNameAutocompleteTimeout=setTimeout(ii(ni().m(function n(){var r,o,i;return ni().w(function(n){for(;;)switch(n.p=n.n){case 0:return e._streetNameAutocompleteTimeout=null,n.p=1,n.n=2,e.util.getStreetNamePredictions(t);case 2:if(r=n.v,o=e.getStreetName(),r.originalStreetName===o){n.n=3;break}return n.a(2);case 3:e.streetNamePredictions=r.predictions,e.util.renderStreetNamePredictionsDropdown(r.predictions),n.n=5;break;case 4:n.p=4,i=n.v,console.warn("Failed fetching predictions",i,t);case 5:return n.a(2)}},n,null,[[1,4]])})),e.config.ux.delay.inputAssistant)},e.util.renderStreetNamePredictionsDropdown=function(t){t=JSON.parse(JSON.stringify(t)),e._subscribers.streetName.forEach(function(n){if(n.object.id||(n.object.id=e.util.generateUniqueId("endereco")),e.util.removeStreetNamePredictionsDropdown(n.object.id),t.length>0&&document.activeElement===n.object){var r=0,o=[];t.forEach(function(t){var n=vo(e.streetName,t.streetName,{ignoreCase:!0}),r="";n.forEach(function(t){var n=t.added?"endereco-span--add":t.removed?"endereco-span--remove":"endereco-span--neutral",o=e.util.escapeHTML(t.value);r+='<span class="'.concat(n,'">').concat(o,"</span>")}),o.push({streetName:t.streetName,streetNameDiff:r})});var i=e.util.Mustache.render(e.config.templates.streetNamePredictions,{ExtendableObject:e,predictions:o,inputId:n.object.id,offsetTop:n.object.offsetTop+n.object.offsetHeight,offsetLeft:n.object.offsetLeft,width:n.object.offsetWidth,direction:getComputedStyle(n.object).direction,longList:o.length>6,index:function(){return r-1},isActive:function(){var t=r===e._streetNamePredictionsIndex;return r++,t}});n.object.insertAdjacentHTML("afterend",i),e._openDropdowns++,document.querySelectorAll('[data-id="'.concat(e.id,'"] [endereco-street-name-prediction]')).forEach(function(n){n.addEventListener("mousedown",function(n){var r=parseInt(this.getAttribute("data-prediction-index"));n.preventDefault(),n.stopPropagation(),e._allowFetchStreetNameAutocomplete=!1,e.streetName=t[r].streetName,e.streetNamePredictions=[],e._allowFetchStreetNameAutocomplete=!0,e.util.removeStreetNamePredictionsDropdown()})})}})},e.util.removeStreetNamePredictionsDropdown=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="[endereco-street-name-predictions]";t&&(n='[endereco-street-name-predictions][data-input-id="'.concat(t,'"]')),(t?[document.querySelector(n)]:document.querySelectorAll(n)).forEach(function(t){t&&(e._openDropdowns--,t.parentNode.removeChild(t))})},e.util.ensureStreetFullIntegrity=function(t,n,r){if(e._isIntegrityOperationSynchronous)return e.util.ensureStreetFullIntegrityAsync(t,n,r);e.util.ensureStreetFullIntegrityWithDebounce(t,n,r)},e.util.ensureStreetFullIntegrityWithDebounce=function(t,n,r){e._streetFullComposeTimeout&&clearTimeout(e._streetFullComposeTimeout),e._streetFullComposeTimeout=setTimeout(function(){try{var o=e.util.Mustache.render(e.config.templates.streetFull.getTemplate(t),{streetName:n,buildingNumber:r}).replace(/  +/g," ").replace(/(\r\n|\n|\r)/gm,"").trim();if(e.streetName!==n||e.buildingNumber!==r)return;e._allowStreetFullSplit=!1,e._allowFetchStreetFullAutocomplete=!1,e.streetFull=o,e._allowStreetFullSplit=!0,e._allowFetchStreetFullAutocomplete=!0}catch(e){console.warn("Street compose failed",e,t,n,r)}e._streetFullComposeTimeout=null},e.config.ux.delay.inputAssistant)},e.util.ensureStreetFullIntegrityAsync=function(){var t=ii(ni().m(function t(n,r,o){var i,s;return ni().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,i=e.util.Mustache.render(e.config.templates.streetFull.getTemplate(n),{streetName:r,buildingNumber:o}).replace(/  +/g," ").replace(/(\r\n|\n|\r)/gm,"").trim(),e.streetName===r&&e.buildingNumber===o){t.n=1;break}return t.a(2,null);case 1:return e._allowStreetFullSplit=!1,e._allowFetchStreetFullAutocomplete=!1,t.n=2,e.setStreetFull(i);case 2:return e._allowStreetFullSplit=!0,e._allowFetchStreetFullAutocomplete=!0,t.a(2,i);case 3:return t.p=3,s=t.v,console.warn("Synchronous street compose failed",s,n,r,o),t.a(2,null)}},t,null,[[0,3]])}
1));return function(e,n,r){return t.apply(this,arguments)}}()},registerAPIHandlers:function(e){e.util.getStreetNamePredictions=function(){var t=ii(ni().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g;return ni().w(function(t){for(;;)switch(t.n){case 0:if("string"==typeof n){t.n=1;break}throw new Error("Invalid argument. The streetNameRaw has to be a string");case 1:if(r=n.trim(),o={originalStreetName:r,predictions:[]},""!==r){t.n=2;break}return t.a(2,o);case 2:if(i=[e.countryCode,e.config.lang,e.postalCode,e.locality,r,e.buildingNumber].join("-"),e.streetNameAutocompleteCache.cachedResults[i]){t.n=6;break}if(l=++e._streetNameAutocompleteRequestIndex,a={jsonrpc:"2.0",id:l,method:"streetAutocomplete",params:{country:e.countryCode,language:e.config.lang,postCode:e.postalCode,cityName:e.locality,street:r,houseNumber:e.buildingNumber}},u={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(s=e.hasLoadedExtension)&&void 0!==s&&s.call(e,"SessionExtension")?e.sessionId:"not_required"},d=[],f=e.getEnderecoAPI()){t.n=3;break}return console.warn("EnderecoAPI is not available"),t.a(2,o);case 3:return t.n=4,f.sendRequestToAPI(a,u);case 4:if(-32700===(null==(p=t.v)||null===(c=p.data)||void 0===c||null===(c=c.error)||void 0===c?void 0:c.code)&&(null===(h=(g=e.util).updateSessionId)||void 0===h||h.call(g)),p&&p.data&&p.data.result){t.n=5;break}return console.warn("API didn't return a valid result"),t.a(2,o);case 5:e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,p.data.result.predictions.forEach(function(t){if(t){var n=t||{},r=n.country,o=n.street,i=n.buildingNumber,s=n.additionalInfo,c={countryCode:null!=r?r:e._countryCode,streetName:null!=o?o:"",buildingNumber:null!=i?i:"",additionalInfo:null!=s?s:""};void 0===t.streetFull&&(c.streetFull=e.util.Mustache.render(ti.getTemplate(c.countryCode),{streetName:c.streetName,buildingNumber:c.buildingNumber,additionalInfo:c.additionalInfo}).replace(/(\r\n|\n|\r)/gm,"").trim()),d.push(c)}}),e.streetNameAutocompleteCache.cachedResults[i]=d;case 6:return o.predictions=e.streetNameAutocompleteCache.cachedResults[i],t.a(2,o)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerFilterCallbacks:function(e){e.cb.setStreetName=function(e){return e}},registerConfig:function(e){e.config.templates.streetNamePredictions='<div endereco-street-name-predictions data-id="{{ExtendableObject.id}}" data-input-id="{{inputId}}" class="endereco-predictions-wrapper endereco-predictions-wrapper--direction-{{direction}} {{#longList}}endereco-predictions-wrapper--longlist{{/longList}}" style="top:{};"> <div class="endereco-predictions-wrapper-inner"> <ul class="endereco-predictions"> {{#predictions}} <li class="endereco-predictions__item {{#isActive}}active{{/isActive}}" endereco-street-name-prediction data-prediction-index="{{index}}" data-prediction-type="streetName">{{{streetNameDiff}}}</li> {{/predictions}} </ul> </div> </div> '},extend:function(){var e=ii(ni().m(function e(t){return ni().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,si.registerProperties(t);case 1:return e.n=2,si.registerFields(t);case 2:return e.n=3,si.registerConfig(t);case 3:return e.n=4,si.registerEventCallbacks(t);case 4:return e.n=5,si.registerUtilities(t);case 5:return e.n=6,si.registerAPIHandlers(t);case 6:return e.n=7,si.registerFilterCallbacks(t);case 7:return e.a(2,si)}},e)}));return function(t){return e.apply(this,arguments)}}()},ci=si,li={name:"StreetNameCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("StreetNameExtension").then(function(){e._streetNameStatus="",e._subscribers.streetNameStatus=[],e.cb.streetNameStatusChange=function(t){return function(n){e.streetNameStatus=t.value}},Object.defineProperty(e,"streetNameStatus",{get:function(){return this._streetNameStatus},set:function(t){var n=e._streetNameStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._streetNameStatus=r,e._subscribers.streetNameStatus.forEac
1h(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"streetNameStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("StreetNameCheckExtension applied"),n(t)}).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},ai=li;function ui(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return di(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(di(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,di(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,di(d,"constructor",a),di(a,"constructor",l),l.displayName="GeneratorFunction",di(a,o,"GeneratorFunction"),di(d),di(d,o,"Generator"),di(d,r,function(){return this}),di(d,"toString",function(){return"[object Generator]"}),(ui=function(){return{w:i,m:f}})()}function di(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}di=function(e,t,n,r){function i(t,n){di(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},di(e,t,n,r)}function fi(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function pi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){fi(i,r,o,s,c,"next",e)}function c(e){fi(i,r,o,s,c,"throw",e)}s(void 0)})}}var hi={name:"BuildingNumberExtension",registerProperties:function(e){e._buildingNumber="",e._subscribers.buildingNumber=[],e._allowToNotifyBuildingNumberSubscribers=!0},registerFields:function(e){var t;Object.defineProperty(e,"buildingNumber",{get:function(){return e.getBuildingNumber()},set:(t=pi(ui().m(function t(n){return ui().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setBuildingNumber(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getBuildingNumber=function(){return e._buildingNumber},e.setBuildingNumber=function(){var t=pi(ui().m(function t(n){var r,o,i,s,c,l;return ui().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyBuildingNumberSubscribers,o=e.active&&e._allowStreetFullCompose,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return i=t.v,t.n=3,e.cb.setBuildingNumber(i);case 3:if((s=t.v)!==e._buildingNumber){t.n=4;break}return t.a(2);case 4:if(e._buildingNumber=s,!r){t.n=5;break}return c=[],e._subscribers.buildingNumber.forEach(function(e){c.push(e.updateDOMValue(s))}),t.n=5,Promise.all(c);case 5:if(!o){t.n=6;break}return t.n=6,e.util.ensureStreetFullIntegrity(e.countryCode,e.streetName,s);case 6:t.n=8;break;case 7:t.p=7,l=t.v,console.warn("Error while setting the field 'buildingNumber'",l);case 8:return t.p=8,e._awaits--,t.f(8);case 9:return t.a(2)}},t,null,[[1,7,8,9]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("buildingNumber")},registerEventCallbacks:function(e){e.cb.buildingNumberChange=function(t){return function(){e._allowToNotifyBuildingNumberSubscribers=!1,e.buildingNumber=t.value,e._allowToNotifyBuildingNumberSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.buildingNumberInput=function(t){return function(){e._allowToNotifyBuildingNumberSubscribers=!1,e.buildingNumber=t.value,e._allowToNotifyBuildingNumberSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.buildingNumberBlur=function(){return pi(ui().m(function t(){var n;return ui().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.waitUntilReady();case 1:return t.n=2,e.cb.handleFormBlur();case 2:t.n=4;break;case 3:t.p=3,n=t.v,console.warn("Error in buildingNumberBlur handler:",n);case 4:return t.a(2)}},t,null,[[0,3]])}
1))}},registerUtilities:function(){},registerAPIHandlers:function(){},registerFilterCallbacks:function(e){e.cb.setBuildingNumber=function(e){return e}},registerConfig:function(){},extend:function(){var e=pi(ui().m(function e(t){return ui().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,hi.registerProperties(t);case 1:return e.n=2,hi.registerFields(t);case 2:return e.n=3,hi.registerConfig(t);case 3:return e.n=4,hi.registerEventCallbacks(t);case 4:return e.n=5,hi.registerUtilities(t);case 5:return e.n=6,hi.registerAPIHandlers(t);case 6:return e.n=7,hi.registerFilterCallbacks(t);case 7:return e.a(2,hi)}},e)}));return function(t){return e.apply(this,arguments)}}()},gi=hi,vi={name:"BuildingNumberCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("BuildingNumberExtension").then(function(){e._buildingNumberStatus="",e._subscribers.buildingNumberStatus=[],e.cb.buildingNumberStatusChange=function(t){return function(n){e.buildingNumberStatus=t.value}},Object.defineProperty(e,"buildingNumberStatus",{get:function(){return this._buildingNumberStatus},set:function(t){var n=e._buildingNumberStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._buildingNumberStatus=r,e._subscribers.buildingNumberStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"buildingNumberStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("BuildingNumberCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},mi=vi;function yi(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return wi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wi(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bi(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Fi(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Fi(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Fi(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Fi(d,"constructor",a),Fi(a,"constructor",l),l.displayName="GeneratorFunction",Fi(a,o,"GeneratorFunction"),Fi(d),Fi(d,o,"Generator"),Fi(d,r,function(){return this}),Fi(d,"toString",function(){return"[object Generator]"}),(bi=function(){return{w:i,m:f}})()}function Fi(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Fi=function(e,t,n,r){function i(t,n){Fi(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Fi(e,t,n,r)}function _i(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function xi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){_i(i,r,o,s,c,"next",e)}function c(e){_i(i,r,o,s,c,"throw",e)}s(void 0)})}}var Si={name:"StreetFullExtension",registerProperties:function(e){e._streetFull="",e._streetFullPredictions=[],e._subscribers.streetFull=[],e.streetSplitCache={cachedResults:{}},e.streetFullAutocompleteCache={cachedResults:{}},e._allowToNotifyStreetFullSubscribers=!0,e._allowStreetFullSplit=!0,e._allowStreetFullCompose=!0,e._allowFetchStreetFullAutocomplete=!1,e._streetFullAutocompleteTimeout=null,e._streetFullAutocompleteRequestIndex=0,e._streetFullSplitTimeout=null,e._streetFullSplitRequestIndex=0,e._streetFullPredictionsIndex=0},registerFields:function(e){var t,n;Object.defineProperty(e,"streetFull",{get:function(){return e.getStreetFull()},set:(t=xi(bi().m(function t(n){return bi().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setStreetFull(n);case 1:return t.a(2)}},t)})),function(e){return t.apply(this,arguments)})}),e.getStreetFull=function(){return e._streetFull},e.setStreetFull=function(){var t=xi(bi().m(function t(n){var r,o,i,s,c,l;return bi().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyStreetFullSubscribers,o=e.active&&e.config.useAutocomplete&&e._allowFetchStreetFullAutocomplete,i=e.active&&e._allowStreetFullSplit,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return s=t.v,t.n=3,e.cb.setStreetFull(s);case 3:if((s=t.v)!==e._streetFull){t.n=4;break}return t.a(2);case 4:if(e._streetFull=s,!r){t.n=5;break}return c=[],e._subscribers.streetFull.forEach(function(e){c.push(e.updateDOMValue(s))}),t.n=5,Promise.all(c);case 5:if(!i){t.n=6;break}return t.n=6,e.util.ensureStreetPartsIntegrity(s);
1case 6:o&&e.util.displayStreetFullAutocompleteDropdown(s),t.n=8;break;case 7:t.p=7,l=t.v,console.warn("Error while setting the field 'streetFull'",l);case 8:return t.p=8,e._awaits--,t.f(8);case 9:return t.a(2)}},t,null,[[1,7,8,9]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("streetFull"),Object.defineProperty(e,"streetFullPredictions",{get:function(){return e.getStreetFullPredictions()},set:(n=xi(bi().m(function t(n){return bi().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.setStreetFullPredictions(n);case 1:return t.a(2)}},t)})),function(e){return n.apply(this,arguments)})}),e.getStreetFullPredictions=function(){return e._streetFullPredictions},e.setStreetFullPredictions=function(){var t=xi(bi().m(function t(n){var r;return bi().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.util.Promise.resolve(n);case 1:r=t.v,e.streetFullPredictions!==r&&(e._streetFullPredictions=r,e._streetFullPredictionsIndex=0);case 2:return t.a(2)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerEventCallbacks:function(e){e.cb.streetFullChange=function(t){return function(){e._allowToNotifyStreetFullSubscribers=!1,e._allowFetchStreetFullAutocomplete=!1,e.streetFull=t.value,e._allowToNotifyStreetFullSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.streetFullInput=function(t){return function(){e._allowToNotifyStreetFullSubscribers=!1,e._allowFetchStreetFullAutocomplete=!0,e.streetFull=t.value,e._allowToNotifyStreetFullSubscribers=!0,e._allowFetchStreetFullAutocomplete=!1,e.active&&e.util.invalidateAddressMeta()}},e.cb.streetFullBlur=function(){return xi(bi().m(function t(){var n;return bi().w(function(t){for(;;)switch(t.p=t.n){case 0:return e._subscribers.streetFull.some(function(e){return document.activeElement===e.object})||(e.streetFullPredictions=[],e._streetFullPredictionsIndex=0,e.util.removeStreetFullPredictionsDropdown()),t.p=1,t.n=2,e.waitUntilReady();case 2:return t.n=3,e.cb.handleFormBlur();case 3:t.n=5;break;case 4:t.p=4,n=t.v,console.warn("Error in buildingNumberBlur handler:",n);case 5:return t.a(2)}},t,null,[[1,4]])}))},e.cb.streetFullKeydown=function(){return function(t){"ArrowUp"===t.key||"Up"===t.key?(t.preventDefault(),t.stopPropagation(),e._streetFullPredictionsIndex>-1&&(e._streetFullPredictionsIndex=e._streetFullPredictionsIndex-1,e.util.renderStreetFullPredictionsDropdown(e.streetFullPredictions))):"ArrowDown"===t.key||"Down"===t.key?(t.preventDefault(),t.stopPropagation(),e._streetFullPredictionsIndex<e._streetFullPredictions.length-1&&(e._streetFullPredictionsIndex=e._streetFullPredictionsIndex+1,e.util.renderStreetFullPredictionsDropdown(e.streetFullPredictions))):"Tab"===t.key||"Tab"===t.key||("Enter"===t.key||"Enter"===t.key?e._streetFullPredictions.length>0&&(t.preventDefault(),t.stopImmediatePropagation(),e._allowFetchStreetFullAutocomplete=!1,e.streetFull=e.streetFullPredictions[e._streetFullPredictionsIndex].streetFull,e.streetFullPredictions=[],e._streetFullPredictionsIndex=0,e._allowFetchStreetFullAutocomplete=!0,e.util.removeStreetFullPredictionsDropdown()):"Backspace"!==t.key&&"Backspace"!==t.key||(e.config.ux.smartFill=!1))}}}
1,registerUtilities:function(e){e.util.displayStreetFullAutocompleteDropdown=function(t){e.util.removeStreetFullPredictionsDropdown(),e._streetFullAutocompleteTimeout&&clearTimeout(e._streetFullAutocompleteTimeout),e._streetFullAutocompleteTimeout=setTimeout(xi(bi().m(function n(){var r,o,i;return bi().w(function(n){for(;;)switch(n.p=n.n){case 0:return e._streetFullAutocompleteTimeout=null,n.p=1,n.n=2,e.util.getStreetFullPredictions(t);case 2:if(r=n.v,o=e.getStreetFull(),r.originalStreetFull===o){n.n=3;break}return n.a(2);case 3:e.streetFullPredictions=r.predictions,e.util.renderStreetFullPredictionsDropdown(r.predictions),n.n=5;break;case 4:n.p=4,i=n.v,console.warn("Failed fetching predictions",i,t);case 5:return n.a(2)}},n,null,[[1,4]])})),e.config.ux.delay.inputAssistant)},e.util.removeStreetFullPredictionsDropdown=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="[endereco-street-full-predictions]";t&&(n='[endereco-street-full-predictions][data-input-id="'.concat(t,'"]')),(t?[document.querySelector(n)]:document.querySelectorAll(n)).forEach(function(t){t&&(e._openDropdowns--,t.parentNode.removeChild(t))})},e.util.renderStreetFullPredictionsDropdown=function(t){t=JSON.parse(JSON.stringify(t)),e._subscribers.streetFull.forEach(function(n){if(n.object.id||(n.object.id=e.util.generateUniqueId("endereco")),e.util.removeStreetFullPredictionsDropdown(n.object.id),t.length>0&&document.activeElement===n.object){var r=0,o=[];t.forEach(function(t){var n=vo(e.streetFull,t.streetFull,{ignoreCase:!0}),r="";n.forEach(function(t){var n=t.added?"endereco-span--add":t.removed?"endereco-span--remove":"endereco-span--neutral",o=e.util.escapeHTML(t.value);r+='<span class="'.concat(n,'">').concat(o,"</span>")}),o.push({streetFull:t.streetFull,streetFullDiff:r})});var i=e.util.Mustache.render(e.config.templates.streetFullPredictions,{ExtendableObject:e,predictions:o,inputId:n.object.id,offsetTop:n.object.offsetTop+n.object.offsetHeight,offsetLeft:n.object.offsetLeft,width:n.object.offsetWidth,direction:getComputedStyle(n.object).direction,longList:o.length>6,index:function(){return r-1},isActive:function(){var t=r===e._streetFullPredictionsIndex;return r++,t}});n.object.insertAdjacentHTML("afterend",i),e._openDropdowns++,document.querySelectorAll('[data-id="'.concat(e.id,'"] [endereco-street-full-prediction]')).forEach(function(n){n.addEventListener("mousedown",function(n){var r=parseInt(this.getAttribute("data-prediction-index"));n.preventDefault(),n.stopPropagation(),e._allowFetchStreetFullAutocomplete=!1,e.streetFull=t[r].streetFull,e.streetFullPredictions=[],e._allowFetchStreetFullAutocomplete=!0,e.util.removeStreetFullPredictionsDropdown()})})}})},e.util.ensureStreetPartsIntegrity=function(t){if(e._isIntegrityOperationSynchronous)return e.util.ensureStreetPartsIntegrityAsync(t);e.util.ensureStreetPartsIntegrityWithDebounce(t)},e.util.ensureStreetPartsIntegrityWithDebounce=function(t){e._streetFullSplitTimeout&&clearTimeout(e._streetFullSplitTimeout),e._streetFullSplitTimeout=setTimeout(xi(bi().m(function n(){var r,o,i,s;return bi().w(function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,n.n=1,e.util.splitStreet(t);case 1:if(r=n.v,o=r.streetName,i=r.buildingNumber,e.streetFull===t){n.n=2;break}return n.a(2);case 2:e._allowStreetFullCompose=!1,e._allowFetchStreetNameAutocomplete=!1,e.streetName=o,e.buildingNumber=i,e._allowStreetFullCompose=!0,e._allowFetchStreetNameAutocomplete=!0,n.n=4;break;case 3:n.p=3,s=n.v,console.warn("Street split failed",s,t);case 4:e._streetFullSplitTimeout=null;case 5:return n.a(2)}},n,null,[[0,3]])})),e.config.ux.delay.inputAssistant)},e.util.ensureStreetPartsIntegrityAsync=function(){var t=xi(bi().m(function t(n){var r,o;return bi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.util.splitStreet(n);case 1:if(r=t.v,e.streetFull===n){t.n=2;break}return t.a(2,null);case 2:return e._allowStreetFullCompose=!1,e._allowFetchStreetNameAutocomplete=!1,e.streetName=r.streetName,e.buildingNumber=r.buildingNumber,e._allowStreetFullCompose=!0,e._allowFetchStreetNameAutocomplete=!0,t.a(2,r);case 3:return t.p=3,o=t.v,console.warn("Synchronous street split failed",o,n),t.a(2,null)}},t,null,[[0,3]])}
1));return function(e){return t.apply(this,arguments)}}(),e.util.formatStreetFull=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e;return null===t&&(t={countryCode:n.countryCode,streetName:n.streetName,buildingNumber:n.buildingNumber,additionalInfo:n.additionalInfo}),n.util.Mustache.render(n.config.templates.streetFull.getTemplate(t.countryCode),t).replace(/  +/g," ").replace(/(\r\n|\n|\r)/gm,"").trim()}},registerAPIHandlers:function(e){e.util.splitStreet=function(){var t=xi(bi().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g,v,m,y,w;return bi().w(function(t){for(;;)switch(t.p=t.n){case 0:if("string"==typeof n){t.n=1;break}throw new Error("Invalid arguments. The streetFull has to be string");case 1:if(n.trim()){t.n=2;break}return t.a(2,{streetName:"",streetFull:"",buildingNumber:""});case 2:if(r=n.trim(),o=[e.countryCode||"DE",e.config.lang,r].join("-"),e.streetSplitCache.cachedResults[o]){t.n=15;break}if(e._awaits++,s=++e._streetFullSplitRequestIndex,c={jsonrpc:"2.0",id:s,method:"splitStreet",params:{formatCountry:e.countryCode||"DE",language:e.config.lang,street:r}},!(e._subscribers.additionalInfo.length>0)){t.n=9;break}l=yi(e._subscribers.additionalInfo),t.p=3,l.s();case 4:if((a=l.n()).done){t.n=6;break}if((u=a.value).object.disabled||!u.object.isConnected){t.n=5;break}return c.params.additionalInfo=e.address.additionalInfo,t.a(3,6);case 5:t.n=4;break;case 6:t.n=8;break;case 7:t.p=7,y=t.v,l.e(y);case 8:return t.p=8,l.f(),t.f(8);case 9:return d={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(i=e.hasLoadedExtension)&&void 0!==i&&i.call(e,"SessionExtension")?e.sessionId:"not_required"},t.p=10,p=e.getEnderecoAPI(),t.n=11,p.sendRequestToAPI(c,d);case 11:if(null!=(h=t.v)&&null!==(f=h.data)&&void 0!==f&&f.result){t.n=12;break}throw new Error("Invalid API response: Missing 'result' field in response data");case 12:e.streetSplitCache.cachedResults[o]=h.data.result,t.n=14;break;case 13:t.p=13,w=t.v,console.warn("Error splitting street full",w,r);case 14:return t.p=14,e._awaits--,t.f(14);case 15:return g=e.streetSplitCache.cachedResults[o],v={originalStreetFull:r,streetName:g.streetName||"",streetFull:g.street||"",buildingNumber:g.houseNumber||""},void 0!==g.additionalInfo&&(v.additionalInfo=null!==(m=g.additionalInfo)&&void 0!==m?m:""),t.a(2,v)}},t,null,[[10,13,14,15],[3,7,8,9]])}));return function(e){return t.apply(this,arguments)}}(),e.util.getStreetFullPredictions=function(){var t=xi(bi().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g;return bi().w(function(t){for(;;)switch(t.n){case 0:if("string"==typeof n){t.n=1;break}throw new Error("Invalid argument. The streetFullRaw has to be a string");case 1:if(r=n.trim(),o={originalStreetFull:r,predictions:[]},""!==r){t.n=2;break}return t.a(2,o);case 2:if(i=[e.countryCode,e.config.lang,e.postalCode,e.locality,r].join("-"),e.streetFullAutocompleteCache.cachedResults[i]){t.n=6;break}if(l=++e._streetFullAutocompleteRequestIndex,a={jsonrpc:"2.0",id:l,method:"streetAutocomplete",params:{country:e.countryCode,language:e.config.lang,postCode:e.postalCode,cityName:e.locality,streetFull:r}},u={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(s=e.hasLoadedExtension)&&void 0!==s&&s.call(e,"SessionExtension")?e.sessionId:"not_required"},d=[],f=e.getEnderecoAPI()){t.n=3;break}return console.warn("EnderecoAPI is not available"),t.a(2,o);case 3:return t.n=4,f.sendRequestToAPI(a,u);case 4:if(-32700===(null==(p=t.v)||null===(c=p.data)||void 0===c||null===(c=c.error)||void 0===c?void 0:c.code)&&(null===(h=(g=e.util).updateSessionId)||void 0===h||h.call(g)),p&&p.data&&p.data.result){t.n=5;break}return console.warn("API didn't return a valid result"),t.a(2,o);case 5:e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,p.data.result.predictions.forEach(function(t){if(t){var n=t||{},r=n.country,o=n.street,i=n.buildingNumber,s=n.additionalInfo,c={countryCode:null!=r?r:e._countryCode,streetName:null!=o?o:"",buildingNumber:null!=i?i:"",additionalInfo:null!=s?s:""};void 0===t.streetFull&&(c.streetFull=e.util.Mustache.render(ti.getTemplate(c.countryCode),{streetName:c.streetName,buildingNumber:c.buildingNumber,additionalInfo:c.additionalInfo}).replace(/(\r\n|\n|\r)/gm,"").trim()),d.push(c)}}
1),e.streetFullAutocompleteCache.cachedResults[i]=d;case 6:return o.predictions=e.streetFullAutocompleteCache.cachedResults[i],t.a(2,o)}},t)}));return function(e){return t.apply(this,arguments)}}()},registerFilterCallbacks:function(e){e.cb.setStreetFull=function(e){return e}},registerConfig:function(e){e.config.templates.streetFull=ti,e.config.templates.streetFullPredictions='<div endereco-street-full-predictions data-id="{{ExtendableObject.id}}" data-input-id="{{inputId}}" class="endereco-predictions-wrapper endereco-predictions-wrapper--direction-{{direction}} {{#longList}}endereco-predictions-wrapper--longlist{{/longList}}" style="top:{};"> <div class="endereco-predictions-wrapper-inner"> <ul class="endereco-predictions"> {{#predictions}} <li class="endereco-predictions__item {{#isActive}}active{{/isActive}}" endereco-street-full-prediction data-prediction-index="{{index}}" data-prediction-type="streetFull">{{{streetFullDiff}}}</li> {{/predictions}} </ul> </div> </div> '},extend:function(){var e=xi(bi().m(function e(t){return bi().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,Si.registerProperties(t);case 1:return e.n=2,Si.registerFields(t);case 2:return e.n=3,Si.registerConfig(t);case 3:return e.n=4,Si.registerEventCallbacks(t);case 4:return e.n=5,Si.registerUtilities(t);case 5:return e.n=6,Si.registerAPIHandlers(t);case 6:return e.n=7,Si.registerFilterCallbacks(t);case 7:return e.a(2,Si)}},e)}));return function(t){return e.apply(this,arguments)}}()},Ci=Si,Ai={name:"StreetFullCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("StreetFullExtension").then(function(){e._streetFullStatus="",e._subscribers.streetFullStatus=[],e.cb.streetFullStatusChange=function(t){return function(n){e.streetFullStatus=t.value}},Object.defineProperty(e,"streetFullStatus",{get:function(){return this._streetFullStatus},set:function(t){var n=e._streetFullStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._streetFullStatus=r,e._subscribers.streetFullStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"streetFullStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("StreetFullCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},Ei=Ai;function Pi(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return ki(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ki(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,ki(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,ki(d,"constructor",a),ki(a,"constructor",l),l.displayName="GeneratorFunction",ki(a,o,"GeneratorFunction"),ki(d),ki(d,o,"Generator"),ki(d,r,function(){return this}),ki(d,"toString",function(){return"[object Generator]"}),(Pi=function(){return{w:i,m:f}})()}function ki(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ki=function(e,t,n,r){function i(t,n){ki(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ki(e,t,n,r)}function ji(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Di(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){ji(i,r,o,s,c,"next",e)}function c(e){ji(i,r,o,s,c,"throw",e)}s(void 0)})}}var Ti={name:"AdditionalInfoExtension",registerProperties:function(e){e._additionalInfo="",e._subscribers.additionalInfo=[],e._allowToNotifyAdditionalInfoSubscribers=!0},registerFields:function(e){Object.defineProperty(e,"additionalInfo",{get:function(){return e.getAdditionalInfo()},set:function(t){e.setAdditionalInfo(t)}}),e.getAdditionalInfo=function(){return e._additionalInfo},e.setAdditionalInfo=function(){var t=Di(Pi().m(function t(n){var r,o,i,s,c;return Pi().w(function(t){for(;;)switch(t.p=t.n){case 0:return r=e.active&&e._allowToNotifyAdditionalInfoSubscribers,e._awaits++,t.p=1,t.n=2,e.util.Promise.resolve(n);case 2:return o=t.v,t.n=3,e.cb.setAdditionalInfo(o);case 3:if((i=t.v)!==e._additionalInfo){t.n=4;break}return t.a(2);case 4:if(e._additionalInfo=i,!r){t.n=5;break}return s=[],e._subscribers.additionalInfo.forEach(function(e){s.push(e.updateDOMValue(i))}),t.n=5,Promise.all(s);case 5:t.n=7;break;case 6:t.p=6,c=t.v,console.warn("Error while setting the field 'additionalInfo'",c);case 7:return t.p=7,e._awaits--,t.f(7);case 8:return t.a(2)}},t,null,[[1,6,7,8]])}));return function(e){return t.apply(this,arguments)}}(),e.fieldNames.push("additionalInfo")},registerConfig:function(e){},registerEventCallbacks:function(e){e.cb.additionalInfoInput=function(t){return function(n){e._allowToNotifyAdditionalInfoSubscribers=!1,e.additionalInfo=t.value,e._allowToNotifyAdditionalInfoSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.additionalInfoChange=function(t){return function(n){e._allowToNotifyAdditionalInfoSubscribers=!1,e.additionalInfo=t.value,e._allowToNotifyAdditionalInfoSubscribers=!0,e.active&&e.util.invalidateAddressMeta()}},e.cb.additionalInfoBlur=function(t){return function(){var t=Di(Pi().m(function t(n){var r;return Pi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.waitUntilReady();case 1:return t.n=2,e.cb.handleFormBlur();case 2:t.n=4;break;case 3:t.p=3,r=t.v,console.warn("Error in additionalInfoBlur handler:",r);case 4:return t.a(2)}},t,null,[[0,3]])}
1));return function(e){return t.apply(this,arguments)}}()}},registerUtilities:function(e){},registerAPIHandlers:function(e){},registerFilterCallbacks:function(e){e.cb.setAdditionalInfo=function(e){return e}},extend:function(){var e=Di(Pi().m(function e(t){return Pi().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,Ti.registerProperties(t);case 1:return e.n=2,Ti.registerFields(t);case 2:return e.n=3,Ti.registerConfig(t);case 3:return e.n=4,Ti.registerEventCallbacks(t);case 4:return e.n=5,Ti.registerUtilities(t);case 5:return e.n=6,Ti.registerAPIHandlers(t);case 6:return e.n=7,Ti.registerFilterCallbacks(t);case 7:return e.a(2,Ti)}},e)}));return function(t){return e.apply(this,arguments)}}()},Oi=Ti,Mi={name:"AdditionalInfoCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("AdditionalInfoExtension").then(function(){e._additionalInfoStatus="",e._subscribers.additionalInfoStatus=[],e.cb.additionalInfoStatusChange=function(t){return function(n){e.additionalInfoStatus=t.value}},Object.defineProperty(e,"additionalInfoStatus",{get:function(){return this._additionalInfoStatus},set:function(t){var n=e._additionalInfoStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._additionalInfoStatus=r,e._subscribers.additionalInfoStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"additionalInfoStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.config.showDebugInfo&&console.log("AdditionalInfoCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},Ni=Mi,Ii='{{#additionalInfo}} {{#useHtml}}<span class="endereco-additional-info">{{/useHtml}}{{{additionalInfo}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/additionalInfo}} {{#streetFull}} {{#useHtml}}<span class="endereco-street-full">{{/useHtml}}{{{streetFull}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/streetFull}} {{^streetFull}} {{#useHtml}}<span class="endereco-street-name">{{/useHtml}}{{{streetName}}}{{#useHtml}}</span>{{/useHtml}} {{#useHtml}}<span class="endereco-building-number">{{/useHtml}}{{{buildingNumber}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/streetFull}} {{#useHtml}}<span class="endereco-postal-code">{{/useHtml}}{{{postalCode}}}{{#useHtml}}</span>{{/useHtml}} {{#useHtml}}<span class="endereco-locality">{{/useHtml}}{{{locality}}}{{#useHtml}}</span>{{/useHtml}} <br> {{#showSubdisivion}}{{#useHtml}}<span class="endereco-subdivision-code">{{/useHtml}}{{{subdivisionName}}}{{#useHtml}}</span>{{/useHtml}} <br>{{/showSubdisivion}} {{#showCountry}}{{#useHtml}}<span class="endereco-country-code">{{/useHtml}}{{{countryName}}}{{#useHtml}}</span>{{/useHtml}}{{/showCountry}} ',Bi='{{#additionalInfo}} {{#useHtml}}<span class="endereco-additional-info">{{/useHtml}}{{{additionalInfo}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/additionalInfo}} {{#streetFull}} {{#useHtml}}<span class="endereco-street-full">{{/useHtml}}{{{streetFull}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/streetFull}} {{^streetFull}} {{#useHtml}}<span class="endereco-building-number">{{/useHtml}}{{{buildingNumber}}}{{#useHtml}}</span>{{/useHtml}} {{#useHtml}}<span class="endereco-street-name">{{/useHtml}}{{{streetName}}}{{#useHtml}}</span>{{/useHtml}} <br> {{/streetFull}} {{#useHtml}}<span class="endereco-postal-code">{{/useHtml}}{{{postalCode}}}{{#useHtml}}</span>{{/useHtml}} {{#useHtml}}<span class="endereco-locality">{{/useHtml}}{{{locality}}}{{#useHtml}}</span>{{/useHtml}} <br> {{#showSubdisivion}}{{#useHtml}}<span class="endereco-subdivision-code">{{/useHtml}}{{{subdivisionName}}}{{#useHtml}}</span>{{/useHtml}} <br>{{/showSubdisivion}} {{#showCountry}}{{#useHtml}}<span class="endereco-country-code">{{/useHtml}}{{{countryName}}}{{#useHtml}}</span>{{/useHtml}}{{/showCountry}} ',Li={default:Ii,de:Ii,at:Ii,fr:Bi,us:Bi,dz:Bi,ad:Bi,az:Bi,am:Bi,au:Bi,bh:Bi,bd:Bi,bn:Bi,kh:Bi,ca:Bi,cn:Bi,cx:Bi,cc:Bi,cd:Bi,cg:Bi,ck:Bi,cy:Bi,ci:Bi,dm:Bi,eg:Bi,fj:Bi,ga:Bi,gm:Bi,ge:Bi,gh:Bi,gi:Bi,gp:Bi,gu:Bi,gy:Bi,hk:Bi,in:Bi,id:Bi,ie:Bi,gb:Bi,il:Bi,la:Bi,lb:Bi,lu:Bi,mr:Bi,mu:Bi,mc:Bi,ms:Bi,ma:Bi,mm:Bi,na:Bi,nz:Bi,ng:Bi,nf:Bi,om:Bi,pk:Bi,pw:Bi,ph:Bi,pr:Bi,rw:Bi,re:Bi,bl:Bi,sh:Bi,kn:Bi,mf:Bi,sa:Bi,sn:Bi,sl:Bi,sg:Bi,tw:Bi,tz:Bi,th:Bi,tg:Bi,tt:Bi,tn:Bi,tm:Bi,tc:Bi,vm:Bi,wf:Bi,ye:Bi,zm:Bi,zw:Bi,getTemplate:function(e){return this[e=e.toLowerCase()]?this[e]:this.default}};n(1272);function zi(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Ui(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ui(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Ui(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Ui(d,"constructor",a),Ui(a,"constructor",l),l.displayName="GeneratorFunction",Ui(a,o,"GeneratorFunction"),Ui(d),Ui(d,o,"Generator"),Ui(d,r,function(){return this}),Ui(d,"toString",function(){return"[object Generator]"}),(zi=function(){return{w:i,m:f}})()}function Ui(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ui=function(e,t,n,r){function i(t,n){Ui(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Ui(e,t,n,r)}function Ri(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Hi(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Vi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vi(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function Vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var qi=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={valueContainer:"value",displayAutocompleteDropdown:!1,showDebugInfo:!1,useWatcher:!1,syncValue:!1,autosubscribeToStatus:!0,writeFilterCb:function(e,t){return new y(function(t,n){return t(e)})},readFilterCb:function(e,t){return new y(function(t,n){return t(e)})},customSetValue:void 0,customGetValue:void 0};if(!n)return null;function i(e,t){var n=new MutationObserver(function(r){var o,i=Hi(r);try{for(i.s();!(o=i.n()).done;){o.value;if(!document.contains(e)){clearInterval(t),n.disconnect();break}}}catch(e){i.e(e)}finally{i.f()}});return n.observe(document.body,{childList:!0,subtree:!0}),n}function s(e,t){clearInterval(t),e.disconnect()}var c,l,a={propertyName:t,_subject:null,object:n,options:r=b()(o,r),cleanupFunctions:[],lastValue:void 0,_allowFieldInspection:!0,getLastValue:function(){return this.lastValue},updateCheckedValue:function(e){this.dispatchEvent("endereco-change")&&(this.object.checked=e,this.dispatchEvent("endereco-blur"))},updateValue:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._allowFieldInspection=!1,this.dispatchEvent("endereco-change")&&(this.object.value=e,t&&(this.lastValue=e),this.dispatchEvent("endereco-blur")),this._allowFieldInspection=!0},dispatchEvent:function(e){if(this._subject){var t=new this._subject.util.CustomEvent(e,{bubbles:!0,cancelable:"endereco-change"===e});return this.object.dispatchEvent(t)}return!1},cleanupResources:function(){this.cleanupFunctions.forEach(function(e){return e()}),this.cleanupFunctions=[]},set subject(t){var n=this;if(t){this._subject=t;var r=this.propertyName+"Change";if(this._subject.cb[r]){var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=e.object;e.lastValue=e.getDOMValue();var o=setInterval(function(){if(e._allowFieldInspection){var n=e.getDOMValue();"radio"===e.object.type?e.object.checked&&(e.lastValue=n,t()):(e.object.type,n!==e.lastValue&&document.activeElement!==r&&(e.lastValue=n,t()))}},n),c=i(r,o);return function(){return s(c,o)}}(this,this._subject.cb[r](this));this.cleanupFunctions.push(o)}var c=this.propertyName+"Input";if(this._subject.cb[c]){var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=e.object;e.lastValue=e.getDOMValue();var o=setInterval(function(){if(e._allowFieldInspection){var n=e.getDOMValue();n!==e.lastValue&&document.activeElement===r&&(e.lastValue=n,t())}},n),c=i(r,o);return function(){return s(c,o)}}(this,this._subject.cb[c](this));this.cleanupFunctions.push(l)}var u=this.propertyName+"Blur";if(void 0!==this._subject.cb[u]){var d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=e.object,o=document.activeElement===r,c=setInterval(function(){var n=document.activeElement===r;o&&!n&&t(e),o=n},n),l=i(r,c);return function(){return s(l,c)}}(this,this._subject.cb[u](this));this.cleanupFunctions.push(d)}var f=this.propertyName+"Keydown";if(void 0!==this._subject.cb[f]){var p=this._subject.cb[f](this);this.object.removeEventListener("keydown",this._subject.cb[f](this)),this.object.addEventListener("keydown",this._subject.cb[f](this)),this.cleanupFunctions.push(function(){n.object.removeEventListener("keydown",p)})}this._subject.config.ux.disableBrowserAutocomplete&&["text","number"].includes(this.object.type)&&a.options.displayAutocompleteDropdown&&(/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())?this.object.setAttribute("autocomplete","autocomplete_"+Math.random().toString(36).substring(2)+Date.now()):this.object.setAttribute("autocomplete","off"));var h=this,g=setInterval(function(){document.contains(h.object)||(h.cleanupResources(),clearInterval(g))},100);
1if(this.object&&"hidden"!==this.object.type&&t.fieldNames.includes(this.propertyName)&&this.options.autosubscribeToStatus&&t.addSubscriber(new e(this.propertyName+"Status",this.object.parentNode,{valueContainer:"classList"})),this.options.syncValue){var v=this.propertyName;y.resolve(this.value).then(function(e){var n=t[v];Array.isArray(n)&&(n=n.join());var r=!n&&0!==n,o=!e&&0!==e;!o&&r&&(t[v]=e),o&&!r&&(a.value=t[v])}).catch(function(e){t.config.showDebugInfo&&console.log("Error syncing values ",e)})}}},get subject(){return this._subject},get value(){var e=this,t="";return t="classList"===this.options.valueContainer?this.getClassList():"innerHTML"===this.options.valueContainer?this.getInnerHTML():"value"===this.options.valueContainer?e.object.disabled?"":e.options.customGetValue?e.options.customGetValue(e):e.getValue():this.get(this.options.valueContainer),this.options.readFilterCb(t,e)},set value(e){var t=this;t.object.disabled&&""!==e||(t._subject&&t._subject._awaits++,this.options.writeFilterCb(e,t).then(function(e){return"classList"===t.options.valueContainer?t.setClassList(e):"innerHTML"===t.options.valueContainer?t.setInnerHTML(e):"value"===t.options.valueContainer?t.options.customSetValue?t.options.customSetValue(t,e):t.setValue(e):t.set(t.options.valueContainer,e)}).catch(function(e){}).finally(function(){t._subject&&t._subject._awaits--}))},updateDOMValue:(c=zi().m(function e(t){var n,r;return zi().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!a.object.disabled||""===t){e.n=1;break}return e.a(2);case 1:return e.p=1,e.n=2,a.options.writeFilterCb(t,a);case 2:if(n=e.v,"classList"!==a.options.valueContainer){e.n=3;break}a.setClassList(n),e.n=6;break;case 3:if("innerHTML"!==a.options.valueContainer){e.n=4;break}a.setInnerHTML(n),e.n=6;break;case 4:if("value"!==a.options.valueContainer){e.n=5;break}a.options.customSetValue?a.options.customSetValue(a,n):a.setValue(n),e.n=6;break;case 5:return e.a(2,a.set(a.options.valueContainer,n));case 6:e.n=8;break;case 7:e.p=7,r=e.v,console.warn("Failed to update subscribed DOM element value",{error:r,value:t});case 8:return e.a(2)}},e,null,[[1,7]])}),l=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=c.apply(e,t);function i(e){Ri(o,n,r,i,s,"next",e)}function s(e){Ri(o,n,r,i,s,"throw",e)}i(void 0)})},function(e){return l.apply(this,arguments)}),getDOMValue:function(){return"classList"===a.options.valueContainer?a.getClassList():"innerHTML"===a.options.valueContainer?a.getInnerHTML():"value"===a.options.valueContainer?a.object.disabled?"":a.options.customGetValue?a.options.customGetValue(a):a.getValue():a.get(a.options.valueContainer)},set:function(e,t){this.object instanceof HTMLElement?this.object.setAttribute(e,t):void 0!==this.object[e]&&(this.object[e]=t)},setValue:function(e){if(["radio","checkbox"].includes(this.object.type)){var t=this.object.value===String(e);this.updateCheckedValue(t)}else{var n=Array.isArray(e)?e.join(","):e;this.updateValue(n)}},setClassList:function(e){var t,n=this.object,r=[],o=n.classList;for(t=0;t<o.length;t++)r.push(o[t]);var i=[];r.forEach(function(e){-1!==e.indexOf("endereco-s--")&&i.push(e)}),i.forEach(function(e){n.classList.remove(e)}),Array.isArray(e)?e.forEach(function(e){n.classList.add("endereco-s--"+e)}):n.classList.add("endereco-s--"+e)},setInnerHTML:function(e){this._subject&&this._subject.util&&this._subject.util.safeSetContent?this._subject.util.safeSetContent(this.object,e,!1):this.object.textContent=e},get:function(e){return this.object instanceof HTMLElement?this.object.getAttribute(e):void 0!==this.object[e]?this.object[e]:void 0},getValue:function(){return["radio","checkbox"].includes(this.object.type)?this.object.checked?this.object.value:"":this.object.value},getClassList:function(){var e,t=[],n=[],r=this.object.classList;for(e=0;e<r.length;e++)n.push(r[e]);return n.forEach(function(e){-1!==e.indexOf("endereco-s--")&&t.push(e.replace("endereco-s--",""))}),1<t.length?t:1===t.length?t[0]:""},getInnerHTML:function(){return this.object.innerHTML}};return a};function Gi(e){return Gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gi(e)}function Wi(e){return function(e){if(Array.isArray(e))return Ki(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ki(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ki(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Xi(Object(n),!0).forEach(function(t){Ji(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ji(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Gi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Gi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Yi(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Yi(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Yi(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Yi(d,"constructor",a),Yi(a,"constructor",l),l.displayName="GeneratorFunction",Yi(a,o,"GeneratorFunction"),Yi(d),Yi(d,o,"Generator"),Yi(d,r,function(){return this}),Yi(d,"toString",function(){return"[object Generator]"}),(Qi=function(){return{w:i,m:f}})()}function Yi(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Yi=function(e,t,n,r){function i(t,n){Yi(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Yi(e,t,n,r)}function Zi(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function es(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Zi(i,r,o,s,c,"next",e)}function c(e){Zi(i,r,o,s,c,"throw",e)}s(void 0)})}}var ts=function(e){return new Promise(function(t){var n=setTimeout(function(){clearTimeout(n),t()},e)})},ns=function(){var e=es(Qi().m(function e(t,n){var r,o;return Qi().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,Array.isArray(t.onBeforeAddressPersisted)||(t.onBeforeAddressPersisted=[]),r=t.onBeforeAddressPersisted.map(function(e){var r=e(t,n);return r instanceof Promise?r:Promise.resolve(r)}),e.n=1,Promise.all(r);case 1:e.n=3;break;case 2:e.p=2,o=e.v,console.warn("Error in onBeforeResultPersisted callbacks:",{error:o});case 3:return e.a(2)}},e,null,[[0,2]])}));return function(t,n){return e.apply(this,arguments)}}(),rs=function(){var e=es(Qi().m(function e(t,n){var r,o;return Qi().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,Array.isArray(t.onAfterAddressPersisted)||(t.onAfterAddressPersisted=[]),r=t.onAfterAddressPersisted.map(function(e){var r=e(t,n);return r instanceof Promise?r:Promise.resolve(r)}),e.n=1,Promise.all(r);case 1:e.n=3;break;case 2:e.p=2,o=e.v,console.warn("Error in onAfterResultPersisted callbacks:",{error:o});case 3:return e.a(2)}},e,null,[[0,2]])}));return function(t,n){return e.apply(this,arguments)}}(),os=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return new Promise(function(n,r){if(is(e))n();else var o=setInterval(function(){is(e)&&(clearInterval(o),n())},t)})},is=function(e){var t=window.EnderecoIntegrator,n=t.getProcessLevel();return 0!==t.processQueue.size&&t.processQueue.isFirst(e,n)},ss=function(e){return["countryCode","subdivisionCode","postalCode","locality","streetFull","streetName","buildingNumber","additionalInfo"].map(function(t){return Object.prototype.hasOwnProperty.call(e,t)?String(e[t]).trim():"-"}).join("|")},cs=function(e,t,n){t.querySelectorAll("[endereco-modal-close]").forEach(function(t){t.addEventListener("click",function(){var t=es(Qi().m(function t(r){var o,i;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return r.preventDefault(),r.stopPropagation(),t.p=1,o=e.onCloseModal.map(function(t){var n=t(e);return n instanceof Promise?n:Promise.resolve(n)}),t.n=2,Promise.all(o);case 2:t.n=4;break;case 3:t.p=3,i=t.v,console.warn("Error in modal close action custom callbacks:",{error:i});case 4:try{n()}catch(t){console.warn("Error in model close handler handler:",{error:t,dataObject:e})}e.util.removePopup();case 5:return t.a(2)}},t,null,[[1,3]])}
1));return function(e){return t.apply(this,arguments)}}())})},ls=function(e,t,n){t.querySelectorAll("[endereco-edit-address]").forEach(function(t){t.addEventListener("click",function(){var r=es(Qi().m(function r(o){var i,s;return Qi().w(function(r){for(;;)switch(r.p=r.n){case 0:return o.preventDefault(),o.stopPropagation(),t.disabled=!0,r.p=1,i=e.onEditAddress.map(function(t){var n=t(e);return n instanceof Promise?n:Promise.resolve(n)}),r.n=2,Promise.all(i);case 2:r.n=4;break;case 3:r.p=3,s=r.v,console.warn("Error in model edit action custom callbacks:",{error:s});case 4:try{n()}catch(t){console.warn("Error in model edit action handler:",{error:t,dataObject:e})}t.disabled=!1,e.util.removePopup();case 5:return r.a(2)}},r,null,[[1,3]])}));return function(e){return r.apply(this,arguments)}}())})},as=function(e,t,n){t.querySelectorAll("[endereco-use-selection]").forEach(function(r){r.addEventListener("click",function(){var o=es(Qi().m(function o(i){var s,c;return Qi().w(function(o){for(;;)switch(o.p=o.n){case 0:return i.preventDefault(),i.stopPropagation(),r.disabled=!0,o.p=1,s=e.onAfterAddressCheckSelected.map(function(t){var n=t(e);return n instanceof Promise?n:Promise.resolve(n)}),o.n=2,Promise.all(s);case 2:o.n=4;break;case 3:o.p=3,c=o.v,console.warn("Error in model select action custom callbacks:",{error:c});case 4:try{n(parseInt(t.querySelector("[name='endereco-address-predictions']:checked").value))}catch(t){console.warn("Error in modal select correction handler:",{error:t,dataObject:e})}r.disabled=!1,e.util.removePopup();case 5:return o.a(2)}},o,null,[[1,3]])}));return function(e){return o.apply(this,arguments)}}())})},us=function(e,t){var n=t.querySelectorAll('[name="endereco-address-predictions"]');n.forEach(function(t){e.addSubscriber(new qi("addressPredictionsIndex",t,{syncValue:!0}))}),n.forEach(function(n){n.addEventListener("change",function(e){e.preventDefault(),e.stopPropagation();var n=e.target.closest(".endereco-modal"),r=parseInt(e.target.value);n.querySelectorAll("[endereco-show-if-origin]").forEach(function(e){e.style.display=r>=0?"none":"block"});var o=t.querySelector("[endereco-confirm-address-checkbox]");if(o){var i=o.checked;n.querySelectorAll("[endereco-disabled-until-confirmed]").forEach(function(e){e.disabled=!(i||r>=0)})}});var r=n.closest(".endereco-modal"),o=e.addressPredictionsIndex;r.querySelectorAll("[endereco-show-if-origin]").forEach(function(e){e.style.display=o>=0?"none":"block"})})},ds=function(e,t,n){t.querySelectorAll("[endereco-confirm-address]").forEach(function(t){t.addEventListener("click",function(){var r=es(Qi().m(function r(o){var i,s,c;return Qi().w(function(r){for(;;)switch(r.p=r.n){case 0:return o.preventDefault(),o.stopPropagation(),t.disabled=!0,r.p=1,i=e.onConfirmAddress.map(function(t){var n=t(e);return n instanceof Promise?n:Promise.resolve(n)}),r.n=2,Promise.all(i);case 2:r.n=4;break;case 3:r.p=3,s=r.v,console.warn("Error in model confirm action custom callbacks:",{error:s});case 4:return r.p=4,r.n=5,n();case 5:r.n=7;break;case 6:r.p=6,c=r.v,console.warn("Error in modal confirm address handler:",{error:c,dataObject:e});case 7:t.disabled=!1,e.util.removePopup();case 8:return r.a(2)}},r,null,[[4,6],[1,3]])}));return function(e){return r.apply(this,arguments)}}())})},fs=function(e,t){e.config.ux.confirmWithCheckbox&&t.querySelectorAll("[endereco-confirm-address-checkbox]").forEach(function(t){t.addEventListener("change",function(t){t.preventDefault(),t.stopPropagation();var n=t.target.checked,r=t.target.closest(".endereco-modal").querySelectorAll('[name="endereco-address-predictions"]').length;t.target.closest(".endereco-modal").querySelectorAll("[endereco-disabled-until-confirmed]").forEach(function(t){t.disabled=r>0?!(n||e.addressPredictionsIndex>=0):!n})});var n=t.checked,r=t.closest(".endereco-modal").querySelectorAll('[name="endereco-address-predictions"]').length;t.closest(".endereco-modal").querySelectorAll("[endereco-disabled-until-confirmed]").forEach(function(t){t.disabled=r>0?!(n||e.addressPredictionsIndex>=0):!n})})},ps=function(e,t){var n={fieldErrors:[],invalidFields:new Set},r=["general_address","billing_address","shipping_address"].includes(e.addressType)&&!t.includes("address_is_packstation")&&!t.includes("address_is_postoffice"),o=["packstation"].includes(e.addressType)||t.includes("address_is_packstation"),i=["postoffice"].includes(e.addressType)||t.includes("address_is_postoffice"),s=[{validate:function(e,t){return r&&!t.includes("street_full_not_found")&&t.includes("building_number_is_missing")},fieldClass:"endereco-invalid-building-number",messageId:"address_has_missing_building_number_content",defaultMessage:"Die Hausnummer fehlt in der Eingabe."},{validate:function(e,t){return r&&t.includes("street_full_not_found")&&t.includes("building_number_is_missing")},fieldClass:"endereco-invalid-street-full",messageId:"address_has_missing_building_number_content",defaultMessage:"Die Hausnummer fehlt in der Eingabe."},{validate:function(e,t){return r&&t.includes("street_full_not_found")&&t.includes("building_number_not_found")&&!t.includes("building_number_is_missing")},fieldClass:"endereco-invalid-street-full",messageId:"address_has_unresolvable_building_number_content",defaultMessage:"Mit der eingegebenen Hausnummer konnte die Adresse nicht verifiziert werden."},{validate:function(e,t){return r&&!t.includes("street_full_not_found")&&t.includes("building_number_not_found")&&!t.includes("building_number_is_missing")},fieldClass:"endereco-invalid-building-number",messageId:"address_has_unresolvable_building_number_content",defaultMessage:"Mit der eingegebenen Hausnummer konnte die Adresse nicht verifiziert werden."},{validate:function(e,t){return o&&t.includes("address_not_found")&&!(t.includes("additional_info_needs_correction")||t.includes("additional_info_not_found"))},fieldClass:"endereco-invalid-packstation-address",messageId:"packstation_has_unresolvable_address",defaultMessage:"Die Packstation-Adresse konnte nicht gefunden werden."},{validate:function(e,t){return i&&t.includes("address_not_found")&&!(t.includes("additional_info_needs_correction")||t.includes("additional_info_not_found"))},fieldClass:"endereco-invalid-packstation-address",messageId:"postoffice_has_unresolvable_address",defaultMessage:"Die Postfilialen-Adresse konnte nicht gefunden werden."},{validate:function(e,t){return(o||i)&&!t.includes("additional_info_
1is_missing")&&(t.includes("additional_info_needs_correction")||t.includes("additional_info_not_found"))},fieldClass:"endereco-invalid-postnummer",messageId:"packstation_has_unresolvable_postnummer",defaultMessage:"Die Postnummer ist ungültig."},{validate:function(e,t){return(o||i)&&t.includes("additional_info_is_missing")},fieldClass:"endereco-invalid-postnummer",messageId:"packstation_has_missing_postnummer",defaultMessage:"Die Postnummer fehlt in der Eingabe."}];return s.forEach(function(r){if(r.validate(e,t)){var o=function(e,t){var n;return(null===(n=window.EnderecoIntegrator.config.texts.errorMessages)||void 0===n?void 0:n[e])||t}(r.messageId,r.defaultMessage);n.fieldErrors.push(o),n.invalidFields.add(r.fieldClass)}}),n.invalidFields=Array.from(n.invalidFields),n},hs=function(e){return e.includes("address_correct")||e.includes("address_minor_correction")},gs=function(e){return e.includes("address_correct")},vs=function(e,t){return t.length>0&&(e.includes("address_multiple_variants")||e.includes("address_needs_correction"))},ms=function(e,t){return e.includes("address_not_found")||0===t.length},ys={name:"AddressExtension",registerProperties:function(e){e._addressStatus=[],e._addressPredictions=[],e._addressTimestamp=[],e._addressType="general_address",e._intent="edit",e._subscribers.address=[],e._subscribers.addressStatus=[],e._subscribers.addressPredictions=[],e._subscribers.addressPredictionsIndex=[],e._subscribers.addressTimestamp=[],e._subscribers.addressType=[],e._checkedAddress={},e._lastBlurCheckedAddress={},e.addressCheckCache={cachedResults:{}},e._addressIsBeingChecked=!1,e._isIntegrityOperationSynchronous=!1,e._addressCheckRequestIndex=0,e._addressCheckRoutineCounter=0,e._addressPredictionsIndex=0,e._openDropdowns=0,e.onBlurTimeout=null,e._addressCheckQueue={},e._addressCheckPromise=null,e.onAfterAddressCheckNoAction=[],e.onAfterAddressCheck=[],e.onAfterAddressCheckSelected=[],e.onAfterModalRendered=[],e.onBeforeAddressPersisted=[],e.onAfterAddressPersisted=[],e.onEditAddress=[],e.onConfirmAddress=[]},registerFields:function(e){e.getIntent=function(){return e._intent},e.setIntent=function(t){e._intent=t},Object.defineProperty(e,"address",{get:function(){return e.getAddress()},set:function(t){e.setAddress(t)}}),e.getAddress=function(){var t={};e.fieldNames.forEach(function(n){t[n]=e[n]});["subdivisionCode","streetFull","streetName","buildingNumber","additionalInfo"].forEach(function(n){!e.util.hasSubscribedField(n)&&Object.prototype.hasOwnProperty.call(t,n)&&delete t[n]});var n=e.util.hasSubscribedField("streetName"),r=e.util.hasSubscribedField("streetFull");return n&&r&&(e.config.splitStreet?delete t.streetFull:(delete t.streetName,delete t.buildingNumber)),t},e.setAddress=function(){var t=es(Qi().m(function t(n){var r,o,i,s;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.util.Promise.resolve(n);case 1:return r=t.v,t.n=2,e.cb.setAddress(r);case 2:return o=t.v,i=e.fieldNames.map(function(t){if(Object.prototype.hasOwnProperty.call(o,t)&&"string"==typeof o[t]){var n="set".concat(t.charAt(0).toUpperCase()).concat(t.slice(1));if("function"==typeof e[n])return e[n](o[t])}return Promise.resolve()}),t.n=3,Promise.all(i);case 3:t.n=5;break;case 4:throw t.p=4,s=t.v,console.warn("Error setting address fields",{error:s,valueToSet:n}),s;case 5:return t.a(2)}},t,null,[[0,4]])}));return function(e){return t.apply(this,arguments)}}(),Object.defineProperty(e,"addressStatus",{get:function(){return e.getAddressStatus()},set:function(t){e.setAddressStatus(t)}}),e.getAddressStatus=function(){return Array.isArray(e._addressStatus)?e._addressStatus:[]},e.setAddressStatus=function(){var t=es(Qi().m(function t(n){var r,o,i,s;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.util.Promise.resolve(n);case 1:return r=t.v,o="string"==typeof r?r.split(",").map(function(e){return e.trim()}):Array.isArray(r)?r:[],o=function(e){return e.filter(function(e){return"not-checked"!==e&&"address_not_checked"!==e})}(o),e._addressStatus=o,i=[],e._subscribers.addressStatus.forEach(function(e){try{i.push(e.updateDOMValue(Array.isArray(o)?o.join(","):String(o)))}catch(e){console.warn("Failed to update addressStatus subscriber:",{error:e,value:o})}}),t.n=2,Promise.all(i);case 2:t.n=4;break;case 3:t.p=3,s=t.v,e._addressStatus=e._addressStatus||[],console.warn("Failed to set address status",{error:s,value:n});case 4:return t.a(2)}},t,null,[[0,3]])}
1));return function(e){return t.apply(this,arguments)}}(),Object.defineProperty(e,"addressPredictions",{get:function(){return e.getAddressPredictions()},set:function(t){e.setAddressPredictions(t)}}),e.getAddressPredictions=function(){return Array.isArray(e._addressPredictions)?e._addressPredictions:[]},e.setAddressPredictions=function(){var t=es(Qi().m(function t(n){var r,o,i,s;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.util.Promise.resolve(n);case 1:return r=t.v,o="string"==typeof r?JSON.parse(r)||[]:Array.isArray(r)?r:[],e._addressPredictions=o,i=[],e._subscribers.addressPredictions.forEach(function(e){try{i.push(e.updateDOMValue(JSON.stringify(o)))}catch(e){console.warn("Failed to update addressPredictions subscriber:",{error:e,value:o})}}),t.n=2,Promise.all(i);case 2:t.n=4;break;case 3:t.p=3,s=t.v,console.warn("Error setting addressPredictions:",{error:s,inputValue:n,timestamp:new Date}),e._addressPredictions=e._addressPredictions||[];case 4:return t.a(2)}},t,null,[[0,3]])}));return function(e){return t.apply(this,arguments)}}(),Object.defineProperty(e,"addressType",{get:function(){return e.getAddressType()},set:function(t){e.setAddressType(t)}}),e.getAddressType=function(){return e._addressType},e.setAddressType=function(){var t=es(Qi().m(function t(n){var r,o,i;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,Promise.resolve(n);case 1:return r=t.v,e._addressType=r,o=[],e._subscribers.addressType.forEach(function(e){try{o.push(e.updateDOMValue(r))}catch(e){console.warn("Failed to update addressType subscriber:",{error:e,value:r})}}),t.n=2,Promise.all(o);case 2:t.n=4;break;case 3:t.p=3,i=t.v,console.warn("Failed to update addressType:",{error:i,value:n});case 4:return t.a(2)}},t,null,[[0,3]])}));return function(e){return t.apply(this,arguments)}}(),Object.defineProperty(e,"addressTimestamp",{get:function(){return e.getAddressTimestamp()},set:function(t){e.setAddressTimestamp(t)}}),e.getAddressTimestamp=function(){return e._addressTimestamp},e.setAddressTimestamp=function(){var t=es(Qi().m(function t(n){var r,o,i;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,Promise.resolve(n);case 1:return r=t.v,e._addressTimestamp=r,o=[],e._subscribers.addressTimestamp.forEach(function(e){try{o.push(e.updateDOMValue(r))}catch(e){console.warn("Failed to update addressTimestamp subscriber:",{error:e,value:r})}}),t.n=2,Promise.all(o);case 2:t.n=4;break;case 3:t.p=3,i=t.v,console.warn("Failed to update addressTimestamp:",{error:i,value:n});case 4:return t.a(2)}},t,null,[[0,3]])}));return function(e){return t.apply(this,arguments)}}(),Object.defineProperty(e,"addressPredictionsIndex",{get:function(){return e.getAddressPredictionsIndex()},set:function(t){e.setAddressPredictionsIndex(t)}}),e.getAddressPredictionsIndex=function(){return e._addressPredictionsIndex},e.setAddressPredictionsIndex=function(){var t=es(Qi().m(function t(n){var r,o,i,s;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,e.util.Promise.resolve(n);case 1:if(r=t.v,o=parseInt(r,10),e._addressPredictionsIndex===o){t.n=2;break}return e._addressPredictionsIndex=o,i=[],e._subscribers.addressPredictionsIndex.forEach(function(e){try{i.push(e.updateDOMValue(o))}catch(e){console.warn("Failed to update addressPredictionsIndex subscriber:",{error:e,value:r})}}),t.n=2,Promise.all(i);case 2:t.n=4;break;case 3:t.p=3,s=t.v,console.warn("Error setting addressPredictionsIndex:",{error:s,value:n});case 4:return t.a(2)}},t,null,[[0,3]])}));return function(e){return t.apply(this,arguments)}}()},registerEventCallbacks:function(e){e.cb.addressChange=function(t){return function(n){e.address=t.value}},e.cb.addressStatusChange=function(t){return function(n){e.addressStatus=t.value}},e.cb.addressPredictionsIndexChange=function(t){return function(n){e.addressPredictionsIndex=t.value}}},registerUtilities:function(e){e.util.removeStatusIndication=function(){e.util.indicateStatuscodes([])},e.util.invalidateAddressMeta=function(){e.addressStatus=[],e.addressPredictions=[],e.util.removeStatusIndication(),e.util.markAddressDirty()},e.util.isAddressCheckFinished=function(){return["address_selected_by_customer","address_selected_automatically"].some(function(t){return e._addressStatus.includes(t)})},e.util.markAddressDirty=function(){e._changed=!0,e.forms.forEac
1h(function(e){e.setAttribute("endereco-form-needs-validation",!0)})},e.util.checkAddress=function(){var t,n=window.EnderecoIntegrator,r=n.getProcessLevel(),o=e.address,i=[e.id,ss(o)].join("--");if(n.processQueue.has(i))return n.processQueue.get(i);n.processQueue.setLevelToProcess(i,r);var s=(t=e.util).processAddressCheck.apply(t,arguments);return n.processQueue.enqueue(i,s),s.finally(function(){n.processQueue.delete(i)}),s},e.util.getUserFeedback=function(t,n,r){var o=r.includes("address_multiple_variants")||r.includes("address_needs_correction");return n.length>0&&o?e.util.getPredictionsAndMetaFeedback(t,n,r):r.includes("address_not_found")||0===n.length?e.util.getOnlyMetaFeedback(t,n,r):void 0},e.util.getOnlyMetaFeedback=function(){var t=es(Qi().m(function t(n,r,o){var i,s,c,l,a,u,d,f,p;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return window.EnderecoIntegrator.popupQueue++,window.EnderecoIntegrator.enderecoPopupQueue++,t.p=1,t.n=2,e.waitForPopupAreaToBeFree();case 2:if(ss(n)===ss(e.address)){t.n=3;break}return window.EnderecoIntegrator.popupQueue--,window.EnderecoIntegrator.enderecoPopupQueue--,t.a(2);case 3:return i=e.util.escapeAddress(n),s=e.util.preprocessAddressParts(i,o),c=e.util.formatAddress(s,o,{forceCountryDisplay:!0,useHtml:!0,countryCodeForTemplate:n.countryCode}),l=e.config.templates.buttonEditAddress.replace("{{{buttonClasses}}}",e.config.templates.primaryButtonClasses),a=e.config.templates.buttonConfirmAddress.replace("{{{buttonClasses}}}",e.config.templates.secondaryButtonClasses),u=ps(e,o),d=e.util.Mustache.render(e.config.templates.addressNoPredictionWrapper.replace("{{{button}}}",l).replace("{{{buttonSecondary}}}",a),{EnderecoAddressObject:e,direction:getComputedStyle(document.querySelector("body")).direction,modalClasses:u.invalidFields.join(" "),showClose:e.config.ux.allowCloseModal,hasErrors:u.fieldErrors.length>0,errors:u.fieldErrors,showConfirCheckbox:e.config.ux.confirmWithCheckbox,mainAddress:c,button:e.config.templates.button,title:e.config.texts.popupHeadlines[e.addressType]}),document.querySelector("body").insertAdjacentHTML("beforeend",d),document.querySelector("body").classList.add("endereco-no-scroll"),e.onAfterModalRendered.forEach(function(t){t(e)}),f=document.querySelector("[endereco-popup]"),t.a(2,new Promise(function(t){cs(e,f,function(){t({userHasEditingIntent:!0,userConfirmedSelection:!1,selectedAddress:n})}),ls(e,f,function(){t({userHasEditingIntent:!0,userConfirmedSelection:!1,selectedAddress:n})}),fs(e,f),ds(e,f,function(){t({userHasEditingIntent:!1,userConfirmedSelection:!0,selectedAddress:n})})}));case 4:return t.p=4,p=t.v,console.warn("Error in getOnlyMetaFeedback:",p),window.EnderecoIntegrator.popupQueue--,window.EnderecoIntegrator.enderecoPopupQueue--,t.a(2,new Promise(function(e){e({userHasEditingIntent:!1,userConfirmedSelection:!1,selectedAddress:n,error:p})}))}},t,null,[[1,4]])}));return function(e,n,r){return t.apply(this,arguments)}}(),e.util.getPredictionsAndMetaFeedback=function(){var t=es(Qi().m(function t(n,r,o){var i,s,c,l,a,u,d,f,p,h,g,v;return Qi().w(function(t){for(;;)switch(t.n){case 0:return window.EnderecoIntegrator.popupQueue++,window.EnderecoIntegrator.enderecoPopupQueue++,t.n=1,e.waitForPopupAreaToBeFree();case 1:if(ss(n)===ss(e.address)){t.n=2;break}return window.EnderecoIntegrator.popupQueue--,window.EnderecoIntegrator.enderecoPopupQueue--,t.a(2);case 2:return i=$i({},n),r.length>0&&void 0!==i.subdivisionCode&&void 0===r[0].subdivisionCode&&delete i.subdivisionCode,s=e.util.escapeAddress(i),c=e.util.preprocessAddressParts(s,o),l=e.util.escapeAddress(r[0]),a=e.util.preprocessAddressParts(l,o),u=e.util.diffAddressParts(c,a,5),d=e.util.formatAddress(u,o,{countryCodeForTemplate:n.countryCode}),f=[],r.forEach(function(t){var r=e.util.escapeAddress(t),i=e.util.preprocessAddressParts(r,o),s=e.util.diffAddressParts(c,i,3),l=e.util.formatAddress(s,o,{countryCodeForTemplate:n.countryCode});f.push({addressDiff:l})}),p=0,h=e.config.templates.button.replace("{{{buttonClasses}}}",e.config.templates.primaryButtonClasses),g=e.util.Mustache.render(e.config.templates.addressPredictionsPopupWrapper.replace("{{{button}}}",h),{EnderecoAddressObject:e,direction:getComputedStyle(document.querySelector("body")).direction,predictions:f,mainAddress:d,showClose:e.config.ux.allowCloseModal,showConfirCheckbox:e.config.ux.confirmWithCheckbox,button:e.config.templates.button,title:e.config.texts.popupHeadlines[e.addressType],index:function(){return p},loopUp:function(){return p++,""}}),document.querySelector("body").insertAdjacentHTML("beforeend",g),document.querySelector("body").classList.add("endereco-no-scroll"),e.onAfterModalRendered.forEach(function(t){t(e)}),v=document.querySelector("[endereco-popup]"),t.a(2,new Promise(function(t){cs(e,v,function(){t({userHasEditingIntent:!0,userConfirmedSelection:!1,selectedAddress:n})}),ls(e,v,function(){t({userHasEditingIntent:!0,userConfirmedSelection:!1,selectedAddress:n})}),as(e,v,function(e){t({userHasEditingIntent:!1,userConfirmedSelection:!0,selectedAddress:e>=0?r[e]:n})}),us(e,v),fs(e,v)}))}},t)}));return function(e,n,r){return t.apply(this,arguments)}}(),e.util.processAddressCheck=es(Qi().m(function t(){var n,r,o,i,s,c,l,a,u,d,f,p,h,g,v,m,y,w,b,F,_,x,S,C;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:return n=++e._addressCheckRoutineCounter,r=1===n,o=e.getAddress(),i=e.getAddressStatus(),s=e.getAddressPredictions(),c=[e.id,ss(o)].join("--"),t.n=1,os(c);case 1:if(l={address:o,addressStatus:i,addressPredictions:s,sourceOfAddress:"unverified_user_input",processStatus:"started"},!i.includes("address_selected_by_customer")){t.n=3;break}return l.sourceOfAddress="confirmed_user_selection",l.processStatus="skipped",t.n=2,e.util.indicateStatuscodes(l.addressStatus);case 2:return t.a(2,l);case 3:if(!i.includes("address_selected_automatically")){t.n=5;break}return l.sourceOfAddress="automatic_copy_from_correction",l.processStatus="skipped",t.n=4,e.util.indicateStatuscodes(l.addressStatus);case 4:return t.a(2,l);case 5:return t.n=6,e.util.getAddressMeta(o);case 6:if(a=t.v,u=a.originalAddress,d=a.statuses,f=a.predictions,"success"===a.requestStatus){t.n=7;break}return l.processStatus="network_error",t.a(2,l);case 7:if(ss(o)===ss(e.address)){t.n=8;break}return l.processStatus="invalid_result",t.a(2,l);case 8:if(!e.anyMissing()&&!e.areEssentialsDisabled()){t.n=9;break}return l.processStatus="invalid_result",t.a(2,l);case 9:if(p=r&&(hs(d)||gs(d)),h=(vs(d,f)||ms(d,f))&&!p,!p){t.n=14;break}return g=f[0],t.n=10,e.util.getAddressMeta(g);case 10:if(v=t.v,m=v.originalAddress,y=v.statuses,w=v.predictions,"success"===v.requestStatus){t.n=11;break}return l.processStatus="network_error",t.a(2,l);case 11:if(ss(o)===ss(e.address)){t.n=12;break}return l.processStatus="invalid_result",t.a(2,l);case 12:if(!e.anyMissing()&&!e.areEssentialsDisabled()){t.n=13;break}return l.processStatus="invalid_result",t.a(2,l);case 13:l.address=m,l.addressStatus=[].concat(Wi(y),["address_selected_automatically"]),l.addressPredictions=w,l.sourceOfAddress="automatic_copy_from_correction",l.processStatus="finished";
1case 14:if(!h){t.n=20;break}return t.n=15,e.util.getUserFeedback(u,f,d);case 15:return b=t.v,t.n=16,e.util.getAddressMeta(b.selectedAddress);case 16:if(F=t.v,_=F.originalAddress,x=F.statuses,S=F.predictions,"success"===F.requestStatus){t.n=17;break}return l.processStatus="network_error",t.a(2,l);case 17:if(ss(o)===ss(e.address)){t.n=18;break}return l.processStatus="invalid_result",t.a(2,l);case 18:if(!e.anyMissing()&&!e.areEssentialsDisabled()){t.n=19;break}return l.processStatus="invalid_result",t.a(2,l);case 19:b.userConfirmedSelection&&(l.address=_,l.addressStatus=[].concat(Wi(x),["address_selected_by_customer"]),l.addressPredictions=S,l.sourceOfAddress="confirmed_user_selection",l.processStatus="finished");case 20:if(p||h){t.n=23;break}if(ss(o)===ss(e.address)){t.n=21;break}return l.processStatus="invalid_result",t.a(2,l);case 21:if(!e.anyMissing()&&!e.areEssentialsDisabled()){t.n=22;break}return l.processStatus="invalid_result",t.a(2,l);case 22:l.addressStatus=[].concat(Wi(d),["address_selected_by_customer"]),l.addressPredictions=f,l.sourceOfAddress="confirmed_user_selection",l.processStatus="finished";case 23:return e._isIntegrityOperationSynchronous=!0,t.n=24,ns(e,l);case 24:return t.p=24,t.n=25,Promise.all([e.setAddress(l.address),e.setAddressStatus(l.addressStatus),e.setAddressPredictions(l.addressPredictions),e.setAddressTimestamp(Math.floor(Date.now()/1e3))]);case 25:t.n=27;break;case 26:t.p=26,C=t.v,console.error("Failed updating the state in processAddressCheck",{error:C});case 27:return t.n=28,rs(e,l);case 28:return e._isIntegrityOperationSynchronous=!1,t.n=29,e.util.indicateStatuscodes(l.addressStatus);case 29:return t.a(2,l)}},t,null,[[24,26]])})),e.util.isReviewIntent=function(){return"review"===e.getIntent()},e.util.preheatCache=function(){if(e._lastBlurCheckedAddress=$i({},e.address),0!==e.addressStatus.length){var t=ss(e.address),n=Wi(e.addressPredictions).map(function(t){var n=$i({},t);return Object.prototype.hasOwnProperty.call(e.address,"countryCode")&&(n.countryCode=t.countryCode.toUpperCase()),Object.prototype.hasOwnProperty.call(e.address,"streetFull")&&(Object.prototype.hasOwnProperty.call(t,"streetFull")?n.streetFull=t.streetFull:n.streetFull=e.util.formatStreetFull(t)),n});e.addressCheckCache.cachedResults[t]={originalAddress:$i({},e.address),predictions:n,statuses:Wi(e.addressStatus),requestStatus:"success"}}},e.util.indicateStatuscodes=function(t){if(!t||0===t.length)return e.countryCodeStatus=[],e.subdivisionCodeStatus=[],e.postalCodeStatus=[],e.localityStatus=[],e.streetFullStatus=[],e.streetNameStatus=[],e.buildingNumberStatus=[],void(e.additionalInfoStatus=[]);var n=t.includes("address_correct")||t.includes("country_code_correct"),r=t.includes("country_code_not_found")||t.includes("country_code_needs_correction"),o=n?["field_correct"]:["field_not_correct"],i=t.includes("address_correct")||t.includes("subdivision_code_correct"),s=t.includes("subdivision_code_not_found")||t.includes("subdivision_code_needs_correction"),c=i?["field_correct"]:["field_not_correct"],l=t.includes("address_correct")||t.includes("postal_code_correct"),a=t.includes("postal_code_not_found")||t.includes("postal_code_needs_correction"),u=l?["field_correct"]:["field_not_correct"],d=t.includes("address_correct")||t.includes("locality_correct"),f=t.includes("locality_not_found")||t.includes("locality_needs_correction"),p=d?["field_correct"]:["field_not_correct"],h=t.includes("address_correct")||t.includes("street_name_correct"),g=t.includes("street_name_not_found")||t.includes("street_name_needs_correction"),v=h?["field_correct"]:["field_not_correct"],m=t.includes("address_correct")||t.includes("building_number_correct"),y=t.includes("building_number_not_found")||t.includes("building_number_is_missing"),w=m?["field_correct"]:["field_not_correct"],b=t.includes("address_correct")||t.includes("additional_info_correct"),F=t.includes("additional_info_not_found")||t.includes("additional_info_needs_correction")||t.includes("additional_info_is_missing"),_=b?["field_correct"]:["field_not_correct"],x=t.includes("address_correct")||t.includes("street_full_correct")||t.includes("street_name_correct")&&t.includes("building_number_correct"),S=t.includes("street_full_not_found")||t.includes("street_name_not_found")||t.includes("building_number_not_found")||t.includes("street_full_needs_correction")||t.includes("street_name_needs_correction")||t.includes("building_number_needs_correction"),C=x?["field_correct"]:["field_not_correct"];e.countryCodeStatus=e.countryCode?o:r?["field_not_correct"]:[],e.subdivisionCodeStatus=e.subdivisionCode?c:s?["field_not_correct"]:[],e.postalCodeStatus=e.postalCode?u:a?["field_not_correct"]:[],e.localityStatus=e.locality?p:f?["field_not_correct"]:[],e.streetFullStatus=e.streetFull?C:S?["field_not_correct"]:[],e.streetNameStatus=e.streetName?v:g?["field_not_correct"]:[],e.buildingNumberStatus=e.buildingNumber?w:y?["field_not_correct"]:[],e.additionalInfoStatus=e.additionalInfo?_:F?["field_not_correct"]:[]},e.util.hasSubscribedField=function(t){return(e._subscribers[t]||[]).some(function(n){return n.object&&!n.object.disabled&&n.object.isConnected&&window.EnderecoIntegrator.hasActiveSubscriber(t,n.object,e)})},e.waitForPopupAreaToBeFree=es(Qi().m(function t(){var n,r;return Qi().w(function(t){for(;;)switch(t.n){case 0:if(n=!document.querySelector("[endereco-popup]"),!(r=n)){t.n=2;break}return t.n=1,window.EnderecoIntegrator.isPopupAreaFree(e);case 1:r=t.v;case 2:if(!(n=r)){t.n=3;break}return t.a(3,5);case 3:return t.n=4,ts(100);case 4:t.n=0;break;case 5:return t.a(2)}},t)})),e.waitForAllPopupsToClose=es(Qi().m(function e(){return Qi().w(function(e){for(;;)switch(e.n){case 0:if(void 0===window.EnderecoIntegrator||void 0===window.EnderecoIntegrator.popupQueue||0!==window.EnderecoIntegrator.popupQueue){e.n=1;break}return e.a(3,3);case 1:return e.n=2,ts(100);case 2:e.n=0;break;case 3:return e.a(2)}},e)})),e.util.shouldBeChecked=function(){return!!(e.countryCode&&(e.streetName||e.streetFull)&&e.postalCode&&e.locality)&&!!window.EnderecoIntegrator.isAddressFormStillValid(e)},e.util.preprocessAddressParts=function(e,t){var n=$i({},e);if(Boolean(window.EnderecoIntegrator.countryCodeToNameMapping)&&Boolean(window.EnderecoIntegrator.countryCodeToNameMapping[e.countryCode.toUpperCase()])){var r=document.createElement("textarea");r.innerHTML=window.EnderecoIntegrator.countryCodeToNameMapping[e.countryCode.toUpperCase()],n.countryName=r.value.toUpperCase()}else n.countryName=e.countryCode.toUpperCase();if(Object.prototype.hasOwnProperty.call(e,"subdivisionCode")&&"string"==typeof e.subdivisionCode)if(Boolean(window.EnderecoIntegrator.subdivisionCodeToNameMapping)&&Boolean(window.EnderecoIntegrator.subdivisionCodeToNameMapping[e.subdivisionCode.toUpperCase()])){var o=document.createElement("textarea");o.innerHTML=window.EnderecoIntegrator.subdivisionCodeToNameMapping[e.subdivisionCode.toUpperCase()],n.subdivisionName=o.value}else""!==e.subdivisionCode.toUpperCase()?n.subdivisionName=e.subdivisionCode.toUpperCase().split("-")[1]:n.subdivisionName="&nbsp;";return e.buildingNumber&&e.buildingNumber.trim()||(n.buildingNumber="&nbsp;
1"),t.includes("additional_info_is_missing")&&(n.additionalInfo="&nbsp;"),t.includes("building_number_is_missing")&&!Object.prototype.hasOwnProperty.call(e,"streetName")&&(n.streetName=n.streetFull,delete n.streetFull),n},e.util.formatAddress=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.forceCountryDisplay,i=void 0!==o&&o,s=r.useHtml,c=void 0!==s&&s,l=r.countryCodeForTemplate,a=void 0===l?null:l,u=a?$i({},t):e.util.preprocessAddressParts(t,n),d=e.util.hasSubscribedField("subdivisionCode");u.showSubdisivion="&nbsp;"!==u.subdivisionName&&Object.prototype.hasOwnProperty.call(t,"subdivisionCode")&&"string"==typeof t.subdivisionCode&&(n.includes("subdivision_code_needs_correction")||n.includes("address_multiple_variants"))&&d,u.useHtml=c,u.showCountry=i||n.includes("country_code_needs_correction")||n.includes("country_code_not_found");var f="default",p=a||t.countryCode;void 0!==e.config.templates.addressFull[p.toLowerCase()]&&(f=p.toLowerCase());var h=JSON.parse(JSON.stringify(e.config.templates.addressFull[f]));return e.util.Mustache.render(h,u).replace(/  +/g," ")},e.util.removePopup=function(){document.querySelector("[endereco-popup]")&&(document.querySelector("[endereco-popup]").parentNode.removeChild(document.querySelector("[endereco-popup]")),document.querySelector("body").classList.remove("endereco-no-scroll"),e.addressPredictionsIndex=0,window.EnderecoIntegrator.popupQueue--,window.EnderecoIntegrator.enderecoPopupQueue--,e.modalClosed&&e.modalClosed())},e.areEssentialsDisabled=function(){var t,n,r=(null===(t=e._subscribers)||void 0===t||null===(t=t.postalCode)||void 0===t?void 0:t.length)>0,o=(null===(n=e._subscribers)||void 0===n||null===(n=n.locality)||void 0===n?void 0:n.length)>0;if(!r&&!o)return!1;if(r&&!e._subscribers.postalCode.some(function(e){return!e.object.disabled}))return!0;return!!o&&!e._subscribers.locality.some(function(e){return!e.object.disabled})},e.util.escapeAddress=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["additionalInfo","streetFull","streetName","buildingNumber","postalCode","locality","countryCode","subdivisionCode"],r=$i({},t);return n.forEach(function(t){r[t]&&e.util.escapeHTML&&(r[t]=e.util.escapeHTML(r[t]))}),r},e.util.diffAddressParts=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,r=$i({},e);return["additionalInfo","streetFull","streetName","buildingNumber","postalCode","locality","countryName","subdivisionName"].forEach(function(o){if(Object.prototype.hasOwnProperty.call(e,o)&&"string"==typeof e[o]){var i=Eo(e[o],Object.prototype.hasOwnProperty.call(t,o)&&t[o]||"",{ignoreCase:!1}),s="";i.forEach(function(e){if((!e.added||2&n)&&(!e.removed||4&n)&&(e.added||e.removed||1&n)){var t=e.added?"endereco-span--add":e.removed?"endereco-span--remove":"endereco-span--neutral";s+='<span class="'.concat(t,'">').concat(e.value,"</span>")}}),r[o]=s}}),r}},registerAPIHandlers:function(e){e.util.getAddressMeta=function(){var t=es(Qi().m(function t(n){var r,o,i,s,c,l,a,u,d,f,p,h,g,v;return Qi().w(function(t){for(;;)switch(t.p=t.n){case 0:if(i={originalAddress:o=n,statuses:[],predictions:[],requestStatus:"started"},s=++e._addressCheckRequestIndex,c={jsonrpc:"2.0",id:s,method:"addressCheck",params:{country:n.countryCode,language:e.config.lang,postCode:n.postalCode,cityName:n.locality}},Object.prototype.hasOwnProperty.call(o,"subdivisionCode")&&(c.params.subdivisionCode=o.subdivisionCode),Object.prototype.hasOwnProperty.call(o,"streetName")&&(c.params.street=o.streetName),Object.prototype.hasOwnProperty.call(o,"buildingNumber")&&(c.params.houseNumber=o.buildingNumber),Object.prototype.hasOwnProperty.call(o,"streetFull")&&(c.params.streetFull=o.streetFull),Object.prototype.hasOwnProperty.call(o,"additionalInfo")&&(c.params.additionalInfo=o.additionalInfo),l=ss(o),a={"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":null!==(r=e.hasLoadedExtension)&&void 0!==r&&r.call(e,"SessionExtension")?e.sessionId:"not_required"}
1,e.addressCheckCache.cachedResults[l]){t.n=6;break}if(t.p=1,d=e.getEnderecoAPI()){t.n=2;break}return console.warn("EnderecoAPI is not available"),i.requestStatus="failed",t.a(2,i);case 2:return t.n=3,d.sendRequestToAPI(c,a);case 3:if(-32700===(null==(f=t.v)||null===(u=f.data)||void 0===u||null===(u=u.error)||void 0===u?void 0:u.code)&&(null===(p=(h=e.util).updateSessionId)||void 0===p||p.call(h)),f&&f.data&&f.data.result){t.n=4;break}return console.warn("API didn't return a valid result"),i.requestStatus="failed",t.a(2,i);case 4:e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,g=f.data.result.predictions.map(function(t){var n={};return Object.prototype.hasOwnProperty.call(o,"countryCode")&&(n.countryCode=t.country.toUpperCase()),Object.prototype.hasOwnProperty.call(o,"subdivisionCode")&&(n.subdivisionCode=t.subdivisionCode),Object.prototype.hasOwnProperty.call(o,"postalCode")&&(n.postalCode=t.postCode),Object.prototype.hasOwnProperty.call(o,"locality")&&(n.locality=t.cityName),Object.prototype.hasOwnProperty.call(o,"streetName")&&(n.streetName=t.street),Object.prototype.hasOwnProperty.call(o,"buildingNumber")&&(n.buildingNumber=t.houseNumber),Object.prototype.hasOwnProperty.call(o,"streetFull")&&(Object.prototype.hasOwnProperty.call(t,"streetFull")?n.streetFull=t.streetFull:n.streetFull=e.util.formatStreetFull({countryCode:t.country,streetName:t.street,buildingNumber:t.houseNumber})),Object.prototype.hasOwnProperty.call(o,"additionalInfo")&&(n.additionalInfo=t.additionalInfo),n}),i.statuses=f.data.result.status,i.predictions=g,i.requestStatus="success",e.addressCheckCache.cachedResults[l]=i,t.n=6;break;case 5:return t.p=5,v=t.v,console.warn("AddressCheck against Endereco API failed",v,c),i.requestStatus="failed",t.a(2,i);case 6:return t.a(2,e.addressCheckCache.cachedResults[l])}},t,null,[[1,5]])}));return function(e){return t.apply(this,arguments)}}()},registerFilterCallbacks:function(e){e.cb.setAddress=function(t){return new e.util.Promise(function(e,n){e(t)})}},registerConfig:function(e){e.config.templates.addressFull=Li,e.config.templates.addressPredictionsPopupWrapper='<div endereco-popup class="endereco-popup-container endereco-popup-container--direction-{{direction}}"> <div class="endereco-modal"> <div class="endereco-modal__header"> <p class="endereco-modal__header-main">{{{title}}}</p> <p class="endereco-modal__header-sub">{{{EnderecoAddressObject.config.texts.popUpSubline}}}</p> {{#showClose}}<span class="endereco-modal__close" endereco-modal-close></span>{{/showClose}} </div> <div class="endereco-modal__body"> <div class="endereco-modal__divider"> <span class="endereco-modal__divider-innertext">{{{EnderecoAddressObject.config.texts.ourSuggestions}}}</span> </div> <ul class="endereco-address-predictions endereco-address-predictions--suggestions"> {{#predictions}} <li class="endereco-address-predictions__item"> <input class="endereco-address-predictions__radio" type="radio" name="endereco-address-predictions" value="{{ index }}" id="endereco-address-predictions__item_{{ index }}"> <label class="endereco-address-predictions__label" for="endereco-address-predictions__item_{{ index }}">{{{ addressDiff }}}</label> </li> {{loopUp}} {{/predictions}} </ul> <div class="endereco-modal__divider"> <span class="endereco-modal__divider-innertext">{{{EnderecoAddressObject.config.texts.yourInput}}} <small><a href="javascript:void(0)" endereco-edit-address>{{{EnderecoAddressObject.config.texts.editYourInput}}}</a></small></span> </div> <ul class="endereco-address-predictions endereco-address-predictions--original"> <li class="endereco-address-predictions__item"> <input class="endereco-address-predictions__radio" type="radio" name="endereco-address-predictions" value="-1" id="endereco-address-predictions__item_original"> <label class="endereco-address-predictions__label" for="endereco-address-predictions__item_original">{{{ mainAddress }}}</label> </li> </ul> <div class="endereco-modal__warning" endereco-show-if-origin> {{{EnderecoAddressObject.config.texts.warningText}}} </div> {{#showConfirCheckbox}} <div class="endereco-modal__address-confirmation" endereco-show-if-origin> <label>
1 <input type="checkbox" value="1" endereco-confirm-address-checkbox> {{{EnderecoAddressObject.config.texts.confirmMyAddressCheckbox}}} </label> </div> {{/showConfirCheckbox}} </div> <div class="endereco-modal__footer"> {{{button}}} </div> </div> </div> ',e.config.templates.addressNotFoundPopupWrapper='<div endereco-popup class="endereco-popup-container endereco-popup-container--direction-{{direction}}"> <div class="endereco-modal"> <div class="endereco-modal__header"> <p class="endereco-modal__header-main">{{{title}}}</p> <p class="endereco-modal__header-sub">{{{EnderecoAddressObject.config.texts.notFoundSubline}}}</p> {{#showClose}}<span class="endereco-modal__close" endereco-modal-close></span>{{/showClose}} </div> <div class="endereco-modal__body"> <div class="endereco-modal__divider"> <span class="endereco-modal__divider-innertext">{{{EnderecoAddressObject.config.texts.yourInput}}} <small><a href="javascript:void(0)" endereco-edit-address>{{{EnderecoAddressObject.config.texts.editYourInput}}}</a></small></span> </div> <div class="endereco-modal__address-container"> {{{ mainAddress }}} </div> <div class="endereco-modal__warning"> {{{EnderecoAddressObject.config.texts.warningText}}} </div> {{#showConfirCheckbox}} <div class="endereco-modal__address-confirmation"> <label> <input type="checkbox" value="1" endereco-confirm-address-checkbox> {{{EnderecoAddressObject.config.texts.confirmMyAddressCheckbox}}} </label> </div> {{/showConfirCheckbox}} </div> <div class="endereco-modal__footer"> {{{buttonSecondary}}} {{{button}}} </div> </div> </div> ',e.config.templates.addressNoPredictionWrapper='<div endereco-popup class="endereco-popup-container endereco-popup-container--direction-{{direction}}"> <div class="endereco-modal endereco-modal--no-prediction {{{modalClasses}}}"> <div class="endereco-modal__header"> <p class="endereco-modal__header-main">{{{title}}}</p> <p class="endereco-modal__header-sub">{{{EnderecoAddressObject.config.texts.mistakeNoPredictionSubline}}}</p> {{#showClose}}<span class="endereco-modal__close" endereco-modal-close></span>{{/showClose}} </div> <div class="endereco-modal__body"> <div class="endereco-modal__divider"> <span class="endereco-modal__divider-innertext">{{{EnderecoAddressObject.config.texts.yourInput}}} <small><a href="javascript:void(0)" endereco-edit-address>{{{EnderecoAddressObject.config.texts.editYourInput}}}</a></small></span> </div> {{#hasErrors}} <div class="endereco-modal__errors"> <ul> {{#errors}} <li>{{{.}}}</li> {{/errors}} </ul> </div> {{/hasErrors}} <div class="endereco-modal__address-container"> {{{ mainAddress }}} </div> <div class="endereco-modal__warning"> {{{EnderecoAddressObject.config.texts.warningText}}} </div> {{#showConfirCheckbox}} <div class="endereco-modal__address-confirmation"> <label> <input type="checkbox" value="1" endereco-confirm-address-checkbox> {{{EnderecoAddressObject.config.texts.confirmMyAddressCheckbox}}} </label> </div> {{/showConfirCheckbox}} </div> <div class="endereco-modal__footer"> {{{buttonSecondary}}} {{{button}}} </div> </div> </div> ',e.config.templates.button||(e.config.templates.button='<button class="{{{buttonClasses}}}" endereco-use-selection endereco-disabled-until-confirmed>{{{EnderecoAddressObject.config.texts.useSelected}}}</button>'),e.config.templates.buttonEditAddress||(e.config.templates.buttonEditAddress='<button class="{{{buttonClasses}}}" endereco-edit-address>{{{EnderecoAddressObject.config.texts.editAddress}}}</button>'),e.config.templates.buttonConfirmAddress||(e.config.templates.buttonConfirmAddress='<button class="{{{buttonClasses}}}" endereco-confirm-address endereco-disabled-until-confirmed>{{{EnderecoAddressObject.config.texts.confirmAddress}}}</button>')},extend:function(){var e=es(Qi().m(function e(t){return Qi().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,t.waitForExtension(["CountryCodeExtension","PostalCodeExtension","LocalityExtension","StreetNameExtension","BuildingNumberExtension","AdditionalInfoExtension"]);case 1:return e.n=2,ys.registerProperties(t);case 2:return e.n=3,ys.registerFields(t);case 3:return e.n=4,ys.registerConfig(t);case 4:return e.n=5,ys.registerEventCallbacks(t);case 5:return e.n=6,ys.registerUtilities(t);case 6:return e.n=7,ys.registerAPIHandlers(t);case 7:return e.n=8,ys.registerFilterCallbacks(t);case 8:return e.a(2,ys)}},e)}));return function(t){return e.apply(this,arguments)}}()},ws=ys,bs={name:"SessionExtension",extend:function(e){return new e.util.Promise(function(t,n){!function(e){e._sessionId="",e._subscribers.sessionId=[],e._sessionCounter="",e._subscribers.sessionCounter=[],e.forms=[],e.formsWithSession=[]}(e),function(e){Fs(e,"sessionId"),Fs(e,"sessionCounter")}(e),function(e){setInterval(function(){e.forms.length!==e.formsWithSession.length&&e.forms.forEac
1h(function(t){e.formsWithSession.includes(t)||(_s(t,e.fullName+"_session_id",e),_s(t,e.fullName+"_session_counter",e),xs(e,"sessionId"),xs(e,"sessionCounter"),e.formsWithSession.push(t))})},500)}(e),e.onAfterCreate.push(function(){return function(e){e.waitForActive().then(function(){e.waitUntilReady().then(function(){e.syncValues(["sessionId","sessionCounter"]).then(function(){e.sessionId||(e.sessionCounter=0,e.sessionId=e.id)}).catch(console.error)}).catch(console.error)}).catch(console.error)}(e)}),e.util.updateSessionId=function(){!function(e){e.sessionId=Vr()}(e)},e.config.showDebugInfo&&console.log("SessionExtension applied"),t(bs)})}};function Fs(e,t){Object.defineProperty(e,t,{get:function(){return this["_"+t]},set:function(n){var r=this,o=this["_"+t];this._awaits++,e.util.Promise.resolve(n).then(function(n){o!==n&&(r["_"+t]=n,function(e,t,n){e._subscribers[t].forEach(function(e){e.value=n})}(e,t,n),function(e,t,n,r){e.fire(new e.util.CustomEvent("change",{detail:{fieldName:t,oldValue:n,newValue:r,object:e}}))}(e,t,o,n))}).catch(console.error).finally(function(){return r._awaits--})}})}
1function _s(e,t,n){if(!e.querySelector('input[name="'.concat(t,'"]'))){var r=n.util.Mustache.render('<input type="hidden" name="{{name}}" value="">',{name:t});e.insertAdjacentHTML("afterbegin",r)}}function xs(e,t){var n=new qi(t,document.querySelector('[name="'.concat(e.fullName,"_").concat({sessionId:"session_id",sessionCounter:"session_counter"}[t],'"]')));e.addSubscriber(n)}var Ss=bs;function Cs(e){return Cs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cs(e)}function As(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Es(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Es(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Es(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Es(d,"constructor",a),Es(a,"constructor",l),l.displayName="GeneratorFunction",Es(a,o,"GeneratorFunction"),Es(d),Es(d,o,"Generator"),Es(d,r,function(){return this}),Es(d,"toString",function(){return"[object Generator]"}),(As=function(){return{w:i,m:f}})()}function Es(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Es=function(e,t,n,r){function i(t,n){Es(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Es(e,t,n,r)}function Ps(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ps(Object(n),!0).forEach(function(t){js(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ps(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function js(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Cs(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Cs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ds(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Ts(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Ds(i,r,o,s,c,"next",e)}function c(e){Ds(i,r,o,s,c,"throw",e)}s(void 0)})}}function Os(){return Os=Ts(As().m(function e(){var t,n,r=arguments;return As().w(function(e){for(;;)switch(e.n){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},(n=new Xr).type="address",n.name="ams",n.addressType="general_address",n.forms=[],n.config=b()(n.config,t),n.extensions=[to,ro,ao,fo,Ho,qo,Jo,Yo,ci,ai,Ci,Ei,gi,mi,Oi,Ni,ws,Ss],e.n=1,n.loadExtensions();case 1:return n.onSubmitUnblock=[],n.submitUnblocked=function(){var e=this;this.onSubmitUnblock.forEach(function(t){t(e)})},n.onBlurTimeout=null,n.cb.handleFormBlur=function(){n.onBlurTimeout&&(clearTimeout(n.onBlurTimeout),n.onBlurTimeout=null),n.onBlurTimeout=setTimeout(Ts(As().m(function e(){var t,r,o;return As().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!(n.config.trigger.onblur&&!n.anyActive()&&n.util.shouldBeChecked())){e.n=5;break}if(t=n.util.generateAddressCacheKey?n.util.generateAddressCacheKey(n.address):JSON.stringify(n.address),r=n.util.generateAddressCacheKey?n.util.generateAddressCacheKey(n._lastBlurCheckedAddress):JSON.stringify(n._lastBlurCheckedAddress),t!==r){e.n=1;break}return e.a(2);case 1:return clearTimeout(n.onBlurTimeout),n.onBlurTimeout=null,e.p=2,e.n=3,n.util.checkAddress();case 3:n._lastBlurCheckedAddress=ks({},n.address),e.n=5;break;case 4:e.p=4,o=e.v,console.warn("Error checking address:",o);case 5:return e.a(2)}},e,null,[[2,4]])})),n.config.ux.delay.onBlur)},n.cb.handleFormSubmit=Ts(As().m(function e(){var t,r,o,i;return As().w(function(e){for(;;)switch(e.p=e.n){case 0:return t="unknown",e.p=1,e.n=2,n.util.checkAddress();case 2:r=e.v,o=r.sourceOfAddress,e.n="unverified_user_input"===o?3:"automatic_copy_from_correction"===o?4:"confirmed_user_selection"===o?5:6;break;case 3:return t="edit_intention",e.a(3,6);case 4:case 5:return t="finished",e.a(3,6);
1case 6:return["network_error","invalid_result"].includes(r.processStatus)&&(t="finished"),e.a(2,{processState:t});case 7:return e.p=7,i=e.v,console.warn("Error handling submit",{error:i,dataObject:n}),e.a(2,{processState:"error"})}},e,null,[[1,7]])})),n.created(),e.a(2,n)}},e)})),Os.apply(this,arguments)}var Ms=function(){return Os.apply(this,arguments)},Ns={name:"EmailExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._email="",e._subscribers.email=[],e.cb.emailChange=function(t){return function(n){e.email=t.value}},Object.defineProperty(e,"email",{get:function(){return this._email},set:function(t){var n=e._email;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._email=r,e._changed=!0,e._subscribers.email.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"email",oldValue:n,newValue:r,object:e}})),e.active&&e.hasLoadedExtension("EmailCheckExtension")&&(e._awaits++,""===t.trim()?e.emailStatus=[]:e.util.checkEmail().then(function(t){var n={};t.status.includes("A1000")&&(n.email_correct=!0),t.status.includes("A1100")&&(n.email_correct=!0,n.email_catchall=!0),t.status.includes("A1110")&&(n.email_correct=!0,n.email_catchall=!0),t.status.includes("A1400")&&(n.email_correct=!0,n.email_disposable=!0),t.status.includes("A4000")&&(n.email_not_correct=!0,n.email_error=!0),t.status.includes("A4100")&&(n.email_not_correct=!0,n.email_smtp_problem=!0),t.status.includes("A4110")&&(n.email_not_correct=!0,n.email_smtp_problem=!0),t.status.includes("A4200")&&(n.email_not_correct=!0,n.email_syntax_error=!0),t.status.includes("A4300")&&(n.email_not_correct=!0,n.email_address_unknown=!0),t.status.includes("A4400")&&(n.email_not_correct=!0,n.email_delivery_failed=!0),t.status.includes("A4500")&&(n.email_not_correct=!0,n.email_relay_error=!0),t.status.includes("A4600")&&(n.email_not_correct=!0,n.email_blocked_by_antispam=!0),t.status.includes("A4700")&&(n.email_not_correct=!0,n.email_cant_receive=!0),t.status.includes("A4800")&&(n.email_not_correct=!0,n.email_no_mailserver_found=!0),t.status.includes("A4810")&&(n.email_not_correct=!0,n.email_mailserver_down=!0),t.status.includes("A4900")&&(n.email_spam_trap=!0),t.status.includes("A5000")&&(n.email_could_not_be_verified=!0),e.emailStatus=e.util.merge(t.status,Object.keys(n))}).catch(function(t){e.emailStatus=[],console.log("Failed checking email",t,e)}).finally(function(){e._awaits--,e._changed=!1})))}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("email"),e.config.showDebugInfo&&console.log("EmailExtension applied"),n(t)})}},Is=Ns,Bs={name:"EmailCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("EmailExtension").then(function(){e._emailStatus="",e._subscribers.emailStatus=[],e.config.templates.statusWrapper='<div data-id="{{ExtendableObject.id}}" class="endereco-status-wrapper"> <ul class="endereco-status-wrapper-list"> {{#statuses}} <li class="endereco-status-wrapper-list__item endereco-status-wrapper-list__item--{{status}}">{{text}}</li> {{/statuses}} </ul> </div> ',void 0===e.config.ux.showEmailStatus&&(e.config.ux.showEmailStatus=!1),e.cb.emailStatusChange=function(t){return function(n){e.emailStatus=t.value}},e.cb.onEmailChecked=[],e.cb.onEmailCheckFailed=[],Object.defineProperty(e,"emailStatus",{get:function(){return this._emailStatus},set:function(t){var n=e._emailStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){"string"==typeof t&&(t=""===t?[]:[t]);var r=t;n!==r&&(e._emailStatus=r,e._changed=!1,e._subscribers.emailStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"emailStatus",oldValue:n,newValue:r,object:e}})),e.config.ux.showEmailStatus&&e.util.renderStatusMessages())}).catch().finally(function(){e._awaits--})}}),e.util.renderStatusMessages=function(){var t=[];if(e.emailStatus.forEach(function(n){e.config.texts.statuses[n]&&t.push({status:n,text:e.config.texts.statuses[n]})}),document.querySelectorAll('.endereco-status-wrapper[data-id="'+e.id+'"]')&&document.querySelectorAll('.endereco-status-wrapper[data-id="'+e.id+'"]').forEach(function(e){e.remove()}),0<t.length){var n=e.util.Mustache.render(e.config.templates.statusWrapper,{ExtendableOb
1ject:e,statuses:t}),r=document.querySelector(e.config.ux.errorContainer),o=["beforebegin","afterbegin","beforeend","afterend"].includes(e.config.ux.errorInsertMode)?e.config.ux.errorInsertMode:"afterbegin";r?r.insertAdjacentHTML(o,n):e._subscribers.email.forEach(function(e){e.object.insertAdjacentHTML("afterend",n)})}},e.util.checkEmail=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t||(t=e.email),new e.util.Promise(function(n,r){var o={jsonrpc:"2.0",id:1,method:"emailCheck",params:{email:t}};e._awaits++,e.util.axios.post(e.config.apiUrl,o,{timeout:6e3,headers:{"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":e.hasLoadedExtension("SessionExtension")?e.sessionId:"not_required"}}).then(function(t){void 0!==t.data.result?(e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,e.cb.onEmailChecked.forEach(function(n){n(e,t.data)}),n(t.data.result)):(e.cb.onEmailCheckFailed.forEach(function(n){n(e,t.data)}),r(t.data))}).catch(function(t){e.cb.onEmailCheckFailed.forEach(function(n){n(e,t.response)}),r(t.response)}).finally(function(){e._awaits--})})},e.config.showDebugInfo&&console.log("EmailCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},Ls=Bs;var zs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Xr;return t.type="email",t.name="emailservices",t.config=b()(t.config,e),t.extensions=[Ls,Is,Ss],t.loadExtensions(),t.created(),t},Us={name:"SalutationExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._salutation="",e._subscribers.salutation=[],e.cb.salutationChange=function(t){return function(n){e.salutation=t.value,e.waitUntilReady().then(function(){e.onBlurTimeout&&(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null),e.onBlurTimeout=setTimeout(function(){e.anyActive()||!e.util.shouldBeChecked()||window.EnderecoIntegrator.hasSubmit||(e.onBlurTimeout=null,e.util.checkPerson().catch().finally(function(){e._changed=!1}))},300)}).catch()}},Object.defineProperty(e,"salutation",{get:function(){return this._salutation},set:function(t){var n=e._salutation;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._salutation=r,e._changed=!0,e._subscribers.salutation.forEach(function(e){e.value=t}),e.active&&e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"salutation",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("salutation"),e.config.showDebugInfo&&console.log("SalutationExtension applied"),n(t)})}},Rs=Us,Hs={name:"LastNameExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._lastName="",e._subscribers.lastName=[],e.cb.lastNameBlur=function(t){return function(n){e.lastName=t.value,e.waitUntilReady().then(function(){e.onBlurTimeout&&(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null),e.onBlurTimeout=setTimeout(function(){e.anyActive()||!e.util.shouldBeChecked()||window.EnderecoIntegrator.hasSubmit||(e.onBlurTimeout=null,e.util.checkPerson().catch().finally(function(){e._changed=!1}))},300)}).catch()}},Object.defineProperty(e,"lastName",{get:function(){return this._lastName},set:function(t){var n=e._lastName;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._lastName=r,e._changed=!0,e._subscribers.lastName.forEach(function(e){e.value=t}),e.active&&e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"lastName",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("lastName"),e.config.showDebugInfo&&console.log("LastNameExtension applied"),n(t)})}},Vs=Hs,qs={name:"FirstNameExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._firstName="",e._subscribers.firstName=[],e.cb.firstNameBlur=function(t){return function(n){e.firstName=t.value,e.waitUntilReady().then(function(){e.onBlurTimeout&&(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null),e.onBlurTimeout=setTimeout(function(){e.anyActive()||!e.util.shouldBeChecked()||window.EnderecoIntegrator.hasSubmit||(e.onBlurTimeout=null,e.util.checkPerson().catch().finally(function(){e._changed=!1}))},300)}).catch()}},Object.defineProperty(e,"firstName",{get:function(){return this._firstName},set:function(t){var n=e._firstName;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._firstName=r,e._changed=!0,e._subscribers.firstName.forEach(function(e){e.value=t}),e.active&&e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"firstName",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("firstName"),e.config.showDebugInfo&&console.log("FirstNameExtension applied"),n(t)})}},Gs=qs,Ws={name:"TitleExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._title="",e._subscribers.title=[],e.cb.titleBlur=function(t){return function(n){e.title=t.value,e.waitUntilReady().then(function(){e.onBlurTimeout&&(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null),e.onBlurTimeout=setTimeout(function(){e.anyActive()||!e.util.shouldBeChecked()||window.EnderecoIntegrator.hasSubmit||(e.onBlurTimeout=null,e.util.checkPerson().catch().finally(function(){e._changed=!1}))},300)}).catch()}},Object.defineProperty(e,"title",{get:function(){return this._title},set:function(t){var n=e._title;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._title=r,e._changed=!0,e._subscribers.title.forEach(function(e){e.value=t}),e.active&&e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"title",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("title"),e.config.showDebugInfo&&console.log("TitleExtension applied"),n(t)})}},Ks=Ws,Xs={name:"NameCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension(["SalutationExtension","FirstNameExtension","LastNameExtension","TitleExtension"]).then(function(){e._salutationStatus="",e._firstNameStatus="",e._lastNameStatus="",e._titleStatus="",e._nameScore="",e._subscribers.salutationStatus=[],e._subscribers.firstNameStatus=[],e._subscribers.lastNameStatus=[],e._subscribers.titleStatus=[],e._subscribers.nameScore=[],e._nameCheckRequestIndex=1,e.cb.salutationStatusChange=function(t){return function(n){e.
1salutationStatus=t.value}},e.cb.firstNameStatusChange=function(t){return function(n){e.firstNameStatus=t.value}},e.cb.lastNameStatusChange=function(t){return function(n){e.lastNameStatus=t.value}},e.cb.nameScoreStatusChange=function(t){return function(n){e.nameScoreStatus=t.value}},e.cb.titleStatusChange=function(t){return function(n){e.titleStatus=t.value}},e.isTitleRelevant=function(){var t=!1;return 0<e._subscribers.title.length&&e._subscribers.title.forEach(function(e){!e.object.disabled&&e.object.isConnected&&(t=!0)}),t},Object.defineProperty(e,"salutationStatus",{get:function(){return this._salutationStatus},set:function(t){var n=e._salutationStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._salutationStatus=r,e._subscribers.salutationStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"salutationStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),Object.defineProperty(e,"firstNameStatus",{get:function(){return this._firstNameStatus},set:function(t){var n=e._firstNameStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._firstNameStatus=r,e._subscribers.firstNameStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"firstNameStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),Object.defineProperty(e,"lastNameStatus",{get:function(){return this._lastNameStatus},set:function(t){var n=e._lastNameStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._lastNameStatus=r,e._subscribers.lastNameStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"lastNameStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),Object.defineProperty(e,"titleStatus",{get:function(){return this._titleStatus},set:function(t){var n=e._titleStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._titleStatus=r,e._subscribers.titleStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"titleStatus",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),Object.defineProperty(e,"nameScore",{get:function(){return this._nameScore},set:function(t){var n=e._nameScore;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r=t;n!==r&&(e._nameScore=r,e._subscribers.nameScore.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"nameScore",oldValue:n,newValue:r,object:e}})))}).catch().finally(function(){e._awaits--})}}),e.util.shouldBeChecked=function(){return!!e._changed},e.util.checkPerson=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t||(t={title:e.title,firstName:e.firstName,lastName:e.lastName,salutation:e.salutation}),new e.util.Promise(function(n,r){var o={jsonrpc:"2.0",id:e._nameCheckRequestIndex,method:"nameCheck",params:{firstName:t.firstName,lastName:t.lastName,salutation:t.salutation}};0<e._subscribers.title.length&&e._subscribers.title.forEach(function(e){!e.object.disabled&&e.object.isConnected&&(o.params.title=t.title)}),e._awaits++,e.util.axios.post(e.config.apiUrl,o,{timeout:2e3,headers:{"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":e.hasLoadedExtension("SessionExtension")?e.sessionId:"not_required"}}).then(function(t){if(void 0!==t.data.result){e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++;var o=t.data.result.status,i=t.data.result.predictions,s=!1;o.includes("name_is_natural_person")&&(o.includes("name_needs_correction")||o.includes("name_correct"))?(e.firstNameStatus=[],e.lastNameStatus=[],!["m","f","d"].includes(e.salutation)&&i[0].salutation&&(e.salutation=i[0].salutation,s=!0),1===e._nameCheckRequestIndex&&(o.includes("name_transpositioned")?o.includes("name_transpositioned")&&(e.config.ux.correctTranspositionedNames?(e.lastName=i[0].lastName,e.firstName=i[0].firstName):(e.lastName=i[0].firstName,e.firstName=i[0].lastName),e.isTitleRelevant()&&(e.title=i[0].title,""!==i[0].title&&(e.titleStatus=["title_correct"])),e.firstNameStatus=["first_name_correct"],e.lastNameStatus=["last_name_correct"]):(e.f
1irstName=i[0].firstName,e.lastName=i[0].lastName,e.firstNameStatus=["first_name_correct"],e.lastNameStatus=["last_name_correct"],e.isTitleRelevant()&&(e.title=i[0].title,""!==i[0].title&&(e.titleStatus=["title_correct"])))),o.includes("name_correct")&&(e.firstNameStatus=["first_name_correct"],e.lastNameStatus=["last_name_correct"],e.isTitleRelevant()&&""!==e.title&&(e.titleStatus=["title_correct"])),e._changed=!1,s?e.salutationStatus=["salutation_correct"]:i[0].salutation?e.salutationStatus=o.includes("salutation_needs_correction")?["salutation_needs_correction"]:["salutation_correct"]:e.salutationStatus=[]):o.includes("name_not_found")&&(e.salutationStatus=["salutation_needs_correction"],e.firstNameStatus=["first_name_needs_correction"],e.lastNameStatus=["last_name_needs_correction"],e.isTitleRelevant()&&""!==e.title&&(e.titleStatus=["title_needs_correction"])),void 0!==t.data.result.score?e.nameScore=t.data.result.score:e.nameScore=1,n()}else r(t.data)}).catch(function(e){r(e.response)}).finally(function(){e._awaits--,e._nameCheckRequestIndex++})})},e.config.showDebugInfo&&console.log("NameCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},$s=Xs;var Js=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Xr;return t.type="person",t.name="personservices",t.config=b()(t.config,e),t.extensions=[Rs,Gs,Vs,Ks,Ss,$s],t.loadExtensions(),t.created(),t},Qs='<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <rect y="215.2" fill="#D80027" width="211.5" height="126.1"/> <rect y="0" fill="#0052B4" width="211.5" height="126.2"/> <rect x="300.5" y="0" fill="#D80027" width="211.5" height="126.2"/> <rect x="300.5" y="215.2" fill="#0052B4" width="211.5" height="126.1"/> <g stroke="#FFFFFF" stroke-width="5" stroke-miterlimit="10"> <path fill="#0052B4" d="M256,130h-49.9v49.4c0,0,19.5,6,49.9,6V130z"/> <path fill="#D80027" d="M206.1,179.4v6c0,27.5,22.3,49.9,49.9,49.9v-49.9C225.6,185.4,206.1,179.4,206.1,179.4z"/> <path fill="#0052B4" d="M256,235.3c27.5,0,49.9-22.3,49.9-49.9v-6c0,0-19.5,6-49.9,6V235.3z"/> <path fill="#D80027" d="M256,130v55.4c30.4,0,49.9-6,49.9-6V130H256z"/> </g> </svg> ',Ys='<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 85.5 342 342"> <rect y="85.5" fill="#FFFFFF" width="513" height="342"/> <rect y="85.5" fill="#cd1f2a" width="513" height="114"/> <rect y="312" fill="#1d4185" width="513" height="114"/> </svg> ',Zs='<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="5.12 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <g> <rect y="85.337" fill="#D80027" width="512" height="68.263"/> <rect y="221.863" fill="#D80027" width="512" height="68.263"/> <rect y="358.4" fill="#D80027" width="512" height="68.263"/> </g> <polygon fill="#0052B4" points="256,256.006 0,426.668 0,85.331 "/> <polygon fill="#FFFFFF" points="83.477,195.132 98.584,241.63 147.478,241.63 107.924,270.369 123.031,316.868   83.477,288.13 43.922,316.868 59.032,270.369 19.478,241.63 68.37,241.63 "/> </svg> ',ec={name:"PhoneExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e._phone="",e._subscribers.phone=[],e.cb.setPhone=function(t){return new e.util.Promise(function(e,n){e(t)})},e.cb.phoneChange=function(t){return function(n){e.phone=t.value,e._changed=!0}},e.cb.phoneInput=function(t){return function(n){e.phone=t.value,e._changed=!0}},e.cb.phoneBlur=function(t){return function(t){e.waitUntilReady().then(function(){e.onBlurTimeout&&(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null),e.onBlurTimeout=setTimeout(function(){var t;e.anyActive()||!e.util.shouldBeChecked()||window.EnderecoIntegrator.hasSubmit||(clearTimeout(e.onBlurTimeout),e.onBlurTimeout=null,e.active&&e.hasLoadedExtension("PhoneCheckExtension")&&(e._awaits++,e.phoneStatus=[],e.util.checkPhone().then(function(n){e.config.phoneFormat&&n.status.includes("phone_format_needs_correction")?((t=n.status).push("phone_correct"),t.push("phone_format_"+e.config.phoneFormat.toLowerCase()),-1!==t.indexOf("phone_format_unknown")&&t.splice(t.indexOf("phone_format_unknown"),1),-1!==t.indexOf("phone_format_needs_correction")&&t.splice(t.indexOf("phone_format_needs_correction"),1),-1!==t.indexOf("phone_needs_correction")&&t.splice(t.indexOf("phone_needs_correction"),1),e.phone=n.predictions[0].phone,e.phoneStatus=t):e.phoneStatus=n.status}).catch(function(t){e.phoneStatus=[],console.log("Failed checking phone",t,e)}).finally(function(){e._awaits--,e._changed=!1})))},300)}).catch()}},Object.defineProperty(e,"phone",{get:function(){return this._phone},set:function(t){e._awaits++,e.util.Promise.resolve(t).then(function(t){e._awaits++,e.cb.setPhone(t).then(function(t){var n=e._phone,r=t;n!==r&&(e._phone=r,e._changed=!0,e._subscribers.phone.forEach(function(e){e.value=r}),e.active&&e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"phone",oldValue:n,newValue:r,object:e}})))}).catch(function(t){e.config.showDebugInfo&&console.log("Error resolving phoneFull",t)}).finally(function(){e._awaits--})}).catch().finally(function(){e._awaits--})}}),e.fieldNames.push("phone"),e.config.showDebugInfo&&console.log("PhoneExtension applied"),n(t)})}},tc=ec,nc={name:"PhoneCheckExtension",extend:function(e){var t=this;return new e.util.Promise(function(n,r){e.waitForExtension("PhoneExtension").then(function(){e._phoneStatus=[],e._subscribers.phoneStatus=[],e.phoneCheckRequestCounter=1,e.config.templates.statusWrapper='<div data-id="{{ExtendableOb
1ject.id}}" class="endereco-status-wrapper"> <ul class="endereco-status-wrapper-list"> {{#statuses}} <li class="endereco-status-wrapper-list__item endereco-status-wrapper-list__item--{{status}}">{{text}}</li> {{/statuses}} {{#requiredFormat}} <li class="endereco-status-wrapper-list__item endereco-status-wrapper-list__item--phone_format_hint">{{{requiredFormat}}}</li> {{/requiredFormat}} </ul> </div> ',void 0===e.config.ux.showPhoneStatus&&(e.config.ux.showPhoneStatus=!1),e.cb.phoneStatusChange=function(t){return function(n){e.phoneStatus=t.value}},e.util.shouldBeChecked=function(){return!!e.phone&&!!e._changed},Object.defineProperty(e,"phoneStatus",{get:function(){return this._phoneStatus},set:function(t){var n=e._phoneStatus;e._awaits++,e.util.Promise.resolve(t).then(function(t){var r,o=t;n!==o&&("mobile"===e.numberType&&!o.includes("phone_is_mobile")&&o.length>0?(-1!==(r=o.indexOf("phone_correct"))&&o.splice(r,1),o.push("phone_wrong_type"),o.push("phone_should_be_mobile")):"fixedLine"===e.numberType&&!o.includes("phone_is_fixed_line")&&o.length>0&&(-1!==(r=o.indexOf("phone_correct"))&&o.splice(r,1),o.push("phone_wrong_type"),o.push("phone_should_be_fixed")),e._phoneStatus=o,e._subscribers.phoneStatus.forEach(function(e){e.value=t}),e.fire(new e.util.CustomEvent("change",{detail:{fieldName:"phoneStatus",oldValue:n,newValue:o,object:e}})),e.config.ux.showPhoneErrors&&e.util.renderStatusMessages())}).catch().finally(function(){e._awaits--})}}),e.util.renderStatusMessages=function(){var t=[],n="",r={};if(Array.isArray(e.phoneStatus)&&(e.phoneStatus.forEach(function(n){e.config.texts.statuses[n]&&!r[n]&&(t.push({status:n,text:e.config.texts.statuses[n]}),r[n]=!0)}),t=t.filter(function(e,t,n){return n.indexOf(e)===t}),document.querySelectorAll('.endereco-status-wrapper[data-id="'+e.id+'"]')&&document.querySelectorAll('.endereco-status-wrapper[data-id="'+e.id+'"]').forEach(function(e){e.remove()}),0<t.length)){e.config.phoneFormat&&e.config.texts.requiredFormat[e.config.phoneFormat]&&e.phoneStatus.includes("phone_format_needs_correction")&&(n=e.config.texts.requiredFormat[e.config.phoneFormat]);var o=e.util.Mustache.render(e.config.templates.statusWrapper,{ExtendableObject:e,statuses:t,requiredFormat:n});e._subscribers.phone.forEach(function(e){e.object.insertAdjacentHTML("afterend",o)})}},e.util.checkPhone=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t||(t=e.phone),e._phoneStatus=[],new e.util.Promise(function(n,r){var o,i={jsonrpc:"2.0",id:e.phoneCheckRequestCounter,method:"phoneCheck",params:{phone:t}};e.countryCode?i.params.countryCode=e.countryCode:i.params.countryCode=null!==(o=window.EnderecoIntegrator.defaultCountry)&&void 0!==o?o:"DE";e.config.phoneFormat&&(i.params.format=e.config.phoneFormat),e._awaits++,e.util.axios.post(e.config.apiUrl,i,{timeout:6e3,headers:{"X-Auth-Key":e.config.apiKey,"X-Agent":e.config.agentName,"X-Remote-Api-Url":e.config.remoteApiUrl,"X-Transaction-Referer":window.location.href,"X-Transaction-Id":e.hasLoadedExtension("SessionExtension")?e.sessionId:"not_required"}}).then(function(t){void 0!==t.data.result?(e.hasLoadedExtension("SessionExtension")&&e.sessionCounter++,n(t.data.result)):r(t.data)}).catch(function(e){r(e.response)}).finally(function(){e.phoneCheckRequestCounter++,e._awaits--})})},e.config.showDebugInfo&&console.log("PhoneCheckExtension applied"),n(t)}
1).catch(function(){console.log("Failed to load because of timeout"),r(t)})})}},rc=nc;var oc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Xr;return t.type="phone",t.name="phoneservices",t.numberType="general",t._flagContainerDom=void 0,t.config=b()(t.config,e),t.mapping=[{iso2:"DE",code:"+49",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#D80027" width="512" height="341.337"/> <rect y="85.331" width="512" height="113.775"/> <rect y="312.882" fill="#FFDA44" width="512" height="113.775"/> </svg> '},{iso2:"AT",code:"+43",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="114" fill="#FFFFFF" width="513" height="114"/> <rect y="0" fill="#D80027" width="513" height="114"/> <rect y="228" fill="#D80027" width="513" height="114"/> </svg> '},{iso2:"CH",code:"+41",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 85.333 342 342"> <rect y="85.337" fill="#ff0000" width="513" height="342"/> <polygon fill="#FFFFFF" points="356.174,222.609 289.391,222.609 289.391,155.826 222.609,155.826 222.609,222.609   155.826,222.609 155.826,289.391 222.609,289.391 222.609,356.174 289.391,356.174 289.391,289.391 356.174,289.391 "/> </svg> '},{iso2:"AF",code:"+93",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#DB3E00" width="513" height="342"/> <rect x="331" y="0" fill="#479900" width="182" height="342"/> <rect y="0" width="181.8" height="342"/> <path fill="#FFFFFF" d="M256,126.7c-19.4,0-35.2,15.8-35.2,35.2v52.8h70.4v-52.8C291.2,142.4,275.4,126.7,256,126.7z"/> <path fill="#FFFFFF" d="M256,84.3c-47.7,0-86.4,38.7-86.4,86.4S208.3,257,256,257c47.7,0,86.4-38.7,86.4-86.4S303.7,84.3,256,84.3z\n\t M256,242c-39.4,0-71.4-32-71.4-71.4c0-39.4,32-71.4,71.4-71.4c39.4,0,71.4,32,71.4,71.4C327.4,210.1,295.4,242,256,242z"/> </svg> '},{iso2:"AL",code:"+355",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="15 0 60 60"> <rect x="0" fill="#ED2024" width="90" height="60"/> <polygon fill="#212121" points="32.5,12.2 32.5,28.2 39.6,30.7 34.6,35.6 37,38.6 42.3,33.1 43.5,35.4 40.5,40.3 44.1,45.9 42.3,48.5\n\t45.1,52.1 47.8,48.4 46.3,45.8 49.3,40 46.6,35.4 47.8,33.1 53,38.6 55.5,35.7 50.3,30.6 57.5,28 57.5,12.2 52.3,14.1 52.2,17.9\n\t48.9,18.2 48.9,15.6 50.6,13.3 56.2,11.1 53.9,10.7 55.3,9.5 56.2,9.9 55.4,8.5 54,9 53,7.9 47.5,9 48.9,10.1 45.1,15 41.3,10.2\n\t42.6,9.1 37.6,7.9 36.2,9 34.7,8.6 33.9,10 34.8,9.4 36.4,10.5 34.1,11 39.6,13 41.2,15.3 41.2,18.2 37.9,17.9 37.9,14.3 "/> <g> <rect x="26.2" y="25" fill="#212121" width="6.4" height="2.5"/> <rect x="26.2" y="20.9" fill="#212121" width="6.4" height="2.7"/> <rect x="26.2" y="16.7" fill="#212121" width="6.4" height="2.6"/> <rect x="26.2" y="12.7" fill="#212121" width="6.4" height="2.5"/> </g> <g> <rect x="57.4" y="25" fill="#212121" width="6.4" height="2.5"/> <rect x="57.4" y="20.9" fill="#212121" width="6.4" height="2.7"/> <rect x="57.4" y="16.7" fill="#212121" width="6.4" height="2.6"/> <rect x="57.4" y="12.7" fill="#212121" width="6.4" height="2.5"/> </g> <rect x="53.4" y="36.1" fill="#212121" width="6.4" height="1.9"/> <rect x="30.2" y="36.1" fill="#212121" width="6.4" height="1.9"/> </svg> '},{iso2:"DZ",code:"+213",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="88.764 0 341.3 341.3"> <rect y="0" fill="#41662E" width="512" height="341.3"/> <rect x="256" y="0" fill="#FFFFFF" width="256" height="341.3"/> <g> <polygon fill="#D80027" points="341.5,105.3 312.1,145.7 264.6,130.3 294,170.7 264.6,211.1 312.1,195.7 341.5,236.1 341.5,186.1\n\t\t389,170.6 341.5,155.2 \t"/> <path fill="#D80027" d="M309.9,276.7c-58.5,0-106-47.5-106-106s47.5-106,106-106c18.3,0,35.4,4.6,50.4,12.7\n\t\tc-23.5-23-55.7-37.2-91.2-37.2c-72,0-130.4,58.4-130.4,130.4s58.4,130.4,130.4,130.4c35.5,0,67.7-14.2,91.2-37.2\n\t\tC345.4,272,328.2,276.7,309.9,276.7z"/> </g> </svg> '},{iso2:"AS",code:"+1-684",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="171 0 342 342"> <rect fill="#10338c" width="513" height="342"/> <polygon fill="#D80027" points="513,33 95.3,171 513,310.76 513,341.33 0,171 513,0 "/> <polyline fill="#FFFFFF" points="513,287.18 513,311.76 81.72,171 513,30 513,54.16 "/> <path fill="#A2001D" d="M476.98,140.21l-21.89,10.68l-3.18-15.32l31.19-29.77c0,0-9.42-40.65-13.75-44.98l-112.32,55.82l-6.84,36.76\n\tl-31.9,28.59l-0.4,34.2l34.29-22.76l67.23-2.66l-1.51,38.11h22.23l11.9-44.64l31.55-24.61L476.98,140.21z"/> <polygon fill="#EFC100" stroke="#231F20" stroke-miterlimit="10" points="317.89,238.41 295.65,227.3 317.89,216.19 462.35,216.19 462.35,238.41 "/> </svg> '},{iso2:"AD",code:"+376",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <style>.st0{fill:#FFDA44}.st1{fill:#0052B4}.st2{fill:#D80027}.st3{fill:none;stroke:#D80027;stroke-width:7;stroke-miterlimit:10}.st4{fill:none;stroke:#D80027;stroke-width:4;stroke-miterlimit:10}.st5{fill:#BC8B00}</style> <rect fill="#FFDA44" width="513" height="342"/> <rect fill="#0052B4" width="171" height="342"/> <rect x="342" fill="#D80027" width="171" height="342"/> <rect x="198.9" y="113.6" fill="#D80027" width="57.1" height="64.8"/> <g stroke="#D80027" stroke-width="7"> <line x1="267.6" y1="113.6" x2="267.6" y2="178.3"/> <line x1="284.2" y1="113.6" x2="284.2" y2="178.3"/> <line x1="300.8" y1="113.6" x2="300.8" y2="178.3"/> </g> <g stroke="#D80027" stroke-width="5"> <line x1="247.4" y1="178.4" x2="247.4" y2="243.1"/> <line x1="234.1" y1="178.4" x2="234.1" y2="243.1"/> <line x1="220.8" y1="178.5" x2="220.8" y2="232.4"/> <line x1="207.1" y1="178.5" x2="207.1" y2="225.6"/> </g> <polygon fill="#FFDA44" points="199.9,146 227.5,113.6 256,145.9 227.9,178.3 "/> <path fill="#BC8B00" d="M182.2,95.9v92.2c0,34.3,27.3,54.2,48.6,64.5c-0.8,1.4,25.1,8.3,25.1,8.3s25.9-6.9,25.1-8.3\n\tc21.4-10.3,48.6-30.1,48.6-64.5V95.9H182.2z M312.1,188.1c0,16.9-10,29.4-32.8,43.9c-8.6,5.5-17.5,9-23.3,11\n\tc-5.8-2-14.7-5.5-23.3-11c-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2L312.1,188.1z"/> <rect x="264.4" y="188.9" fill="#D80027" width="29.5" height="8.6"/> <rect x="264.4" y="206.5" fill="#D80027" width="29.5" height="8.6"/> </svg> '},{iso2:"AO",code:"+244",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="100.89 0 342 342"> <rect fill="#000000" y="171" width="513" height="171"/> <rect fill="#D80027" class="st0" width="513" height="171"/> <g fill="#FFDA44">
1 <polygon points="332.7,135.6 350.2,127 342.8,108 324.1,114.2 "/> <polygon points="287.1,79.6 292.6,60.8 273.5,53.6 265.5,71.6 "/> <polygon points="316.5,102.8 328.7,87.5 313.8,73.6 299.6,87.2 "/> <polygon points="335.9,171.7 355.4,170.9 355.4,149.6 332.5,149.8 "/> <polygon points="323.3,209.8 342.1,215.3 349.4,196.3 331.4,188.3 "/> <polygon points="294.3,242.2 309.2,254.9 323.6,240.5 310.5,225.8 "/> <polygon points="247.3,94.5 257.1,114.4 279,117.7 263.1,133.2 266.7,155.1 247.1,144.7 227.4,154.9 231.2,133\n  \t215.4,117.5 237.4,114.4 "/> <path d="M250.8,61.3l-2.7,18.3c43.1,3.2,77,39.2,77,83.1c0,46-37.3,82.9-83.4,83.4c-29.2,0.3-51.3-14.8-67-33.7\n  \tl-13.9,12.3c15,19,40.8,39.9,80.9,39.9c56.3,0,101.9-45.6,101.9-101.9C343.7,109.5,302.9,65.8,250.8,61.3z"/> <path fill="#000000" d="M291.9,223.4l-11.8,14c0,0,51.9,38.9,53.6,40.4c1.7,1.5,5.2,2,9.1-2.7c3.7-4.5,2.8-8.1,0.9-9.7\n  C341.7,263.9,291.9,223.4,291.9,223.4z"/> <path d="M206.1,157.2c-7.7,10.3-7.5,23.1,2.8,30.9c0,0,135.2,101.5,136.9,103c1.7,1.5,5.2,2,9.1-2.7\n  \tc3.7-4.5,2.8-8.1,0.9-9.7C353.9,277.2,206.1,157.2,206.1,157.2z"/> <polygon points="253.8,256.3 261.1,274.5 280.6,268.5 275.8,249.4 "/> <polygon points="213.4,252.6 211.4,272.1 231.5,275.7 236,256.6 "/> <polygon points="177.7,231.4 167.4,248 183.8,260.1 196.3,244.9 "/> </g> </svg> '},{iso2:"AI",code:"+1-264",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#00318b" width="513" height="342"/> <path fill="#FFFFFF" d="M454.8,265.38c7.94-10.93,13.24-24.27,13.24-40.42V104.89c-10.04,7.54-22.5,12.01-36.02,12.01\n\tc-19.64,0-37.07-9.43-48.03-24.01c-10.95,14.58-28.39,24.01-48.03,24.01c-13.52,0-25.99-4.47-36.02-12v120.06\n\tc0,16.16,5.3,29.5,13.24,40.42L454.8,265.38L454.8,265.38z"/> <path fill="#8DCCFF" d="M310.23,260.98C332.65,296.96,384,309,384,309s51.35-12.04,73.77-48.02H310.23L310.23,260.98z"/> <path fill="#D87B00" d="M396.66,172.21c0.32,1.42,8.72,10.17,17.56,20.15c1.39,1.57-8.74,12.63-6.91,12.59\n\tc4.75-0.12,19.27-17.26,19.34,6.65c0.05,15.94-30,27.51-30,27.51h17.47l0.65,14.96c0,0,4.97-13.34,7.59-16.57\n\tc8.1-9.97,20.18-30.07,34.59-27.1c14.41,2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3\n\tC398.34,171.56,396.14,169.89,396.66,172.21z"/> <path fill="#D87B00" d="M359.69,198.69c1.07-0.99,4.46-12.63,8.69-25.28c0.67-1.99,15.31,1.27,14.35-0.3\n\tc-2.47-4.06-24.58-8.08-3.9-20.08c13.79-8,38.82,12.27,38.82,12.27l-8.72-15.14l12.64-8.03c0,0-14.05,2.35-18.14,1.69\n\tc-12.68-2.04-36.13-2.48-40.75-16.45c-4.62-13.97-5.25,18.79-5.25,18.79s-10.56,12.08-6.4,22.88c3.66,9.5,4.96,13.64,6.97,26.73\n\tC358.29,197.56,357.94,200.3,359.69,198.69z"/> <path fill="#D87B00" d="M395.67,219.87c-1.39-0.43-13.16,2.49-26.22,5.18c-2.06,0.42-6.59-13.88-7.47-12.26\n\tc-2.27,4.17,5.36,25.31-15.41,13.45c-13.84-7.91-8.89-39.73-8.89-39.73l-8.71,15.14l-13.29-6.9c0,0,9.09,10.96,10.57,14.84\n\tc4.6,11.99,16,32.49,6.24,43.49c-9.76,11.01,18.88-4.9,18.88-4.9s15.76,3.07,23-5.96c6.38-7.94,9.3-11.14,19.61-19.45\n\tC395.41,221.65,397.95,220.58,395.67,219.87z"/> <g> <polygon fill="#FFFFFF" points="256.5,0 233.4,0 160,48.9 160,0 96,0 96,48.9 22.6,0 0,0 0,22.7 46.1,53.4 0,53.4 0,117.4 46.1,117.4\n\t\t0,148.1 0,171 22.6,171 96,121.8 96,171 160,171 160,121.8 233.4,171 256.5,171 256.5,148.1 209.9,117.4 256.5,117.4\n\t\t256.5,53.4 209.9,53.4 256.5,22.7 \t"/> <polygon fill="#D80027" points="144,0 112,0 112,69.4 0,69.4 0,101.4 112,101.4 112,171 144,171 144,101.4 256.5,101.4 256.5,69.4\n\t\t144,69.4 \t"/> <polygon fill="#D80027" points="0,171 0,159.7 62.5,117.4 85.1,117.4 7.3,171 \t"/> <polygon fill="#D80027" points="7.3,0.1 85.1,53.3 62.5,53.3 0,11.1 0,0.1 \t"/> <polygon fill="#D80027" points="256.5,0.1 256.5,11.1 193.5,53.4 170.9,53.4 248.7,0.1 \t"/> <polygon fill="#D80027" points="248.7,171 170.9,117.4 193.5,117.4 256.5,159.7 256.5,171 \t"/> </g> </svg> '},{iso2:"AQ",code:"+672",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="124 0 496 496"> <path fill="#3A7DCE" d="M0,0h744v496H0V0z"/> <polygon fill="#ffffff" points="120,125 210,188 264,174 287,93 348,57 440,71 545,126 551,216 585,228 585,320 520,435 442,459\n\t\t370,442 388,412 380,380 370,389 208,364 159,279 179,233 130,171 "/> </svg>'},{iso2:"AG",code:"+1-268",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" width="513" height="342"/> <path fill="#0072c6" d="M88.8,136.5c-2.2,12.9-3.4,26.2-3.4,39.8c0,13.6,1.2,27,3.4,39.8L256,228.3l167.2-12.1\n\tc2.2-12.9,3.4-26.2,3.4-39.8s-1.2-27-3.4-39.8"/> <path fill="#FFFFFF" d="M423.2,219H88.8c15.8,69.8,84.7,122.3,167.2,122.3S407.4,288.8,423.2,219z"/> <polygon fill="#FFDA44" points="365.9,136.5 146.1,136.5 191,115.4 167.1,71.9 215.9,81.3 222,32 256,68.2 290,32 296.1,81.3\n\t344.9,71.9 321,115.4 "/> <g fill="#ce1126"> <polygon points="256.5,342 0,0 0,342 \t"/> <polygon points="513,342 513,0 256,342 \t"/> </g> </svg> '},{iso2:"AR",code:"+54",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="512" height="342"/> <rect y="0" fill="#338AF3" width="512" height="114"/> <rect y="228" fill="#338AF3" width="512" height="114"/> <circle fill="#FFDA44" stroke="#d6ab00" stroke-width="5" cx="256.5" cy="171" r="40"/> </svg> '},{iso2:"AM",code:"+374",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#0052B4" width="513" height="342"/> <rect y="0" fill="#D80027" width="513" height="114"/> <rect y="228" fill="#FF9811" width="513" height="114"/> </svg> '},{iso2:"AW",code:"+297",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 242 242"> <rect fill="#338AF3" width="363" height="242"/> <g> <polygon fill="#FFFFFF" points="57,96.9 14.7,78.2 57,59.6 75.6,17.4 94.2,59.6 136.5,78.2 94.2,96.9 75.6,139.1 \t"/> <polygon fill="#f30028" points="75.6,40.6 87.1,66.7 113.2,78.2 87.1,89.7 75.6,115.8 64.1,89.7 38,78.2 64.1,66.7 \t"/> </g> <g fill="#FFDA44"> <rect y="152.2" width="363" height="15.7"/> <rect y="183.6" width="363" height="15.7"/> </g> </svg> '},{iso2:"AU",code:"+61",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#10338c" width="513" height="342"/> <g fill="#FFFFFF"> <path d="M222.2,170.7c0.3-0.3,0.5-0.6,0.8-0.9C222.8,170.1,222.5,170.4,222.2,170.7L222.2,170.7z"/> <polygon points="188,212.6 199,235.5 223.7,229.8 212.7,252.6 232.6,268.4 207.8,274 207.9,299.4 188,283.5\n\t\t168.2,299.4 168.3,274 143.5,268.4 
1163.4,252.6 152.3,229.8 177.1,235.5 \t"/> <polygon points="385.9,241.1 391.1,252 402.9,249.3 397.6,260.2 407.1,267.7 395.3,270.3 395.3,282.5 385.9,274.9\n\t\t376.4,282.5 376.5,270.3 364.7,267.7 374.2,260.2 368.9,249.3 380.7,252 \t"/> <polygon points="337.3,125.1 342.5,136 354.3,133.3 349,144.2 358.5,151.7 346.7,154.4 346.7,166.5 337.3,158.9\n\t\t327.8,166.5 327.9,154.4 316,151.7 325.5,144.2 320.2,133.3 332,136 \t"/> <polygon points="385.9,58.9 391.1,69.8 402.9,67.1 397.6,78 407.1,85.5 395.3,88.2 395.3,100.3 385.9,92.7\n\t\t376.4,100.3 376.5,88.2 364.7,85.5 374.2,78 368.9,67.1 380.7,69.8 \t"/> <polygon points="428.4,108.6 433.6,119.5 445.4,116.8 440.1,127.7 449.6,135.2 437.8,137.8 437.8,150 428.4,142.4\n\t\t418.9,150 418.9,137.8 407.1,135.2 416.6,127.7 411.3,116.8 423.1,119.5 \t"/> <polygon points="398,166.5 402.1,179.2 415.4,179.2 404.6,187 408.8,199.7 398,191.8 387.2,199.7 391.3,187\n\t\t380.6,179.2 393.9,179.2 \t"/> <polygon points="254.8,0 254.8,30.6 209.7,55.7 254.8,55.7 254.8,115 195.7,115 254.8,147.8 254.8,170.7 228.1,170.7\n\t\t154.6,129.8 154.6,170.7 99,170.7 99,122.1 11.6,170.7 -1.2,170.7 -1.2,140.1 44,115 -1.2,115 -1.2,55.7 57.9,55.7 -1.2,22.8\n\t\t-1.2,0 25.5,0 99,40.8 99,0 154.6,0 154.6,48.6 242.1,0 \t"/> </g> <polygon fill="#D80027" points="142.8,0 110.8,0 110.8,69.3 -1.2,69.3 -1.2,101.3 110.8,101.3 110.8,170.7 142.8,170.7 142.8,101.3\n\t254.8,101.3 254.8,69.3 142.8,69.3 "/> <polygon fill="#0052B4" points="154.6,115 254.8,170.7 254.8,154.9 183,115 "/> <polygon fill="#FFFFFF" points="154.6,115 254.8,170.7 254.8,154.9 183,115 "/> <g fill="#D80027"> <polygon points="154.6,115 254.8,170.7 254.8,154.9 183,115 \t"/> <polygon points="70.7,115 -1.2,154.9 -1.2,170.7 -1.2,170.7 99,115 \t"/> </g> <polygon fill="#0052B4" points="99,55.7 -1.2,0 -1.2,15.7 70.7,55.7 "/> <polygon fill="#FFFFFF" points="99,55.7 -1.2,0 -1.2,15.7 70.7,55.7 "/> <g fill="#D80027"> <polygon points="99,55.7 -1.2,0 -1.2,15.7 70.7,55.7 \t"/> <polygon points="183,55.7 254.8,15.7 254.8,0 254.8,0 154.6,55.7 \t"/> </g> </svg> '},{iso2:"AZ",code:"+994",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#ef3340" width="513" height="342"/> <rect fill="#00b5e2" width="513" height="114"/> <rect y="228" fill="#509e2f" width="513" height="114"/> <g fill="#FFFFFF"> <path d="M265.6,212.6c-23,0-41.6-18.6-41.6-41.6s18.6-41.6,41.6-41.6c7.2,0,13.9,1.8,19.8,5\n\t\tc-9.2-9-21.9-14.6-35.8-14.6c-28.3,0-51.2,22.9-51.2,51.2s22.9,51.2,51.2,51.2c13.9,0,26.6-5.6,35.8-14.6\n\t\tC279.5,210.8,272.8,212.6,265.6,212.6z"/> <polygon points="297.6,142.2 303.1,157.7 318,150.6 310.9,165.5 326.4,171 310.9,176.5 318,191.4 303.1,184.3\n\t\t297.6,199.8 292.1,184.3 277.2,191.4 284.3,176.5 268.8,171 284.3,165.5 277.2,150.6 292.1,157.7 \t"/> </g> </svg> '},{iso2:"BS",code:"+1-242",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#ffc72c" width="512" height="341.326"/> <g> <rect y="85.337" fill="#00778b" width="512" height="113.775"/> <rect y="312.888" fill="#00778b" width="512" height="113.775"/> </g> <polygon points="256,256.006 0,426.668 0,85.331 "/> </svg> '},{iso2:"BH",code:"+973",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="61.452 0 341.3 341.3"> <polygon fill="#D80027" points="0,0 512,0 512,341.3 0,341.3 "/> <polygon fill="#FFFFFF" points="222.8,34.3 137.6,68.5 222.8,102.6 137.6,136.7 222.8,170.8 137.6,204.9 222.8,239 137.6,273.1\n\t222.8,307.2 137.6,341.3 0,341.3 0,0 137.6,0 "/> </svg> '},{iso2:"BD",code:"+880",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="49.59 85.333 342 342"> <rect y="85.331" fill="#2d6e41" width="513" height="342"/> <circle fill="#F40B32" cx="218.902" cy="256.5" r="115"/> </svg> '},{iso2:"BB",code:"+1-246",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#ffc726" width="513" height="342"/> <g fill="#00267f"> <rect y="0" width="171" height="342"/> <rect x="342" y="0" width="171" height="342"/> </g> <path d="M325.74,101.02l-31.97,12.4c-0.68,1.35-5.79,7.54-8.18,53.06h-17.05v-60.42l-12.54-27.38l-12.54,27v60.8H226.4\n\tc-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c0.15,0.31,15.4,31.34,15.4,78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54\n\tc0-24.13,4.17-44.02,7.68-56.46c3.82-13.57,7.7-21.49,7.74-21.57L325.74,101.02z"/> </svg> '},{iso2:"BY",code:"+375",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
1ox="3.42 0 342 342"> <rect fill="#007C30" width="513" height="342"/> <polyline fill="#CE1720" points="0,230 513,230 513,0 513,0 0,0 0,0 "/> <polygon fill="#FFFFFF" points="100,230 100,215.1 100,0 0,0 0,342 513,342 513,342 100,342 "/> <g fill="#CE1720"> <polygon points="28,159.6 8.6,128.2 28,97.4 47.3,128.2 "/> <polygon points="72.6,159.6 53.3,128.2 72.6,97.4 92,128.2 "/> <polygon points="28,241.2 8.6,209.8 28,179 47.3,209.8 "/> <polygon points="72.6,241.2 53.3,209.8 72.6,179 92,209.8 "/> </g> <g fill="none" stroke="#CE1720" stroke-width="7"> <polygon points="28,73.8 11.9,47.8 28,22.2 44,47.8 "/> <polygon points="72.6,73.8 56.6,47.8 72.6,22.2 88.7,47.8 "/> <polygon points="28,318 11.9,291.9 28,266.3 44,291.9 "/> <polygon points="72.6,318 56.6,291.9 72.6,266.3 88.7,291.9 "/> </g> </svg> '},{iso2:"BE",code:"+32",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#fdda25" width="513" height="342"/> <rect y="0" width="171" height="342"/> <rect x="342" y="0" fill="#ef3340" width="171" height="342"/> </svg> '},{iso2:"BZ",code:"+501",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="93.885 0 341.3 341.3"> <rect y="0" fill="#003e87" width="512" height="341.3"/> <g> <circle fill="#FFFFFF" cx="260.9" cy="170.9" r="118.9"/> <circle fill="none" stroke="#6DA544" stroke-width="18" stroke-miterlimit="10" cx="261.9" cy="173.1" r="94.5"/> </g> <g stroke="#000000" stroke-width="1"> <path fill="#003e87" d="M261.9,151.5l-50.6,23.4v20c0,11.8,6.1,22.8,16.2,28.9l34.5,15.2l34.5-15.2c10-6.2,16.2-17.1,16.2-28.9v-20\n\t\tL261.9,151.5z"/> <rect x="211.3" y="128.1" fill="#FFDA44" width="101.3" height="46.7"/> </g> <g fill="#ce1127"> <rect y="0" width="512" height="35"/> <rect y="306" width="512" height="35"/> </g> </svg> '},{iso2:"BJ",code:"+229",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="58.14 85.333 342 342"> <rect y="85.333" fill="#008751" width="513" height="342"/> <rect x="196.666" y="85.333" fill="#fcd116" width="316.334" height="171"/> <rect x="196.666" y="256" fill="#e8112d" width="316.334" height="171"/> </svg> '},{iso2:"BM",code:"+1-441",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="116.28 0 342 342"> <rect y="0" fill="#c8102e" width="513" height="342"/> <g> <rect y="0.1" fill="#012169" width="256.5" height="171"/> <polygon fill="#FFFFFF" points="256,0 233.4,0 160,48.9 160,0 96,0 96,48.9 22.6,0 0,0 0,22.7 46.1,53.4 0,53.4 0,117.4 46.1,117.4\n\t\t0,148.1 0,170.7 22.6,170.7 96,121.8 96,170.7 160,170.7 160,121.8 233.4,170.7 256,170.7 256,148.1 209.9,117.4 256,117.4\n\t\t256,53.4 209.9,53.4 256,22.7 \t"/> <polygon fill="#c8102e" points="144,0 112,0 112,69.4 0,69.4 0,101.4 112,101.4 112,170.7 144,170.7 144,101.4 256,101.4 256,69.4\n\t\t144,69.4 \t"/> <polygon fill="#c8102e" points="0,170.7 0,159.7 62.5,117.4 85.1,117.4 7.3,170.7 \t"/> <polygon fill="#c8102e" points="7.3,0.1 85.1,53.3 62.5,53.3 0,11.1 0,0.1 \t"/> <polygon fill="#c8102e" points="256,0.1 256,11.1 193.5,53.4 170.9,53.4 248.7,0.1 \t"/> <polygon fill="#c8102e" points="248.7,170.7 170.9,117.4 193.5,117.4 256,159.7 256,170.7 \t"/> </g> <g transform="translate(13 5)"> <path fill="#ffffff" d="M303.9,94.94v99.69c0,59.81,79.75,99.69,79.75,99.69s79.75-39.88,79.75-99.69V94.94H303.9z"/> <path fill="#2F8F22" d="M436.37,254.44H330.93c23.13,25.08,52.72,39.88,52.72,39.88S413.24,279.52,436.37,254.44z"/> <circle fill="#65B5D2" cx="383.65" cy="214.56" r="39.88"/> <circle fill="#c8102e" cx="343.77" cy="194.63" r="19.94"/> <circle fill="#c8102e" cx="423.52" cy="194.63" r="19.94"/> <circle fill="#c8102e" cx="383.65" cy="154.75" r="19.94"/> </g> </svg> '},{iso2:"BT",code:"+975",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect fill="#FF7415" width="512" height="341.3"/> <polyline fill="#FFDA44" points="512,0 0,0 0,341.3 "/> <path fill="none" stroke="#FFFFFF" stroke-width="42" stroke-miterlimit="10" d="M128.7,255.5c0,0,35,54,67.3,32.4c56.9-37.9-68.9-108.6-2.9-152.6c58.3-38.8,76.6,103.5,137.6,62.8\n\tc59-39.3-64.7-111.4-9.2-148.4c33.4-22.2,67.1,32.6,67.1,32.6"/> </svg> '},{iso2:"BO",code:"+591",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"><path fill="#d52b1e" d="M0 0h513v114H0z"/><path fill="#f9e300" d="M0 114h513v114H0z"/><path fill="#007934" d="M0 228h513v114H0z"/></svg> '},{iso2:"BA",code:"+387",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
1ox="85.5 0 342 342"> <rect fill="#10338C" width="513.1" height="342"/> <polyline fill="#F6C500" points="99.9,0 441.9,0 441.9,342 "/> <g> <polygon fill="#FFFFFF" points="19.9,21.1 40.3,6.2 60.9,21 54,0 26.7,0 \t"/> <polygon fill="#FFFFFF" points="92.3,25.5 84.4,1.3 76.6,25.5 51.3,25.5 71.8,40.3 64,64.3 84.4,49.5 105,64.3 97.1,40.3 117.6,25.4\n\t\t"/> <polygon fill="#FFFFFF" points="136.3,69.2 128.5,45.2 120.7,69.2 95.5,69.2 115.9,84.1 108.1,108.1 128.5,93.3 149.1,108.1\n\t\t141.3,84.1 161.7,69.2 \t"/> <polygon fill="#FFFFFF" points="179.4,112.3 171.6,88.2 163.8,112.3 138.5,112.3 159,127.2 151.2,151.2 171.6,136.4 192.2,151.2\n\t\t184.3,127.2 204.8,112.2 \t"/> <polygon fill="#FFFFFF" points="222.5,155.3 214.7,131.3 206.9,155.3 181.5,155.3 202.1,170.3 194.3,194.3 214.7,179.4 235.1,194.3\n\t\t227.3,170.3 247.9,155.3 \t"/> <polygon fill="#FFFFFF" points="265.6,198.4 257.8,174.4 250,198.4 224.6,198.4 245.2,213.3 237.4,237.4 257.8,222.5 278.2,237.4\n\t\t270.4,213.2 290.9,198.4 \t"/> <polygon fill="#FFFFFF" points="308.7,241.5 300.8,217.5 293,241.5 267.7,241.5 288.2,256.3 280.3,280.5 300.9,265.6 321.3,280.4\n\t\t313.5,256.3 334,241.5 \t"/> <polygon fill="#FFFFFF" points="351.7,284.6 343.9,260.4 336.1,284.6 310.8,284.6 331.2,299.4 323.4,323.5 343.9,308.6 364.4,323.5\n\t\t356.6,299.4 377,284.6 \t"/> <polygon fill="#FFFFFF" points="387,303.5 379.1,327.6 353.8,327.7 373.6,342 400.2,342 420.1,327.6 394.8,327.6 \t"/> </g> </svg> '},{iso2:"BW",code:"+267",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#6da9d2"> <rect y="238" width="513" height="104"/> <rect y="0" width="513" height="104"/> </g> <rect y="125.5" width="513" height="89.656"/> </svg> '},{iso2:"BR",code:"+55",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#009b3a" width="513" height="342"/> <polygon fill="#fedf00" points="256.5,19.3 461.4,170.7 256.5,322 50.6,170.7   "/> <circle fill="#FFFFFF" cx="256.5" cy="171" r="80.4"/> <path fill="#002776" d="M215.9,165.7c-13.9,0-27.4,2.1-40.1,6c0.6,43.9,36.3,79.3,80.3,79.3c27.2,0,51.3-13.6,65.8-34.3\n  C297,185.7,258.7,165.7,215.9,165.7z"/> <path fill="#002776" d="M334.9,186c0.9-5,1.5-10.1,1.5-15.4c0-44.4-36-80.4-80.4-80.4c-33.1,0-61.5,20.1-73.9,48.6\n  c10.9-2.2,22.1-3.4,33.6-3.4C262.5,135.5,304.7,154.9,334.9,186z"/> </svg> '},{iso2:"IO",code:"+246",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <path fill="#FFFFFF" d="M0-0.3h513V342H0V-0.3z"/> 
vendor: 3,891 bytes, line 1
1<path fill="#0052B4" d="M462.9,198.1c-4,0-14-5-21-9c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-16,9-20,9s-14-5-20-9c-11-6-22-12-32.1-12\n\tc-9,0-20,6-31.1,12c-7,4-16,9-20,9s-13-5-20-9c-11-6-22-12-31.1-12c-10,0-21,6-32.1,12c-6,4-16,9-20,9s-13-5-20-9\n\tc-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-17,9-21,9s-13-5-20-9c-10-6-20-12-30.1-12v22l19,10c11,6,21,12,31.1,12s21-6,32.1-12\n\tc6-4,16-10,20-10s13,6,20,10c11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-10,21-10s13,6,20,10c11,6,21,12,31.1,12s20-6,31.1-12\n\tc7-4,16-10,20-10s14,6,21,10c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-10,20-10s14,6,20,10c11,6,22,12,32.1,12s20-6,31.1-12l19-10\n\tv-22c-10,0-20,6-30.1,12C475.9,193.1,466.9,198.1,462.9,198.1z M0,31.7l19,10c11,6,21,12,31.1,12s21-6,32.1-12c6-4,16-10,20-10\n\ts13,6,20,10c11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-10,21-10s13,6,20,10c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-10,20-10\n\ts14,6,21,10c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-10,20-10s14,6,20,10c11,6,22,12,32.1,12s20-6,31.1-12l19-10v-22\n\tc-10,1-20,6-30.1,12c-7,4-16,9-20,9s-14-5-21-9c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-16,9-20,9s-14-5-20-9c-11-6-22-12-32.1-12\n\ts-20,6-31.1,12c-7,4-16,9-20,9s-13-5-20-9c-11-6-22-12-31.1-12s-21,6-32.1,12c-6,4-16,9-20,9s-13-5-20-9c-11-6-21-12-31.1-12\n\ts-20,6-31.1,12c-7,4-17,9-21,9s-13-5-20-9c-10-6-20-11-30.1-12V31.7z M462.9,86.9c-4,0-14-5-21-9c-11-6-21-12-31.1-12s-20,6-31.1,12\n\tc-7,4-16,9-20,9s-14-5-20-9c-11-6-22-12-32.1-12c-9,0-20,6-31.1,12c-7,4-16,9-20,9s-13-5-20-9c-11-6-22-12-31.1-12\n\tc-10,0-21,6-32.1,12c-6,4-16,9-20,9s-13-5-20-9c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-17,9-21,9s-13-5-20-9c-10-6-20-12-30.1-12\n\tv22l19,9c11,6,21,12,31.1,12s21-6,32.1-12c6-4,16-9,20-9s13,5,20,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-9,21-9s13,5,20,9\n\tc11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,21,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,20,9\n\tc11,6,22,12,32.1,12s20-6,31.1-12l19-9v-22c-10,0-20,6-30.1,12C475.9,81.8,466.9,86.9,462.9,86.9z M513,120.9c-10,1-20,6-30.1,12\n\tc-7,4-16,10-20,10s-14-6-21-10c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-16,10-20,10s-14-6-20-10c-11-6-22-12-32.1-12s-20,6-31.1,12\n\tc-7,4-16,10-20,10s-13-6-20-10c-11-6-22-12-31.1-12s-21,6-32.1,12c-6,4-16,10-20,10s-13-6-20-10c-11-6-21-12-31.1-12s-20,6-31.1,12\n\tc-7,4-17,10-21,10s-13-6-20-10c-10-6-20-11-30.1-12v23c4,1,13,5,19,9c11,6,21,12,31.1,12s21-6,32.1-12c6-4,16-9,20-9s13,5,20,9\n\tc11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-9,21-9s13,5,20,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,21,9\n\tc11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,20,9c11,6,22,12,32.1,12s20-6,31.1-12c6-4,15-8,19-9V120.9z M462.9,254.2\n\tc-4,0-14-5-21-9c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-16,9-20,9s-14-5-20-9c-11-6-22-12-32.1-12c-9,0-20,6-31.1,12\n\tc-7,4-16,9-20,9s-13-5-20-9c-11-6-22-12-31.1-12c-10,0-21,6-32.1,12c-6,4-16,9-20,9s-13-5-20-9c-11-6-21-12-31.1-12s-20,6-31.1,12\n\tc-7,4-17,9-21,9s-13-5-20-9c-10-6-20-12-30.1-12v22l19,9c11,6,21,12,31.1,12s21-6,32.1-12c6-4,16-9,20-9s13,5,20,9\n\tc11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-9,21-9s13,5,20,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,21,9\n\tc11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,20,9c11,6,22,12,32.1,12s20-6,31.1-12l19-9v-22c-10,0-20,6-30.1,12\n\tC475.9,249.2,466.9,254.2,462.9,254.2z M513,288.2c-10,1-20,6-30.1,12c-7,4-16,10-20,10s-14-6-21-10c-11-6-21-12-31.1-12\n\ts-20,6-31.1,12c-7,4-16,10-20,10s-14-6-20-10c-11-6-22-12-32.1-12s-20,6-31.1,12c-7,4-16,10-20,10s-13-6-20-10c-11-6-22-12-31.1-12\n\ts-21,6-32.1,12c-6,4-16,10-20,10s-13-6-20-10c-11-6-21-12-31.1-12s-20,6-31.1,12c-7,4-17,10-21,10s-13-6-20-10c-10-6-20-11-30.1-12\n\tv23c4,0,13,5,19,9c11,6,21,12,31.1,12s21-6,32.1-12c6-4,16-9,20-9s13,5,20,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,17-9,21-9\n\ts13,5,20,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,21,9c11,6,21,12,31.1,12s20-6,31.1-12c7-4,16-9,20-9s14,5,20,9\n\tc11,6,22,12,32.1,12s20-6,31.1-12c6-4,15-9,19-9V288.2z"/>
1 <path fill="#FFFFFF" d="M0-0.3h256v171H0V-0.3z"/> <path fill="#496E2D" d="M278,170.7"/> <g fill="#A2001D"> <path d="M389.8,119.9H408v78.8h-18.3L389.8,119.9L389.8,119.9z M389.8,237.7H408v75.1h-18.3L389.8,237.7L389.8,237.7z"/> <path d="M0-85.3"/> <path d="M0-85.3"/> </g> <g fill="#D80027"> <path d="M144-0.3h-32v70H0v32h112v69h32v-69h112v-32H144V-0.3z"/> <path d="M0-0.3v15l57,39h23L0-0.3z"/> <path d="M256-0.3v15l-57,39h-23L256-0.3z"/> <path d="M0-0.3v15l57,39h23L0-0.3z"/> <path d="M256-0.3v15l-57,39h-23L256-0.3z"/> <path d="M0,170.7v-15l57-38h23L0,170.7z"/> <path d="M256,170.7v-15l-57-38h-23L256,170.7z"/> </g> <g fill="#2E52B2"> <path d="M0,22.7v31h46L0,22.7z M96-0.3v49l-73-49C23-0.3,96-0.3,96-0.3z"/> <path d="M256,22.7v31h-46L256,22.7z M160-0.3v49l73-49C233-0.3,160-0.3,160-0.3z"/> <path d="M0,22.7v31h46L0,22.7z M96-0.3v49l-73-49C23-0.3,96-0.3,96-0.3z"/> <path d="M256,22.7v31h-46L256,22.7z M160-0.3v49l73-49C233-0.3,160-0.3,160-0.3z"/> <path d="M0,147.7v-30h46L0,147.7z M96,170.7v-49l-73,49H96z"/> <path d="M256,147.7v-30h-46L256,147.7z M160,170.7v-49l73,49H160z"/> </g> <path fill="#5DA51E" stroke="#45602C" stroke-width="4" stroke-miterlimit="10" d="M462.8,91.5h-29.1l25.7-25.7c4.5-4.4,4.5-11.4,0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8,0l-25.9,25.9V37.4\n\tc0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2,0-11.3,5.1-11.3,11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9,0l-3.6,3.6\n\tc-4.7,4.7-4.7,12.4,0,17.2l25,25.4h-30.6c-6,0-10.9,4.9-10.9,10.9v4.6c0,6,4.9,10.9,10.9,10.9H369l-20.7,20.7\n\tc-4.4,4.4-4.4,11.4,0,15.8l3.4,3.4c4.4,4.4,11.4,4.4,15.8,0l19.6-19.6V167c0,6.1,5.1,11.1,11.3,11.3h4.7c6.2,0,11.3-5.1,11.3-11.3\n\tv-28.3l22.2,22.6c4.7,4.7,12.4,4.7,17.1,0l3.6-3.6c4.7-4.7,4.7-12.4,0-17.2L435.2,118h27.6c5.9,0,10.7-4.9,10.9-10.9v-4.6\n\tC473.7,96.4,468.8,91.5,462.8,91.5z"/> <path fill="#5DA51E" d="M0,0"/> <path fill="#E2DD24" stroke="#525625" stroke-width="4" stroke-miterlimit="10" d="M439.2,249.1h-79.8c0,0-0.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7c15.9-10.9,33.7,0.8,48.2,0.8\n\tc11.8,0.1,26.9-14,45-0.8c12.2,8.9,3.9,28.2-1.3,36.7C436.9,238.8,439.2,249.1,439.2,249.1z"/> </svg>'},{iso2:"VG",code:"+1-284",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="112.64 85.333 341.333 341.333"> <rect y="85.334" fill="#0052B4" width="512" height="341.337"/> <polygon fill="#FFFFFF" points="256,85.334 256,202.66 209.931,202.66 256,233.38 256,255.997 233.372,255.997 160,207.078   160,255.997 96,255.997 96,207.078 22.628,255.997 0,255.997 0,233.38 46.069,202.66 0,202.66 0,138.66 46.069,138.66 0,107.951   0,85.334 22.628,85.334 96,134.241 96,85.334 160,85.334 160,134.241 233.372,85.334 "/> <g> <polygon fill="#D80027" points="144,85.33 112,85.33 112,154.663 0,154.663 0,186.663 112,186.663 112,255.997 144,255.997    144,186.663 256,186.663 256,154.663 144,154.663  "/> <polygon fill="#D80027" points="0,85.329 0,100.412 57.377,138.663 80,138.663  "/> <polygon fill="#D80027" points="256,85.329 256,100.412 198.623,138.663 176,138.663  "/> </g> <polygon fill="#2E52B2" points="256,107.951 256,138.663 209.931,138.663 "/> <g> <polygon fill="#D80027" points="0,85.329 0,100.412 57.377,138.663 80,138.663  "/> <polygon fill="#D80027" points="256,85.329 256,100.412 198.623,138.663 176,138.663  "/> </g> <polygon fill="#2E52B2" points="256,107.951 256,138.663 209.931,138.663 "/> <g> <polygon fill="#D80027" points="0,255.997 0,240.915 57.377,202.663 80,202.663  "/> <polygon fill="#D80027" points="256,255.997 256,240.915 198.623,202.663 176,202.663  "/> </g> <path fill="#FFDA44" d="M384,259.706l-46.129,46.129c8.645,16.675,26.051,28.074,46.129,28.074  c20.078,0,37.484-11.4,46.129-28.074L384,259.706z"/> <path fill="#6DA544" d="M332.058,178.084v81.623v0.001l0,0C332.059,299.467,384,311.649,384,311.649  s51.941-12.182,51.942-51.942l0,0v-0.001v-81.622H332.058z"/> <rect x="372.87" y="215.181" fill="#FFFFFF" width="22.261" height="59.359"/> <circle fill="#A2001D" cx="384" cy="215.181" r="11.13"/> <g> <rect x="346.902" y="192.92" fill="#FFDA44" width="14.84" height="14.84"/> <rect x="346.902" y="226.312" fill="#FFDA44" width="14.84" height="14.84"/> <rect x="346.902" y="259.703" fill="#FFDA44" width="14.84" height="14.84"/> <rect x="406.261" y="192.92" fill="#FFDA44" width="14.84" height="14.84"/> <rect x="406.261" y="226.312" fill="#FFDA44" width="14.84" height="14.84"/> <rect x="406.261" y="259.703" fill="#FFDA44" width="14.84" height="14.84"/> </g> </svg> '},{iso2:"BN",code:"+673",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="93.869 0 341.33 341.33"> <rect y="0" fill="#FFDA44" width="512" height="341.33"/> <polygon fill="#000000" points="0,193.74 512,320.93 512,214.26 0,97.08 "/> <polyline fill="#FFFFFF" points="512,234.26 512,147.59 0,20.41 0,107.08 "/> <g> <path fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10" d="M306.4,134.01c3.87,7.14,6.07,15.33,6.07,24.02c0,21.55-13.51,39.94-32.52,47.19v-59.51\n\t\tc5.7-1.19,10-6.37,10-12.59c6.9,0,12.5-5.75,12.5-12.85
1h-0.42c6.9,0,12.91-5.75,12.91-12.85h-34.99V76.58l-14.99-27.71l-15,27.71\n\t\tv30.84h-34.99c0,7.1,6.01,12.85,12.91,12.85h-0.42c0,7.1,5.6,12.85,12.5,12.85c0,6.22,4.29,11.4,9.99,12.59v61.37\n\t\tc-22.09-5.39-38.48-25.3-38.48-49.05c0-8.7,2.2-16.88,6.07-24.02c-10.96,11.21-17.72,26.53-17.72,43.44\n\t\tc0,34.32,27.82,62.15,62.15,62.15s62.15-27.83,62.15-62.15C324.12,160.54,317.35,145.21,306.4,134.01z"/> <path fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10" d="M198.46,226.81c0,0,20.69,27.71,66.5,27.71s66.5-27.71,66.5-27.71l13.47,28.37c0,0-21.03,27.71-79.97,27.71\n\t\ts-79.97-27.71-79.97-27.71L198.46,226.81z"/> <polygon fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10" points="129.24,133.18 150.12,133.18 175.05,160.44 175.05,233.89 148.77,233.89 148.77,165.52 \t"/> <polygon fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10" points="400,133.18 379.12,133.18 354.19,160.44 354.19,233.89 380.46,233.89 380.46,165.52 \t"/> </g> </svg> '},{iso2:"BG",code:"+359",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#00966e" width="512" height="341.326"/> <rect y="85.337" fill="#FFFFFF" width="512" height="113.775"/> <rect y="312.888" fill="#d62612" width="512" height="113.775"/> </svg> '},{iso2:"BF",code:"+226",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#3d944f" width="513" height="342"/> <rect y="0" fill="#ef2b2d" width="513" height="171"/> <polygon fill="#FFDA44" points="256,102.6 272.9,154.6 327.6,154.6 283.4,186.8 300.2,238.8 256,206.7 211.8,238.8 228.6,186.8\n  184.4,154.6 239.1,154.6 "/> </svg> '},{iso2:"BI",code:"+257",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#D80027" width="513" height="342"/> <g fill="#47a644"> <polygon points="215.9,170.7 0,314.6 0,26.8 \t"/> <polygon points="513,26.8 513,314.6 297.1,170.7 \t"/> </g> <polygon fill="#0052B4" points="512,26.8 296.1,170.7 512,314.6 512,341.3 471.9,341.3 256,197.4 40.1,341.3 0,341.3 0,314.6\n\t215.9,170.7 0,26.8 0,0 40.1,0 256,143.9 471.9,0 512,0 "/> <polygon fill="#FFFFFF" points="513,26.8 297.1,170.7 513,314.6 513,342 473,342 256,197.4 39,342 0,342 0,314.6 215.9,170.7 0,26.8\n\t\t0,0 40.1,0 256,143.9 471.9,0 513,0 \t"/> <circle fill="#FFFFFF" cx="251.6" cy="170.7" r="100.2"/> <g fill="#D80027" stroke="#47a644" stroke-width="3"> <polygon points="251.4,103.6 258.8,116.5 273.6,116.5 266.2,129.3 273.6,142.1 258.8,142.1 251.4,155 244,142.1\n\t\t229.2,142.1 236.6,129.3 229.2,116.5 244,116.5 \t"/> <polygon points="290.2,170.3 297.6,183.2 312.4,183.2 305,196 312.4,208.8 297.6,208.8 290.2,221.7 282.8,208.8\n\t\t267.9,208.8 275.3,196 267.9,183.2 282.8,183.2 \t"/> <polygon points="213,170.3 220.4,183.2 235.3,183.2 227.9,196 235.3,208.8 220.4,208.8 213,221.7 205.6,208.8\n\t\t190.8,208.8 198.2,196 190.8,183.2 205.6,183.2 \t"/> </g> </svg> '},{iso2:"KH",code:"+855",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <g> <rect y="85.337" fill="#0052B4" width="512" height="113.775"/> <rect y="312.888" fill="#0052B4" width="512" height="113.775"/> </g> <polygon fill="#FFFFFF" points="303.49,281.971 303.49,264.162 291.617,264.162 291.617,240.417 279.745,228.545   267.873,240.417 267.873,216.673 256,204.8 244.127,216.673 244.127,240.417 232.255,228.545 220.383,240.417 220.383,264.162   208.51,264.162 208.51,281.971 196.638,281.971 196.638,299.779 315.362,299.779 315.362,281.971 "/> </svg> '},{iso2:"CM",code:"+237",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#ce1126" width="513" height="342"/> <rect y="0" fill="#007a5e" width="171" height="342"/> <g fill="#fcd116"> <rect x="342" y="0" width="171" height="342"/> <polygon points="256,102.2 273.2,155.2 329,155.2 283.9,188 301.1,241 256,208.3 210.9,241 228.1,188 183,155.2\n\t\t238.8,155.2 \t"/> </g> </svg> '},{iso2:"CA",code:"+1",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#ff0000"> <rect y="0" width="142" height="342"/> <rect x="371" y="0" width="142" height="342"/> <polygon points="306.5,206 356.9,180.8 331.7,168.2 331.7,143 281.3,168.2 306.5,117.8 281.3,117.8 256.1,80\n\t\t230.9,117.8 205.7,117.8 230.9,168.2 180.5,143 180.5,168.2 155.3,180.8 205.7,206 193.1,231.2 243.5,231.2 243.5,269 268.7,269\n\t\t268.7,231.2 319.1,231.2 \t"/> </g> </svg> '},{iso2:"CV",code:"+238",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="17.1 0 342 342"> <rect y="0" fill="#003893" width="513" height="342"/> <g> <rect y="182.2" fill="#cf2027" width="513" height="41.4"/> <rect y="140.8" fill="#FFFFFF" width="513" height="41.4"/> <rect y="223.6" fill="#FFFFFF" width="513" height="41.4"/> </g> <g fill="#f7d116" stroke="#000000"> <polygon points="150.4,70 157.3,91.1 179.5,91.1 161.5,104.2 168.4,125.3 150.4,112.2 132.5,125.3 139.3,104.2\n\t\t121.4,91.1 143.6,91.1 \t"/> <polygon points="150.4,279.7 157.3,300.8 179.5,300.8 161.5,313.8 168.4,335 150.4,321.9 132.5,335 139.3,313.8\n\t\t121.4,300.8 143.6,300.8 \t"/> <polygon points="52.8,208.8 59.7,229.9 81.9,229.9 63.9,242.9 70.8,264.1 52.8,251 34.9,264.1 41.7,242.9 23.8,229.9\n\t\t46,229.9 \t"/>
1 <polygon points="90.1,91 97,112.1 119.2,112.1 101.2,125.1 108.1,146.3 90.1,133.2 72.2,146.3 79,125.1 61,112.1\n\t\t83.3,112.1 \t"/> <polygon points="23.8,162 46,162 52.8,140.9 59.7,162 81.9,162 63.9,175.1 70.8,196.2 52.8,183.2 34.9,196.2\n\t\t41.7,175.1 \t"/> <polygon points="72.2,310.9 79,289.8 61,276.8 83.3,276.8 90.1,255.6 97,276.8 119.2,276.8 101.2,289.8 108.1,310.9\n\t\t90.1,297.9 \t"/> <polygon points="248,208.8 241.1,229.9 218.9,229.9 236.9,242.9 230,264.1 248,251 266,264.1 259.1,242.9 277.1,229.9\n\t\t254.9,229.9 \t"/> <polygon points="210.7,91 203.9,112.1 181.7,112.1 199.6,125.1 192.8,146.3 210.7,133.2 228.7,146.3 221.8,125.1\n\t\t239.8,112.1 217.6,112.1 \t"/> <polygon points="277.1,162 254.9,162 248,140.9 241.1,162 218.9,162 236.9,175.1 230,196.2 248,183.2 266,196.2\n\t\t259.1,175.1 \t"/> <polygon points="228.7,310.9 221.8,289.8 239.8,276.8 217.6,276.8 210.7,255.6 203.9,276.8 181.7,276.8 199.6,289.8\n\t\t192.8,310.9 210.7,297.9 \t"/> </g> </svg> '},{iso2:"KY",code:"+1-345",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="117.76 85.333 341.333 341.333"> <rect y="85.334" fill="#0052B4" width="512" height="341.337"/> <circle fill="#6DA544" cx="384" cy="181.79" r="29.682"/> <rect x="332.054" y="174.377" fill="#D80027" width="103.88" height="44.522"/> <path fill="#496E2D" d="M435.942,255.997v-0.001V255.997z"/> <path fill="#FFDA44" d="M332.058,285.678v29.682h15.616c9.364,9.176,22.18,14.84,36.326,14.84  c14.147,0,26.962-5.664,36.326-14.84h0.776h14.84v-29.682H332.058z"/> <path fill="#338AF3" d="M332.058,211.475v44.522c0,39.759,51.942,51.942,51.942,51.942s51.942-12.182,51.942-51.942v-44.522  H332.058z"/> <g> <path fill="#F3F3F3" d="M383.997,235.256c-12.985,0-12.985,11.873-25.97,11.873s-12.985-11.873-25.97-11.873v20.777   c12.985,0,12.985,11.873,25.97,11.873s12.985-11.873,25.97-11.873c12.986,0,12.986,11.873,25.973,11.873   c12.986,0,12.986-11.873,25.973-11.873v-20.777c-12.986,0-12.986,11.873-25.973,11.873   C396.984,247.128,396.984,235.256,383.997,235.256z"/> <path fill="#F3F3F3" d="M383.997,193.666c-12.985,0-12.985,11.873-25.97,11.873s-12.985-11.873-25.97-11.873v20.777   c12.985,0,12.985,11.873,25.97,11.873s12.985-11.873,25.97-11.873c12.986,0,12.986,11.873,25.973,11.873   c12.986,0,12.986-11.873,25.973-11.873v-20.777c-12.986,0-12.986,11.873-25.973,11.873   C396.984,205.539,396.984,193.666,383.997,193.666z"/> </g> <polygon fill="#FFFFFF" points="256,85.334 256,107.951 209.931,138.66 256,138.66 256,202.66 209.931,202.66 256,233.38   256,255.997 233.372,255.997 160,207.078 160,255.997 96,255.997 96,207.078 22.628,255.997 0,255.997 0,233.38 46.069,202.66   0,202.66 0,138.66 46.069,138.66 0,107.951 0,85.334 22.628,85.334 96,134.241 96,85.334 160,85.334 160,134.241 233.372,85.334 "/> <g> <polygon fill="#D80027" points="144,85.329 112,85.329 112,154.663 0,154.663 0,186.663 112,186.663 112,255.997    144,255.997 144,186.663 256,186.663 256,154.663 144,154.663  "/> <polygon fill="#D80027" points="0,85.329 0,100.411 57.377,138.663 80,138.663  "/> <polygon fill="#D80027" points="256,85.329 256,100.411 198.623,138.663 176,138.663  "/> <polygon fill="#D80027" points="0,85.329 0,100.411 57.377,138.663 80,138.663  "/> <polygon fill="#D80027" points="256,85.329 256,100.411 198.623,138.663 176,138.663  "/> <polygon fill="#D80027" points="0,255.997 0,240.915 57.377,202.663 80,202.663  "/> <polygon fill="#D80027" points="256,255.997 256,240.915 198.623,202.663 176,202.663  "/> </g> </svg> '},{iso2:"CF",code:"+236",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="17.07 0 341.3 341.3"> <rect fill="#d21034" width="512" height="341.3"/> <g fill="#3a9927"> <rect y="170.7" width="211.5" height="85.3"/> <rect x="300.5" y="170.7" width="211.5" height="85.3"/> </g> <polygon fill="#003082" points="0,0 0,0 0,85.3 211.5,85.3 211.5,0 300.5,0 300.5,85.3 512,85.3 512,0 512,0 "/> <g fill="#FFFFFF"> <rect x="300.5" y="85.3" width="211.5" height="85.3"/> <rect y="85.3" width="211.5" height="85.3"/> </g> <g fill="#ffce00"> <polygon points="300.5,341.3 211.5,341.3 211.5,256 0,256 0,341.3 0,341.3 512,341.3 512,341.3 512,256 300.5,256 \t"/> <polygon points="105.7,8.6 114.3,34.8 141.8,34.8 119.5,51 128.1,77.2 105.7,61 83.4,77.2 91.9,51 69.6,34.8\n\t\t97.2,34.8 \t"/> </g> </svg> '},{iso2:"TD",code:"+235",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.337"/> <rect y="85.331" fill="#0052B4" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#D80027" width="170.663" height="341.337"/> </svg> '},{iso2:"CL",code:"+56",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#D80027" width="513" height="342"/> <rect x="196" y="0" fill="#FFFFFF" width="317" height="171"/> <rect y="0" fill="#0037A1" width="196" height="171"/> <polygon fill="#FFFFFF" points="98,24.5 113.1,71 162,71 122.4,99.7 137.6,146.2 98,117.5 58.4,146.2 73.6,99.7 34,71 82.9,71 "/> </svg> '},{iso2:"CN",code:"+86",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="75.24 0 342 342"> <rect fill="#D80027" width="513" height="342"/> <g fill="#FFDA44"> <polygon points="226.8,239.2 217.1,223.6 199.2,228 211.1,213.9 201.4,198.3 218.5,205.2 23
10.3,191.1 229,209.5\n\t\t246.1,216.4 228.2,220.8 \t"/> <polygon points="290.6,82 280.5,97.4 292.1,111.7 274.4,106.9 264.3,122.4 263.3,104 245.6,99.2 262.8,92.6\n\t\t261.8,74.2 273.4,88.5 \t"/> <polygon points="236.2,25.4 234.2,43.7 251,51.3 233,55.1 231,73.4 221.8,57.4 203.9,61.2 216.2,47.5 207,31.6\n\t\t223.8,39.1 \t"/> <polygon points="292.8,161.8 277.9,172.7 283.7,190.2 268.8,179.4 253.9,190.4 259.5,172.8 244.6,162.1 263,162\n\t\t268.6,144.4 274.4,161.9 \t"/> <polygon points="115,46.3 132.3,99.8 188.5,99.8 143.1,132.7 160.4,186.2 115,153.2 69.5,186.2 86.9,132.7 41.4,99.8\n\t97.7,99.8 "/> </g> </svg> '},{iso2:"CX",code:"+61",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="99.006 0 341.3 341.3"> <rect fill="#0021ad" width="512" height="341.3"/> <polyline fill="#1c8a42" points="0,0 512,0 512,341.3 "/> <g fill="#FFFFFF"> <polygon points="77.6,272 83.3,283.9 96.1,280.9 90.4,292.8 100.7,300.9 87.9,303.8 87.9,317 77.6,308.7 67.4,317\n\t\t67.4,303.8 54.6,300.9 64.9,292.8 59.1,280.9 72,283.9 \t"/> <polygon points="40.5,173.1 46.2,185 59,182 53.3,193.8 63.6,202 50.7,204.9 50.8,218.1 40.5,209.8 30.2,218.1\n\t\t30.3,204.9 17.4,202 27.8,193.8 22,182 34.8,185 \t"/> <polygon points="77.6,92.2 83.3,104 96.1,101.1 90.4,112.9 100.7,121.1 87.9,124 87.9,137.1 77.6,128.9 67.4,137.1\n\t\t67.4,124 54.6,121.1 64.9,112.9 59.1,101.1 72,104 \t"/> <polygon points="123.7,155.1 129.4,167 142.2,164 136.5,175.9 146.8,184 134,186.9 134,200.1 123.7,191.9 113.5,200.1\n\t\t113.5,186.9 100.7,184 111,175.9 105.3,164 118.1,167 \t"/> <polygon points="90.8,209.1 95.2,222.8 109.7,222.8 98,231.3 102.5,245 90.8,236.6 79.1,245 83.6,231.3 71.9,222.8\n\t\t86.3,222.8 \t"/> </g> <g> <circle fill="#ffc639" cx="267.1" cy="170.7" r="74.5"/> <path fill="#1c8a42" d="M267.1,220.3h24.8c0,0,10.8-19,0-37.2l24.8-24.8l-12.4-24.8h-12.4c0,0-6.2,18.6-31,18.6s-31-18.6-31-18.6\n\t\th-12.4l12.4,24.8l-12.4,24.8l12.4,12.4c0,0,12.4-24.8,37.2-12.4C267.1,183.1,277.6,198.6,267.1,220.3z"/> </g> <path fill="#ffc639" d="M464.4,92.2c0.6-2.9-0.2-17.6-0.2-20.7c0-21.3-13.9-39.4-33.2-45.7c5.9,12,9.2,25.4,9.2,39.7\n\tc0,4.8-0.4,9.5-1.1,14.1c-2.9-4.7-6.6-8.9-11.2-12.6c-17.1-13.6-40.6-14-57.9-2.5c13.4,2.9,26.3,8.9,37.7,18\n\tc9,7.1,16.2,16.8,21.7,26.1c0,0-17.8,10.9-31,15.1s-42.3,7.9-42.3,7.9c72,12,132-36,132-36C481.6,82.2,472.3,91.6,464.4,92.2z"/> </svg> '},{iso2:"CC",code:"+61",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="151.923 0 341.3 341.3"> <rect y="0" fill="#008000" width="512" height="341.3"/> <g fill="#FFDA44"> <polygon points="422.7,252.4 428.9,265.2 442.7,262 436.5,274.8 447.7,283.6 433.8,286.8 433.8,301 422.7,292.1\n\t\t411.6,301 411.6,286.8 397.8,283.6 408.9,274.8 402.7,262 416.6,265.2 \t"/> <polygon points="376.1,116.1 382.3,129 396.1,125.8 389.9,138.6 401.1,147.4 387.2,150.5 387.2,164.8 376.1,155.9\n\t\t365,164.8 365.1,150.5 351.2,147.4 362.3,138.6 356.1,125.8 370,129 \t"/> <polygon points="413.1,38.3 419.3,51.1 433.1,47.9 426.9,60.7 438.1,69.6 424.2,72.7 424.2,86.9 413.1,78 402,86.9\n\t\t402.1,72.7 388.2,69.6 399.3,60.7 393.1,47.9 407,51.1 \t"/> <polygon points="464.9,96.7 471.1,109.5 485,106.3 478.7,119.1 489.9,128 476,131.1 476.1,145.3 464.9,136.4\n\t\t453.8,145.3 453.9,131.1 440,128 451.2,119.1 444.9,106.3 458.8,109.5 \t"/> <polygon points="436.9,164.8 441.8,179.6 457.4,179.6 444.8,188.8 449.6,203.7 436.9,194.5 424.3,203.7 429.1,188.8\n\t\t416.5,179.6 432.1,179.6 \t"/> </g> <path fill="#FFDA44" d="M306.8,254.7c-49.2,0-89.1-39.9-89.1-89.1s39.9-89.1,89.1-89.1c15.3,0,29.8,3.9,42.4,10.7\n\tC329.4,67.9,302.3,56,272.5,56c-60.5,0-109.6,49.1-109.6,109.6S212,275.3,272.5,275.3c29.8,0,56.9-11.9,76.6-31.3\n\tC336.5,250.8,322.1,254.7,306.8,254.7z"/> <g> <path fill="#FFDA44" d="M140.4,59.5C129.7,41,109.7,28.6,86.8,28.6S44,41,33.3,59.5H140.4z"/> <path fill="#FFDA44" d="M140.6,59.9l-53.8,53.8L33.1,59.9c-5.1,9-8.1,19.4-8.1,30.6c0,34.2,27.7,61.9,61.9,61.9s61.9-27.7,61.9-61.9\n\t\tC148.7,79.3,145.7,68.9,140.6,59.9z"/> <path fill="#A2001D" d="M71.4,98.2v52.2c4.9,1.3,10.1,1.9,15.5,1.9s10.5-0.7,15.5-1.9V98.2H71.4z"/> </g> </svg> '},{iso2:"CO",code:"+57",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <rect y="343.096" fill="#D80027" width="512" height="83.567"/> <rect y="256" fill="#0052B4" width="512" height="87.096"/> </svg> '},{iso2:"KM",code:"+269",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="5.12 85.333 341.333 341.333"> <rect y="85.337" fill="#0052B4" width="512" height="341.326"/> <rect y="85.337" fill="#FFDA44" width="512" height="85.337"/> <rect y="170.663" fill="#FFFFFF" width="512" height="85.337"/> <rect y="256" fill="#D80027" width="512" height="85.337"/> <polygon fill="#6DA544" points="256,256.006 0,426.668 0,85.331 "/> <g> <path fill="#FFFFFF" d="M68.638,256c0-24.865,17.476-45.638,40.812-50.734c-3.587-0.784-7.308-1.208-11.13-1.208   c-28.688,0-51.942,23.255-51.942,51.942s23.255,51.942,51.942,51.942c3.822,0,7.543-0.425,11.13-1.208   C86.113,301.638,68.638,280.865,68.638,256z"/> <polygon fill="#FFFFFF" points="108.877,211.478 111.639,219.981 120.579,219.981 113.347,225.237 116.109,233.739    108.877,228.484 101.643,233.739 104.407,225.237 97.173,219.981 106.113,219.981  "/> <polygon fill="#FFFFFF" points="108.877,233.739 111.639,242.242 120.579,242.242 113.347,247.497 116.109,256    108.877,250.745 101.643,256 104.407,247.497 97.173,242.242 106.113,242.242  "/> <polygon fill="#FFFFFF" points="108.877,256 111.639,264.503 120.579,264.503 113.347,269.758 116.109,278.261    108.877,273.006 101.643,278.261 104.407,269.758 97.
1173,264.503 106.113,264.503  "/> <polygon fill="#FFFFFF" points="108.877,278.261 111.639,286.763 120.579,286.763 113.347,292.019 116.109,300.522    108.877,295.267 101.643,300.522 104.407,292.019 97.173,286.763 106.113,286.763  "/> </g> </svg> '},{iso2:"CK",code:"+682",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 85.333 342 342"> <rect y="85.332" fill="#01237a" width="513" height="342"/> <g> <polygon fill="#FFFFFF" points="384,156.705 389.283,172.959 406.372,172.959 392.546,183.004 397.827,199.258 384,189.211    370.175,199.258 375.455,183.004 361.63,172.959 378.719,172.959  "/> <polygon fill="#FFFFFF" points="313.791,185.786 329.019,193.544 341.103,181.461 338.43,198.34 353.657,206.099    336.778,208.772 334.104,225.652 326.344,210.425 309.466,213.098 321.552,201.014  "/> <polygon fill="#FFFFFF" points="284.71,255.995 300.964,250.714 300.965,233.625 311.009,247.45 327.263,242.168    317.217,255.995 327.263,269.821 311.009,264.541 300.965,278.366 300.965,261.276  "/> <polygon fill="#FFFFFF" points="313.791,326.204 321.55,310.975 309.466,298.891 326.347,301.565 334.104,286.338    336.778,303.217 353.657,305.889 338.43,313.648 341.103,330.53 329.019,318.443  "/> <polygon fill="#FFFFFF" points="384,355.284 378.719,339.031 361.628,339.031 375.455,328.986 370.175,312.732 384,322.776    397.827,312.732 392.546,328.986 406.372,339.031 389.283,339.031  "/> <polygon fill="#FFFFFF" points="454.209,326.204 438.98,318.446 426.897,330.53 429.57,313.648 414.343,305.892    431.222,303.217 433.897,286.338 441.653,301.565 458.534,298.891 446.448,310.976  "/> <polygon fill="#FFFFFF" points="483.29,255.995 467.036,261.276 467.036,278.366 456.991,264.54 440.737,269.821    450.783,255.995 440.737,242.168 456.991,247.45 467.036,233.625 467.036,250.714  "/> <polygon fill="#FFFFFF" points="454.209,185.788 446.452,201.014 458.534,213.098 441.653,210.425 433.897,225.652    431.222,208.772 414.343,206.097 429.57,198.34 426.897,181.462 438.981,193.544  "/> <path fill="#FFFFFF" d="M0,186.665v16h46.069L0,233.377v7.539l57.377-38.252H80L0,255.998h112v-69.334H0z M96,255.996   H22.628L96,207.083V255.996z"/> <path fill="#FFFFFF" d="M176,138.665l80-53.334H144v69.334h112v-16h-46.069L256,107.951v-7.539l-57.377,38.251H176V138.665z    M160,85.333h73.372L160,134.246V85.333z"/> <path fill="#FFFFFF" d="M144,255.998h112l-80-53.334h22.623L256,240.917v-7.539l-46.069-30.713H256v-16H144V255.998z    M160,207.083l73.372,48.913H160V207.083z"/> <path fill="#FFFFFF" d="M112,85.331H0l80,53.334H57.377L0,100.413v7.539l46.069,30.712H0v16h112V85.331z M96,134.246   L22.628,85.333H96V134.246z"/> </g> <g> <polygon fill="#D80027" points="144,85.331 112,85.331 112,154.665 0,154.665 0,186.665 112,186.665 112,255.998    144,255.998 144,186.665 256,186.665 256,154.665 144,154.665  "/> <polygon fill="#D80027" points="80,138.665 0,85.331 0,100.413 57.377,138.665  "/> <polygon fill="#D80027" points="176,138.665 198.623,138.665 256,100.413 256,85.331  "/> <polygon fill="#D80027" points="57.377,202.665 0,240.917 0,255.998 80,202.665  "/> <polygon fill="#D80027" points="176,202.665 256,255.998 256,240.917 198.623,202.665  "/> </g> </svg> '},{iso2:"CR",code:"+506",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.326"/> <rect y="211.473" fill="#D80027" width="512" height="89.043"/> <g> <rect y="352.462" fill="#0052B4" width="512" height="74.207"/> <rect y="85.331" fill="#0052B4" width="512" height="74.207"/> </g> </svg> '},{iso2:"HR",code:"+385",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#FFFFFF" width="513" height="342"/> <rect fill="#D80027" width="513" height="114"/> <rect y="228" fill="#0052B4" width="513" height="114"/> <g fill="#338AF3"> <polygon points="309.3,113.2 309.3,69.2 326.8,54.8 344.5,69.2 344.5,113.2 \t"/> <polygon points="203.7,113.2 203.7,69.2 186.4,54.8 168.5,69.2 168.5,113.2 \t"/> <polygon points="238.9,113.2 238.9,69.2 256.5,54.8 274.1,69.2 274.1,113.2 \t"/> </g> <g fill="#0052B4"> <polygon points="309.3,113.2 274.1,113.2 274.1,69.2 291.6,54.8 309.3,69.2 "/> <polygon points="238.9,113.2 203.7,113.2 203.7,69.2 221.2,54.8 238.9,69.2 "/> </g> <path stroke="#D80027" stroke-width="1" fill="#FFFFFF" d="M168.5,113.2v101.9c0,24.3,14.4,46.2,35.4,59.4c21.3,13.4,42.1,14.7,52.6,14.7c10.5,0,31.4-1.7,52.6-14.8\n\tc21-13,35.4-35.1,35.4-59.3V113.2L168.5,113.2z"/> <g fill="#D80027"> <rect x="168.5" y="113.2" width="35.2" height="35.2"/> <rect x="238.9" y="113.2" width="35.2" height="35.2"/> <rect x="309.3" y="113.2" width="35.2" height="35.2"/> <rect x="203.7" y="148.4" width="35.2" height="35.2"/> <rect x="274.1" y="148.4" width="35.2" height="35.2"/> <rect x="168.5" y="183.6" width="35.2" height="35.2"/> <rect x="203.7" y="218.8" width="35.2" height="35.2"/> <rect x="238.9" y="183.6" width="35.2" height="35.2"/> <rect x="309.3" y="183.6" width="35.2" height="35.2"/> <rect x="274.1" y="218.8" width="35.2" height="35.2"/> <path d="M309.3,274.3c8.6-5.4,16.2-12.3,22-20.3h-22V274.3z"/> <path d="M181.7,254c5.8,8,13.3,14.9,22,20.4V254H181.7z"/> <path d="M238.9,254v33.7c7.2,1.2,13.3,1.5,17.6,1.5c4.3,0,10.4-0.3,17.6-1.6V254H238.9z"/> </g> </svg> '},{iso2:"CU",code:"+53",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 341.3 341.3"> <polygon fill="#FF9811" points="0,-40.8 0,-40.8 0,382.1 0,382.1 0,170.7 "/> <rect fill="#FFFFFF" width="512" height="341.3"/> <g> <rect fill="#0052B4" width="512" height="68.3"/> <rect y="136.5" fill="#0052B4" width="512" height="68.3"/> <rect y="273.1" fill="#0052B4" width="512" height="68.3"/> </g> <polygon fill="#D80027" points="256,170.7 0,341.3 0,0 "/> <polygon fill="#FFFFFF" points="86.5,111.4 99.2,150.6 140.5,150.6 107.1,174.8 119.9,214.1 86.5,189.9 53.1,214.1 65.9,174.8\n  32.5,150.6 73.7,150.6 "/> </svg> '},{iso2:"CW",code:"+599",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="11.97 0 342 342"> <rect y="0" fill="#002b7f" width="513" height="342"/> <rect y="233.5" fill="#f9e814" width="513" height="51"/> <g fill="#FFFFFF"> <polygon points="168.7,86.5 181.6,126.3 223.4,126.3 189.6,150.8 202.5,190.5 168.7,166 134.9,190.5 147.8,150.8\n\t\t114,126.3 155.8,126.3 \t"/> <polygon points="85.4,32.5 93.2,56.4 118.2,56.4 97.9,71.1 105.7,94.9 85.4,80.2 65.1,94.9 72.9,71.1 52.6,56.4\n\t\t77.7,56.4 \t"/> </g> </svg> '},{iso2:"CY",code:"+357",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#FFFFFF" width="513" height="342"/> <path fill="#DB7D00" d="M141.7,154.7c0,0,0.2,67.1,74.7,65.3l4.5,13.9h8.9c0,0-7.4-41.1,60.1-41.5c0,0,0-27.6,27.6-27.6s41.5,0,41.5,0\n\ts-66-51.8,58.9-118l1.8-13.1c0,0-129.9,71-198.9,57.2c0,0,10.7,42.5-10.8,42.5c-10.8,0-9.7-8.1-32.3-8.1\n\tc-18.7,0-17.3,19.7-26.3,19.5c-8.9-0.2-18.8-12.3-19.6-10.2C131.1,136.7,141.7,154.7,141.7,154.7z"/> <g fill="#006651"> <path d="M237.2,308.1c6.9-5,13-6.6,22.4-8.3s19.4-4.4,24.6-5.8s-17.7,6.6-23.5,8.3\n\t\tC254.9,303.9,237.2,308.1,237.2,308.1z"/> <path d="M275.1,293.4c-1.9-11.9,2.8-24.3,13.5-29.3C291.1,272.7,283.4,287.3,275.1,293.4z"/> <path d="M293.3,287.2c-5.8-9.8,4-22.6,11.1-28.8C307.7,264.4,301.9,282.1,293.3,287.2z"/> <path d="M310.2,279.6c-6.2-8.4,1.1-23.2,8.8-29C322.1,258.8,319.1,273.8,310.2,279.6z"/> <path d="M327.1,269c-5.6-8-1.7-20.4,6.3-28.4C339.2,247.2,334.3,261.6,327.1,269z"/> <path d="M340.6,258.3c-4.7-7.5,1.1-25.4,8.6-30.4C352.5,234.5,350,253.3,340.6,258.3z"/> <path d="M351.4,255.5c-1.4-10.8,17.4-22.7,25.2-22.4C375.7,242,367.7,251.7,351.4,255.5z"/> <path d="M340.9,267.7c8.8-9.1,26-9.1,32.1-7.2C371.3,265.8,351.1,277.4,340.9,267.7z"/> <path d="M328.7,276.8c12.4-3.3,20.5-6.1,27.9,1.7C351.4,285.1,331.2,283.2,328.7,276.8z"/> <path d="M311,284.8c11.9-6.4,26.3,3,28.5,8.6C326.2,298.9,310.8,286.2,311,284.8z"/> <path d="M294.7,294c10.8-4.1,23.2,1.4,28.2,7.5C317.1,304.2,301.9,307.2,294.7,294z"/> <path d="M279.8,298.7c12.4-1.4,24.4,8,27,13.4C290.9,313.6,284.8,308.9,279.8,298.7z"/>
1 <path d="M275.8,308.1c-6.9-5-13-6.6-22.4-8.3c-9.4-1.7-19.4-4.4-24.6-5.8c-5.3-1.4,17.7,6.6,23.5,8.3\n\t\tC258.1,303.9,275.8,308.1,275.8,308.1z"/> <path d="M237.9,293.4c1.9-11.9-2.8-24.3-13.5-29.3C221.9,272.7,229.6,287.3,237.9,293.4z"/> <path d="M219.7,287.2c5.8-9.8-4-22.6-11.1-28.8C205.3,264.4,211.1,282.1,219.7,287.2z"/> <path d="M202.8,279.6c6.2-8.4-1.1-23.2-8.8-29C190.9,258.8,193.9,273.8,202.8,279.6z"/> <path d="M185.9,269c5.6-8,1.7-20.4-6.3-28.4C173.8,247.2,178.7,261.6,185.9,269z"/> <path d="M172.4,258.3c4.7-7.5-1.1-25.4-8.6-30.4C160.5,234.5,163,253.3,172.4,258.3z"/> <path d="M161.6,255.5c1.4-10.8-17.4-22.7-25.2-22.4C137.3,242,145.3,251.7,161.6,255.5z"/> <path d="M172.1,267.7c-8.8-9.1-26-9.1-32.1-7.2C141.7,265.8,161.9,277.4,172.1,267.7z"/> <path d="M184.3,276.8c-12.4-3.3-20.5-6.1-27.9,1.7C161.6,285.1,181.8,283.2,184.3,276.8z"/> <path d="M202,284.8c-11.9-6.4-26.3,3-28.5,8.6C186.8,298.9,202.2,286.2,202,284.8z"/> <path d="M218.3,294c-10.8-4.1-23.2,1.4-28.2,7.5C195.9,304.2,211.1,307.2,218.3,294z"/> <path d="M233.2,298.7c-12.4-1.4-24.4,8-27,13.4C222.1,313.6,228.2,308.9,233.2,298.7z"/> </g> </svg> '},{iso2:"CZ",code:"+420",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="5.12 85.333 341.333 341.333"> <rect y="85.337" fill="#11457e" width="512" height="341.326"/> <polygon fill="#d7141a" points="512,256 512,426.663 0,426.663 215.185,256 "/> <polygon fill="#FFFFFF" points="512,85.337 512,256 215.185,256 0,85.337 "/> </svg> '},{iso2:"CD",code:"+243",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 341.3 341.3"> <rect y="0" fill="#338AF3" width="512" height="341.3"/> <polygon fill="#FFDA44" points="512,66.9 512,0 411.7,0 0,274.4 0,341.3 100.3,341.3 "/> <polygon fill="#D80027" points="512,0 512,40.1 60.2,341.3 0,341.3 0,301.2 451.8,0 "/> <polygon fill="#FFDA44" points="93.6,31.2 109.9,81.6 163,81.6 120.1,112.8 136.5,163.3 93.6,132.1 50.6,163.3 67,112.8 24.1,81.6\n\t77.2,81.6 "/> </svg> '},{iso2:"DK",code:"+45",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="23.94 0 342 342"> <rect fill="#c60c30" width="513" height="342"/> <polygon fill="#FFFFFF" points="190,0 130,0 130,140 0,140 0,200 130,200 130,342 190,342 190,200 513,200 513,140\n\t190,140 "/> </svg> '},{iso2:"DJ",code:"+253",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="13.656 0 341.3 341.3"> <rect y="0" fill="#12ad2b" width="512" height="341.3"/> <polygon fill="#6ab2e7" points="512,0 512,166.7 0,170.8 0,0 "/> <polygon fill="#FFFFFF" points="256,170.7 0,341.3 0,0 "/> <polygon fill="#d7141a" points="89.8,92.5 106.8,144.9 162,144.9 117.4,177.4 134.4,229.8 89.8,197.4 45.2,229.8 62.2,177.4\n\t17.6,144.9 72.8,144.9 "/> </svg> '},{iso2:"DM",code:"+1-767",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#496E2D" width="512" height="341.3"/> <polygon points="0,110.7 0,150.7 0,190.7 0,230.7 512,230.7 512,190.7 512,150.7 512,110.7 "/> <rect y="110.7" fill="#FFDA44" width="512" height="40"/> <rect y="190.7" fill="#FFFFFF" width="512" height="40"/> <rect x="196" y="0" width="120" height="341.3"/> <rect x="196" y="0" fill="#FFDA44" width="40" height="341.3"/> <rect x="274.7" y="0" fill="#FFFFFF" width="40" height="341.3"/> <g> <circle fill="#D80027" cx="256" cy="170.7" r="123.1"/> <g fill="#496E2D"> <polygon points="256,58.6 260.6,72.8 275.6,72.8 263.5,81.7 268.1,95.9 256,87.1 243.9,95.9 248.5,81.7 236.4,72.8\n\t\t\t251.4,72.8 \t\t"/> <polygon points="190.1,80 202.3,88.8 214.4,80 209.8,94.3 221.9,103.1 206.9,103.1 202.3,117.3 197.6,103.1\n\t\t\t182.6,103.1 194.7,94.3 \t\t"/> <polygon points="149.4,136 164.4,136 169,121.8 173.7,136 188.7,136 176.5,144.8 181.2,159.1 169,150.3 156.9,159.1\n\t\t\t161.5,144.8 \t\t"/> <polygon points="149.4,205.3 161.5,196.5 156.9,182.2 169,191 181.2,182.2 176.5,196.5 188.7,205.3 173.7,205.3\n\t\t\t169,219.6 164.4,205.3 \t\t"/> <polygon points="190.1,261.4 194.7,247.1 182.6,238.3 197.6,238.3 202.3,224 206.9,238.3 221.9,238.3 209.8,247.1\n\t\t\t214.4,261.4 202.3,252.5 \t\t"/> <polygon points="256,282.8 251.4,268.5 236.4,268.5 248.5,259.7 243.9,245.4 256,254.2 268.1,245.4 263.5,259.7\n\t\t\t275.6,268.5 260.6,268.5 \t\t"/> <polygon points="321.9,261.4 309.7,252.5 297.6,261.4 302.2,247.1 290.1,238.3 305.1,238.3 309.7,224 314.4,238.3\n\t\t\t329.4,238.3 317.3,247.1 \t\t"/> <polygon points="362.6,205.3 347.6,205.3 343,219.6 338.3,205.3 323.3,205.3 335.5,196.5 330.8,182.2 343,191\n\t\t\t355.1,182.2 350.5,196.5 \t\t"/> <polygon points="362.6,136 350.5,144.8 355.1,159.1 343,150.3 330.8,159.1 335.5,144.8 323.3,136 338.3,136\n\t\t\t343,121.8 347.6,136 \t\t"/> <polygon points="321.9,80 317.3,94.3 329.4,103.1 314.4,103.1 309.7,117.3 305.1,103.1 290.1,103.1 302.2,94.3\n\t\t\t297.6,80 309.7,88.8 \t\t"/> </g>
1 <path fill="#496E2D" d="M279.3,168.7c-11-21.1-14.5-25.1-14.5-25.1s0.4-9.7,0.4-15.6c0-8.8-7.4-15.8-16.5-15.8\n\t\tc-8.6,0-15.7,2.9-16.5,11c-4.2,0.9-8.6,4.1-8.6,10.7c0,4.8,1,7.3,5.2,9.3c2.1-4.6,4.3-4.8,9.3-6.4c0.8,0.6,1.7,3,2.6,3.4l0.3,1\n\t\tc0,0-13.3,6.6-13.3,30.9c0,29.5,22,45.4,22,45.4l-1.8,0.3l-1.9,7.1h22v-7.2l11,17.5C279.3,234.9,289.2,187.6,279.3,168.7z"/> </g> </svg> '},{iso2:"DO",code:"+1-809",flag:Qs},{iso2:"DO",code:"+ 1-829",flag:Qs},{iso2:"DO",code:"+ 1-849",flag:Qs},{iso2:"TL",code:"+670",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <polygon fill="#FFDA44" points="256,256 0,90.691 0,134.933 155.826,256 0,377.067 0,421.309 "/> <polygon points="0,90.691 0,421.309 189.217,256 "/> <polygon fill="#FFFFFF" points="44.184,213.36 69.096,236.937 99.217,220.527 84.494,251.507 109.405,275.082   75.393,270.652 60.67,301.63 54.374,267.914 20.362,263.484 50.481,247.076 "/> </svg> '},{iso2:"EC",code:"+593",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#FFDA44" width="512" height="341.3"/> <rect y="170.7" fill="#0052B4" width="512" height="85.3"/> <rect y="256" fill="#D80027" width="512" height="85.3"/> <circle fill="#FFDA44" cx="256" cy="170.7" r="59.4"/> <path fill="#4C1F00" d="M369.2,79.9c0,0-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7c0,10.3-13.5,12-15.5,12s-2-5.3-14.8-5.3\n\ts-13.7,4.8-15.8,4.8c-2.2,0-14.5-1-14.5-11.5c0-5.2-42.9,4-49.1,7c-6.1,3.1-33.9,16-33.9,16s45.8,2.7,53.9,6.2s43.8,16.5,43.8,16.5\n\tl-2.8,13.3h37.8l-3.8-13.3c0,0,35.1-12.7,43.8-16.5S369.2,79.9,369.2,79.9z"/> <path fill="#57BA17" d="M217.7,171.7c0,21.1,17.2,38.3,38.3,38.3c21.1,0,38.3-17.2,38.3-38.3v-11.5h-76.5V171.7z"/> <path fill="#338AF3" d="M256,110.5c-21.1,0-38.3,17.2-38.3,38.3v11.5h76.5v-11.5C294.3,127.7,277.1,110.5,256,110.5z"/> </svg> '},{iso2:"EG",code:"+20",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <rect y="0" fill="#D80027" width="512" height="113.8"/> <rect y="227.6" width="512" height="113.8"/> <path fill="#C09300" d="M220.3,204.4c0,0,0-58.4,4.5-64.7c3.1-4.3,16.8,5.2,22.7,4.5c0,0,4.2-7.5,4.5-12c0.3-4.6-1.1-7.6-4.9-6.2\n\tc0,0-1.2-2.1,0.5-3.3c1.6-1.2,5.6,0.1,5.6,0.1s-0.5-1,1.6-0.9c2.9,0.2,7.2,1.4,7.4,5.6c0.2,3.1,0.3,7.7,0.4,8.7\n\tc0.7,6.8,2.7,8.7,2.7,8.7s18.4-9.2,22-5.2c3.3,3.8,4.5,64.7,4.5,64.7l-18.1-16.8l12.1,29.5c0,0-14.4,2.4-28.9,2.4\n\tc-14.5,0-31.1-4.2-31.1-4.2l13.8-28.2L220.3,204.4z"/> </svg> '},{iso2:"SV",code:"+503",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <g> <rect y="85.337" fill="#0052B4" width="512" height="113.775"/> <rect y="312.888" fill="#0052B4" width="512" height="113.775"/> </g> <polygon fill="#FFDA44" points="228.582,261.936 256,214.447 283.418,261.936 "/> <polygon fill="#6DA544" points="291.616,277.616 256,295.425 220.384,277.616 220.384,253.872 291.616,253.872 "/> <path fill="#FFDA44" d="M289.579,216.485l-12.592,12.592c5.37,5.372,8.693,12.791,8.693,20.988  c0,16.392-13.289,29.68-29.68,29.68c-16.392,0-29.68-13.289-29.68-29.68c0-8.195,3.322-15.616,8.693-20.988l-12.592-12.592  c-8.594,8.594-13.91,20.466-13.91,33.579c0,26.228,21.261,47.489,47.489,47.489s47.489-21.261,47.489-47.489  C303.489,236.95,298.173,225.077,289.579,216.485z"/> </svg> '},{iso2:"GQ",code:"+240",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="34.2 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect y="0" fill="#6DA544" width="513" height="113.8"/> <rect y="227.6" fill="#D80027" width="513" height="114.4"/> <polygon fill="#0070C8" points="126,170.7 0,341.3 0,0 "/> <path fill="none" stroke="#000000" stroke-miterlimit="10" d="M233.8,139.4v40.4c0,35.6,35.6,35.6,35.6,35.6s35.6,0,35.6-35.6v-40.4H233.8z"/> <polygon fill="#786145" points="264.5,179.8 274.3,179.8 278.3,205.6 260.5,205.6 "/> <path fill="#6DA544" d="M287.2,162c0-9.8-8-14.8-17.8-14.8s-17.8,5-17.8,14.8c-4.9,0-8.9,4-8.9,8.9s4,8.9,8.9,8.9c2.9,0,32.6,0,35.6,0\n\tc4.9,0,8.9-4,8.9-8.9S292.1,162,287.2,162z"/> <g fill="#FFDA00" stroke="#000000" stroke-miterlimit="10"> <polygon points="230.7,120 232.6,123.3 236.4,123.3 234.5,126.6 236.4,129.8 232.6,129.8 230.7,133.1 228.8,129.8\n\t\t225,129.8 226.9,126.6 225,123.3 228.8,123.3 \t"/> <polygon points="246,120 247.9,123.3 251.6,123.3 249.7,126.6 251.6,129.8 247.9,129.8 246,133.1 244.1,129.8\n\t\t240.3,129.8 242.2,126.6 240.3,123.3 244.1,123.3 \t"/> <polygon points="261.3,120 263.2,123.3 266.9,123.3 265,126.6 266.9,129.8 263.2,129.8 261.3,133.1 259.4,129.8\n\t\t255.6,129.8 257.5,126.6 255.6,123.3 259.4,123.3 \t"/> <polygon points="277.1,120 279,123.3 282.8,123.3 280.9,126.6 282.8,129.8 279,129.8 277.1,133.1 275.2,129.8\n\t\t271.5,129.8 273.3,126.6 271.5,123.3 275.2,123.3 \t"/> <polygon points="293.1,120 295,123.3 298.8,123.3 296.9,126.6 298.8,129.8 295,129.8 293.1,133.1 291.2,129.8\n\t\t287.5,129.8 289.3,126.6 287.5,123.3 291.2,123.3 \t"/>
1 <polygon points="308.1,120 310,123.3 313.7,123.3 311.8,126.6 313.7,129.8 310,129.8 308.1,133.1 306.2,129.8\n\t\t302.4,129.8 304.3,126.6 302.4,123.3 306.2,123.3 \t"/> </g> </svg> '},{iso2:"ER",code:"+291",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="22.191 0 341.3 341.3"> <rect y="0" fill="#338AF3" width="512" height="341.3"/> <rect y="0" fill="#56AF35" width="512" height="170.7"/> <path fill="#D80027" d="M0,341.3c0,0,512-170.7,512-170.7L0,0V341.3z"/> <g fill="#ffc945"> <path d="M134.7,231.5c33.6,0,60.8-27.2,60.8-60.8s-27.2-60.8-60.8-60.8s-60.8,27.2-60.8,60.8S101.1,231.5,134.7,231.5z\n\t\t M134.7,255.8c-47,0-85.2-38.1-85.2-85.2s38.1-85.2,85.2-85.2s85.2,38.1,85.2,85.2S181.7,255.8,134.7,255.8z"/> <circle cx="119.5" cy="148.3" r="17.5"/> <circle cx="148.9" cy="158.5" r="17.5"/> <circle cx="134.7" cy="135.2" r="17.5"/> <circle cx="119.5" cy="172.7" r="17.5"/> <circle cx="149.9" cy="182.8" r="17.5"/> <circle cx="122.5" cy="198" r="17.5"/> <circle cx="145.9" cy="205.2" r="17.5"/> </g> </svg> '},{iso2:"EE",code:"+372",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#111111" width="512" height="341.326"/> <rect y="85.337" fill="#368FD8" width="512" height="113.775"/> <rect y="312.888" fill="#FFFFFF" width="512" height="113.775"/> </svg> '},{iso2:"ET",code:"+251",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="3.75 0 15 15"> <path fill="#20AA46" d="M0,0h22.5v5H0V0z"/> <path fill="#E92F3B" d="M0,10h22.5v5H0V10z"/> <path fill="#FADF50" d="M0,5h22.5v5H0V5z"/> <circle fill="#205CCA" cx="11.3" cy="7.5" r="5.2"/> <g stroke="#FFDB3D" fill="none"> <g stroke-width="0.5"> <path d="M11.3,8.8l-2.1,1.5L10,7.9L8,6.4h2.5l0.8-2.3l0.8,2.3l2.6,0l-2.1,1.5l0.8,2.4L11.3,8.8z"/> <line x1="10.3" y1="6.4" x2="12.2" y2="6.4"/> <line x1="9.9" y1="7.8" x2="11.2" y2="8.8"/> <line x1="12" y1="6.2" x2="12.7" y2="8"/> <line x1="10" y1="7.9" x2="10.6" y2="6.1"/> <line x1="11" y1="9" x2="12.6" y2="7.9"/> </g> <g stroke-width="0.25"> <line x1="8.7" y1="3.9" x2="9.8" y2="5.5"/> <line x1="13.8" y1="3.8" x2="12.8" y2="5.4"/> <line x1="11.3" y1="10.1" x2="11.3" y2="12"/> <line x1="8.9" y1="8.3" x2="7.1" y2="9"/> <line x1="15.5" y1="9" x2="13.7" y2="8.3"/> </g> </g> </svg> '},{iso2:"FK",code:"+500",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect fill="#0052B4" width="512" height="341.3"/> <polygon fill="#FFFFFF" points="256,0 256,30.6 210.8,55.7 256,55.7 256,115 196.9,115 256,147.8 256,170.7 229.3,170.7 155.8,129.8\n\t155.8,170.7 100.2,170.7 100.2,122.1 12.7,170.7 0,170.7 0,140.1 45.2,115 0,115 0,55.7 59.1,55.7 0,22.8 0,0 26.7,0 100.2,40.8\n\t100.2,0 155.8,0 155.8,48.6 243.3,0 "/> <polygon fill="#D80027" points="144,0 112,0 112,69.3 0,69.3 0,101.3 112,101.3 112,170.7 144,170.7 144,101.3 256,101.3 256,69.3\n\t144,69.3 "/> <polygon fill="#0052B4" points="155.8,115 256,170.7 256,154.9 184.2,115 "/> <polygon fill="#FFFFFF" points="155.8,115 256,170.7 256,154.9 184.2,115 "/> <g> <polygon fill="#D80027" points="155.8,115 256,170.7 256,154.9 184.2,115 \t"/> <polygon fill="#D80027" points="71.8,115 0,154.9 0,170.7 0,170.7 100.2,115 \t"/> </g> <polygon fill="#0052B4" points="100.2,55.6 0,0 0,15.7 71.8,55.6 "/> <polygon fill="#FFFFFF" points="100.2,55.6 0,0 0,15.7 71.8,55.6 "/> <g> <polygon fill="#D80027" points="100.2,55.6 0,0 0,15.7 71.8,55.6 \t"/> <polygon fill="#D80027" points="184.2,55.6 256,15.7 256,0 256,0 155.8,55.6 \t"/> </g> <g transform="translate(13 4)"> <path fill="#1F8BDE" d="M299.2,190.2v-90c0-8.5,6.5-15.3,15-15.3h120.5c8.3,0,15,6.8,15,15.3v90\n\t\t\tc0,75.2-75.2,105.3-75.2,105.3S299.2,265.4,299.2,190.2z"/> <path fill="#FFFFFF" d="M299.2,190.2v-90c0-8.5,6.5-15.3,15-15.3h120.5c8.3,0,15,6.8,15,15.3v90c0,75.2-75.2,105.3-75.2,105.3\n\t\tS299.2,265.4,299.2,190.2z M378.8,276.5c7.9-4.5,15.9-10,23.2-16.7c20.5-18.5,32.6-41.4,32.6-69.7v-90c0-0.3-120.4-0.3-120.4-0.3\n\t\tl0,90.3c0,28.3,12.1,51.2,32.6,69.7c8.3,7.5,17.6,13.9,27.6,19C375.8,278.2,377.2,277.4,378.8,276.5z"/> <path fill="#187536" d="M334.1,189.4c-2.6-7.9,1.7-14.3,10.1-14.3h60.5c8.2,0,12.8,6.3,10.1,14.3l-5.5,16.5c-2.6,7.9-8.9,9.2-15.8,4\n\t\tc0,0,2.6-4.8-19.1-4.8c-21.7,0-19.1,4.8-19.1,4.8c-6.1,5.7-13.1,4-15.8-4C339.6,206,334.1,189.4,334.1,189.4z"/> <path fill="#FFFFFF" d="M344.4,175.1c8.1,1.6,17.8-15,30.1-15c13.1,0,21.8,17.1,30.1,15c7.4-1.8,15-22.2,15-30.1\n\t\tc0-16.6-20.2-30.1-45.1-30.1c-24.9,0-45.1,13.5-45.1,30.1C329.3,153.5,336,173.5,344.4,175.1z"/> <path fill="#FFFFFF" d="M343,266.7c6.2,0.4,12.5-1.8,17.2-6.5l9-9c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c4.7,4.7,11,6.9,17.1,6.5\n\t\tc5.3-0.3,32.5-33.5,25.7-32.6c-4.6,0.6-9.1,2.8-12.7,6.3c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9\n\t\tc-8.7-8.8-22.9-8.8-31.7-0.1c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3\n\t\tC311,233.1,337.8,266.4,343,266.7z M309.1,206c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c8.8,8.7,22.9,8.7,31.7,0l9-9\n\t\tc2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c8.8,8.7,22.9,8.7,31.7,0l9-9c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0c0,0,5.5-14.8,2.5-15.9\n\t\tc-7.9-2.9-17.2-1.2-23.5,5.2c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-8.7-8.8-22.9-8.8-31.7-0.1\n\t\tc0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-6.2-6.2-15.1-8-22.8-5.5C304.1,191,309.1,206,309.1,206z"/> </g> </svg> '},{iso2:"FO",code:"+298",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="37.554 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <polygon fill="#0F61A5" points="512,214.5 206.2,214.5 206.2,341.3 183.7,341.3 141,341.3 118.4,341.3 118.4,214.5 0,214.5 0,192\n\t0,149.3 0,126.8 118.4,126.8 118.4,0 141,0 183.7,0 206.2,0 206.2,126.8 512,126.8 512,149.3 512,192 "/> <polygon fill="#E50E3D" points="512,149.3 512,192 183.7,192 183.7,341.3 141,341.3 141,192 0,192 0,149.3 141,149.3 141,0 183.7,0\n\t183.7,149.3 "/> </svg> '},{iso2:"FJ",code:"+679",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#2E52B2" width="512" height="341.3"/> <polygon fill="#FFFFFF" points="256,0 256,22.6 209.9,53.3 256,53.3 256,117.3 209.9,117.3 256,148 256,170.7 233.4,170.7 160,121.7\n\t160,170.7 96,170.7 96,121.7 22.6,170.7 0,170.7 0,148 46.1,117.3 0,117.3 0,53.3 46.1,53.3 0,22.6 0,0 22.6,0 96,48.9 96,0 160,0\n\t160,48.9 233.4,0 "/> <g> <polygon fill="#D80027" points="144,0 112,0 112,69.3 0,69.3 0,101.3 112,101.3 112,170.7 144,170.7 144,101.3 256,101.3 256,69.3\n\t\t144,69.3 \t"/> <polygon fill="#D80027" points="0,0 0,15.1 57.4,53.3 80,53.3 \t"/> <polygon fill="#D80027" points="256,0 256,15.1 198.6,53.3 176,53.3 \t"/> <polygon fill="#D80027" points="0,0 0,15.1 57.4,53.3 80,53.3 \t"/> <polygon fill="#D80027" points="256,0 256,15.1 198.6,53.3 176,53.3 \t"/> <polygon fill="#D80027" points="0,170.7 0,155.6 57.4,117.3 80,117.3 \t"/> <polygon fill="#D80027" points="256,170.7 256,155.6 198.6,117.3 176,117.3 \t"/> </g> <g> <path fill="#F3F3F3" d="M307.1,127.1v92c0,61.6,80.5,80.5,80.5,80.5S468,280.6,468,219v-92l-80.5-23L307.1,127.1z"/> <path fill="#D80027" d="M468,132.8V98.3H307.1v34.5h69v69h-69v23v0h69V296c6.9,2.5,11.5,3.5,11.5,3.5s4.6-1.1,11.5-3.5v-71.2h69v0v-23\n\t\th-69v-69H468z"/> </g> </svg> '},{iso2:"FI",code:"+358",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="37.554 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <polygon fill="#2E52B2" points="512,129.3 512,212 203.7,212 203.7,341.3 121,341.3 121,212 0,212 0,129.3 121,129.3 121,0 203.7,0\n\t203.7,129.3 "/> </svg> '},{iso2:"FR",code:"+33",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <rect y="85.331" fill="#0052B4" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#D80027" width="170.663" height="341.337"/> </svg> '},{iso2:"PF",code:"+689",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <g> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#D80027" width="512" height="113.775"/> </g> <path fill="#FFDA44" d="M293.991,256c0,20.982-17.01,33.243-37.992,33.243S218.008,276.982,218.008,256  s17.01-37.992,37.992-37.992S293.991,235.
1018,293.991,256z"/> <path fill="#0052B4" d="M293.991,256c0,20.982-17.01,37.992-37.992,37.992s-37.992-17.01-37.992-37.992"/> <g> <rect x="232.259" y="246.506" fill="#D80027" width="9.498" height="19"/> <rect x="270.247" y="246.506" fill="#D80027" width="9.498" height="19"/> <rect x="251.247" y="232.259" fill="#D80027" width="9.498" height="33.243"/> </g> </svg> '},{iso2:"GA",code:"+241",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <rect y="85.337" fill="#6DA544" width="512" height="113.775"/> <rect y="312.888" fill="#0052B4" width="512" height="113.775"/> </svg> '},{iso2:"GM",code:"+220",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="322.783" fill="#1a7e25" width="512" height="103.88"/> <rect y="85.337" fill="#cf0d19" width="512" height="104.515"/> <rect y="210.877" fill="#0052B4" width="512" height="89.656"/> </svg> '},{iso2:"GE",code:"+995",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="3.975 0 15 15"> <path fill="#FFFFFF" d="M0.8,0h21v15h-21V0z"/> <path fill="#eb000e" d="M9.8,6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3V6z"/> <path fill="#eb000e" d="M17.3,2.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1l-1.2-0.2l0.2,1.2h-1l0.2-1.2l-1.2,0.2v-1L17.3,2.7z M4.6,2.7L4.4,1.5\n\t\th1L5.2,2.7l1.2-0.2v1L5.2,3.3l0.2,1.2h-1l0.2-1.2L3.4,3.5v-1C3.4,2.5,4.6,2.7,4.6,2.7z M4.6,11.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1\n\t\tl-1.2-0.2l0.2,1.2h-1l0.2-1.2l-1.2,0.2v-1C3.4,11.5,4.6,11.7,4.6,11.7z M17.3,11.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1l-1.2-0.2l0.2,1.2\n\t\th-1l0.2-1.2l-1.2,0.2v-1L17.3,11.7z"/> </svg> '},{iso2:"GH",code:"+233",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#496E2D" width="512" height="113.775"/> <polygon points="255.883,199.111 270.002,242.569 310.368,245.769 273.399,272.63 292.852,312.889 255.883,286.03 218.913,312.889   233.036,269.43 196.067,242.569 241.763,242.569 "/> </svg> '},{iso2:"GI",code:"+350",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect y="230" fill="#D80027" width="513" height="112"/> <polygon fill="#D80027" stroke="#000000" stroke-miterlimit="10" points="363.1,131.8 363.1,99.1 374,99.1 374,77.3 352.1,77.3 352.1,88.2 330.3,88.2 330.3,77.3 308.5,77.3\n\t308.5,99.1 319.4,99.1 319.4,131.8 297.6,131.8 297.6,55.5 308.5,55.5 308.5,33.7 286.7,33.7 286.7,44.6 275.8,44.6 275.8,33.7\n\t254,33.7 254,44.6 243.1,44.6 243.1,33.7 221.3,33.7 221.3,55.5 232.2,55.5 232.2,131.8 210.4,131.8 210.4,99.1 221.3,99.1\n\t221.3,77.3 199.5,77.3 199.5,88.2 177.7,88.2 177.7,77.3 155.9,77.3 155.9,99.1 166.8,99.1 166.8,131.8 145,131.8 145,219\n\t384.9,219 384.9,131.8 "/> <path fill="#FFDA44" stroke="#000000" stroke-miterlimit="10" d="M264.9,235.5l-24.2,18.2l19.1,14.3v31.3h-23.2v9l23,0l0,7.9l-23,0v9.3H270V268l19.1-14.3L264.9,235.5z\n\t M264.9,260.8l-10.1-7.1l10.1-7.1l10.1,7.1L264.9,260.8z"/> <path d="M239.6,209.7v-27.9c0,0,0.1-22.3,25-22.3c24.8,0,25.7,22,25.7,22v28.2H239.6z"/> <path d="M170.5,209.7v-24.3c0,0,0.1-18.7,19.6-18.7s20.2,18.4,20.2,18.4v24.5H170.5z"/> <path d="M169.1,209.7v-24.3c0,0,0.1-18.7,19.6-18.7s20.2,18.4,20.2,18.4v24.5H169.1z"/> <path d="M320.9,209.7v-24.3c0,0,0.1-18.7,19.6-18.7c19.5,0,20.2,18.4,20.2,18.4v24.5H320.9z"/> <path d="M329.3,132v-15.7c0,0,0.1-12.1,11.3-12.1c11.3,0,11.7,11.9,11.7,11.9V132H329.3z"/> <path d="M250.5,132v-23.7c0,0,0.1-18.3,14.3-18.3c14.2,0,14.7,18,14.7,18v24H250.5z"/> <path d="M177.5,132v-15.7c0,0,0.1-12.1,11.3-12.1s11.7,11.9,11.7,11.9V132H177.5z"/> </svg> '},{iso2:"GR",code:"+30",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="3.42 0 342 342"> <rect fill="#FFFFFF" width="513" height="342"/> <g fill="#0d5eaf"> <rect y="0" width="513" height="38"/> <rect y="76" width="513" height="38"/> <rect y="152" width="513" height="38"/> <rect y="228" width="513" height="38"/> <rect y="304" width="513" height="38"/> <rect width="190" height="190"/> </g> <g> <rect y="76" fill="#FFFFFF" width="190" height="38"/> <rect x="76" fill="#FFFFFF" width="38" height="190"/> </g> </svg> '},{iso2:"GL",code:"+299",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="90.63 0 342 342"> <rect fill="#D80027" width="513" height="342"/> <polygon fill="#FFFFFF" points="513,0 513,171 0,171 0,0 "/> <circle fill="#FFFFFF" cx="185.8" cy="171.2" r="117.8"/> <path fill="#D80027" d="M68,171c0-65.1,52.8-117.8,117.8-117.8c65.1,0,117.8,52.8,117.8,117.8"/> </svg> '},{iso2:"GD",code:"+1-473",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="75.108 0 341.3 341.3"> <rect y="0" fill="#c60a0a" width="512" height="341.3"/> <polygon fill="#3E8446" points="256,170.7 44.5,296.8 44.5,44.5 "/> <g> <polygon fill="#FFDA44" points="256,170.7 467.5,296.8 44.5,296.8 \t"/>
1 <polygon fill="#FFDA44" points="467.5,44.5 256,170.7 44.5,44.5 \t"/> </g> <polygon fill="#3E8446" points="467.5,44.5 467.5,296.8 256,170.7 "/> <g fill="#FFDA44"> <polygon points="256,10.4 259.3,20.6 270,20.6 261.4,26.9 264.7,37.1 256,30.8 247.3,37.1 250.6,26.9 242,20.6\n\t\t252.7,20.6 \t"/> <polygon points="170.1,10.4 173.4,20.6 184.1,20.6 175.5,26.9 178.8,37.1 170.1,30.8 161.4,37.1 164.7,26.9\n\t\t156.1,20.6 166.8,20.6 \t"/> <polygon points="341.9,10.4 345.2,20.6 356,20.6 347.3,26.9 350.6,37.1 341.9,30.8 333.2,37.1 336.5,26.9 327.9,20.6\n\t\t338.6,20.6 \t"/> <polygon points="256,304.2 259.3,314.4 270,314.4 261.4,320.7 264.7,330.9 256,324.6 247.3,330.9 250.6,320.7\n\t\t242,314.4 252.7,314.4 \t"/> <polygon points="170.1,304.2 173.4,314.4 184.1,314.4 175.5,320.7 178.8,330.9 170.1,324.6 161.4,330.9 164.7,320.7\n\t\t156.1,314.4 166.8,314.4 \t"/> <polygon points="341.9,304.2 345.2,314.4 356,314.4 347.3,320.7 350.6,330.9 341.9,324.6 333.2,330.9 336.5,320.7\n\t\t327.9,314.4 338.6,314.4 \t"/> </g> <g> <circle fill="#c60a0a" cx="244.5" cy="170.7" r="76.2"/> <polygon fill="#FFDA44" points="244.5,110.1 258.1,151.9 302.1,151.9 266.5,177.7 280.1,219.5 244.5,193.7 209,219.5 222.6,177.7\n\t\t187,151.9 231,151.9 \t"/> </g> <path fill="#FFDA44" d="M107.7,167.8c4.4,6.9,2.3,16.1-4.6,20.5s-16.1,2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33S99.7,155.3,107.7,167.8z"/> <circle fill="#A2001D" cx="99.1" cy="182.1" r="7.4"/> </svg> '},{iso2:"GU",code:"+1-671",flag:'<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#D80027" width="512" height="341.3"/> <rect x="11.1" y="11.1" fill="#0052B4" width="489.7" height="319.1"/> <path fill="#7DBEF1" d="M256,285.3c0,0,76.4-51.3,76.4-114.6S256,56,256,56s-76.4,51.3-76.4,114.6S256,285.3,256,285.3z"/> <polygon fill="#1C8AE6" points="179.8,180.7 332.4,180.7 303.1,245.6 207.9,245.6 "/> <path fill="#FFF042" d="M192.3,205.9c0,0,40.5,38.2,51,38.2c12.4,0,12.6-18.4,25.5-25.5c20.2-11.1,51-12.7,51-12.7l-22.8,42.8l-41,36.6\n\tl-46.8-39.7L192.3,205.9z"/> <path fill="#259C7B" d="M256,157.5l-22.5,15.6l7.9-26.2l-21.8-16.5l27.4-0.5l9-25.9l9,25.9l27.4,0.5L270.6,147l7.9,26.2L256,157.5z"/> <path fill="#8E5715" d="M249.7,144.6c-0.9,9.2-1.5,18.4-1.7,27.6c-0.3,11.9,0.3,20.7,2,26c2.2,6.6,7.2,12.9,14.2,18.9\n\tc5.3,4.6,10.6,8.1,14.2,10.1c3.1,1.7,7,0.6,8.7-2.4c1.7-3.1,0.6-7-2.4-8.7l0,0c-4.3-2.5-8.4-5.4-12.2-8.7\n\tc-5.4-4.6-9.1-9.2-10.4-13.3c-1.1-3.4-1.6-11.3-1.4-21.7c0.2-8.9,0.8-17.8,1.7-26.6c0.4-3.5-2.2-6.6-5.7-7\n\tC253.1,138.5,250,141.1,249.7,144.6z"/> <path fill="#FFFFFF" d="M217.8,170.7l25.5,38.2h-25.5V170.7z"/> <path fill="none" stroke="#D80027" stroke-width="12" stroke-miterlimit="10" d="M256,285.3c0,0,76.4-51.3,76.4-114.6S256,56,256,56s-76.4,51.3-76.4,114.6S256,285.3,256,285.3z"/> </svg> '},{iso2:"GT",code:"+502",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g> <rect y="0" fill="#338AF3" width="171" height="342"/> <rect x="342" y="0" fill="#338AF3" width="171" height="342"/> </g> <circle fill="#DCC26D" cx="256" cy="155.8" r="25.5"/> <path fill="#628A40" d="M194.2,155.9c0,22.1,11.8,42.5,30.8,53.5c5.9,3.4,13.5,1.4,16.9-4.5c3.4-5.9,1.4-13.5-4.5-16.9\n\tc-11.5-6.6-18.5-18.9-18.5-32.1c0-6.8-5.5-12.4-12.4-12.4S194.2,149,194.2,155.9z M289.3,208c17.8-11.4,28.6-31,28.5-52.1\n\tc0-6.8-5.5-12.4-12.4-12.4c-6.8,0-12.4,5.5-12.4,12.4c0,12.7-6.5,24.5-17.1,31.3c-5.8,3.6-7.7,11.2-4.1,17c3.6,5.8,11.2,7.7,17,4.1\n\tC289,208.2,289.1,208.1,289.3,208z"/> </svg> '},{iso2:"GG",code:"+44-1481",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#FFFFFF" width="513" height="342"/> <polygon fill="#D80027" points="308,0 204,0 204,118.7 0,118.7 0,222.7 204,222.7 204,342 308,342 308,222.7 513,222.7 513,118.7 308,118.7 "/> <polygon fill="#FFDA44" points="368.6,188 394.6,205.3 394.6,136 368.6,153.3 273.3,153.3 273.3,58.1 290.6,32.1 221.4,32.1 238.7,58.1 238.7,153.3 143.4,153.3 117.4,136 117.4,205.3 143.4,188 238.7,188 238.7,283.2 221.4,309.2 290.6,309.2 273.3,283.2 273.3,188 "/> </svg> '},{iso2:"GN",code:"+224",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#FFDA44" width="512" height="342"/> <rect x="342" fill="#6DA544" width="171" height="342"/> <rect fill="#D80027" width="171" height="342"/> </svg> '},{iso2:"GW",code:"+245",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="18.773 85.333 341.333 341.333"> <rect y="85.331" fill="#6DA544" width="512" height="341.337"/> <rect y="85.331" fill="#FFDA44" width="512" height="170.663"/> <rect y="85.331" fill="#D80027" width="181.793" height="341.337"/> <polygon points="98.32,195.127 113.427,241.624 162.321,241.624 122.766,270.364 137.874,316.862 98.32,288.125 58.764,316.862   73.875,270.364 34.321,241.624 83.212,241.624 "/> </svg> '},{iso2:"GY",code:"+592",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="27 0 600 600"> <path fill="#009E49" d="M0,0h900v600H0V0z"/> <path fill="#FFFFFF" d="M0,0l947,300L0,600V0z"/> <path fill="#FFD00D" d="M0,26.1L870,300L0,573.9V26.1z"/> <path fill="#2D2D2D" d="M0,0l450,300L0,600V0z"/> <path fill="#D3132F" d="M0,35l397.5,265L0,565V35z"/> </svg> '},{iso2:"HT",code:"+509",flag:'<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#A2001D" width="513" height="172"/> <rect y="172" fill="#0052B4" width="513" height="172"/> <polygon fill="#FFFFFF" points="381.4,251.5 270.7,237.7 159.9,251.5 159.9,85.4 381.4,85.4 \t"/> <circle fill="#0052B4" cx="270.7" cy="182.3" r="55.4"/> <circle fill="#A2001D" cx="270.7" cy="182.3" r="27.7"/> <polygon fill="#6DA544" points="229.1,113.1 312.2,113.1 270.7,154.6 \t"/> <rect x="256.8" y="140.8" fill="#FFDA44" width="27.7" height="83"/> <polygon fill="#6DA544" points="314.9,215.5 226.4,215.5 159.9,251.5 381.4,251.5 \t"/> </svg> '},{iso2:"HN",code:"+504",flag:'<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#338AF3"> <rect y="0" width="513" height="114"/> <rect y="228" width="513" height="114"/> <polygon points="203.5,117.9 210.2,134.5 227.8,135.5 213.8,146.4 218.5,164.1 203.5,154.2 188.5,
1164.1 193.2,146.4\n\t\t179.2,135.5 196.8,134.5 \t"/> <polygon points="308.5,117.9 315.2,134.5 332.8,135.5 318.8,146.4 323.5,164.1 308.5,154.2 293.5,164.1 298.2,146.4\n\t\t284.2,135.5 301.8,134.5 \t"/> <polygon points="256,147.6 262.7,164.2 280.3,165.2 266.3,176.1 271,193.8 256,183.9 241,193.8 245.7,176.1\n\t\t231.7,165.2 249.3,164.2 \t"/> <polygon points="203.5,177.3 210.2,193.9 227.8,194.9 213.8,205.8 218.5,223.4 203.5,213.5 188.5,223.4 193.2,205.8\n\t\t179.2,194.9 196.8,193.9 \t"/> <polygon points="308.5,177.3 315.2,193.9 332.8,194.9 318.8,205.8 323.5,223.4 308.5,213.5 293.5,223.4 298.2,205.8\n\t\t284.2,194.9 301.8,193.9 \t"/> </g> </svg> '},{iso2:"HK",code:"+852",flag:'<svg viewBox="3.5 0.5 14 14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFFFFF" d="M0 0h21v15H0z"/><path fill="#ee1c25" d="M0 0h21v15H0z"/><path d="M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z" fill="#FFFFFF"/></g></svg> '},{iso2:"HU",code:"+36",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#6DA544" width="512" height="113.775"/> </svg> '},{iso2:"IS",code:"+354",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="32.427 85.333 341.333 341.333"> <rect y="85.334" fill="#0052B4" width="512" height="341.337"/> <polygon fill="#FFFFFF" points="512,295.883 202.195,295.883 202.195,426.666 183.652,426.666 140.978,426.666   122.435,426.666 122.435,295.883 0,295.883 0,277.329 0,234.666 0,216.111 122.435,216.111 122.435,85.329 140.978,85.329   183.652,85.329 202.195,85.329 202.195,216.111 512,216.111 512,234.666 512,277.329 "/> <polygon fill="#D80027" points="512,234.666 512,277.329 183.652,277.329 183.652,426.666 140.978,426.666 140.978,277.329   0,277.329 0,234.666 140.978,234.666 140.978,85.329 183.652,85.329 183.652,234.666 "/> </svg> '},{iso2:"IN",code:"+91",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <path fill="#181A93" d="M17.3,0h478.4v342H17.3V0z"/> <path fill="#FFA44A" d="M0,0h513v114H0V0z"/> <path fill="#1A9F0B" d="M0,228h513v114H0V228z"/> <path fill="#FFFFFF" d="M0,114h513v114H0V114z"/> <ellipse fill="#FFFFFF" cx="256.5" cy="171" rx="34.2" ry="34.2"/> <path fill="#181A93" d="M256.5,216.6c-25.1,0-45.6-20.5-45.6-45.6s20.5-45.6,45.6-45.6s45.6,20.5,45.6,45.6S281.6,216.6,256.5,216.6z M256.5,205.2\n\t\tc18.2,0,34.2-16,34.2-34.2s-15.9-34.2-34.2-34.2s-34.2,16-34.2,34.2S238.3,205.2,256.5,205.2z"/> <ellipse fill="#181A93" cx="256.5" cy="171" rx="22.8" ry="22.8"/> </svg> '},{iso2:"ID",code:"+62",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" fill="#FFFFFF" width="512" height="341.333"/> <rect y="85.333" fill="#EE0000" width="512" height="170.667"/> </svg> '},{iso2:"IR",code:"+98",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="512" height="342"/> <rect y="0" fill="#6DA544" width="513" height="114"/> <g fill="#D80027"> <rect y="227.9" width="513" height="114"/> <path d="M278.8,134.8c0.1,2,8.7,26.2,4.4,39.4c-6.6,20.3-15.8,21.8-19.8,24.5v-64.7l-6.9-4.2l-6.9,4.2v64.7\n\t\tc-4-2.7-12.4-2.4-19.8-24.5c-4.3-12.7,5.7-37.3,5.8-39.2c0,0-9.5,8.1-15.8,24c-5.9,14.8,1.9,49.6,29.5,54.8\n\t\tc2.3,0.4,4.7,5.6,7.2,5.6c2.1,0,4.1-5.2,6-5.5c28.4-4.6,35-41.7,29.9-55.6C287,143.7,278.8,134.8,278.8,134.8z"/> </g> <g fill="#FFFFFF" opacity="0.5"> <rect x="44.6" y="98.9" width="22.3" height="24.4"/> <rect y="98.9" width="22.3" height="24.4"/> <rect x="89.2" y="98.9" width="22.3" height="24.4"/> <rect x="133.8" y="98.9" width="22.3" height="24.4"/> <rect x="178.4" y="98.9" width="22.3" height="24.4"/> <rect x="223" y="98.9" width="22.3" height="24.4"/> <rect x="267.7" y="98.9" width="22.3" height="24.4"/> <rect x="312.3" y="98.9" width="22.3" height="24.4"/> <rect x="356.9" y="98.9" width="22.3" height="24.4"/> <rect x="401.5" y="98.9" width="22.3" height="24.4"/> <rect x="446.1" y="98.9" width="22.3" height="24.4"/> <rect x="490.7" y="98.9" width="22.3" height="24.4"/> <rect x="44.6" y="216.9" width="22.3" height="25.5"/> <rect y="216.9" width="22.3" height="25.5"/> <rect x="89.2" y="216.9" width="22.3" height="25.5"/> <rect x="133.8" y="216.9" width="22.3" height="25.5"/> <rect x="178.4" y="216.9" width="22.3" height="25.5"/> <rect x="223" y="216.9" width="22.3" height="25.5"/> <rect x="267.7" y="216.9" width="22.3" height="25.5"/> <rect x="312.3" y="216.9" width="22.3" height="25.5"/> <rect x="356.9" y="216.9" width="22.3" height="25.5"/> <rect x="401.5" y="216.9" width="22.3" height="25.5"/> <rect x="446.1" y="216.9" width="22.3" height="25.5"/> <rect x="490.7" y="216.9" width="22.3" height="25.5"/> </g> </svg> '},{iso2:"IQ",code:"+964",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect y="0" fill="#CE1126" width="513" height="114"/> <rect y="228" width="513" height="114"/> <g fill="#547C31"> <path d="M219.2,160.7c-0.1,0-0.2,0-0.2,0l0,0h-29.1c1.5-5.7,6.6-9.9,12.8-9.9v-19.9c-18.3,0-33.1,14.9-33.1,33.1v16.2\n\t\tv0.3H219c0.1,0,0.2,0,0.2,0c1.8,0,3.3,1.5,3.3,3.3v6.6h-66.2v19.9h86.1v-26.5C242.4,171.1,232,160.7,219.2,160.7z"/> <polygon points="268.8,190.5 268.8,130.9 249,130.9 249,210.4 282.1,210.4 282.1,190.5 \t"/> <polygon points="335,190.5 335,130.9 315.2,130.9 315.2,190.5 308.6,190.5 308.6,170.7 288.7,170.7 288.7,210.4\n\t\t348.3,210.4 348.3,190.5 \t"/> </g> </svg> '},{iso2:"IE",code:"+353",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.331" fill="#6DA544" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#FF9811" width="170.663" height="341.337"/> </svg> '},{iso2:"IM",code:"+44-1624",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#E52D42" width="513" height="342"/> <path fill="#FFFFFF" d="M393.3,68.2h-45.8l-33.8,80.2l-34.4-22.9c0,0-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-0.6-48.9,7.8\n\tc-29.6,8.4-30.8,18.7-42.2,18.7c-4.8,0-19.9-17.5-27.7-22.3c-12.1-7.8-16.9-4.2-13.9,7.2c1.2,4.8,10.9,10.9,16.9,19.9\n\tc7.8,11.5,12.7,25.9,12.7,25.9s10.9-10.3,16.9-12.1c9-2.4,19.3,1.8,31.4,0c15.1-2.4,31.4-10.9,31.4-10.9l4.2,43.4\n\tc0,0-
154.3,50.7-49.5,70.6s56.1,44.6,68.2,62.7c12.1,17.5-7.2,24.1-7.2,32.6s-1.8,19.9,7.2,16.3c9-3.6,10.3-18.1,18.7-31.4\n\tc6-9,10.3-13.9,11.5-17.5c1.8-9-23.5-32-37.4-48.9c-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6c0,0,67.6,27.7,82.6,18.7\n\tc15.1-9,19.3-98.3,19.3-98.3l47-11.5L393.3,68.2z"/> <path fill="#F8DD4E" d="M279.3,262.4c-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S285.3,262.4,279.3,262.4z\n\t M325.1,79.6c-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S331.1,79.6,325.1,79.6z M325.1,170.7\n\tc-6,0-11.5-4.8-11.5-11.5c0-6,4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5C336,165.9,331.1,170.7,325.1,170.7z M188.2,216.5\n\tc-6,0-11.5-4.8-11.5-11.5c0-6,4.8-11.5,11.5-11.5c6.6,0,11.5,4.8,11.5,11.5C199.7,211.7,194.2,216.5,188.2,216.5z M233.4,79.6\n\tc-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S240.1,79.6,233.4,79.6z M256.3,170.7c-6,0-11.5-10.3-11.5-22.9\n\ts4.8-22.9,11.5-22.9c6,0,11.5,10.3,11.5,22.9S263,170.7,256.3,170.7z M142.3,125.5c-6,0-11.5-4.8-11.5-11.5\n\tc0-6.6,4.8-11.5,11.5-11.5c6.6,0,11.5,4.8,11.5,11.5C153.8,120.6,149,125.5,142.3,125.5z"/> </svg> '},{iso2:"IL",code:"+972",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#2E52B2"> <path d="M340.6,122.4h-56.1l-28-48.6l-28,48.6h-56.1l28,48.6l-28,48.6h56.1l28,48.6l28-48.6h56.1l-28-48.6L340.6,122.4\n\t\tz M293.2,171l-17.2,33.2h-38.9L219.8,171l17.2-33.2h38.9L293.2,171z M256.5,99.2l11.9,23.3h-23.9L256.5,99.2z M198.2,137.8h23.9\n\t\tl-10.8,21L198.2,137.8z M198.2,204.2l13-22.1l11.9,22.1H198.2z M256.5,241.7l-11.9-22.1h23.9L256.5,241.7z M315.9,204.2h-25\n\t\tl11.9-22.1L315.9,204.2z M289.8,137.8h26.1l-13,22.1L289.8,137.8z"/> <rect y="21.3" width="512" height="42.7"/> <rect y="277.3" width="512" height="42.7"/> </g> </svg> '},{iso2:"IT",code:"+39",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <polygon fill="#FFFFFF" points="341.334,85.33 170.666,85.33 0,85.33 0,426.662 170.666,426.662 341.334,426.662   512,426.662 512,85.33 "/> <rect y="85.333" fill="#6DA544" width="170.663" height="341.337"/> <rect x="341.337" y="85.333" fill="#D80027" width="170.663" height="341.337"/> </svg> '},{iso2:"CI",code:"+225",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.326"/> <rect x="330.207" y="85.331" fill="#009e60" width="181.793" height="341.337"/> <rect y="85.331" fill="#f77f00" width="181.793" height="341.337"/> </svg> '},{iso2:"JM",code:"+1-876",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#6DA544" width="512" height="341.326"/> <polygon points="215.864,256.006 0,399.911 0,112.089 "/> <polygon points="512,112.089 512,399.911 296.136,256.006 "/> <polygon fill="#0052B4" points="512,112.089 296.136,256.006 512,399.911 512,426.668 471.875,426.668 256,282.752   40.125,426.668 0,426.668 0,399.911 215.864,256.006 0,112.089 0,85.331 40.125,85.331 256,229.248 471.875,85.331 512,85.331 "/> <polygon fill="#FFDA44" points="512,112.089 296.136,256.006 512,399.911 512,426.668 471.875,426.668 256,282.752   40.125,426.668 0,426.668 0,399.911 215.864,256.006 0,112.089 0,85.331 40.125,85.331 256,229.248 471.875,85.331 512,85.331 "/> </svg> '},{iso2:"JP",code:"+81",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <circle fill="#D80027" cx="256" cy="255.994" r="96"/> </svg> '},{iso2:"JE",code:"+44-1534",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <polygon fill="#D80027" points="301.8,171 513,30.2 513,0 467.7,0 256.5,140.8 45.3,0 0,0 0,30.2 211.2,171 0,311.8 0,342 45.3,342\n\t256.5,201.2 467.7,342 513,342 513,311.8 "/> <polygon fill="#FFDA44" points="233.7,44.6 256,50.2 278.3,44.6 282.3,23.7 267.4,30.2 256,14.8 244.6,30.2 229.7,23.7 "/> <path fill="#D80027" d="M233.7,44.6c0,0-4,12.9-4,29.9c0,27.9,26.3,41.3,26.3,41.3s26.3-15.5,26.3-41.3c0-15.4-4-29.9-4-29.9\n\ts-8.1-5-22.3-5S233.7,44.6,233.7,44.6z"/> </svg> '},{iso2:"JO",code:"+962",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.339" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.339" width="512" height="113.775"/> <rect y="312.89" fill="#6DA544" width="512" height="113.775"/> <polygon fill="#D80027" points="256,256.006 0,426.669 0,85.331 "/> <polygon fill="#FFFFFF" points="77.913,224.802 85.789,241.271 103.575,237.161 95.61,253.587 109.913,264.93   92.105,268.944 92.154,287.199 77.913,275.778 63.672,287.199 63.722,268.944 45.913,264.93 60.216,253.587 52.251,237.161   70.037,241.271 "/>
1 </svg> '},{iso2:"KZ",code:"+7",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <path fill="#36B6CC" d="M0,0h513v342H0V0z"/> <circle fill="#FFD400" cx="256.5" cy="170.9" r="68.4"/> <path fill="#FFD400" d="M256.5,251.5l-27.9,41.7l-7.1-49.7L178.3,269l15.2-47.8l-50,4.2l34.4-36.5L131,170.9l46.8-18l-34.4-36.5\n\t\tl50,4.2l-15.2-47.8l43.2,25.4l7.1-49.7l27.9,41.7l27.9-41.7l7.1,49.7l43.2-25.4l-15.2,47.8l50-4.2L335.1,153l46.8,17.9l-46.8,18\n\t\tl34.4,36.5l-50-4.2l15.2,47.8l-43.2-25.4l-7.1,49.7C284.4,293.2,256.5,251.5,256.5,251.5z M256.5,250.7c44.1,0,79.9-35.8,79.9-79.9\n\t\tS300.6,91,256.5,91s-79.9,35.8-79.9,79.9S212.4,250.7,256.5,250.7z M22.8,28.3c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7\n\t\tv11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,39.7,22.8,28.3,22.8,28.3z\n\t\t M22.8,74c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5\n\t\tc-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V74z M22.8,119.6c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3\n\t\tc0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,130.9,22.8,119.6,22.8,119.6z\n\t\t M22.8,165.2c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5\n\t\tc-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,176.5,22.8,165.2,22.8,165.2z M22.8,210.9c0-3.2,2.4-5.7,5.7-5.7h11.3\n\t\tc3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V210.9z\n\t\t M22.8,256.5c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5\n\t\tc-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V256.5z M22.8,302.1c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3\n\t\tc0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V302.1z M45.6,279.3\n\t\tc0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6\n\t\tc0,0,0-0.1,0-0.1V279.3z M45.6,233.7c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7V245c0.1,3.1-2.4,5.7-5.6,5.7\n\t\tc-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V233.7z M45.6,188c0-3.2,2.4-5.7,5.7-5.7h11.3\n\t\tc3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V188z\n\t\t M45.6,142.4c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3\n\t\tc-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C45.6,153.7,45.6,142.4,45.6,142.4z M45.6,96.8c0-3.2,2.4-5.7,5.7-5.7h11.3\n\t\tc3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1\n\t\tC45.6,108.1,45.6,96.8,45.6,96.8z M45.6,51.2c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7\n\t\tc-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V51.2z"/> </svg> '},{iso2:"KE",code:"+254",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <rect y="85.331" width="512" height="90.579"/> <rect y="336.089" fill="#496E2D" width="512" height="90.568"/> <rect y="198.606" fill="#A2001D" width="512" height="114.799"/> <g> <polygon fill="#FFFFFF" points="323.265,139.803 297.682,127.994 256,222.376 214.318,127.994 188.735,139.803    240.484,255.994 188.735,372.186 214.318,383.994 256,289.613 297.682,383.994 323.265,372.186 271.516,255.994  "/> <path fill="#FFFFFF" d="M273.376,150.931C263.472,140.115,256,133.898,256,133.898s-7.472,6.216-17.376,17.032v210.127   C248.528,371.873,256,378.091,256,378.091s7.472-6.216,17.376-17.033V150.931z"/> </g> <g> <path fill="#A2001D" d="M209.04,191.226v129.535c10.465,18.542,23.274,33.742,32.872,43.818V147.408   C232.313,157.484,219.504,172.683,209.04,191.226z"/> <path fill="#A2001D" d="M302.96,191.226c-10.465-18.543-23.274-33.742-32.872-43.818V364.58   c9.599-10.077,22.407-25.276,32.872-43.818V191.226z"/> </g> <path d="M302.96,191.226v129.535c10.594-18.774,18.784-40.973,18.784-64.767S313.554,210.001,302.96,191.226z"/> <path d="M209.04,191.226v129.535c-10.594-18.774-18.784-40.973-18.784-64.767S198.446,210.001,209.04,191.226z"/> </svg> '},{iso2:"KI",code:"+686",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="75 0 300 300"> <path fill="#CE1126" d="M0,0h450v300H0V0z"/> <g fill="#FCD116"> <circle cx="227.6" cy="161.2" r="56.2"/>
1 <polygon points="254.1,73.4 230.4,99.4 259,105.9 \t"/> <polygon points="202.6,73.6 197.8,106.7 226.3,98.7 \t"/> <polygon points="296.9,100.3 262.2,108.8 282.3,132.5 \t"/> <polygon points="158.6,98.5 174.1,131.2 194.3,108.5 \t"/> <polygon points="317.6,143.8 283.2,133.9 288.8,163.4 \t"/> <polygon points="135.6,141.2 167.5,161 172.7,133.3 \t"/> </g> <path fill="#003F87" d="M0,175h450v125H0V175z"/> <path fill="#FFFFFF" d="M0,267c15,0,30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13\n\ts30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13\n\ts-30-13-45-13s-30,13-45,13s-30-13-45-13V267z M0,224c15,0,30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13\n\ts30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13\n\ts-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13V224z M0,181c15,0,30,13,45,13s30-13,45-13\n\ts30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13\n\ts-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13V181z"/> <path fill-rule="evenodd" clip-rule="evenodd" fill="#FCD116" d="M183.2,48.3l-1.1-5.3l22.4-3.7c0,0-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7,11,64.8,11\n\tc4.3,0,12.8,10.7,12.8,10.7s14.8-14.9,21.9-15.4c32.1-2.3,66.6-6.4,66.6-6.4s-10,6.7-16,8.5c-16.2,4.9-50.6,11.7-50.6,11.7l-4.8,7.5\n\tH277l-14.4,4.3l7.4,6.9c0,0-7.8-4.1-18.1-2.1c-7.1,1.3-15.4,6-22.9,8c-18.7,4.8-29.9-12.8-29.9-12.8S183.2,48.3,183.2,48.3z"/> </svg> '},{iso2:"XK",code:"+383",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.335 0 341.33 341.33"> <rect y="0" fill="#0052B4" width="512" height="341.34"/> <g> <polygon fill="#FFFFFF" points="220.72,42.63 228.67,58.74 246.44,61.32 233.58,73.86 236.62,91.56 220.72,83.2 204.82,91.56\n\t\t207.85,73.86 194.99,61.32 212.77,58.74 \t"/> <polygon fill="#FFFFFF" points="291.28,42.57 299.23,58.67 317.01,61.26 304.15,73.79 307.18,91.5 291.28,83.14 275.38,91.5\n\t\t278.42,73.79 265.56,61.26 283.33,58.67 \t"/> <polygon fill="#FFFFFF" points="353.36,53.93 361.31,70.04 379.08,72.62 366.22,85.16 369.26,102.86 353.36,94.51 337.46,102.86\n\t\t340.5,85.16 327.63,72.62 345.41,70.04 \t"/> <polygon fill="#FFFFFF" points="416.37,72.23 424.32,88.34 442.09,90.93 429.23,103.46 432.27,121.17 416.37,112.81 400.47,121.17\n\t\t403.5,103.46 390.64,90.93 408.42,88.34 \t"/> <polygon fill="#FFFFFF" points="158.64,53.93 166.59,70.04 184.37,72.62 171.5,85.16 174.54,102.86 158.64,94.51 142.74,102.86\n\t\t145.78,85.16 132.92,72.62 150.69,70.04 \t"/> <polygon fill="#FFFFFF" points="95.63,72.23 103.58,88.34 121.36,90.93 108.5,103.46 111.53,121.17 95.63,112.81 79.73,121.17\n\t\t82.77,103.46 69.91,90.93 87.68,88.34 \t"/> </g> <path fill="#FFDA44" d="M217.53,259.33l-27.22-13.61l-27.22-54.43h27.22l27.22-27.22l13.61-27.22l27.22-13.61l13.61,13.61l27.22,13.61\n\tv13.61l13.61,13.61l40.83,27.22L340,245.73l-40.83,40.83l-13.61-27.22l-40.83,27.22v27.22l-13.61-13.61L217.53,259.33z"/> </svg> '},{iso2:"KW",code:"+965",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#6DA544" width="512" height="113.775"/> <rect y="312.888" fill="#D80027" width="512" height="113.775"/> <polygon points="166.957,312.889 0,426.663 0,85.337 166.957,199.111 "/> </svg> '},{iso2:"KG",code:"+996",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85 0 342 342"> <g fill="#D80027"> <rect y="0" width="513" height="342"/> <circle cx="256" cy="170.7" r="170.7"/> </g> <polygon fill="#FFDA44" points="382.4,170.7 330.8,195 358.3,245 302.2,234.3 295.1,290.9 256,249.2 216.9,290.9 209.8,234.3\n\t153.7,245 181.2,195 129.6,170.7 181.2,146.4 153.7,96.3 209.8,107.1 216.9,50.4 256,92.1 295.1,50.4 302.2,107.1 358.3,96.3\n\t330.8,146.4 "/> <circle fill="#D80027" cx="257.4" cy="170.7" r="71.6"/> <g fill="#FFDA44"> <path d="M214.2,170.7c-2.1,0-4.1,0.1-6.2,0.3c0.1,12,4.4,22.9,11.6,31.5c3.8-10.3,9.5-19.6,16.7-27.7\n\t\tC229.4,172.1,222,170.7,214.2,170.7z"/> <path d="M240.8,217.2c5.2,1.9,10.8,2.9,16.6,2.9c5.8,0,11.4-1,16.6-2.9c-2.8-11.1-8.7-21-16.6-28.8\n\t\tC249.5,196.2,243.6,206.1,240.8,217.2z"/> <path d="M300.2,146c-8.5-14.8-24.5-24.7-42.8-24.7c-18.3,0-34.2,9.9-42.8,24.7c15.6,0.1,30.2,4.3,42.8,11.6\n\t\tC270,150.3,284.6,146,300.2,146z"/> <path d="M278.5,174.8c7.2,8,12.9,17.4,16.7,27.7c7.2-8.5,11.5-19.5,11.6-31.5c-2-0.2-4.1-0.3-6.2-0.3\
1n\t\tC292.9,170.7,285.4,172.1,278.5,174.8z"/> </g> </svg> '},{iso2:"LA",code:"+856",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#0052B4" width="513" height="342"/> <g fill="#D80027"> <rect y="0.1" width="513" height="90.7"/> <rect x="0" y="251.3" width="513" height="90.7"/> </g> <circle fill="#FFFFFF" cx="256.5" cy="171" r="65.9"/> </svg> '},{iso2:"LV",code:"+371",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#A2001D"> <rect y="0" class="st1" width="513" height="127.6"/> <rect x="0" y="214.4" class="st1" width="513" height="127.6"/> </g> </svg> '},{iso2:"LB",code:"+961",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#D80027"> <rect y="0.2" width="513" height="90.7"/> <rect x="0.5" y="251.3" width="512.5" height="90.7"/> </g> <polygon fill="#6DA544" points="290.3,193.5 256,130.7 221.7,193.5 247.4,193.5 247.4,210.7 264.6,210.7 264.6,193.5 "/> <path fill="#14AF5A" d="M241.3,213.1c4.4-4.4,4.4-11.6-0.1-16c0,0,0,0,0,0l4.7,4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5,5.9\n\t\tc-6.1,1.5-6.8-0.4-1.8-4.2l27.1-20.3c5.1-3.8,4.2-6.9-2.3-6.9h-11c-6.4,0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8,5.1-5.1-1.5-5.1h-11\n\t\tc-6.4,0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8,12.9-3.8,18.5,0l27.1,20.3c5.1,3.8,4.2,6.9-2.3,6.9h-11c-6.4,0-7,2.3-1.5,5.1l25.3,12.7\n\t\tc5.6,2.8,5.1,5.1-1.5,5.1h-11c-6.4,0-7.4,3.1-2.3,6.9l27.1,20.3c5.1,3.8,4.4,5.7-1.8,4.2l-23.5-5.9c-6.8-1.3-13.9,0.6-19.1,5.3\n\t\tl4.7-4.7c-4.4,4.4-4.5,11.5-0.1,16c0,0,0,0,0,0l6.8,6.8c4.4,4.4,3.1,8-3.3,8h-45.8c-6.2,0-7.7-3.6-3.3-8\n\t\tC234.5,220,241.3,213.1,241.3,213.1z"/> </svg> '},{iso2:"LS",code:"+266",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect y="0" fill="#0052B4" width="513" height="114"/> <rect y="227.6" fill="#6DA544" width="513" height="114"/> <path fill="#000000" d="M245.2,171l7.7-23.1c2-5.9,5.1-6,7.1,0l7.7,23.1l19.4,29.1c1.7,2.6,1.3,6.3-1.2,8c0,0-6.9,8-29.5,8\n\ts-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8L245.2,171z"/> <path fill="#000000" d="M256.5,171c-12.5,0-22.6-10.1-22.6-22.6c0-12.5,10.1-22.6,22.6-22.6s22.6,10.1,22.6,22.6C279.1,160.9,268.9,171,256.5,171z\n\t M256.5,171c6.2,0,11.3-16.3,11.3-22.6c0-6.2-5.1-11.3-11.3-11.3c-6.2,0-11.3,5.1-11.3,11.3C245.2,154.7,250.2,171,256.5,171z"/> </svg> '},{iso2:"LR",code:"+231",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="5.13 0 342 342"> <g fill="#bf0a30"> <rect x="0" y="0" width="512" height="31.1"/> <rect x="0" y="62.2" width="512" height="31.1"/> <rect x="0" y="124.5" width="512" height="31.1"/> <rect x="0" y="186.8" width="512" height="31.1"/> <rect x="0" y="249.3" width="512" height="31.1"/> <rect x="0" y="310.9" width="512" height="31.1"/> </g> <rect fill="#002868" width="155.6" height="155.6"/> <polygon fill="#FFFFFF" points="77.8,30.2 88.5,63.1 123.1,63.1 95.1,83.5 105.8,116.4 77.8,96.1 49.8,116.4 60.5,83.5 32.5,63.1\n  67.1,63.1 "/> </svg> '},{iso2:"LY",code:"+218",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#496E2D" width="512" height="113.775"/> <g> <polygon fill="#FFFFFF" points="281.424,236.026 290.386,248.376 304.899,243.67 295.924,256.009 304.885,268.358    290.376,263.634 281.4,275.974 281.41,260.716 266.9,255.991 281.414,251.285  "/> <path fill="#FFFFFF" d="M256.965,286.868c-17.048,0-30.868-13.821-30.868-30.868s13.821-30.868,30.868-30.868   c5.316,0,10.317,1.345,14.684,3.71c-6.851-6.698-16.218-10.833-26.556-10.833c-20.982,0-37.992,17.01-37.992,37.992   s17.01,37.992,37.992,37.992c10.338,0,19.706-4.135,26.556-10.833C267.283,285.525,262.281,286.868,256.965,286.868z"/> </g> </svg> '},{iso2:"LI",code:"+423",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="51.3 0 342 342"> <rect y="0" fill="#D80027" width="513" height="342"/> <rect y="0" fill="#0052B4" width="513" height="171"/> <path fill="#FFDA44" d="M149.3,98.1c0-14-11.3-25.3-25.3-25.3c-6.5,0-12.4,2.4-16.9,6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9\n\th8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4c-14,0-25.3,11.3-25.3,25.3c0,7.5,3.3,14.2,8.4,18.8v14.9h84.3v-14.9\n\tC146.1,112.3,149.3,105.5,149.3,98.1z"/> </svg> '},{iso2:"LT",code:"+370",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#6DA544" width="512" height="341.326"/> <rect y="85.337" fill="#FFDA44" width="512" height="113.775"/> <rect y="312.888" fill="#D80027" width="512" height="113.775"/> </svg> '},{iso2:"LU",code:"+352",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#338AF3" width="512" height="113.775"/> </svg> '},{iso2:"MO",code:"+853",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#00745a" width="512" height="341.337"/> <path fill="#FFFFFF" d="M285.682,248.878c-4.19,0-8.166,0.836-11.861,2.164c2.023-4.509,3.379-9.527,3.379-14.885  c0-21.201-21.201-37.101-21.201-37.101s-21.201,15.901-21.201,37.101c0,5.357,1.356,10.375,3.379,14.885  c-3.693-1.328-7.671-2.164-11.861-2.164c-21.201,0-37.101,21.201-37.101,21.201s15.901,21.201,37.101,21.201  c12.429,0,23.031-7.286,29.682-13.315c6.65,6.03,17.251,13.315,29.682,13.315c21.201,0,37.101-21.201,37.101-21.201  S306.882,248.878,285.682,248.878z"/> <g> <polygon fill="#FFDA44" points="256,152.111 260.38,165.587 274.551,165.587 263.087,173.919 267.463,187.395 256,179.065    244.537,187.395 248.913,173.919 237.449,165.587 251.62,165.587  "/> <polygon fill="#FFDA44" points="202.112,175.683 210.537,183.268 220.355,177.601 215.745,187.956 224.168,195.544    212.894,194.359 208.283,204.714 205.925,193.626 194.65,192.441 204.468,186.772  "/> <polygon fill="#FFDA44" points="162.662,215.132 173.752,217.49 179.42,207.672 180.606,218.946 191.695,221.304    181.338,225.914 182.524,237.188 174.937,228.765 164.58,233.375 170.249,223.557  "/> <polygon fill="#FFDA44" points="309.889,175.683 301.464,183.268 291.646,177.601 296.257,187.956 287.832,195.544    299.107,194.359 303.717,204.714 306.076,193.626 317.351,192.441 307.533,186.772  "/> <polygon fill="#FFDA44" points="349.338,215.132 338.249,217.49 332.58,207.672 331.394,218.946 320.306,221.304    330.663,225.914 329.478,237.188 337.064,228.765 347.421,233.375 341.752,223.557  "/> </g> <g> <path fill="#FFFFFF" d="M256,350.642c16.84,0,32.363-5.619,44.816-15.073h-89.63   C223.637,345.023,239.16,350.642,256,350.642z"/> <path fill="#FFFFFF" d="M187.977,306.12c2.355,5.39,5.341,10.44,8.85,15.073h118.345c3.508-4.632,6.495-9.682,8.85-15.073   H187.977z"/> </g> </svg> '},{iso2:"MK",code:"+389",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" fill="#FFDA44" width="512" height="341.337"/> <g> <polygon fill="#D80027" points="383.875,426.662 256,252.286 282.827,426.662  "/> <polygon fill="#D80027" points="133.565,85.33 256,252.286 230.314,85.33  "/> <polygon fill="#D80027" points="229.171,426.662 256,252.286 128.124,426.662  "/> <polygon fill="#D80027" points="0,85.33 0,212.9 256,252.286 28.333,85.33  "/> <polygon fill="#D80027" points="0,426.662 18.212,426.662 256,252.286 0,291.67  "/> <polygon fill="#D80027" points="256,252.286 512,212.9 512,85.33 483.669,85.33  "/> <polygon fill="#D80027" points="281.686,85.33 256,252.286 378.434,85.33  "/> <polygon fill="#D80027" points="512,426.662 512,291.671 256,252.286 493.787,426.662  "/> <circle fill="#D80027" cx="256" cy="252.29" r="59.359"/> </g> <circle fill="#FFDA44" cx="256" cy="252.29" r="44.522"/> </svg> '},{iso2:"MG",code:"+261",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="64.853 85.333 341.333 341.333"> <path fill="#6DA544" d="M512,426.666V85.329c-238.65,0-512,0-512,0v341.337L512,426.666L512,426.666z"/> <path fill="#D80027" d="M512,85.331H0v170.666c0,0,273.35,0,512,0V85.331z"/> <rect y="85.334" fill="#FFFFFF" width="181.793" height="341.337"/> </svg> '},{iso2:"MW",code:"+265",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85 0 342 342"> <rect y="0" fill="#272727" width="512" height="114"/> <rect y="114" fill="#e40112" width="512" height="114"/> <rect y="228" fill="#07893f" width="512" height="114"/> <circle fill="#e40112" cx="256" cy="125" r="95"/> </svg> '},{iso2:"MY",code:"+60",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#cc0000"> <rect y="0" width="513" height="24.4"/> <rect y="48.9" width="513" height="24.4"/> <rect y="97.7" width="513" height="24.4"/> <rect y="146.6" width="513" height="24.4"/> <rect y="195.4" width="513" height="24.4"/> <rect y="244.3" width="513" height="24.4"/> <rect y="293.1" width="513" height="24.4"/> </g> <rect y="0" fill="#000066" width="256.5" height="195.4"/> <g fill="#ffcc00"> <path d="M153.3,42.1C122.6,30.7,88.5,46.3,77.1,77s4.2,64.8,34.9,76.2c13.3,5,28,5,41.4,0\n    c-30.7,24.5-75.4,19.6-100-11.1s-19.6-75.4,11.1-100C90.5,21.4,127.4,21.4,153.3,42.1z M180,117.1l-20.6,23.3l5.4-30.6l-31-1.6\n    l27.3-14.9l-18.1-25.3l28.6,12l8.4-29.9l8.4,29.9l28.6-12L199,93.4l27.3,14.9l-31,1.6l5.4,30.6L180,117.1z"/> </g> </svg> '},{iso2:"MV",code:"+960",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#d01920" width="512" height="341.333"/> <rect x="144.696" y="174.375" fill="#017c3b" width="222.609" height="163.25"/> <path fill="#FFFFFF" d="M283.484,304.226c-26.637,0-48.232-21.594-48.232-48.232s21.594-48.232,48.232-48.232  c8.306,0,16.12,2.1,22.943,5.797c-10.703-10.467-25.341-16.927-41.494-16.927c-32.784,0-59.362,26.577-59.362,59.362  s26.578,59.362,59.362,59.362c16.154,0,30.791-6.461,41.494-16.927C299.605,302.127,291.791,304.226,283.484,304.226z"/> </svg> '},{iso2:"ML",code:"+223",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.337"/> <rect y="85.331" fill="#6DA544" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#D80027" width="170.663" height="341.337"/> </svg> '},{iso2:"MT",code:"+356",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect x="256" y="0" fill="#C31B28" width="256.5" height="342"/> <polygon fill="#ACABB1" stroke="#C31B28" stroke-width="2" points="101.2,68.2 101.2,33 66,33 66,68.2 30.8,68.2 30.8,103.4 66,103.4 66,138.6 101.2,138.6 101.2,103.4\n\t136.4,103.4 136.4,68.2 "/> </svg> '},{iso2:"MH",code:"+692",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#1E509C" width="513" height="342"/> <path fill="#FFFFFF" d="M513,176.1V81.3L0,342L513,176.1z"/> <path fill="#F18D36" d="M513,0v81.3L0,342L513,0z"/> <polygon fill="#FFFFFF" points="126.7,99.3 118.9,45.2 111.2,99.3 90.4,75.6 101.1,107.2 69.6,96.5 93.2,117.3 39.1,125 93.2,132.7\n\t69.6,153.5 101.1,142.8 90.4,174.4 111.2,150.7 118.9,204.8 126.7,150.7 147.4,174.4 136.8,142.8 168.3,153.5 144.7,132.7\n\t198.7,125 144.7,117.3 168.3,96.5 136.8,107.2 147.4,75.6 "/> </svg> '},{iso2:"MR",code:"+222",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 100 342 342"> <rect y="100" fill="#006233" width="513" height="342"/> <rect y="100" fill="#cd2a3e" width="513" height="46"/> <rect y="396" fill="#cd2a3e" width="513" height="46"/> <path fill="#ffc400" d="M256,298.851c-45.956,0-84.348-32.298-93.767-75.429c-1.448,6.63-2.233,13.507-2.233,20.572   c0,53.02,42.979,96,96,96s96-42.98,96-96c0-7.066-0.785-13.942-2.233-20.572C340.348,266.553,301.956,298.851,256,298.851z"/> <polygon fill="#ffc400" points="255.999,171.994 264.934,199.496 293.852,199.496 270.458,216.492 279.394,243.995    255.999,226.997 232.605,243.995 241.542,216.492 218.148,199.496 247.063,199.496  "/> </svg> '},{iso2:"MU",code:"+230",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#f7ce00" width="512" height="341.326"/> <rect y="85.331" fill="#e32737" width="512" height="85.337"/> <rect y="170.657" fill="#191f6a" width="512" height="85.337"/> <rect y="341.331" fill="#00a04e" width="512" height="85.337"/> </svg> '},{iso2:"YT",code:"+262",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="15 0 60 60"> <rect fill="#FFFFFF" width="90" height="60"/> <path stroke="#7f7f7f" stroke-width="0.25" fill="#ABABAB" d="M75.6,39.6c-1.1,0.7,0,1.8-0.6,1.9c-0.6,0.1-1.5-1.4-0.2-2.5c1.6-1.5,5.8,0,5.9,4.3
1c0,2.2-0.9,6.8-7.2,6.8\n\tc-7.6,0-11.4-5.7-11.4-11.4c0-4.8,3.7-13.5,6.5-14.6c3.1-1.2,6.7-3.5,6.8-5c0-0.5-1.4-0.1-3.3,0.9c-3.1,1.7-6.6,2.5-6.6,1.4\n\ts2.9-3.1,4-4.6c1.2-1.6,0.9-5.5,3-5.5c7.6,0,9.9,7.7,7,11.7c-1.9,2.6,4.3,1,4.3,1s0,5.3-3.2,7.3c-3,1.8-4.8,3.9-4.8,3.9\n\ts0.2-4.6-0.5-3.9c-0.6,0.7-11.1,4.5-10.3,12c0.3,3,4.5,5.4,8.5,5.2s5.7-2.4,5.8-4.9C79.4,39.7,76.3,39.2,75.6,39.6z"/> <path stroke="#7f7f7f" stroke-width="0.25" fill="#ABABAB" d="M10.7,43.6c0.1,2.5,1.8,4.7,5.8,4.9s8.2-2.2,8.5-5.2c0.8-7.5-9.7-11.3-10.3-12c-0.7-0.7-0.5,3.9-0.5,3.9\n\ts-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2,1.6,4.3-1c-2.9-4-0.6-11.7,7-11.7c2.1,0,1.8,3.9,3,5.5c1.1,1.5,4,3.5,4,4.6\n\tS21,21.7,17.9,20c-1.9-1-3.3-1.4-3.3-0.9c0.1,1.5,3.7,3.8,6.8,5c2.8,1.1,6.5,9.8,6.5,14.6c0,5.7-3.8,11.4-11.4,11.4\n\tc-6.3,0-7.2-4.6-7.2-6.8c0.1-4.3,4.3-5.8,5.9-4.3c1.2,1.1,0.4,2.7-0.2,2.5c-0.6-0.1,0.6-1.2-0.6-1.9C13.8,39.2,10.7,39.7,10.7,43.6z\n\t"/> <g> <path fill="#DE393A" d="M31,28.8c0,0,0,12.1,0,14s2.1,1.6,2.1,1.6s8.2,0,9.3,0c1.2,0,2.6,2.3,2.6,2.3s1.4-2.3,2.5-2.3s9.6,0,9.6,0\n\t\ts2,0.2,2-1.8s0-13.9,0-13.9H31z"/> <rect x="31" y="13.1" fill="#3951A3" width="28" height="15.7"/> </g> <path fill="#FFFFFF" d="M50.1,16.5c-0.4,2.4-2.5,4.2-5.1,4.2c-2.5,0-4.6-1.8-5.1-4.2c-0.5,0.9-0.8,1.9-0.8,3c0,3.3,2.6,5.9,5.9,5.9\n\tc3.3,0,5.9-2.6,5.9-5.9C50.9,18.4,50.6,17.4,50.1,16.5z"/> <circle fill="#FEE05F" cx="39.1" cy="36.5" r="3"/> <circle fill="#FEE05F" cx="50.9" cy="36.5" r="3"/> </svg> '},{iso2:"MX",code:"+52",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <polygon fill="#dc2339" points="342,0 171,0 0,0 0,341.3 171,341.3 342,341.3 513,341.3 513,0 "/> <rect y="0" fill="#11865d" width="171" height="342"/> <rect x="171" y="0" fill="#FFFFFF" width="171" height="342"/> <path fill="#8C9157" d="M195.8,171.2c0,21.6,11.5,41.7,30.3,52.5c5.8,3.4,13.2,1.4,16.6-4.4c3.4-5.8,1.4-13.2-4.4-16.6\n\tc-11.3-6.5-18.2-18.5-18.2-31.5c0-6.7-5.4-12.1-12.1-12.1C201.3,159.1,195.8,164.5,195.8,171.2z M289.2,222.3\n\tc17.5-11.1,28-30.4,28-51.1c0-6.7-5.4-12.1-12.1-12.1s-12.1,5.4-12.1,12.1c0,12.4-6.3,24-16.8,30.7c-5.7,3.5-7.5,10.9-4.1,16.7\n\ts10.9,7.5,16.7,4.1C288.8,222.5,289,222.4,289.2,222.3z"/> <ellipse fill="#C59262" cx="256.5" cy="159.1" rx="24.3" ry="36.4"/> </svg> '},{iso2:"FM",code:"+691",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#338AF3" width="512" height="341.3"/> <g> <polygon fill="#FFFFFF" points="256,37.9 266.1,69.1 299,69.1 272.4,88.4 282.6,119.6 256,100.3 229.4,119.6 239.6,88.4 213,69.1\n\t\t245.9,69.1 \t"/> <polygon fill="#FFFFFF" points="123.2,170.7 154.4,160.5 154.4,127.7 173.7,154.3 204.9,144.1 185.6,170.7 204.9,197.2 173.7,187.1\n\t\t154.4,213.6 154.4,180.8 \t"/> <polygon fill="#FFFFFF" points="256,303.5 245.9,272.3 213,272.3 239.6,253 229.4,221.7 256,241 282.6,221.7 272.4,253 299,272.3\n\t\t266.1,272.3 \t"/> <polygon fill="#FFFFFF" points="388.8,170.7 357.6,180.8 357.6,213.6 338.3,187.1 307.1,197.2 326.4,170.7 307.1,144.1 338.3,154.3\n\t\t357.6,127.7 357.6,160.5 \t"/> </g> </svg> '},{iso2:"MD",code:"+373",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#FFDA44" width="513" height="342"/> <rect x="342" y="0" fill="#D80027" width="171" height="342"/> <rect y="0" fill="#0052B4" width="171" height="342"/> <path fill="#AF7F59" d="M206.2,129.1h33.2L256,79.3l16.6,49.8h33.2v99.6L256,262l-49.8-33.2V129.1z M239.4,162.4v49.8h33.2v-49.8H239.4\n\tz"/> </svg> '},{iso2:"MC",code:"+377",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" fill="#FFFFFF" width="512" height="341.333"/> <rect y="85.333" fill="#c70000" width="512" height="170.667"/> </svg> '},{iso2:"MN",code:"+976",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="22.23 0 342 342"> <rect y="0" fill="#095FAD" width="513" height="342"/> <g> <rect x="342" y="0" fill="#BE1229" width="171" height="342"/> <rect y="0" fill="#BE1229" width="171" height="342"/> </g> <g fill="#FFDA44"> <rect x="108.3" y="166.3" width="14.8" height="74.2"/> <rect x="48.9" y="166.3" width="14.8" height="74.2"/> <circle cx="86" cy="203.4" r="14.8"/> <rect x="71.2" y="225.7" width="29.7" height="14.8"/> <rect x="71.2" y="166.3" width="29.7" height="14.8"/> <circle cx="86" cy="144" r="14.8"/> <polygon points="76.3,123.9 95.8,123.9 86,108.3 \t"/> </g> </svg> '},{iso2:"ME",code:"+382",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#E6BE53" width="513" height="342"/> <rect x="20" y="20" fill="#E01D24" width="473" height="302"/> <path fill="#E6BE53" d="M248.5,112.9c4.4,4.4,11.6,4.4,16,0l-4.7,4.7l22.7-22.7c4.9-4.5,12.1-5.6,18.2-2.8l2.1,1\n\t\tc5.7,2.9,6.7,8.7,2.3,13.1l4.7-4.7L287,124.3c-4.5,4.9-5.6,12.1-2.8,18.2l1,2.1c2.9,5.7,5.1,15.4,5.1,21.6v-11.3\n\t\tc0,6.2,4.4,9.1,10.2,6.2l2.1-1c5.7-2.9,6.7-8.7,2.3-13.1l4.7,4.7c-4.4-4.4-4.4-11.6,0-16c0,0,0,0,0,0l-4.7,4.7\n\t\tc5.2-5.5,9.6-11.6,13.1-18.2l1-2.1c2.9-5.7,6.3-15.1,7.9-21.2l5.8-23.3c1.5-6,5.9-6.8,9.6-1.8l20.2,26.9c3.8,5.1,6.9,14,6.9,20.6\n\t\tv22.4c0,6.3-2.2,15.8-5.1,21.7l-1,2.1c-3.5,6.6-7.9,12.7-13.1,18.2l-6.8,6.8c-5.4,5.2-11.5,9.6-18.2,13.1l-2.1,1\n\t\tc-5.7,2.9-15.5,5.1-21.6,5.1c-6.2,0-6.9,2.2-1.1,5.
11l2.1,1c5.7,2.9,13.8,8.7,18.2,13.1l-4.7-4.7c4.4,4.4,11.6,4.4,16,0l-4.7,4.7\n\t\tc4.4-4.4,11.6-4.4,16,0c0,0,0,0,0,0L339,226c4.6,4.9,5.7,12.1,2.9,18.2l-1,2.1c-2.9,5.7-10.4,10.2-16.4,10.2\n\t\tc-7.5-0.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7\n\t\tc-4.4,4.7-5.2,11.8-1.8,17.3l10.3,15.4c3.4,5.1,2,12.1-3.1,15.5l-15.4,10.3c-5.7,3.4-12.8,3.4-18.6,0l-15.4-10.3\n\t\tc-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5,2.6-12.6-1.8-17.3l4.7,4.7c-4.4-4.4-10.2-3.6-13.1,2.3l-1,2.1\n\t\tc-2.9,5.7-9.5,12.4-15.4,15.4l-2.1,1c-5.7,2.9-15.5,5.1-21.6,5.1c-6.9-0.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3,2.9-18.2\n\t\tl-4.7,4.7c4.4-4.4,11.6-4.4,16,0c0,0,0,0,0,0l-4.7-4.7c4.4,4.4,11.6,4.4,16,0l-4.7,4.7c5.5-5.2,11.6-9.6,18.2-13.1l2.1-1\n\t\tc5.7-2.9,5-5.1-1.1-5.1c-7.5-0.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1\n\t\tc-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3,3.1-15.6,6.9-20.6l20.2-26.9c3.8-5.1,8.1-4.3,9.6,1.8l5.8,23.3c2,7.3,4.6,14.4,7.9,21.2\n\t\tl1,2.1c2.9,5.7,8.7,13.8,13.1,18.2l-4.7-4.7c4.4,4.4,4.4,11.6,0,16c0,0,0,0,0,0l4.7-4.7c-4.4,4.4-3.6,10.2,2.3,13.1l2.1,1\n\t\tc5.7,2.9,10.2,0,10.2-6.2v11.3c0-6.2,2.2-15.7,5.1-21.6l1-2.1c2.8-6.1,1.7-13.2-2.8-18.2l-22.7-22.7l4.7,4.7\n\t\tc-4.4-4.4-3.6-10.2,2.3-13.1l2.1-1c6.1-2.8,13.2-1.7,18.2,2.8l22.7,22.7L248.5,112.9z M230.5,72.2c-4.4-4.4-3.2-9.5,2.8-11.5\n\t\tl12.4-4.2c6-2,15.5-2,21.5,0l12.4,4.2c6,2,7.2,7.1,2.8,11.5l-6.8,6.8c-5.3,4.7-12.1,7.5-19.2,7.9c-6.2,0-14.8-3.5-19.2-7.9\n\t\tC237.3,79,230.5,72.2,230.5,72.2z"/> <path fill="#215F90" d="M233.9,200.2c0,6.2,1.7,6.4,4.2,0.5c0,0,7.1-23.2,18.4-23.2c11.3,0,18.6,23.6,18.6,23.6c2.2,5.7,4,5.3,4-1.1\n\t\tv-11.2c0-18.7-10.1-33.9-22.6-33.9c-12.5,0-22.6,15.2-22.6,33.9V200.2z"/> </svg> '},{iso2:"MS",code:"+1-664",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="121.41 0 342 342"> <rect y="0" fill="#1B4991" width="513" height="342"/> <path fill="#00A2B8" stroke="#FFFFFF" stroke-width="3" d="M318.2,106.7v106.5c0,51.9,67.8,67.8,67.8,67.8s67.8-15.9,67.8-67.8V106.7H318.2z"/> <path fill="#A35023" d="M319.7,212.7c0,50.8,66.3,66.3,66.3,66.3s66.3-15.6,66.3-66.3H319.7L319.7,212.7z"/> <polygon points="415.1,155.1 395.7,155.1 395.7,135.7 376.3,135.7 376.3,155.1 357,155.1 357,174.5 376.3,174.5 376.3,232.6\n\t395.7,232.6 395.7,174.5 415.1,174.5 "/> <polygon fill="#FFFFFF" points="256,0 256,30.6 210.8,55.7 256,55.7 256,115 196.9,115 256,147.8 256,170.7 229.3,170.7 155.8,129.8\n\t155.8,170.7 100.2,170.7 100.2,122.1 12.7,170.7 0,170.7 0,140.1 45.2,115 0,115 0,55.7 59.1,55.7 0,22.8 0,0 26.7,0 100.2,40.8\n\t100.2,0 155.8,0 155.8,48.6 243.3,0 "/> <polygon fill="#D80027" points="144,0 112,0 112,69.3 0,69.3 0,101.3 112,101.3 112,170.7 144,170.7 144,101.3 256,101.3 256,69.3\n\t144,69.3 "/> <polygon fill="#0052B4" points="155.8,115 256,170.7 256,154.9 184.2,115 "/> <polygon fill="#FFFFFF" points="155.8,115 256,170.7 256,154.9 184.2,115 "/> <polygon fill="#D80027" points="155.8,115 256,170.7 256,154.9 184.2,115 \t"/> <polygon fill="#D80027" points="71.8,115 0,154.9 0,170.7 0,170.7 100.2,115 \t"/> <polygon fill="#0052B4" points="100.2,55.6 0,0 0,15.7 71.8,55.6 "/> <polygon fill="#FFFFFF" points="100.2,55.6 0,0 0,15.7 71.8,55.6 "/> <polygon fill="#D80027" points="100.2,55.6 0,0 0,15.7 71.8,55.6 \t"/> <polygon fill="#D80027" points="184.2,55.6 256,15.7 256,0 256,0 155.8,55.6 \t"/> </svg> '},{iso2:"MA",code:"+212",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <polygon fill="#D80027" points="0,85.337 0,256 0,426.663 512,426.663 512,256 512,85.337 "/> <path fill="#20661b" d="M352,226.484h-73.337L256,156.738l-22.663,69.748H160l59.331,43.107l-22.663,69.749L256,296.232  l59.332,43.107l-22.663-69.749L352,226.484z M235.937,264.195l7.663-23.585h24.8l7.663,23.585l0,0v0.001L256,278.772  L235.937,264.195L235.937,264.195L235.937,264.195z M263.81,226.484h-15.619L256,202.447L263.81,226.484z M288.079,255.466  l-4.827-14.856h25.274L288.079,255.466z M228.748,240.61l-4.827,14.856l-20.447-14.856H228.748z M223.537,302.358l7.81-24.036  l12.636,9.181L223.537,302.358z M268.016,287.502l12.636-9.181l7.81,24.036L268.016,287.502z"/> </svg> '},{iso2:"MZ",code:"+258",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 342 342"> <rect y="85.333" fill="#FFFFFF" width="513" height="342"/> <rect y="323.333" fill="#f4d900" width="513" height="104"/> <rect y="85.333" fill="#006d66" width="513" height="104"/> <rect y="204.333" fill="#000000" width="513" height="104"/> <polygon fill="#cb0f31" points="256,256.006 0,426.668 0,85.331 "/> <polygon fill="#f4d900" points="83.477,195.132 98.584,241.63 147.478,241.63 107.924,270.369 123.031,316.868   83.477,288.13 43.922,316.868 59.032,270.369 19.478,241.63 68.37,241.63 "/> </svg> '},{iso2:"MM",code:"+95",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#6DA544" width="512" height="341.326"/> <rect y="85.337" fill="#FFDA44" width="512" height="113.775"/> <rect y="312.888" fill="#D80027" width="512" height="113.775"/> <path fill="#FFFFFF" d="M384,227.261h-97.783L256,134.265l-30.217,92.997H128l79.108,57.475l-30.217,92.998L256,320.925  l79.108,56.81l-30.217-92.998L384,227.261z"/> </svg> '},{iso2:"NA",code:"+264",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="32.427 85.333 341.333 341.333"> <rect y="85.337" fill="#496E2D" width="512" height="341.326"/> <polyline fill="#0052B4" points="0,426.663 0,85.337 512,85.337 "/> <polygon fill="#FFFFFF" points="512,152.222 512,85.337 411.67,85.337 0,359.778 0,426.663 100.33,426.663 "/> <polygon fill="#A2001D" points="512,85.337 512,125.462 60.193,426.663 0,426.663 0,386.538 451.807,85.337 "/> <polygon fill="#FFDA44" points="187.737,189.212 164.996,199.908 177.106,221.932 152.413,217.208 149.284,242.153   132.085,223.806 114.885,242.153 111.756,217.208 87.
1063,221.931 99.172,199.908 76.433,189.212 99.173,178.515 87.063,156.493   111.756,161.215 114.886,136.271 132.085,154.618 149.285,136.271 152.413,161.215 177.106,156.493 164.998,178.517 "/> </svg> '},{iso2:"NR",code:"+674",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="44.373 85.333 341.333 341.333"> <rect y="85.337" fill="#0052B4" width="512" height="341.326"/> <rect y="239.994" fill="#FFDA44" width="512" height="32"/> <polygon fill="#FFFFFF" points="174.802,341.329 155.678,350.325 165.862,368.846 145.095,364.873 142.464,385.851   128,370.422 113.535,385.851 110.905,364.873 90.138,368.846 100.321,350.325 81.198,341.329 100.322,332.334 90.138,313.814   110.904,317.785 113.536,296.807 128,312.236 142.465,296.807 145.095,317.785 165.862,313.814 155.679,332.335 "/> </svg> '},{iso2:"NP",code:"+977",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <polygon fill="#0052B4" points="0,426.663 0,85.337 280.419,260.087 87.61,260.087 271.186,426.663 "/> <polygon fill="#D80027" points="244.769,249.888 10.199,103.71 10.199,249.888 10.199,416.464 244.769,416.464   61.193,249.888 "/> <g> <polygon fill="#FFFFFF" points="98.003,324.433 83.414,317.57 91.184,303.44 75.34,306.47 73.332,290.465 62.297,302.237    51.261,290.465 49.253,306.47 33.41,303.439 41.18,317.57 26.589,324.433 41.18,331.295 33.41,345.425 49.254,342.396    51.261,358.4 62.297,346.628 73.332,358.4 75.34,342.396 91.183,345.426 83.414,331.296  "/> <polygon fill="#FFFFFF" points="88.268,191.662 77.656,186.671 83.307,176.393 71.784,178.598 70.323,166.957    62.297,175.518 54.271,166.957 52.811,178.598 41.286,176.393 46.938,186.671 36.325,191.662 62.297,196.856  "/> <path fill="#FFFFFF" d="M93.462,191.662c0,17.212-13.953,31.165-31.165,31.165s-31.165-13.953-31.165-31.165"/> </g> </svg> '},{iso2:"NL",code:"+31",flag:Ys},{iso2:"AN",code:"+599",flag:Ys},{iso2:"NC",code:"+687",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="25.596 0 426.7 426.7"> <path fill="#009543" d="M0,293h640v133.7H0V293z"/> <path fill="#ED4135" d="M0,132h640v161.3H0V132z"/> <path fill="#0035AD" d="M0,0h640v133.3H0V0z"/> <circle fill="#FAE600" stroke="#000000" stroke-width="5.3" cx="240" cy="213.3" r="157.3"/> <path d="M307.9,354.5l-31.8,12l-36.1,4.2l-37.8-2.4l-35.9-15.5c0,0,28.6-29.3,40.7-33.5c8.6-3,22.4-3.7,22.4-3.7V122l-0.3-66H246\n\tl-0.5,67.5v191.7c0,0,15.3,1.2,22.1,4.1C278.9,324.2,307.9,354.5,307.9,354.5z"/> <rect x="213" y="91" transform="matrix(0.8949 -0.4462 0.4462 0.8949 -18.4912 115.9796)" width="48" height="12.5"/> <ellipse cx="237.8" cy="280.5" rx="16.8" ry="26.5"/> <circle cx="237.4" cy="143.4" r="20.9"/> <ellipse cx="238.4" cy="211.1" rx="19.9" ry="12.1"/> <rect x="213.8" y="177" width="47" height="10"/> <rect x="213.8" y="234" width="47" height="10"/> </svg> '},{iso2:"NZ",code:"+64",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="114.347 85.333 341.333 341.333"> <rect y="85.334" fill="#0052B4" width="512" height="341.337"/> <g> <polygon fill="#D80027" points="425.301,233.745 428.689,244.173 439.652,244.173 430.782,250.617 434.17,261.044    425.301,254.6 416.43,261.044 419.818,250.617 410.948,244.173 421.911,244.173  "/> <polygon fill="#D80027" points="386.107,308.817 391.19,324.459 407.635,324.459 394.33,334.126 399.412,349.766    386.107,340.099 372.802,349.766 377.885,334.126 364.58,324.459 381.025,324.459  "/> <polygon fill="#D80027" points="387.588,185.971 391.824,199.007 405.528,199.007 394.44,207.061 398.675,220.095    387.588,212.039 376.5,220.095 380.735,207.061 369.648,199.007 383.352,199.007  "/> <polygon fill="#D80027" points="349.876,233.291 354.958,248.932 371.404,248.932 358.098,258.598 363.182,274.239    349.876,264.573 336.571,274.239 341.653,258.598 328.348,248.932 344.793,248.932  "/> </g> <polygon fill="#FFFFFF" points="256.003,85.329 256.003,115.893 210.825,140.981 256.003,140.981 256.003,200.34   196.89,200.34 256.003,233.186 256.003,255.992 229.313,255.992 155.829,215.166 155.829,25
15.992 100.177,255.992 100.177,207.419   12.748,255.992 0.003,255.992 0.003,225.439 45.171,200.34 0.003,200.34 0.003,140.981 59.106,140.981 0.003,108.147 0.003,85.329   26.683,85.329 100.177,126.167 100.177,85.329 155.829,85.329 155.829,133.902 243.259,85.329 "/> <polygon fill="#D80027" points="144,85.33 112,85.33 112,154.664 0,154.664 0,186.664 112,186.664 112,255.998 144,255.998   144,186.664 256,186.664 256,154.664 144,154.664 "/> <polygon fill="#0052B4" points="155.826,200.344 256,255.998 256,240.259 184.153,200.344 "/> <polygon fill="#FFFFFF" points="155.826,200.344 256,255.998 256,240.259 184.153,200.344 "/> <g> <polygon fill="#D80027" points="155.826,200.344 256,255.998 256,240.259 184.153,200.344  "/> <polygon fill="#D80027" points="71.846,200.344 0,240.259 0,255.998 0,255.998 100.174,200.344  "/> </g> <polygon fill="#0052B4" points="100.174,140.983 0,85.33 0,101.068 71.847,140.983 "/> <polygon fill="#FFFFFF" points="100.174,140.983 0,85.33 0,101.068 71.847,140.983 "/> <g> <polygon fill="#D80027" points="100.174,140.983 0,85.33 0,101.068 71.847,140.983  "/> <polygon fill="#D80027" points="184.154,140.983 256,101.068 256,85.33 256,85.33 155.826,140.983  "/> </g> </svg> '},{iso2:"NI",code:"+505",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <g> <rect y="85.337" fill="#338AF3" width="512" height="113.775"/> <rect y="312.888" fill="#338AF3" width="512" height="113.775"/> </g> <path fill="#FFDA44" d="M256,214.447c-22.949,0-41.553,18.603-41.553,41.553S233.05,297.553,256,297.553  c22.949,0,41.553-18.603,41.553-41.553S278.949,214.447,256,214.447z M256,279.745c-13.114,0-23.745-10.631-23.745-23.745  s10.631-23.745,23.745-23.745c13.114,0,23.745,10.631,23.745,23.745C279.745,269.114,269.114,279.745,256,279.745z"/> <polygon fill="#0052B4" points="276.563,261.936 256,256 235.437,261.936 228.582,273.809 283.418,273.809 "/> <polygon fill="#338AF3" points="256,226.32 242.291,250.064 256,256 269.709,250.064 "/> <polygon fill="#6DA544" points="235.437,261.936 276.563,261.936 269.709,250.064 242.291,250.064 "/> </svg> '},{iso2:"NE",code:"+227",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#e05206" width="512" height="113.775"/> <rect y="312.888" fill="#0db02b" width="512" height="113.775"/> <circle fill="#e05206" cx="256" cy="256" r="32"/> </svg> '},{iso2:"NG",code:"+234",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 85.5 342 342"> <rect y="85.5" fill="#FFFFFF" width="513" height="342"/> <g fill="#007b23"> <rect y="85.5" width="171" height="342"/> <rect x="342" y="85.5" width="171" height="342"/> </g> </svg> '},{iso2:"NU",code:"+683",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.334" fill="#FFDA44" width="512" height="341.337"/> <rect y="85.334" fill="#FFFFFF" width="256" height="170.663"/> <g> <polygon fill="#D80027" points="144,85.33 112,85.33 112,154.663 0,154.663 0,186.663 112,186.663 112,255.997 144,255.997    144,186.663 256,186.663 256,154.663 144,154.663  "/> <polygon fill="#D80027" points="0,85.329 0,100.412 57.377,138.663 80,138.663  "/> </g> <g> <polygon fill="#2E52B2" points="0,107.951 0,138.663 46.069,138.663  "/> <polygon fill="#2E52B2" points="96,85.331 96,134.244 22.628,85.331  "/> </g> <polygon fill="#D80027" points="256,85.329 256,100.412 198.623,138.663 176,138.663 "/> <g> <polygon fill="#2E52B2" points="256,107.951 256,138.663 209.931,138.663  "/> <polygon fill="#2E52B2" points="160,85.331 160,134.244 233.372,85.331  "/> </g> <polygon fill="#D80027" points="0,85.329 0,100.412 57.377,138.663 80,138.663 "/> <g> <polygon fill="#2E52B2" points="0,107.951 0,138.663 46.069,138.663  "/> <polygon fill="#2E52B2" points="96,85.331 96,134.244 22.628,85.331  "/> </g> <polygon fill="#D80027" points="256,85.329 256,100.412 198.623,138.663 176,138.663 "/> <g> <polygon fill="#2E52B2" points="256,107.951 256,138.663 209.931,138.663  "/> <polygon fill="#2E52B2" points="160,85.331 160,134.244 233.372,85.331  "/> </g> <polygon fill="#D80027" points="0,255.997 0,240.915 57.377,202.663 80,202.663 "/> <g> <polygon fill="#2E52B2" points="0,233.376 0,202.663 46.069,202.663  "/> <polygon fill="#2E52B2" points="96,255.994 96,207.082 22.628,255.994  "/> </g> <polygon fill="#D80027" points="256,255.997 256,240.915 198.623,202.663 176,202.663 "/> <g> <polygon fill="#2E52B2" points="256,233.376 256,202.663 209.931,202.663  "/> <polygon fill="#2E52B2" points="160,255.994 160,207.082 233.372,255.994  "/> <circle fill="#2E52B2" cx="128" cy="170.66" r="22.627"/> </g> <g> <polygon fill="#FFDA44" points="128,154.663 131.97,166.885 144.824,166.885 134.426,174.441 138.397,186.663 128,179.109    11
17.602,186.663 121.574,174.441 111.176,166.885 124.029,166.885  "/> <polygon fill="#FFDA44" points="128,219.803 130.364,227.081 138.017,227.081 131.827,231.579 134.191,238.857 128,234.359    121.809,238.857 124.173,231.579 117.983,227.081 125.635,227.081  "/> <polygon fill="#FFDA44" points="128,102.469 130.364,109.747 138.017,109.747 131.827,114.245 134.191,121.523 128,117.025    121.809,121.523 124.173,114.245 117.983,109.747 125.635,109.747  "/> <polygon fill="#FFDA44" points="197.931,161.136 200.296,168.413 207.949,168.413 201.757,172.912 204.122,180.191    197.931,175.693 191.74,180.191 194.105,172.912 187.914,168.413 195.566,168.413  "/> <polygon fill="#FFDA44" points="58.069,161.136 60.433,168.413 68.086,168.413 61.895,172.912 64.259,180.191    58.069,175.693 51.878,180.191 54.243,172.912 48.051,168.413 55.704,168.413  "/> </g> </svg> '},{iso2:"KP",code:"+850",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="71.68 85.333 341.333 341.333"> <rect y="85.331" fill="#91DC5A" width="512" height="341.337"/> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <g> <rect y="85.331" fill="#0052B4" width="512" height="57.188"/> <rect y="369.48" fill="#0052B4" width="512" height="57.177"/> </g> <rect y="165.215" fill="#D80027" width="512" height="181.582"/> <circle fill="#FFFFFF" cx="190.33" cy="255.994" r="65.668"/> <polygon fill="#D80027" points="190.332,190.332 205.066,235.678 252.823,235.678 214.173,263.706 229.022,309.187   190.332,281.027 151.701,309.134 166.491,263.706 127.875,235.678 175.597,235.678 "/> </svg> '},{iso2:"MP",code:"+1-670",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="125 0 500 500"> <path fill="#0071BC" d="M0 0h750v500H0V0z"/> <g fill="#FFF" stroke="#000" stroke-width="1.9"> <circle cx="375" cy="245" r="225" stroke="#000000" fill="#ffffff"/> <circle cx="375" cy="245" r="165" stroke="#000000" fill="#0071BC"/> </g> <g stroke="#000"> <path fill="#8C8A8C" stroke-width="1.9" d="M444.7,450c0.7,11-7.8,20-18.8,20H323.6c-11,0-19.5-9-19-20L321.3,125c0.6-11,10-20,21-20h61.4\n\t\t\tc11,0,20.5,9,21.2,20L444.7,450z"/> <path fill="#FFF" stroke-width="2" stroke-linejoin="round" d="M373 114l30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"/> </g> </svg>'},{iso2:"NO",code:"+47",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="37.547 85.333 341.333 341.333"> <rect y="85.334" fill="#D80027" width="512" height="341.337"/> <polygon fill="#FFFFFF" points="512,295.883 202.195,295.883 202.195,426.666 183.652,426.666 140.978,426.666   122.435,426.666 122.435,295.883 0,295.883 0,277.329 0,234.666 0,216.111 122.435,216.111 122.435,85.329 140.978,85.329   183.652,85.329 202.195,85.329 202.195,216.111 512,216.111 512,234.666 512,277.329 "/> <polygon fill="#2E52B2" points="512,234.666 512,277.329 183.652,277.329 183.652,426.666 140.978,426.666 140.978,277.329   0,277.329 0,234.666 140.978,234.666 140.978,85.329 183.652,85.329 183.652,234.666 "/> </svg> '},{iso2:"OM",code:"+968",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="44.46 0 342 342"> <rect fill="#D80027" y="0" width="513" height="342"/> <rect x="138" y="0" fill="#FFFFFF" width="377" height="114"/> <rect x="138" y="230" fill="#4A7C3A" width="377" height="114"/> <g fill="none" stroke="#FFFFFF" stroke-width="10" stroke-miterlimit="2"> <path d="M40.3,35.2c0,0,37.1,48,50.8,54.5c13.7,6.5,17.1,5.7,17.1,5.7"/> <path d="M100,35.2c0,0-37.1,45.4-46.7,52.4c-9.6,7-18.7,7.8-18.7,7.8"/> <line x1="51.7" y1="65.3" x2="89.6" y2="65.3"/> <line x1="70.7" y1="35.2" x2="70.7" y2="65.3"/> </g> </svg> '},{iso2:"PK",code:"+92",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="136.534 85.333 341.333 341.333"> <g> <polygon fill="#FFFFFF" points="393.508,170.516 411.02,189.391 434.383,178.57 421.842,201.057 439.355,219.933    414.092,214.955 401.553,237.443 398.48,211.879 373.217,206.901 396.58,196.081  "/> <rect y="85.343" fill="#FFFFFF" width="512" height="341.326"/> </g> <rect x="128" y="85.331" fill="#01411c" width="384" height="341.337"/> <g> <path fill="#FFFFFF" d="M361.909,298.793c-31.037,22.426-74.378,15.446-96.804-15.592   c-22.427-31.038-15.446-74.379,15.593-96.804c9.677-6.992,20.55-11.125,31.613-12.563c-21.283-3.183-43.777,1.613-62.598,15.211   c-38.2,27.602-46.792,80.944-19.191,119.145c27.601,38.199,80.944,46.792,119.145,19.189c18.82-13.598,30.43
16-33.448,34.096-54.655   C378.924,282.774,371.587,291.8,361.909,298.793z"/> <polygon fill="#FFFFFF" points="360.58,172.889 378.064,191.731 401.386,180.929 388.867,203.376 406.35,222.22    381.131,217.252 368.612,239.702 365.545,214.181 340.325,209.212 363.648,198.41  "/> </g> </svg> '},{iso2:"PW",code:"+680",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="49.493 85.333 341.333 341.333"> <rect y="85.331" fill="#338AF3" width="512" height="341.337"/> <circle fill="#FFDA44" cx="218.902" cy="255.994" r="74.207"/> </svg> '},{iso2:"PS",code:"+970",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="5.12 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" width="512" height="113.775"/> <rect y="312.888" fill="#268024" width="512" height="113.775"/> <polygon fill="#e4312b" points="256,256.006 0,426.668 0,85.331 "/> </svg> '},{iso2:"PA",code:"+507",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <path fill="#0052B4" d="M256,256c0,0,0,85.304,0,170.663H0V256h85.337C166.934,256,256,256,256,256z"/> <path fill="#D80027" d="M512,85.337V256h-85.337C336.184,256,256,256,256,256s0-90.323,0-170.663H512z"/> <polygon fill="#0052B4" points="128,123.034 139.824,159.423 178.087,159.423 147.132,181.914 158.955,218.303 128,195.813   97.045,218.303 108.868,181.914 77.913,159.423 116.176,159.423 "/> <polygon fill="#D80027" points="384,293.697 395.824,330.086 434.087,330.086 403.132,352.577 414.955,388.966 384,366.476   353.045,388.966 364.868,352.577 333.913,330.086 372.176,330.086 "/> </svg> '},{iso2:"PG",code:"+675",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" width="512" height="341.337"/> <polyline fill="#A2001D" points="0,85.33 512,85.33 512,426.662 "/> <g> <polygon fill="#FFFFFF" points="204.631,326.488 207.393,334.992 216.334,334.992 209.101,340.247 211.864,348.749    204.631,343.495 197.398,348.749 200.16,340.247 192.927,334.992 201.867,334.992  "/> <polygon fill="#FFFFFF" points="181.797,244.866 186.402,259.038 201.303,259.038 189.247,267.795 193.852,281.967    181.797,273.208 169.742,281.967 174.348,267.795 162.292,259.038 177.193,259.038  "/> <polygon fill="#FFFFFF" points="181.797,348.749 186.401,362.922 201.303,362.922 189.246,371.679 193.852,385.852    181.797,377.093 169.742,385.852 174.346,371.679 162.292,362.922 177.191,362.922  "/> <polygon fill="#FFFFFF" points="225.363,281.967 229.969,296.139 244.87,296.139 232.814,304.897 237.419,319.069    225.363,310.31 213.309,319.069 217.915,304.897 205.859,296.139 220.76,296.139  "/> <polygon fill="#FFFFFF" points="138.23,281.967 142.836,296.139 157.735,296.139 145.681,304.897 150.284,319.069    138.23,310.31 126.175,319.069 130.78,304.897 118.725,296.139 133.625,296.139  "/> </g> <path fill="#FFDA44" d="M376.526,204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795  c-12.698-12.698-29.714-18.431-46.319-17.218c-1.988-7.145-5.778-13.892-11.396-19.511l-12.593,25.186  c-0.826-1.506-1.872-2.923-3.148-4.197c-7.245-7.245-18.991-7.244-26.234,0s-7.245,18.99,0,26.234  c1.276,1.276,2.692,2.322,4.197,3.148l-25.186,12.593c5.62,5.62,12.371,9.412,19.519,11.399  c-1.217,16.606,4.511,33.619,17.209,46.317l27.854-35.811c2.096-2.064,4.862-3.202,7.807-3.202c2.973,0,5.768,1.158,7.87,3.26  c2.103,2.103,3.26,4.897,3.26,7.87c0,2.974-1.158,5.768-3.26,7.87l10.494,10.494c4.905-4.905,7.607-11.428,7.607-18.364  c0-5.675-1.81-11.071-5.153-15.534c4.871,1.3,9.474,3.849,13.288,7.662c11.573,11.572,11.573,30.403,0,41.975l10.494,10.494  c8.409-8.409,13.039-19.59,13.039-31.481C389.565,223.752,384.934,212.572,376.526,204.163z"/> </svg> '},{iso2:"PY",code:"+595",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#0052B4" width="512" height="113.775"/> <path fill="#6DA544" d="M289.579,216.738l-12.592,12.592c5.37,5.372,8.693,12.792,8.693,20.988  c0,16.392-13.289,29.68-29.68,29.68c-16.392,0-29.68-13.289-29.68-29.68c0-8.195,3.322-15.616,8.693-20.988l-12.592-12.592  c-8.594,8.594-13.91,20.466-13.91,33.579c0,26.228,21.261,47.489,47.489,47.489s47.489-21.261,47.489-47.489  C303.489,237.205,298.173,225.332,289.579,216.738z"/> <polygon fill="#FFDA44" points="256,232.51 260.421,246.115 274.725,246.115 263.152,254.523 267.573,268.127 256,259.719   244.427,268.127 248.848,254.523 237.275,246.115 251.579,246.115 "/> </svg> '},{iso2:"PE",code:"+51",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.326"/> <g> <rect y="85.331" fill="#D80027" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#D80027" width="170.663" height="341.337"/> </g> </svg> '},{iso2:"PH",code:"+63",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <g> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> </g> <polygon fill="#0052B4" points="512,85.337 512,256 256,256 0,85.337 "/> <polygon fill="#D80027" points="512,256 512,426.663 0,426.663 256,256 "/> <g> <polygon fill="#FFDA44" points="161.908,256 134.62,243.165 149.152,216.737 119.52,222.405 115.765,192.472    95.125,214.487 74.486,192.472 70.731,222.405 41.1,216.736 55.631,243.164 28.343,256 55.631,268.835 41.1,295.263    70.733,289.595 74.486,319.528 95.125,297.513 115.765,319.528 119.52,289.595 149.151,295.264 134.619,268.837  "/> <polygon fill="#FFDA44" points="21.789,117.607 30.87,130.303 45.749,125.589 36.48
11,138.149 45.562,150.843    30.753,145.911 21.485,158.47 21.602,142.862 6.793,137.928 21.673,133.216  "/> <polygon fill="#FFDA44" points="21.789,353.53 30.87,366.226 45.749,361.512 36.481,374.072 45.562,386.767 30.753,381.834    21.485,394.392 21.602,378.785 6.793,373.851 21.673,369.139  "/> <polygon fill="#FFDA44" points="210.395,235.569 201.314,248.264 186.435,243.551 195.703,256.11 186.622,268.806    201.431,263.873 210.699,276.431 210.582,260.824 225.391,255.89 210.511,251.177  "/> </g> </svg> '},{iso2:"PN",code:"+64",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="114.347 85.333 341.333 341.333"> <rect y="85.333" fill="#0052B4" width="512" height="341.337"/> <polygon fill="#ACABB1" points="400.696,219.822 384,225.387 367.304,219.822 361.739,205.909 367.304,191.996   400.696,191.996 395.13,205.909 "/> <path fill="#338AF3" d="M345.043,219.822v61.217c0,29.821,38.957,38.957,38.957,38.957s38.957-9.137,38.957-38.957v-61.217  H345.043z"/> <path fill="#6DA544" d="M348.555,295.541C358.131,313.927,384,319.996,384,319.996s25.869-6.069,35.445-24.455L384,236.518  L348.555,295.541z"/> <path fill="#FFDA44" d="M422.957,280.421L384,219.822l-38.957,60.599v0.618c0,5.518,1.337,10.328,3.512,14.503L384,240.405  l35.445,55.137c2.175-4.175,3.512-8.983,3.512-14.503V280.421z"/> <polygon fill="#FFFFFF" points="256,85.333 256,115.886 210.833,140.985 256,140.985 256,200.344 196.897,200.344   256,233.179 256,255.996 229.32,255.996 155.826,215.17 155.826,255.996 100.174,255.996 100.174,207.423 12.744,255.996 0,255.996   0,225.442 45.167,200.344 0,200.344 0,140.985 59.103,140.985 0,108.139 0,85.333 26.68,85.333 100.174,126.158 100.174,85.333   155.826,85.333 155.826,133.905 243.256,85.333 "/> <polygon fill="#D80027" points="144,85.33 112,85.33 112,154.662 0,154.662 0,186.662 112,186.662 112,255.996 144,255.996   144,186.662 256,186.662 256,154.662 144,154.662 "/> <polygon fill="#0052B4" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344 "/> <polygon fill="#FFFFFF" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344 "/> <g> <polygon fill="#D80027" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344  "/> <polygon fill="#D80027" points="71.846,200.344 0,240.259 0,255.996 0,255.996 100.174,200.344  "/> </g> <polygon fill="#0052B4" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982 "/> <polygon fill="#FFFFFF" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982 "/> <g> <polygon fill="#D80027" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982  "/> <polygon fill="#D80027" points="184.154,140.982 256,101.067 256,85.33 256,85.33 155.826,140.982  "/> </g> </svg> '},{iso2:"PL",code:"+48",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <g> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#FFFFFF" width="512" height="170.663"/> </g> <rect y="256" fill="#D80027" width="512" height="170.663"/> </svg> '},{iso2:"PT",code:"+351",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="30.72 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <polygon fill="#6DA544" points="196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 "/> <circle fill="#FFDA44" cx="196.641" cy="256" r="64"/> <path fill="#D80027" d="M160.638,224v40.001c0,19.882,16.118,36,36,36s36-16.118,36-36V224H160.638z"/> <path fill="#FFFFFF" d="M196.638,276c-6.617,0-12-5.383-12-12v-16h24.001v16C208.638,270.616,203.254,276,196.638,276z"/> </svg> '},{iso2:"PR",code:"+1-787",flag:Zs},{iso2:"PR",code:"+ 1-939",flag:Zs},{iso2:"QA",code:"+974",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect fill="#751A46" width="512" height="342"/> <polygon fill="#FFFFFF" points="0,0 0,342 150.3,342 188,322.4 150.3,303.5 188,284.5 150.3,265.6 188,246.6 150.3,227.6\n\t188,208.7 150.3,189.7 188,170.7 150.3,151.8 188,132.8 188,132.8 188,132.8 150.3,113.9 188,94.9 150.3,75.9 188,57 150.3,38\n\t188,19.1 150.3,0 "/> </svg> '},{iso2:"CG",code:"+242",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.5 85.333 342 342"> <rect y="85.331" fill="#da1a35" width="513" height="342"/> <polygon fill="#009543" points="443.726,85.331 102.4,426.657 0,426.657 0,85.331 "/> <polygon fill="#fbde4a" points="500.124,85.331 158.798,426.657 11.876,426.657 353.202,85.331 "/> </svg> '},{iso2:"RE",code:"+262",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="106.667 26.666 426.666 426.666"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#fff" d="M0 0h640v480H0z"/> <path fill="#00267f" d="M0 0h213.3v480H0z"/> <path fill="#f31830" d="M426.7 0H640v480H426.7z"/> </g> </svg> '},{iso2:"RO",code:"+40",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.326"/> <rect y="85.331" fill="#0052B4" width="170.663" height="341.337"/> <rect x="341.337" y="85.331" fill="#D80027" width="170.663" height="341.337"/> </svg> '},{iso2:"RU",code:"+7",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <polygon fill="#FFFFFF" points="0,85.33 0,199.107 0,312.885 0,426.662 512,426.662 512,312.885 512,199.107 512,85.33 "/> <rect y="85.333" fill="#0052B4" width="512" height="341.337"/> <rect y="85.333" fill="#FFFFFF" width="512" height="113.775"/> <rect y="312.884" fill="#D80027" width="512" height="113.775"/> </svg> '},{iso2:"RW",code:"+250",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#338AF3" width="512" height="341.337"/> <rect y="255.994" fill="#FFDA44" width="512" height="81.619"/> <rect y="337.614" fill="#496E2D" width="512" height="89.043"/> <polygon fill="#FFDA44" points="278.261,185.209 299.105,195.013 288.006,215.199 310.638,210.869 313.506,233.734   329.271,216.918 345.037,233.734 347.904,210.869 370.537,215.199 359.438,195.013 380.281,185.209 359.437,175.404   370.537,155.219 347.904,159.548 345.036,136.684 329.271,153.5 313.505,136.684 310.638,159.548 288.004,155.219 299.104,175.406   "/> </svg> '},{iso2:"BL",code:"+590",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.335 0 341.33 341.33"> <rect fill="#FFFFFF" width="512" height="341.33"/> <path fill="#FFFFFF" d="M0-75.85"/>
1 <path fill="#E6BC00" d="M157.31,199.76c0,0-9.04,43.93-19.31,40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52,21.24\n\t\tc0,0,38.18,8.48,41.01,5.47c1.22-1.14,8.21-15.1,10.34-26.05V199.76z M101.18,260.33c0,0-2.48,20.18-1.06,22.66\n\t\tc1.24,2.3,39.48,11.33,39.48,11.33s-24.96,16.46-29.74,20.54L91.8,284.94l-0.71-24.61L101.18,260.33L101.18,260.33z"/> <path fill="#E6BC00" d="M0-75.85"/> <path fill="#E6BC00" d="M112.51,94.64c0,0,39.65,41.6,40.36,45.5c0.71,3.72-4.25,3.19-4.25,3.19s-44.79-37.53-49.92-41.07\n\tC93.39,98.71,112.51,94.64,112.51,94.64L112.51,94.64z"/> <path fill="#ADADAD" d="M99.41,104.73c0,0,16.99-0.71,16.64-11.51C115.7,82.6,104.9,78.35,96.93,80.83\n\tc-7.97,2.3-23.01,13.45-13.63,35.05c9.38,21.42,23.37,29.39,26.2,47.8c0,0-5.46,9.86-19.12,0.35c-16.9-11.77-6.2-38.24-10.44-44.96\n\tc-4.25-7.08-40.95-38.92-40.95-38.92s-30.24,39.37-18,74.92c16.95,49.21,51.74,31.98,64.61,36.76c0,0-42.13,61.96-49.57,67.09\n\tc0,0,24.08,8.32,47.8-18.76c0,0,5.84,9.74,7.08,20.18h10.27c4.78-26.2,51.51-64.26,49.92-82.32\n\tC149.33,156.77,101.89,128.63,99.41,104.73z"/> <path fill="#E6BC00" d="M359.17,201.27c0,0,8.96,42.43,19.23,38.89c10.62-3.54,17.53-18.76,17.53-18.76l14.52,21.24\n\tc0,0-37,8.48-39.83,5.47c-1.21-1.14-9.32-13.79-11.52-24.66L359.17,201.27z M415.22,260.33c0,0,2.48,20.18,1.06,22.66\n\tc-1.24,2.3-39.48,11.33-39.48,11.33s24.96,16.46,29.74,20.54l18.06-29.92l0.71-24.61H415.22z"/> <path fill="#E6BC00" d="M403.89,94.64c0,0-39.65,41.6-40.36,45.5c-0.71,3.72,4.25,3.19,4.25,3.19s44.79-37.53,49.92-41.07\n\tC422.84,98.71,403.89,94.64,403.89,94.64L403.89,94.64z"/> <g transform="translate(6.5 5)"> <g> <path id="b_1_" fill="#125ECC" d="M150.81,82.06h201.79v145.46c0,16.06-9.69,21.39-21.91,31.85l-45.92,39.41\n\t\t\tc-18.25,15.62-47.91,15.57-66.07,0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V82.06z"/> </g> <path fill="#FFE600" d="M194.05,142.71c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41\n\t\tS202.01,142.71,194.05,142.71z M251.7,139.71c-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41\n\t\ts14.41,6.45,14.41,14.41C266.11,133.26,259.66,139.71,251.7,139.71z M309.35,142.71c-7.96,0-14.41-6.45-14.41-14.41\n\t\ts6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41S317.31,142.71,309.35,142.71z M208.46,269.43c-7.96,0-14.41-6.45-14.41-14.41\n\t\tc0-7.96,6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41C222.88,262.98,216.42,269.43,208.46,269.43z M251.7,283.85\n\t\tc-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41C266.11,277.39,259.66,283.85,251.7,283.85z\n\t\t M294.94,269.43c-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41c7.96,0,14.41,6.45,14.41,14.41\n\t\tC309.35,262.98,302.9,269.43,294.94,269.43z"/> <path fill="#D60537" d="M150.81,170.36h201.79v57.65H150.81V170.36z"/> </g> <path fill="#EACE00" d="M142.9,43.82c0,0,57.65-14.41,115.31-14.41s115.31,14.41,115.31,14.41l-14.41,57.65\n\tc0,0-50.45-14.41-100.89-14.41s-100.89,14.41-100.89,14.41L142.9,43.82z"/> <path fill="#7A6920" d="M258.2,72.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41c7.96,0,14.41,6.45,14.41,14.41\n\tS266.16,72.65,258.2,72.65z M315.85,77.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41\n\tS323.81,77.65,315.85,77.65z M200.55,77.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41\n\tS208.51,77.65,200.55,77.65z"/> <path fill="#ADADAD" d="M365.08,178.02c-1.59,18.06,45.14,56.12,49.92,82.32h10.27c1.24-10.44,7.08-20.18,7.08-20.18\n\tc23.72,27.09,47.8,18.76,47.8,18.76c-7.44-5.13-49.57-67.09-49.57-67.09c12.88-4.78,47.67,12.45,64.61-36.76\n\tc12.24-35.55-18-74.92-18-74.92s-36.7,31.84-40.95,38.92c-4.25,6.73,6.46,33.2-10.44,44.96c-13.66,9.51-19.12-0.35-19.12-0.35\n\tc2.83-18.41,16.82-26.38,26.2-47.8c9.38-21.6-5.66-32.75-13.63-35.05c-7.97-2.48-18.76,1.77-19.12,12.39\n\tc-0.35,10.8,16.64,11.51,16.64,11.51C414.29,128.63,366.85,156.77,365.08,178.02z"/> <circle fill="#FFFFFF" cx="258.2" cy="204.19" r="16.93"/> </svg> '},{iso2:"SH",code:"+290",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
1ox="112.662 0 341.3 341.3"> <rect y="0" fill="#0052B4" width="512" height="341.3"/> <polygon fill="#FFFFFF" points="256,0 256,117.4 209.9,117.4 256,148.1 256,170.7 233.4,170.7 160,121.8 160,170.7 96,170.7 96,121.8\n\t22.6,170.7 0,170.7 0,148.1 46.1,117.4 0,117.4 0,53.4 46.1,53.4 0,22.7 0,0 22.6,0 96,48.9 96,0 160,0 160,48.9 233.4,0 "/> <g> <polygon fill="#D80027" points="144,0 112,0 112,69.4 0,69.4 0,101.4 112,101.4 112,170.7 144,170.7 144,101.4 256,101.4 256,69.4\n\t\t144,69.4 \t"/> <polygon fill="#D80027" points="0,0 0,15.1 57.4,53.4 80,53.4 \t"/> <polygon fill="#D80027" points="256,0 256,15.1 198.6,53.4 176,53.4 \t"/> </g> <polygon fill="#2E52B2" points="256,22.7 256,53.4 209.9,53.4 "/> <g> <polygon fill="#D80027" points="0,0 0,15.1 57.4,53.4 80,53.4 \t"/> <polygon fill="#D80027" points="256,0 256,15.1 198.6,53.4 176,53.4 \t"/> </g> <polygon fill="#2E52B2" points="256,22.7 256,53.4 209.9,53.4 "/> <g> <polygon fill="#D80027" points="0,170.7 0,155.6 57.4,117.4 80,117.4 \t"/> <polygon fill="#D80027" points="256,170.7 256,155.6 198.6,117.4 176,117.4 \t"/> </g> <g> <path fill="#29DBFF" d="M449,139.7c-0.1,44.4-7.2,92.1-65,114.9c-57.8-22.8-64.9-70.5-65-114.9L449,139.7L449,139.7z"/> <path fill="#ffda44" d="M449,139.7c0-16.7-0.9-32.9-0.5-47.1C426.9,83,398.4,81,383.9,81s-42.9,2-64.6,11.6\n\t\tc0.4,14.2-0.5,30.4-0.5,47.1H449z"/> <path fill="#BF521B" d="M369.5,204.5l0.3,10.3L357,215l4.9,13.2l-17.3,0c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7l8.3,14.3l10.8-12.8\n\t\tl7,7.8l0.8,15.7L369.5,204.5z"/> </g> <polygon fill="#474747" points="436.6,192.5 428,210.8 381,210.8 351.8,191.3 377.5,201.8 402.6,201.8 406.3,195.3 413.5,195.5\n\t415.5,192.5 "/> </svg> '},{iso2:"KN",code:"+1-869",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#D80027" width="513" height="342"/> <polyline fill="#6DA544" points="512,0 0,0 0,342 "/> <polygon fill="#FFDA44" points="307.7,0 0,194.5 0,342 206.9,342 513,148.5 513,0 "/> <polygon fill="#000000" points="513,0 385.2,0 0,249.4 0,341 126.2,342 513,91.6 "/> <g fill="#FFFFFF"> <polygon points="141.1,187 172.3,211 204.6,188.8 191.5,225.8 222.6,249.7 183.4,248.6 170.2,285.6 159.1,248\n\t\t119.9,246.9 152.2,224.7 \t"/> <polygon points="310.6,70.8 341.8,94.7 374.1,72.5 361,109.5 392.1,133.4 352.9,132.3 339.7,169.3 328.6,131.7\n\t\t289.4,130.6 321.8,108.4 \t"/> </g> </svg> '},{iso2:"LC",code:"+1-758",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.5 0 342 342"> <rect y="0" fill="#55B2FF" width="513" height="342"/> <polygon fill="#F3F3F3" points="148.5,298.1 364.5,298.1 256.5,43.9 "/> <polygon fill="#333333" points="186,272.7 256.5,112.4 327,272.7 "/> <polygon fill="#FFDA44" points="148.5,298.1 364.5,298.1 256.5,196.4 "/> </svg> '},{iso2:"MF",code:"+590",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="18 0 72 72"> <path d="M0,0H108V72H0z" fill="#003787"/> <path d="M0,0H108L60,48V72H48V48z" fill="#fff"/> <circle cx="54" cy="30" r="8" fill="#f9d90f"/> <path d="M44,30H64L54,48z" fill="#fff"/> <path d="M54,48 38,33H70z" fill="#cf142b"/> </svg>'},{iso2:"PM",code:"+508",flag:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="106.667 26.666 426.666 426.666"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#fff" d="M0 0h640v480H0z"/> <path fill="#00267f" d="M0 0h213.3v480H0z"/> <path fill="#f31830" d="M426.7 0H640v480H426.7z"/> </g> </svg> '},{iso2:"VC",code:"+1-784",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.337"/> <rect y="85.331" fill="#338AF3" width="170.663" height="341.337"/> <g> <rect x="341.337" y="85.331" fill="#6DA544" width="170.663" height="341.337"/> <polygon fill="#6DA544" points="214.261,283.82 180.868,233.734 214.26,183.647 247.652,233.734  "/> <polygon fill="#6DA544" points="297.739,283.82 264.348,233.734 297.739,183.647 331.132,233.734  "/> <polygon fill="#6DA544" points="256,350.603 222.609,300.516 256,250.429 289.391,300.516  "/> </g> </svg> '},{iso2:"WS",code:"+685",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="15.36 85.333 341.333 341.333"> <rect y="85.331" fill="#D80027" width="512" height="341.337"/> <rect y="85.331" fill="#0052B4" width="256" height="170.663"/> <g> <polygon fill="#FFFFFF" points="165.483,181.79 168.247,190.294 177.186,190.294 169.954,195.548 172.717,204.051    165.483,198.796 158.25,204.051 161.013,195.548 153.78,190.294 162.72,190.294  "/> <polygon fill="#FFFFFF" points="120.579,115.007 125.185,129.18 140.085,129.18 128.03,137.937 132.635,152.108    120.579,143.35 108.525,152.108 113.13,137.937 101.074,129.18 115.975,129.18  "/> <polygon fill="#FFFFFF" points="165.101,129.848 169.707,144.02 184.607,144.02 172.552,152.777 177.156,166.95    165.101,158.19 153.047,166.95 157.651,152.777 145.596,144.02 160.496,144.02  "/> <polygon fill="#FFFFFF" points="129.909,189.211 134.515,203.383 149.415,203.383 137.36,212.141 141.964,226.312    129.909,217.553 
1117.855,226.312 122.459,212.141 110.404,203.383 125.304,203.383  "/> <polygon fill="#FFFFFF" points="90.899,152.108 95.504,166.281 110.404,166.281 98.349,175.038 102.953,189.211    90.899,180.451 78.844,189.211 83.448,175.038 71.393,166.281 86.293,166.281  "/> </g> </svg> '},{iso2:"SM",code:"+378",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.34" fill="#338AF3" width="512" height="341.326"/> <polygon fill="#FFFFFF" points="512,85.334 512,252.024 0,256.175 0,85.334 "/> <path fill="#6DA544" d="M323.744,203.099L256,270.843l-67.744-67.744c-8.76,13.005-13.879,28.658-13.879,45.483v22.261  c0,35.744,23.097,66.193,55.148,77.213c-4.277,8.385-3.556,18.848,2.712,26.671c8.326-6.673,16.945-13.58,24.258-19.439  c7.313,5.859,15.932,12.767,24.258,19.439c6.342-7.915,7.011-18.534,2.564-26.968c31.614-11.261,54.308-41.485,54.308-76.916  v-22.261C337.623,231.756,332.504,216.105,323.744,203.099z"/> <path fill="#FFDA44" d="M256,330.206c-32.732,0-59.362-26.63-59.362-59.362v-22.261c0-32.733,26.63-59.363,59.362-59.363  s59.362,26.63,59.362,59.362v22.261C315.362,303.576,288.732,330.206,256,330.206z"/> <path fill="#338AF3" d="M293.101,270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101,16.643-37.101,37.101v22.261  L256,278.264L293.101,270.843z"/> <path fill="#6DA544" d="M218.899,270.843L218.899,270.843c0,20.458,16.643,37.101,37.101,37.101  c20.458,0,37.101-16.643,37.101-37.101l0,0H218.899L218.899,270.843z"/> <path fill="#FFDA44" d="M300.522,189.22c0-12.295-9.966-22.261-22.261-22.261c-5.703,0-10.901,2.146-14.84,5.672v-13.093  h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093c-3.94-3.526-9.138-5.672-14.841-5.672  c-12.295,0-22.261,9.966-22.261,22.261c0,6.591,2.867,12.512,7.421,16.589v13.093h74.203v-13.093  C297.655,201.732,300.522,195.812,300.522,189.22z"/> </svg> '},{iso2:"ST",code:"+239",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <g> <rect y="85.337" fill="#6DA544" width="512" height="113.775"/> <rect y="312.888" fill="#6DA544" width="512" height="113.775"/> </g> <polygon fill="#D80027" points="256,256.006 0,426.668 0,85.331 "/> <polygon points="302.049,226.318 309.417,248.992 333.259,248.992 313.971,263.008 321.337,285.682 302.049,271.667   282.762,285.682 290.128,263.008 270.84,248.992 294.682,248.992 "/> <polygon points="376.252,226.318 383.619,248.992 407.461,248.992 388.173,263.008 395.54,285.682 376.252,271.667 356.964,285.682   364.331,263.008 345.043,248.992 368.885,248.992 "/> </svg> '},{iso2:"SA",code:"+966",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" fill="#055e1c" width="512" height="341.333"/> <g fill="#FFFFFF"> <path d="M183.548,289.386c0,12.295,9.731,22.261,21.736,22.261h65.208c0,10.244,8.11,18.551,18.114,18.551   h21.736c10.004,0,18.114-8.306,18.114-18.551v-22.261H183.548z"/> <path d="M330.264,181.791v51.942c0,8.183-6.5,14.84-14.491,14.84v22.261   c19.976,0,36.226-16.643,36.226-37.101v-51.942L330.264,181.791L330.264,181.791z"/> <path d="M174.491,233.734c0,8.183-6.5,14.84-14.491,14.84v22.261c19.976,0,36.226-16.643,36.226-37.101   v-51.942h-21.736V233.734z"/> <rect x="297.661" y="181.788" width="21.736" height="51.942"/> <path d="M265.057,211.473c0,2.046-1.625,3.71-3.623,3.71c-1.998,0-3.623-1.664-3.623-3.71v-29.682h-21.736   v29.682c0,2.046-1.625,3.71-3.623,3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0,14.32,11.376,25.971,25.358,25.971   c5.385,0,10.38-1.733,14.491-4.677c4.11,2.944,9.106,4.677,14.491,4.677c1.084,0,2.15-0.078,3.2-0.215   c-1.54,6.499-7.255,11.345-14.068,11.345v22.261c19.976,0,36.226-16.643,36.226-37.101v-22.261v-29.682h-21.736L265.057,211.473   L265.057,211.473z"/> <rect x="207.093" y="248.57" width="32.601" height="22.261"/> </g> </svg> '},{iso2:"SN",code:"+221",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.326"/> <rect x="330.207" y="85.331" fill="#D80027" width="181.793" height="341.337"/> <g> <rect y="85.331" fill="#496E2D" width="181.793" height="341.337"/> <polygon fill="#496E2D" points="255.999,196.632 270.732,241.979 318.417,241.979 279.841,270.008 294.575,315.356    255.999,287.33 217.422,315.356 232.159,270.008 193.583,241.979 241.264,241.979  "/> </g> </svg> '},{iso2:"RS",code:"+381",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="61.44 85.333 341.333 341.333"> <rect y="85.331" fill="#0052B4" width="512" height="341.337"/> <rect y="85.331" fill="#D80027" width="512" height="113.775"/> <rect y="312.882" fill="#FFFFFF" width="512" height="113.775"/> <path fill="#D80027" d="M129.468,181.793v85.136c0,48.429,63.267,63.267,63.267,63.267S256,315.356,256,266.929v-85.136  H129.468z"/>
1 <g> <polygon fill="#FFDA44" points="155.634,196.634 229.835,196.634 229.835,166.953 214.994,174.373 192.733,152.113    170.474,174.373 155.634,166.953  "/> <polygon fill="#FFDA44" points="241.16,278.782 192.929,230.551 144.698,278.782 160.439,294.522 192.929,262.032    225.419,294.522  "/> </g> <path fill="#FFFFFF" d="M241.16,233.734h-22.504c1.266-2.184,2.001-4.713,2.001-7.418c0-8.196-6.645-14.84-14.84-14.84  c-5.663,0-10.581,3.172-13.083,7.836c-2.502-4.663-7.421-7.836-13.083-7.836c-8.195,0-14.84,6.644-14.84,14.84  c0,2.706,0.736,5.235,2.001,7.418h-22.114c0,8.196,7.139,14.84,15.334,14.84h-0.494c0,8.196,6.644,14.84,14.84,14.84  c0,7.257,5.211,13.286,12.094,14.576l-11.694,26.401c5.603,2.278,11.727,3.544,18.149,3.544c6.422,0,12.545-1.266,18.149-3.544  l-11.694-26.401c6.883-1.29,12.094-7.319,12.094-14.576c8.196,0,14.84-6.644,14.84-14.84h-0.494  C234.021,248.574,241.16,241.93,241.16,233.734z"/> </svg> '},{iso2:"SC",code:"+248",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="87.04 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <polygon fill="#FFDA44" points="235.454,85.337 0,426.663 427.345,85.337 "/> <polygon fill="#6DA544" points="512,329.393 0,426.663 512,426.663 "/> <polygon fill="#D80027" points="512,85.337 427.345,85.337 0,426.663 512,222.151 "/> <polygon fill="#0052B4" points="0,85.337 0,426.663 235.454,85.337 "/> </svg> '},{iso2:"SL",code:"+232",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#6DA544" width="512" height="113.775"/> <rect y="312.888" fill="#338AF3" width="512" height="113.775"/> </svg> '},{iso2:"SG",code:"+65",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="170.663"/> <g> <path fill="#FFFFFF" d="M83.478,170.666c0-24.865,17.476-45.637,40.812-50.734c-3.587-0.784-7.308-1.208-11.13-1.208   c-28.688,0-51.942,23.254-51.942,51.941s23.255,51.942,51.942,51.942c3.822,0,7.543-0.425,11.13-1.208   C100.954,216.304,83.478,195.532,83.478,170.666z"/> <polygon fill="#FFFFFF" points="150.261,122.435 153.945,133.772 165.866,133.772 156.221,140.779 159.905,152.116    150.261,145.11 140.616,152.116 144.301,140.779 134.656,133.772 146.577,133.772  "/> <polygon fill="#FFFFFF" points="121.344,144.696 125.027,156.033 136.948,156.033 127.303,163.04 130.987,174.377    121.344,167.371 111.699,174.377 115.384,163.04 105.739,156.033 117.66,156.033  "/> <polygon fill="#FFFFFF" points="179.178,144.696 182.862,156.033 194.783,156.033 185.138,163.04 188.822,174.377    179.178,167.371 169.534,174.377 173.219,163.04 163.574,156.033 175.495,156.033  "/> <polygon fill="#FFFFFF" points="168.047,178.087 171.731,189.424 183.652,189.424 174.008,196.431 177.692,207.768    168.047,200.762 158.404,207.768 162.088,196.431 152.444,189.424 164.364,189.424  "/> <polygon fill="#FFFFFF" points="132.474,178.087 136.157,189.424 148.078,189.424 138.434,196.431 142.118,207.768    132.474,200.762 122.83,207.768 126.514,196.431 116.87,189.424 128.79,189.424  "/> </g> </svg> '},{iso2:"SX",code:"+1-721",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="3.413 85.333 341.333 341.333"> <rect y="85.337" fill="#0052B4" width="512" height="341.326"/> <polygon fill="#D80027" points="512,85.331 512,252.021 0,256.173 0,85.331 "/> <polygon fill="#FFFFFF" points="256,256.006 0,426.668 0,85.331 "/> <g> <path fill="#FFDA44" d="M59.621,256c-0.116,1.509-0.193,3.031-0.193,4.57c0,32.821,26.607,59.429,59.429,59.429   s59.429-26.607,59.429-59.429c0-1.539-0.078-3.061-0.193-4.57L59.621,256L59.621,256z"/> <circle fill="#FFDA44" cx="118.862" cy="210.287" r="18.286"/> </g> <path fill="#D80027" d="M77.715,205.714v59.429c0,31.494,41.144,41.143,41.144,41.143s41.144-9.649,41.144-41.143v-59.429  H77.715z"/> <path fill="#338AF3" d="M118.877,287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144  C141.715,277.422,126.472,284.425,118.877,287.148z"/> <polygon fill="#F3F3F3" points="128.001,246.856 128.001,237.714 118.857,233.143 109.715,237.714 109.715,246.856   105.144,251.429 105.144,269.714 132.572,269.714 132.572,251.429 "/> </svg> '},{iso2:"SK",code:"+421",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="66.56 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="196.641" fill="#0052B4" width="512" height="118.717"/> <rect y="315.359" fill="#D80027" width="512" height="111.304"/> <path fill="#FFFFFF" d="M129.468,181.799v85.136c0,48.429,63.267,63.267,63.267,63.267S256,315.362,256,266.935v-85.136  H129.468z"/>
1 <path fill="#D80027" d="M146.126,184.294v81.941c0,5.472,1.215,10.64,3.623,15.485c23.89,0,59.599,0,85.97,0  c2.408-4.844,3.623-10.012,3.623-15.485v-81.941H146.126z"/> <polygon fill="#FFFFFF" points="221.301,241.427 199.876,241.427 199.876,227.144 214.16,227.144 214.16,212.861   199.876,212.861 199.876,198.577 185.593,198.577 185.593,212.861 171.311,212.861 171.311,227.144 185.593,227.144   185.593,241.427 164.167,241.427 164.167,255.711 185.593,255.711 185.593,269.994 199.876,269.994 199.876,255.711   221.301,255.711 "/> <path fill="#0052B4" d="M169.232,301.658c9.204,5.783,18.66,9.143,23.502,10.636c4.842-1.494,14.298-4.852,23.502-10.636  c9.282-5.833,15.79-12.506,19.484-19.939c-4.075-2.883-9.047-4.583-14.418-4.583c-1.956,0-3.856,0.232-5.682,0.657  c-3.871-8.796-12.658-14.94-22.884-14.94c-10.227,0-19.013,6.144-22.884,14.94c-1.827-0.425-3.728-0.657-5.682-0.657  c-5.372,0-10.344,1.701-14.418,4.583C153.443,289.152,159.95,295.825,169.232,301.658z"/> </svg> '},{iso2:"SI",code:"+386",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="199.112" fill="#0052B4" width="512" height="113.775"/> <rect y="312.888" fill="#D80027" width="512" height="113.775"/> <path fill="#FFFFFF" d="M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837  l-0.145-44.188l89.043-0.266L233.606,196.639z"/> <path fill="#0052B4" d="M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837  l-0.145-44.188l89.043-0.266L233.606,196.639z"/> <path fill="#FFFFFF" d="M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837  l14.848,14.837l29.674-22.261l29.685,22.261L233.606,196.639z"/> </svg> '},{iso2:"SB",code:"+677",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="27.307 85.333 341.333 341.333"> <rect y="85.334" fill="#496E2D" width="512" height="341.337"/> <polyline fill="#0052B4" points="0,426.663 0,85.329 512,85.329 "/> <polygon fill="#FFDA44" points="0,396.494 0,426.663 45.255,426.663 512,115.499 512,85.329 466.745,85.329 "/> <g> <polygon fill="#FFFFFF" points="85.688,108.787 90.808,124.543 107.374,124.543 93.971,134.28 99.091,150.037    85.688,140.299 72.283,150.037 77.403,134.28 64,124.543 80.567,124.543  "/> <polygon fill="#FFFFFF" points="170.312,108.787 175.433,124.543 192,124.543 178.597,134.28 183.717,150.037    170.312,140.299 156.909,150.037 162.029,134.28 148.626,124.543 165.192,124.543  "/> <polygon fill="#FFFFFF" points="85.688,191.289 90.808,207.045 107.374,207.045 93.971,216.783 99.091,232.54    85.688,222.801 72.283,232.54 77.403,216.783 64,207.045 80.567,207.045  "/> <polygon fill="#FFFFFF" points="170.312,191.289 175.433,207.045 192,207.045 178.597,216.783 183.717,232.54    170.312,222.801 156.909,232.54 162.029,216.783 148.626,207.045 165.192,207.045  "/> <polygon fill="#FFFFFF" points="128,150.037 133.12,165.793 149.688,165.793 136.283,175.531 141.403,191.289 128,181.55    114.597,191.289 119.717,175.531 106.312,165.793 122.88,165.793  "/> </g> </svg> '},{iso2:"SO",code:"+252",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#338AF3" width="512" height="341.337"/> <polygon fill="#FFFFFF" points="256,157.273 278.663,227.021 352,227.021 292.668,270.127 315.332,339.876 256,296.769   196.668,339.876 219.332,270.127 160,227.021 233.337,227.021 "/> </svg> '},{iso2:"ZA",code:"+27",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="35.84 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <polygon points="114.024,256.001 0,141.926 0,370.096 "/> <polygon fill="#ffb915" points="161.192,256 0,94.7 0,141.926 114.024,256.001 0,370.096 0,417.234 "/> <path fill="#007847" d="M509.833,289.391L509.833,289.391c0.058-0.44,0.804-0.878,2.167-1.318V256v-33.391h-2.167H222.602  L85.33,85.337H0V94.7L161.192,256L0,417.234v9.429h85.33l137.272-137.272H509.833z"/> <polygon fill="#000c8a" points="503.181,322.783 236.433,322.783 132.552,426.663 512,426.663 512,322.783 "/> <polygon fill="#e1392d" points="503.181,189.217 512,189.217 512,85.337 132.552,85.337 236.433,189.217 "/> </svg> '},{iso2:"KR",code:"+82",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 342 342"> <rect x="0" fill="#FFFFFF" width="342" height="342"/> <g fill="#000000"> <rect x="238.7" y="215.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -84.344 242.3636)" width="23.4" height="15.6"/> <rect x="211.2" y="242.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -111.8675 231.0089)" width="23.4" height="15.6"/> <rect x="271.8" y="248.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -98.0097 275.4712)" width="23.4" height="15.6"/> <rect x="244.2" y="275.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -125.5836 264.0074)" width="23.4" height="15.6"/> <rect x="255.2" y="231.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -91.1976 258.867)" width="23.4" height="15.6"/> <rect x="227.7" y="259.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -118.7256 247.5085)" width="23.4" height="15.6"/> <rect x="245.4" y="56.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 11.9322 204.8196)" width="15.6" height="62.3"/> <rect x="215.1" y="79.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.1122 184.1938)" width="15.6" height="23.4"/> <rect x="242.6" y="106.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.3145 211.6879)" width="15.6" height="23.4"/> <rect x="248.1" y="46" transform="matrix(0.7071 -0.7071 0.7071 0.7071 34.1495 197.8311)" width="15.6" height="23.4"/> <rect x="275.6" y="73.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 22.6842 225.4057)" width="15.6" height="23.4"/> <rect x="63.5" y="238.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -169.9343 129.4781)" width="15.6" height="62.3"/> <rect x="93.8" y="255.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -159.1095 150.0916)" width="15.6" height="23.4"/> <rect x="66.3" y="227.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -147.6547 122.5258)" width="15.6" height="23.4"/> <rect x="96.6" y="205.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -136.8372 143.1472)" width="15.6" height="62.3"/> <rect x="40.2" y="63.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -29.6489 71.3957)" width="62.3" height="15.6"/> <rect x="56.7" y="80.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -36.5029 87.8853)" width="62.3" height="15.6"/> <rect x="73.2" y="96.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -43.3906 104.4559)" width="62.3" height="15.6"/> </g> <circle fill="#D80027" cx="170.3" cy="170.7" r="62.3"/> <path fill="#0052B4" d="M232.2,178.3c-9.6-25.4-44.3-25-61.8,1.3c-17.6,26.3-43.8,16.9-61.6,0.7c4.6,29.9,30.4,52.7,61.6,52.7\n\tC202.2,233,228.4,209.1,232.2,178.3z"/> </svg> '},{iso2:"SS",code:"+211",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="5.12 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="322.783" fill="#496E2D" width="512" height="103.88"/> <rect y="85.337" width="512" height="104.515"/> <rect y="210.877" fill="#A2001D" width="512" height="89.656"/> <polygon fill="#0052B4" points="256,256.006 0,426.668 0,85.331 "/> <polygon fill="#FFDA44" points="73.178,209.188 94.009,238.255 128.093,227.425 106.886,256.22 127.716,285.289   93.777,274.018 72.569,302.812 72.803,267.05 38.863,255.777 72.946,244.947 "/> </svg> '},{iso2:"ES",code:"+34",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="3.75 0 15 15"> <path fill="#FFFFFF" d="M0,0h22.5v15H0V0z"/> <path fill="#D03433" d="M0,0h22.5v4H0V0z M0,11h22.5v4H0V11z"/> <path fill="#FBCA46" d="M0,4h22.5v7H0V4z"/> <path fill="#FFFFFF" d="M7.8,7h1v0.5h-1V7z"/> <path fill="#A41517" d="M7.2,8.5C7.2,8.8,7.5,9,7.8,9c0.3,0,0.6-0.2,0.6-0.5L8.5,7H7.1C7.1,7,7.2,8.5,7.2,8.5z M6.6,7\n\t\tc0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0h1.5C8.8,6.5,9,6.7,9,6.9C9,7,9,7,9,7L8.9,8.5c-0.1,0.6-0.5,1-1.1,1c-0.6,0-1-0.4-1.1-1L6.6,7\n\t\tL6.6,7z"/> <path fill="#A41517" d="M6.8,7.5h2V8H8.3L7.8,9L7.3,8H6.8V7.5z M5.3,6h1v3.5h-1V6z M9.3,6h1v3.5h-1V6z M6.8,5.5C6.8,5.2,7,5,7.3,5h1\n\t\tc0.3,0,0.5,0.2,0.5,0.5v0.2C8.8,5.9,8.7,6,8.5,6c0,0,0,0,0,0H7C6.9,6,6.8,5.9,6.8,5.8c0,0,0,0,0,0V5.5z"/> </svg> '},{iso2:"LK",code:"+94",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="42.75 0 342 342"> <rect x="0" y="0" fill="#FFDA44" width="513" height="342"/> <rect x="222.6" y="22.3" fill="#A2001D" width="267.1" height="296.8"/> <rect x="22.3" y="22.3" fill="#D80027" width="200.3" height="296.8"/> <rect x="200.3" y="0" fill="#FFDA44" width="22.3" height="342"/> <rect x="22.3" y="22.3" fill="#6DA544" width="89" height="296.8"/> <rect x="111.3" y="22.3" fill="#FF9811" width="89" height="296.8"/> <g> <path fill="#FFDA44" d="M368.2,156.8c-1.4-2,0-37.9,0-37.9c0.9-7.4,0.1-8.4,1-11.4c0.9-2.9,5.4-11.6,5.4-11.6s-6-2.3-10.3-0.6\n\t\tc-4.3,1.7-24.7-7.5-31.2,3.4c-4.4,7-23.6,16.2-24.6,14c-1-2.2-5.9-5-6.9-2.9s-0.7,13.9,0,16c0.8,2.6,9.8,2,12.3,3.1\n\t\tc3.7,1.8,12.2,8.2,11.9,10.7c-0.3,2.5-22.5-6-24.2-4.5c-1.4,1.2-1.9,13.2-0.4,15c1.8,2.1,23.4,5.6,25,7.5c1.6,1.9-13.1,7.4-12.3,25\n\t\tc0.7,14.7,8,17.4,8,17.4s-2.4,3.6-7.8,3.1c-6.2-0.6-27.4-17.7-27.4-17.7S283.2,76.4,290.3,64c4.9-8.5-22.7,10.1-22.7,50.8v36.2\n\t\tc0,6.6-1.4,22.4,2.6,34c0,0-0.4,46.9,1.5,49.6s12.7,2.2,14.8,0s0-30,0-30c7.7,0.2,18.3,17.5,32.5,16.4c20.6-1.6,28.7-9.9,34.3-5\n\t\tc8.1,7.1,5.5,23.2,0.4,31.5c-2.2,3.5-14.3,4.7-15.7,7.6c-1.4,2.9,0.5,5.4,0.5,5.4h29.7c0,
10,1.4-20.5,2.7-26.1\n\t\tc1.3-5.7-0.6-10.7,5.9-10.4c23.5,1.1,39.8-15.3,45.5-8c3.2,4.1,5.6,29.9,3.3,33.3c-2.2,3.4-13.8,2.8-15.2,6.7\n\t\tc-1.4,4,0.8,4.4,0.8,4.4h29.7c0,0-0.4-21.2,2.5-27.7c2.9-6.5,4.9-10.4,9.3-17.2c4.4-6.8,11.3-15.7,11.3-36.2\n\t\tc0-14.2-8.1-22.8-8.1-22.8h-38.9C402.9,156.7,369.6,158.8,368.2,156.8z"/> <path fill="#FFDA44" d="M232.2,32.3c10.7-10.6,20.2-2.7,22.2,2.1c1.9,4.8,2.1,8.2,2.8,13.6c0.9,6.9,4.9,14,4.9,14s-7.1-3.8-14.7-4.2\n\t\tc-4.7-0.3-9-0.6-13.6-2.5C228.1,53,222.1,42.4,232.2,32.3z"/> <path fill="#FFDA44" d="M480.6,32.2c10.7,10.6,2.8,20.2-2,22.2c-4.8,2-8.2,2.1-13.6,2.8c-6.9,0.9-14,5-14,5s3.7-7.1,4.2-14.7\n\t\tc0.3-4.7,0.6-9.1,2.4-13.6C459.8,28.2,470.4,22.1,480.6,32.2z"/> <path fill="#FFDA44" d="M480.7,309.1c-10.7,10.6-20.2,2.6-22.2-2.2c-1.9-4.8-2.1-8.2-2.7-13.6c-0.8-6.9-4.9-14.1-4.9-14.1\n\t\ts7,3.8,14.7,4.3c4.7,0.3,9,0.6,13.6,2.5C484.9,288.4,490.9,299.1,480.7,309.1z"/> <path fill="#FFDA44" d="M232.5,309c-10.6-10.7-2.7-20.2,2.1-22.2c4.8-1.9,8.2-2.1,13.6-2.8c6.9-0.9,14-4.9,14-4.9s-3.8,7.1-4.2,14.7\n\t\tc-0.3,4.7-0.6,9-2.5,13.6C253.2,313.1,242.6,319.2,232.5,309z"/> <path fill="none" stroke="#FFDA44" stroke-width="6" stroke-miterlimit="10" d="M446.9,162.4c0,0,7.5-2.6,8.4-16.1c0.6-8.6-19.8-16-39-11.5c-19.7,4.6-34-3.1-34-14.6\n\t\tc0-22.9,29.7-16.2,38.9-11.3c9.1,4.9,29.7,23.5,35.1,9.4"/> </g> </svg> '},{iso2:"SD",code:"+249",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="3.413 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" width="512" height="113.775"/> <polygon fill="#496E2D" points="0,426.668 0,85.331 256,256.006 "/> </svg> '},{iso2:"SR",code:"+597",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <rect y="196.636" fill="#A2001D" width="512" height="118.728"/> <g> <rect y="352.462" fill="#6DA544" width="512" height="74.207"/> <rect y="85.331" fill="#6DA544" width="512" height="74.207"/> </g> <polygon fill="#FFDA44" points="256.742,218.003 266.172,247.024 296.69,247.024 272,264.963 281.431,293.986   256.742,276.049 232.053,293.986 241.484,264.963 216.794,247.024 247.312,247.024 "/> </svg> '},{iso2:"SJ",code:"+47",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="40.96 85.333 341.333 341.333"> <rect y="85.334" fill="#D80027" width="512" height="341.337"/> <polygon fill="#FFFFFF" points="512,295.883 202.195,295.883 202.195,426.666 183.652,426.666 140.978,426.666   122.435,426.666 122.435,295.883 0,295.883 0,277.329 0,234.666 0,216.111 122.435,216.111 122.435,85.329 140.978,85.329   183.652,85.329 202.195,85.329 202.195,216.111 512,216.111 512,234.666 512,277.329 "/> <polygon fill="#2E52B2" points="512,234.666 512,277.329 183.652,277.329 183.652,426.666 140.978,426.666 140.978,277.329   0,277.329 0,234.666 140.978,234.666 140.978,85.329 183.652,85.329 183.652,234.666 "/> </svg> '},{iso2:"SZ",code:"+268",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="150 0 600 600"> <path fill="#2B5DEA" d="M0,0h900v600H0V0z"/> <path fill="#FFDF29" d="M0,100h900v400H0V100z"/> <path fill="#D70000" d="M0,150h900v300H0V150z"/> <path fill="#FFFFFF" d="M450,171.4v257.2c114.3,0,171.4-85.7,214.3-128.6C621.4,257.1,564.3,171.4,450,171.4z"/> <path d="M450,171.4c-100,0-171.4,85.7-214.3,128.6C278.6,342.9,350,428.6,450,428.6V171.4z"/> <rect x="346.3" y="254.3" fill="#FFFFFF" width="21" height="91.3"/> <rect x="398.2" y="254.3" fill="#FFFFFF" width="21" height="91.3"/> <rect x="477.8" y="254.3" width="21" height="91.3"/> <rect x="529.7" y="254.3" width="21" height="91.3"/> </svg> '},{iso2:"SE",code:"+46",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="30.72 85.333 341.333 341.333"> <rect y="85.333" fill="#0052B4" width="512" height="341.337"/>
1 <polygon fill="#FFDA44" points="192,85.33 128,85.33 128,223.996 0,223.996 0,287.996 128,287.996 128,426.662 192,426.662   192,287.996 512,287.996 512,223.996 192,223.996 "/> </svg> '},{iso2:"SY",code:"+963",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFFFFF" width="512" height="341.337"/> <rect y="85.331" fill="#D80027" width="512" height="113.775"/> <rect y="312.882" width="512" height="113.775"/> <g> <polygon fill="#6DA544" points="187.31,215.184 196.518,243.525 226.32,243.525 202.21,261.043 211.419,289.385    187.31,271.869 163.2,289.385 172.409,261.043 148.3,243.525 178.101,243.525  "/> <polygon fill="#6DA544" points="324.69,215.184 333.899,243.525 363.7,243.525 339.591,261.043 348.8,289.385    324.69,271.869 300.581,289.385 309.79,261.043 285.68,243.525 315.482,243.525  "/> </g> </svg> '},{iso2:"TW",code:"+886",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="6.827 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <rect y="85.337" fill="#0052B4" width="256" height="170.663"/> <polygon fill="#FFFFFF" points="186.435,170.669 162.558,181.9 175.272,205.025 149.345,200.064 146.059,226.256   128,206.993 109.94,226.256 106.655,200.064 80.728,205.024 93.442,181.899 69.565,170.669 93.442,159.438 80.728,136.313   106.655,141.273 109.941,115.081 128,134.344 146.06,115.081 149.345,141.273 175.273,136.313 162.558,159.438 "/> <circle fill="#0052B4" cx="128" cy="170.674" r="29.006"/> <path fill="#FFFFFF" d="M128,190.06c-10.692,0-19.391-8.7-19.391-19.391c0-10.692,8.7-19.391,19.391-19.391  c10.692,0,19.391,8.7,19.391,19.391C147.391,181.36,138.692,190.06,128,190.06z"/> </svg> '},{iso2:"TJ",code:"+992",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" fill="#6DA544" width="512" height="113.775"/> <g> <polygon fill="#FFDA44" points="226.318,300.522 285.682,300.522 285.682,275.292 273.809,281.229 256,263.421    238.191,281.229 226.318,275.292  "/> <polygon fill="#FFDA44" points="192.355,270.84 195.118,279.344 204.058,279.344 196.825,284.599 199.588,293.101    192.355,287.846 185.121,293.101 187.884,284.599 180.651,279.344 189.591,279.344  "/> <polygon fill="#FFDA44" points="200.921,241.16 203.684,249.662 212.624,249.662 205.391,254.917 208.154,263.421    200.921,258.165 193.687,263.421 196.45,254.917 189.217,249.662 198.157,249.662  "/> <polygon fill="#FFDA44" points="225.409,218.899 228.172,227.401 237.112,227.401 229.879,232.656 232.642,241.16    225.409,235.904 218.175,241.16 220.938,232.656 213.705,227.401 222.645,227.401  "/> <polygon fill="#FFDA44" points="319.645,270.84 316.882,279.344 307.942,279.344 315.175,284.599 312.412,293.101    319.645,287.846 326.879,293.101 324.116,284.599 331.349,279.344 322.409,279.344  "/> <polygon fill="#FFDA44" points="311.079,241.16 308.316,249.662 299.376,249.662 306.609,254.917 303.846,263.421    311.079,258.165 318.313,263.421 315.55,254.917 322.783,249.662 313.843,249.662  "/> <polygon fill="#FFDA44" points="286.591,218.899 283.828,227.401 274.888,227.401 282.121,232.656 279.358,241.16    286.591,235.904 293.825,241.16 291.062,232.656 298.295,227.401 289.355,227.401  "/> <polygon fill="#FFDA44" points="256,207.767 258.763,216.27 267.704,216.27 260.47,221.526 263.233,230.028 256,224.774    248.767,230.028 251.53,221.526 244.296,216.27 253.237,216.27  "/> </g> </svg> '},{iso2:"TZ",code:"+255",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#338AF3" width="512" height="341.326"/> <polyline fill="#6DA544" points="0,426.663 0,85.337 512,85.337 "/> <polygon fill="#FFDA44" points="512,152.222 512,85.337 411.67,85.337 0,359.778 0,426.663 100.33,426.663 "/> <polygon points="512,85.337 512,125.462 60.193,426.663 0,426.663 0,386.538 451.807,85.337 "/> </svg> '},{iso2:"TH",code:"+66",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.334" fill="#FFFFFF" width="512" height="341.326"/> <rect y="194.056" fill="#0052B4" width="512" height="123.882"/> <g> <rect y="85.334" fill="#D80027" width="512" height="54.522"/> <rect y="372.143" fill="#D80027" width="512" height="54.522"/> </g> </svg> '},{iso2:"TG",code:"+228",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <g> <rect y="85.337" fill="#496E2D" width="512" height="68.263"/> <rect y="358.4" fill="#496E2D" width="512" height="68.263"/> <rect y="221.863" fill="#496E2D" width="512" height="68.263"/> </g> <rect y="85.337" fill="#D80027" width="204.054" height="204.054"/> <polygon fill="#FFFFFF" points="102.026,133.938 115.286,174.75 158.202,174.75 123.484,199.976 136.744,240.79   102.026,215.566 67.307,240.79 80.57,199.976 45.852,174.75 88.765,174.75 "/> </svg> '},{iso2:"TK",code:"+690",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="18.773 85.333 341.333 341.333"> <rect y="85.337" fill="#0052B4" width="512" height="341.326"/> <g>
1 <polygon fill="#FFFFFF" points="210.715,174.377 214.399,185.715 226.318,185.715 216.675,192.721 220.359,204.058    210.715,197.051 201.071,204.058 204.755,192.721 195.11,185.715 207.031,185.715  "/> <polygon fill="#FFFFFF" points="116.816,281.971 121.421,296.143 136.321,296.143 124.266,304.9 128.872,319.073    116.816,310.313 104.761,319.073 109.365,304.9 97.311,296.143 112.21,296.143  "/> <polygon fill="#FFFFFF" points="144.696,119.679 149.3,133.851 164.201,133.851 152.145,142.609 156.751,156.78    144.696,148.021 132.64,156.78 137.246,142.609 125.191,133.851 140.091,133.851  "/> <polygon fill="#FFFFFF" points="69.539,175.331 74.143,189.503 89.043,189.503 76.988,198.261 81.594,212.432    69.539,203.674 57.483,212.432 62.089,198.261 50.034,189.503 64.934,189.503  "/> </g> <g> <path fill="#FFDA44" d="M483.386,354.503H117.801c0,0,109.234-88.562,310.593-220.938   C428.395,133.565,339.951,262.5,483.386,354.503z"/> <path fill="#FFDA44" d="M117.801,366.089c-11.177,0-11.195,17.37,0,17.37h365.585c11.177,0,11.195-17.37,0-17.37H117.801z"/> </g> </svg> '},{iso2:"TO",code:"+676",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="11.947 85.333 341.333 341.333"> <rect y="85.331" fill="#D80027" width="512" height="341.337"/> <rect y="85.331" fill="#FFFFFF" width="256" height="170.663"/> <polygon fill="#D80027" points="141.357,157.303 141.357,130.59 114.643,130.59 114.643,157.303 87.93,157.303   87.93,184.016 114.643,184.016 114.643,210.729 141.357,210.729 141.357,184.016 168.07,184.016 168.07,157.303 "/> </svg> '},{iso2:"TT",code:"+1-868",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <polygon fill="#FFFFFF" points="6.066,85.337 214.027,297.973 345.611,426.663 505.934,426.663 297.973,214.027   166.389,85.337 "/> <polygon points="43.364,85.337 384.69,426.663 468.636,426.663 127.31,85.337 "/> </svg> '},{iso2:"TN",code:"+216",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#D80027" width="512" height="341.337"/> <circle fill="#FFFFFF" cx="256" cy="255.994" r="96"/> <g> <polygon fill="#D80027" points="267.826,219.291 284.296,241.986 310.969,233.337 294.473,256.013 310.941,278.708    284.277,270.027 267.782,292.703 267.799,264.663 241.135,255.981 267.809,247.333  "/> <path fill="#D80027" d="M277.818,312.724c-31.33,0-56.727-25.397-56.727-56.727s25.397-56.727,56.727-56.727   c9.769,0,18.96,2.47,26.985,6.819c-12.589-12.31-29.804-19.909-48.803-19.909c-38.558,0-69.818,31.259-69.818,69.818   s31.26,69.818,69.818,69.818c18.999,0,36.215-7.599,48.803-19.909C296.777,310.254,287.587,312.724,277.818,312.724z"/> </g> </svg> '},{iso2:"TR",code:"+90",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="76.95 0 342 342"> <rect fill="#E30A17" width="513" height="342"/> <path fill="#FFFFFF" d="M259.7,118.6c-13.1-9.5-29-14.6-45.3-14.5c-40.8,0-73.8,30.8-73.8,68.9s33.1,68.9,73.8,68.9\n\tc17.1,0,32.9-5.4,45.3-14.5c-30,38.6-85.7,45.6-124.3,15.5s-45.6-85.7-15.5-124.3s85.7-45.6,124.3-15.5\n\tC250,107.6,255.2,112.9,259.7,118.6z M299.6,184.4l-18.1,21.9l1.2-28.4l-26.4-10.4l27.3-7.6l1.8-28.3l15.6,23.7l27.5-7.1L311,170.2\n\tl15.3,23.9L299.6,184.4L299.6,184.4z"/> </svg> '},{iso2:"TM",code:"+993",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="81.92 85.333 341.333 341.333"> <rect y="85.337" fill="#496E2D" width="512" height="341.326"/> <g> <path fill="#FFFFFF" d="M357.208,183.679c8.397-23.404-1.036-48.858-21.281-61.536c3.641,0.474,7.287,1.331,10.884,2.621   c27.002,9.688,41.038,39.428,31.35,66.431s-39.428,41.038-66.431,31.35c-3.597-1.291-6.957-2.947-10.069-4.895   C325.347,220.734,348.811,207.084,357.208,183.679z"/> <polygon fill="#FFFFFF" points="310.637,115.729 303.34,125.156 292.12,121.13 298.832,130.982 291.536,140.409    302.979,137.071 309.691,146.923 310.052,135.009 321.496,131.67 310.275,127.645  "/> <polygon fill="#FFFFFF" points="330.338,146.448 323.042,155.875 311.821,151.849 318.533,161.701 311.237,171.128    322.68,167.789 329.392,177.642 329.752,165.727 341.197,162.387 329.976,158.363  "/> <polygon fill="#FFFFFF" points="275.9,126.916 268.604,136.343 257.385,132.319 264.096,142.17 256.8,151.596    268.243,148.258 274.955,158.11 275.316,146.195 286.76,142.858 275.539,138.831  "/> <polygon fill="#FFFFFF" points="275.101,162.105 267.805,171.532 256.584,167.506 263.296,177.358 256,186.785    267.444,183.447 274.155,193.299 274.517,181.384 285.96,178.046 274.74,174.02  "/> <polygon fill="#FFFFFF" points="308.585,174.118 301.289,183.545 290.069,179.519 296.781,189.372 289.484,198.798    300.928,195.46 307.64,205.312 308,193.397 319.443,190.059 308.224,186.034  "/> </g> <rect x="83.478" y="85.337" fill="#D80027" width="89.043" height="341.326"/> <polygon fill="#FFFFFF" points="117.458,175.191 102.55,164.086 102.55,148.381 117.458,137.276 138.542,137.276   153.45,148.381 153.45,164.086 138.542,175.191 "/> <g> <polygon fill="#FF9811" points="128,137.276 117.458,137.276 102.55,148.381 102.55,156.059 128,156.059  "/> <polygon fill="#FF9811" points="128,175.191 138.542,175.191 153.45,164.086 153.45,156.074 128,156.074  "/> </g> <polygon fill="#FFFFFF" points="117.458,374.725 102.55,363.619 102.55,347.915 117.458,336.81 138.542,336.81   153.45,347.915 153.45,363.619 138.542,374.725 "/> <g> <polygon fill="#FF9811" points="128,336.81 117.458,336.81 102.55,347.915 102.55,355.593 128,355.593  "/> <polygon fill="#FF9811" points="128,374.725 138.542,374.725 153.45,363.619 153.45,355.608 128,355.608  "/> </g> <g> <polygon fill="#496E2D" points="117.458,274.957 102.55,263.852 102.55,248.149 117.458,237.043 138.542,237.043    153.45,248.149 153.45,263.852 138.542,274.957  "/> <polygon fill="#496E2D" points="153.971,299.391 147.478,299.391 147.478,292.898 136.067,292.898 127.999,284.83    119.932,292.898 108.522,292.898 108.522,299.391 102.029,299.391 102.029,312.377 108.522,312.377 108.522,318.869    119.932,318.869 128,326.938 136.068,318.869 147.478,318.869 147.478,312.377 153.971,312.377  "/> <polygon fill="#496E2D" points="153.971,199.623 147.478,199.623 147.478,193.131 136.067,193.131 127.999,185.062    119.932,193.131 108.522,193.131 108.522,199.623 102.029,199.623 102.029,212.609 108.522,212.609 108.522,219.101    119.932,219.101 128,227.171 136.068,219.101 147.478,219.101 147.478,212.609 153.971,212.609  "/> </g> <g> <rect x="120.576" y="248.576" fill="#D80027" width="14.84" height="14.84"/> <circle fill="#D80027" cx="128" cy="206.113" r="7.421"/> <circle fill="#D80027" cx="128" cy="305.887" r="7.421"/> </g> </svg> '},{iso2:"TC",code:"+1-649",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="114.347 85.333 341.333 341.333"> <rect y="85.333" fill="#0052B4" width="512" height="341.337"/> <path fill="#FFDA44" d="M332.058,191.996v78.221c0,38.103,51.942,49.779,51.942,49.779s51.942-11.675,51.942-49.779v-78.221  H332.058z"/>
1 <path fill="#FF9811" d="M376.579,220.44c0,7.855-6.644,28.445-14.84,28.445s-14.84-20.589-14.84-28.445  c0-7.856,14.84-14.222,14.84-14.222S376.579,212.585,376.579,220.44z"/> <path fill="#A2001D" d="M415.961,235.93c2.394-5.6,4.257-13.785,4.257-17.86c0-6.546-8.904-11.852-8.904-11.852  s-8.904,5.306-8.904,11.852c0,4.075,1.862,12.26,4.257,17.86l-5.141,11.123c3.022,1.178,6.324,1.831,9.788,1.831  c3.463,0,6.766-0.654,9.788-1.831L415.961,235.93z"/> <path fill="#6DA544" d="M372.87,270.217c0,0-7.421,14.222-7.421,28.445c0,0,22.261,0,37.101,0  c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111L372.87,270.217z"/> <path fill="#D80027" d="M395.13,270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666c-6.147,0-11.13,4.776-11.13,10.666v3.555  H395.13L395.13,270.217z"/> <polygon fill="#FFFFFF" points="256,85.333 256,115.886 210.833,140.985 256,140.985 256,200.344 196.897,200.344   256,233.179 256,255.996 229.32,255.996 155.826,215.17 155.826,255.996 100.174,255.996 100.174,207.423 12.744,255.996 0,255.996   0,225.442 45.167,200.344 0,200.344 0,140.985 59.103,140.985 0,108.139 0,85.333 26.68,85.333 100.174,126.158 100.174,85.333   155.826,85.333 155.826,133.905 243.256,85.333 "/> <polygon fill="#D80027" points="144,85.33 112,85.33 112,154.662 0,154.662 0,186.662 112,186.662 112,255.996 144,255.996   144,186.662 256,186.662 256,154.662 144,154.662 "/> <polygon fill="#0052B4" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344 "/> <polygon fill="#FFFFFF" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344 "/> <g> <polygon fill="#D80027" points="155.826,200.344 256,255.996 256,240.259 184.153,200.344  "/> <polygon fill="#D80027" points="71.846,200.344 0,240.259 0,255.996 0,255.996 100.174,200.344  "/> </g> <polygon fill="#0052B4" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982 "/> <polygon fill="#FFFFFF" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982 "/> <g> <polygon fill="#D80027" points="100.174,140.982 0,85.33 0,101.067 71.847,140.982  "/> <polygon fill="#D80027" points="184.154,140.982 256,101.067 256,85.33 256,85.33 155.826,140.982  "/> </g> </svg> '},{iso2:"TV",code:"+688",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="150 0 600 600"> <rect fill="#0052B4" width="900" height="600"/> <path fill="#00B2EE" d="M0,300h450V0h450v600H0V300z"/> <path fill="#FFDA44" d="M345.3,480.9l29.4,90.6l-77.1-56H393l-77.1,56L345.3,480.9z"/> <path fill="#FFDA44" d="M706.4,340l29.4,90.6l-77.1-56h95.3l-77.1,56L706.4,340z"/> <path fill="#FFDA44" d="M812.8,261.5l29.4,90.6l-77.1-56h95.3l-77.1,56L812.8,261.5z"/> <path fill="#FFDA44" d="M812.8,37.4l29.4,90.6l-77.1-56h95.3l-77.1,56L812.8,37.4z"/> <polygon fill="#FFFFFF" points="449.9,0 449.9,206.3 368.9,206.3 449.9,260.3 449.9,300 410.2,300 281.2,214.1 281.2,300 168.7,300 168.7,214.1 39.7,300 0,300 0,260.3 81,206.3 0,206.3 0,93.8 81,93.8 0,39.9 0,0 39.7,0 168.7,85.9 168.7,0 281.2,0 281.2,85.9 410.2,0 "/> <polygon fill="#D80027" points="253.1,0 196.8,0 196.8,122 0,122 0,178.2 196.8,178.2 196.8,300 253.1,300 253.1,178.2 449.9,178.2 449.9,122 253.1,122 \t"/> <polygon fill="#2E52B2" points="449.9,39.9 449.9,93.8 368.9,93.8 "/> <polygon fill="#D80027" points="0,300 0,280.7 109.9,206.3 149.6,206.3 12.8,300 \t"/> <polygon fill="#D80027" points="12.8,0.1 149.6,93.8 109.9,93.8 0,19.4 0,0.1 "/> <polygon fill="#D80027" points="449.9,0.2 449.9,19.5 340,93.8 300.3,93.8 437.1,0.2 "/> <polygon fill="#D80027" points="437.1,300 300.3,206.3 340,206.3 449.9,280.7 449.9,300 "/> <path fill="#FFDA44" d="M719.9,131.6l29.4,90.6l-77.1-56h95.3l-77.1,56L719.9,131.6z"/> <path fill="#FFDA44" d="M584,187.7l29.4,90.6l-77.1-56h95.3l-77.1,56L584,187.7z"/> <path fill="#FFDA44" d="M614,430.6l29.4,90.6l-77.1-56h95.3l-77.1,56L614,430.6z"/> <path fill="#FFDA44" d="M488,332l29.4,90.6l-77.1-56h95.3l-77.1,56L488,332z"/> <path fill="#FFDA44" d="M488,464l29.4,90.6l-77.1-56h95.3l-77.1,56L488,464z"/> </svg> '},{iso2:"VI",code:"+1-340",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <path fill="#1583C4" d="M397.7,166.3L346.7,264c-1.1,2-0.3,4.5,1.8,5.6c2,1.1,4.5,0.3,5.6-1.8l51-97.7c1-2.1,0.1-4.6-2-5.5\n\tC401.1,163.7,398.8,164.4,397.7,166.3L397.7,166.3z"/> <path fill="#1583C4" d="M404.9,188l-57.8,75.4c-1.3,1.9-0.8,4.5,1.1,5.8c1.7,1.2,4.1,0.9,5.5-0.7l57.8-75.4c1.4-1.8,1.1-4.4-0.8-5.8\n\tC408.9,185.8,406.3,186.2,404.9,188L404.9,188z"/> <path fill="#1583C4" d="M379,181.3l-32.5,83.1c-0.8,2.1,0.2,4.6,2.4,5.4c2.1,0.8,4.6-0.2,5.4-2.4l32.5-83.1c0.7-2.2-0.4-4.5-2.6-5.3\n\tC382.1,178.4,379.9,179.4,379,181.3z"/> <path fill="#409347" d="M122.1,171.9c0.4,1.7,1.2,4.7,2.2,8.5c1.7,6.4,3.6,12.8,5.6,18.7c2.3,6.9,14.7,31.4,20.2,39.1\n\tc6.9,9.7,14.1,19.3,21.5,28.6c1.6,1.9,4.5,2.1,6.4,0.5c1.8-1.6,2.1-4.3,0.7-6.2c-7.3-9.2-14.4-18.6-21.2-28.2\n\tc-4.2-5.8-17.2-31.1-19-36.7c-2.9-8.7-5.4-17.6-7.6-26.5c-0.5-2.4-2.9-4-5.3-3.5c-2.4,0.5-4,2.9-3.5,5.3\n\tC122,171.7,122.1,171.8,122.1,171.9L122.1,171.9z"/> <g> <path fill="#FFD836" stroke="#231F20" stroke-miterlimit="10" d="M297.1,114.9c0,0-17.6-72.1-36.1-72.1c-6.9,0-11.9-0.6-15.4,6.4c-0.9,1.7-20.7-1.
16-19.1,20.8\n\t\tc0.5,6.9,1.1-9.8,14.9-3.4c6.3,3-16.4,48.2-16.4,48.2H297.1z"/> <path fill="#FFD836" stroke="#231F20" stroke-miterlimit="10" d="M466.1,48.4l-90.9,22c-75.3,18.3-42.1,44.4-42.1,44.4l-72.1,12l-72.1-12c0,0,33.2-26.1-42.1-44.4l-90.9-22\n\t\tC43.1,45.3,38.1,51.8,45.3,63c0,0,106.6,104,126.8,112c20.2,8.1,40.8,0,40.8,0s-14.9,8.7-24,24c-9.2,15.3-4.6,34.7-38.9,40.2\n\t\tc-5.5,6.6-5,14,2.9,19.9c7.9,5.8,72.1-48.1,72.1-48.1s-24,24.4-24,36.1c0,5.1,44.1,53.8,60.1,53.8s60.1-48.7,60.1-53.8\n\t\tc0-11.7-24-36.1-24-36.1s64.2,53.9,72.1,48.1s11.4-19.3,2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2c-9.2-15.3-24-24-24-24\n\t\ts20.6,8.1,40.8,0S476.7,63,476.7,63C483.9,51.8,479,45.3,466.1,48.4z"/> </g> <path fill="#FFFFFF" stroke="#231F20" stroke-miterlimit="10" d="M201.3,111.8v80.3c0,45.7,59.7,59.7,59.7,59.7s59.7-14,59.7-59.7v-80.3H201.3L201.3,111.8z"/> <g> <path fill="#D80027" d="M225.2,137.7v97.3c8.2,6,17,10.2,23.9,12.9V137.7H225.2L225.2,137.7z"/> <path fill="#D80027" d="M296.8,137.7v97.3c-8.2,6-17,10.2-23.9,12.9V137.7H296.8L296.8,137.7z"/> </g> <rect x="201.3" y="111.8" fill="#0052B4" width="119.4" height="37.9"/> <polygon fill="#1583C4" points="60.1,210.5 38.2,152.4 15.7,152.4 47.5,233.2 72.7,233.2 104.2,152.4 81.7,152.4 "/> <rect x="451.5" y="151.9" fill="#1583C4" width="18.9" height="81.7"/> </svg>'},{iso2:"UG",code:"+256",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#232323" width="512" height="341.3"/> <rect y="56.9" fill="#FFDA44" width="512" height="56.9"/> <rect y="113.8" fill="#D32300" width="512" height="56.9"/> <rect y="227.6" fill="#FFDA44" width="512" height="56.9"/> <rect y="284.4" fill="#D32300" width="512" height="56.9"/> <circle fill="#FFFFFF" cx="256" cy="170.7" r="80.7"/> <path fill="#000000" d="M234.5,127.5c0.9-1.4-19.6-2-19.6-2c1.7-2.5,18.4-10.5,18.4-10.5s-0.9-6,2.7-9.8l-4.5-9.8c0,0,7-3.4,18.4-3.4\n\ts19.9,7,21,13.1l-6.4,3.4c-0.1,4.7,1.7,11.6-4.3,17.3c-5.9,5.7-8.3,6.9-8.5,18.8c0,3.9,2.3,8.2,8.8,11.7\n\tc17.4,9.3,38.6,28.2,44.6,33.9c6.1,5.7,5.1,19.2,2.6,25.2s-12.1,14.3-14.3,13.6c-2.2-0.6,1.2-9.2-3.5-11.6c0,0-8.9-7.6-16.8,0.6\n\ts-0.2,25.2,3.9,28c4.1,2.8,1.7,5-1.9,5h-28.1c-3.8,0-5.4-2.3-1.9-5c7.6-3.8,12.4-15.3,7.4-20.3c-4.9-4.9-18.3,1.5-21.5,6.3\n\tc-2.8,2.8-8.8,3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8,0,0,0.1-0.1c0,0,11.9-8.6,29.9-9c3.9,0,4.8-2.2,2.2-4.8\n\tc0,0-30.9-27.4-28.1-44.2C224.1,141.7,241.1,133.7,234.5,127.5C233.2,125.7,234.5,127.5,234.5,127.5z"/> </svg> '},{iso2:"UA",code:"+380",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFDA44" width="512" height="341.326"/> <rect y="85.337" fill="#338AF3" width="512" height="170.663"/> </svg> '},{iso2:"AE",code:"+971",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="51.3 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <rect y="0" fill="#009e49" width="513" height="114"/> <rect y="228" width="513" height="114"/> <rect y="0" fill="#ce1126" width="171" height="342"/> </svg> '},{iso2:"GB",code:"+44",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.333" fill="#FFFFFF" width="512" height="341.337"/> <polygon fill="#D80027" points="288,85.33 224,85.33 224,223.996 0,223.996 0,287.996 224,287.996 224,426.662 288,426.662   288,287.996 512,287.996 512,223.996 288,223.996 "/> <g> <polygon fill="#0052B4" points="393.785,315.358 512,381.034 512,315.358  "/> <polygon fill="#0052B4" points="311.652,315.358 512,426.662 512,395.188 368.307,315.358  "/> <polygon fill="#0052B4" points="458.634,426.662 311.652,344.998 311.652,426.662  "/> </g> <polygon fill="#FFFFFF" points="311.652,315.358 512,426.662 512,395.188 368.307,315.358 "/> <polygon fill="#D80027" points="311.652,315.358 512,426.662 512,395.188 368.307,315.358 "/> <g> <polygon fill="#0052B4" points="90.341,315.356 0,365.546 0,315.356  "/> <polygon fill="#0052B4" points="200.348,329.51 200.348,426.661 25.491,426.661  "/> </g> <polygon fill="#D80027" points="143.693,315.358 0,395.188 0,426.662 0,426.662 200.348,315.358 "/> <g> <polygon fill="#0052B4" points="118.215,196.634 0,130.958 0,196.634  "/> <polygon fill="#0052B4" points="200.348,196.634 0,85.33 0,116.804 143.693,196.634  "/> <polygon fill="#0052B4" points="53.366,85.33 200.348,166.994 200.348,85.33  "/> </g> <polygon fill="#FFFFFF" points="200.348,196.634 0,85.33 0,116.804 143.693,196.634 "/> <polygon fill="#D80027" points="200.348,196.634 0,85.33 0,116.804 143.693,196.634 "/> <g> <polygon fill="#0052B4" points="421.659,196.636 512,146.446 512,196.636  "/> <polygon fill="#0052B4" points="311.652,182.482 311.652,85.331 486.509,85.331  "/> </g> <polygon fill="#D80027" points="368.307,196.634 512,116.804 512,85.33 512,85.33 311.652,196.634 "/> </svg> '},{iso2:"US",code:"+1",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="59.85 0 342 342"> <rect y="0" fill="#FFFFFF" width="513" height="342"/> <g fill="#D80027"> <rect y="0" width="513" height="26.3"/> <rect y="52.6" width="513" height="26.3"/> <rect y="105.2" width="513" height="26.3"/> <rect y="157.8" width="513" height="26.3"/> <rect y="210.5" width="513" height="26.3"/> <rect y="263.1" width="513" height="26.3"/> <rect y="315.7" width="513" height="26.3"/> </g> <rect fill="#2E52B2" width="256.5" height="184.1"/> <g fill="#FFFFFF"> <polygon points="47.8,138.9 43.8,126.1 39.4,138.9 26.2,138.9 36.9,146.6 32.9,159.4 43.8,151.5 54.4,159.4\n\t\t50.3,146.6 61.2,138.9 \t"/>
1 <polygon points="104.1,138.9 100,126.1 95.8,138.9 82.6,138.9 93.3,146.6 89.3,159.4 100,151.5 110.8,159.4\n\t\t106.8,146.6 117.5,138.9 \t"/> <polygon points="160.6,138.9 156.3,126.1 152.3,138.9 138.8,138.9 149.8,146.6 145.6,159.4 156.3,151.5 167.3,159.4\n\t\t163.1,146.6 173.8,138.9 \t"/> <polygon points="216.8,138.9 212.8,126.1 208.6,138.9 195.3,138.9 206.1,146.6 202.1,159.4 212.8,151.5 223.6,159.4\n\t\t219.3,146.6 230.3,138.9 \t"/> <polygon points="100,75.3 95.8,88.1 82.6,88.1 93.3,96 89.3,108.6 100,100.8 110.8,108.6 106.8,96 117.5,88.1\n\t\t104.1,88.1 \t"/> <polygon points="43.8,75.3 39.4,88.1 26.2,88.1 36.9,96 32.9,108.6 43.8,100.8 54.4,108.6 50.3,96 61.2,88.1\n\t\t47.8,88.1 \t"/> <polygon points="156.3,75.3 152.3,88.1 138.8,88.1 149.8,96 145.6,108.6 156.3,100.8 167.3,108.6 163.1,96 173.8,88.1\n\t\t160.6,88.1 \t"/> <polygon points="212.8,75.3 208.6,88.1 195.3,88.1 206.1,96 202.1,108.6 212.8,100.8 223.6,108.6 219.3,96 230.3,88.1\n\t\t216.8,88.1 \t"/> <polygon points="43.8,24.7 39.4,37.3 26.2,37.3 36.9,45.2 32.9,57.9 43.8,50 54.4,57.9 50.3,45.2 61.2,37.3 47.8,37.3\n\t\t\t"/> <polygon points="100,24.7 95.8,37.3 82.6,37.3 93.3,45.2 89.3,57.9 100,50 110.8,57.9 106.8,45.2 117.5,37.3\n\t\t104.1,37.3 \t"/> <polygon points="156.3,24.7 152.3,37.3 138.8,37.3 149.8,45.2 145.6,57.9 156.3,50 167.3,57.9 163.1,45.2 173.8,37.3\n\t\t160.6,37.3 \t"/> <polygon points="212.8,24.7 208.6,37.3 195.3,37.3 206.1,45.2 202.1,57.9 212.8,50 223.6,57.9 219.3,45.2 230.3,37.3\n\t\t216.8,37.3 \t"/> </g> </svg> '},{iso2:"UY",code:"+598",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="10.26 0 342 342"> <rect fill="#FFFFFF" width="513" height="342"/> <g fill="#0038a8"> <rect y="38" width="513" height="38"/> <rect y="114" width="513" height="38"/> <rect y="190" width="513" height="38"/> <rect y="266" width="513" height="38"/> </g> <rect fill="#FFFFFF" width="256.5" height="190"/> <path fill="#FED443" d="M128.3,138.7l-15.1,22.6l-3.8-26.9l-23.4,13.8l8.2-25.9L67,124.5l18.6-19.8L60.3,95l25.4-9.7L67,65.5l27.1,2.3\n\tl-8.2-25.9l23.4,13.8l3.9-26.9l15.1,22.6l15.1-22.6l3.8,26.9l23.4-13.8l-8.2,25.9l27.1-2.2l-18.6,19.8l25.4,9.7l-25.4,9.7l18.6,19.8\n\tl-27.1-2.2l8.2,25.9l-23.4-13.8l-3.9,26.9L128.3,138.7z M128.3,138.2c23.9,0.9,44-17.6,44.9-41.5c0.9-23.9-17.6-44-41.5-44.9\n\tc-1.1,0-2.3,0-3.4,0c-23.9,0.8-42.6,20.8-41.8,44.6C87.1,119.2,105.5,137.5,128.3,138.2L128.3,138.2z M128.3,127.6\n\tc-18.8,0-34-15.2-34-34s15.2-34,34-34s34,15.2,34,34S147,127.6,128.3,127.6z"/> </svg> '},{iso2:"UZ",code:"+998",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#D80027" width="512" height="341.326"/> <rect y="322.783" fill="#6DA544" width="512" height="103.88"/> <rect id="SVGCleanerId_0" y="85.337" fill="#338AF3" width="512" height="104.515"/> <rect y="210.877" fill="#FFFFFF" width="512" height="89.656"/> <g> <rect id="SVGCleanerId_0_1_" y="85.337" fill="#338AF3" width="512" height="104.515"/> </g> <g> <path fill="#FFFFFF" d="M188.688,137.589c0-15.984,11.234-29.339,26.236-32.614c-2.306-0.503-4.698-0.777-7.155-0.777   c-18.442,0-33.391,14.949-33.391,33.391s14.949,33.391,33.391,33.391c2.458,0,4.85-0.273,7.155-0.777   C199.922,166.928,188.688,153.573,188.688,137.589z"/> <polygon fill="#FFFFFF" points="234.658,152.766 236.919,159.723 244.234,159.723 238.316,164.024 240.577,170.98    234.658,166.68 228.74,170.98 231.001,164.024 225.083,159.723 232.398,159.723  "/> <polygon fill="#FFFFFF" points="258.006,152.766 260.266,159.723 267.581,159.723 261.663,164.024 263.924,170.98    258.006,166.68 252.088,170.98 254.348,164.024 248.431,159.723 255.745,159.723  "/> <polygon fill="#FFFFFF" points="281.353,152.766 283.613,159.723 290.928,159.723 285.011,164.024 287.271,170.98    281.353,166.68 275.435,170.98 277.695,164.024 271.777,159.723 279.092,159.723  "/> <polygon fill="#FFFFFF" points="304.7,152.766 306.962,159.723 314.277,159.723 308.358,164.024 310.619,170.98    304.7,166.68 298.782,170.98 301.044,164.024 295.125,159.723 302.439,159.723  "/> <polygon fill="#FFFFFF" points="328.048,152.766 330.308,159.723 337.623,159.723 331.705,164.024 333.966,170.98    328.048,166.68 322.13,170.98 324.39,164.024 318.473,159.723 325.787,159.723  "/>
1 <polygon fill="#FFFFFF" points="258.006,128.482 260.266,135.438 267.581,135.438 261.663,139.738 263.924,146.695    258.006,142.396 252.088,146.695 254.348,139.738 248.431,135.438 255.745,135.438  "/> <polygon fill="#FFFFFF" points="281.353,128.482 283.613,135.438 290.928,135.438 285.011,139.738 287.271,146.695    281.353,142.396 275.435,146.695 277.695,139.738 271.777,135.438 279.092,135.438  "/> <polygon fill="#FFFFFF" points="304.7,128.482 306.962,135.438 314.277,135.438 308.358,139.738 310.619,146.695    304.7,142.396 298.782,146.695 301.044,139.738 295.125,135.438 302.439,135.438  "/> <polygon fill="#FFFFFF" points="328.048,128.482 330.308,135.438 337.623,135.438 331.705,139.738 333.966,146.695    328.048,142.396 322.13,146.695 324.39,139.738 318.473,135.438 325.787,135.438  "/> <polygon fill="#FFFFFF" points="281.353,104.198 283.613,111.154 290.928,111.154 285.011,115.454 287.271,122.411    281.353,118.111 275.435,122.411 277.695,115.454 271.777,111.154 279.092,111.154  "/> <polygon fill="#FFFFFF" points="304.7,104.198 306.962,111.154 314.277,111.154 308.358,115.454 310.619,122.411    304.7,118.111 298.782,122.411 301.044,115.454 295.125,111.154 302.439,111.154  "/> <polygon fill="#FFFFFF" points="328.048,104.198 330.308,111.154 337.623,111.154 331.705,115.454 333.966,122.411    328.048,118.111 322.13,122.411 324.39,115.454 318.473,111.154 325.787,111.154  "/> </g> </svg> '},{iso2:"VU",code:"+678",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 341.333 341.333"> <rect y="85.337" width="512" height="341.326"/> <polygon fill="#6DA544" points="512,256 512,426.663 0,426.663 215.185,256 "/> <polygon fill="#D80027" points="512,85.337 512,256 215.185,256 0,85.337 "/> <polygon points="221.001,239.304 26.868,85.337 8.956,85.337 217.124,250.435 512,250.435 512,239.304 "/> <polygon points="8.956,426.663 26.868,426.663 221.001,272.696 512,272.696 512,261.565 217.124,261.565 "/> <polygon points="0,92.44 0,106.646 188.317,256 0,405.354 0,419.559 206.229,256 "/> <g> <polygon fill="#FFDA44" points="8.956,85.337 0,85.337 0,92.44 206.229,256 0,419.559 0,426.663 8.956,426.663    217.124,261.565 512,261.565 512,250.435 217.124,250.435  "/> <path fill="#FFDA44" d="M63.718,292.382v-14.295c14.265,0,25.87-11.606,25.87-25.869c0-10.092-8.211-18.303-18.304-18.303   c-6.875,0-12.469,5.593-12.469,12.469c0,4.397,3.577,7.974,7.974,7.974c2.485,0,4.508-2.023,4.508-4.508h14.295   c0,10.368-8.435,18.804-18.802,18.804c-12.279-0.002-22.269-9.993-22.269-22.271c0-14.758,12.006-26.764,26.764-26.764   c17.975,0,32.599,14.623,32.599,32.599C103.884,274.363,85.866,292.382,63.718,292.382z"/> </g> </svg> '},{iso2:"VA",code:"+379",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.331" fill="#FFDA44" width="512" height="341.326"/> <rect x="256" y="85.331" fill="#FFFFFF" width="256" height="341.337"/> <path fill="#ACABB1" d="M321.353,233.837l32.073,42.43c-5.053,7.651-5.026,17.961,0.817,25.692  c7.414,9.807,21.374,11.748,31.182,4.335c9.807-7.414,11.748-21.374,4.334-31.182c-5.843-7.731-15.756-10.568-24.495-7.795  l-49.988-66.129l-11.838,8.949l-17.759,13.424l17.899,23.677L321.353,233.837z M367.528,282.617  c3.27-2.472,7.923-1.824,10.395,1.445c2.471,3.269,1.824,7.923-1.445,10.395c-3.269,2.47-7.923,1.824-10.394-1.446  C363.613,289.743,364.259,285.088,367.528,282.617z"/> <path fill="#FFDA44" d="M376.367,247.24l17.899-23.677l-17.759-13.424l-11.838-8.949l-49.988,66.129  c-8.74-2.775-18.651,0.063-24.495,7.795c-7.414,9.808-5.473,23.768,4.334,31.182c9.808,7.414,23.768,5.473,31.182-4.335  c5.845-7.731,5.871-18.041,0.817-25.692l32.073-42.43L376.367,247.24z M313.863,293.011c-2.471,3.27-7.125,3.916-10.394,1.446  c-3.27-2.472-3.916-7.126-1.445-10.395c2.471-3.268,7.125-3.916,10.395-1.445C315.687,285.088,316.334,289.743,313.863,293.011z"/> </svg> '},{iso2:"VE",code:"+58",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="3.75 0 15 15"> <rect fill="#FFCE00" width="22.5" height="5"/> <rect y="5" fill="#203899" width="22.5" height="5"/> <rect y="10" fill="#D82B2B" width="22.5" height="5"/> <polygon fill="#FFFFFF" points="12.13,5.38 12.27,5.84 12.72,5.98 12.33,6.25 12.34,6.73 11.96,6.44 11.51,6.59 11.66,6.15 11.38,5.77\n\t11.85,5.77 "/> <polygon fill="#FFFFFF" points="10.36,5.38 10.63,5.77 11.1,5.77 10.82,6.15 10.97,6.6 10.52,6.44 10.14,6.72 10.15,6.25 9.76,5.97\n\t10.21,5.84 "/> <polygon fill="#FFFFFF" points="13.8,5.94 13.79,6.42 14.18,6.69 13.72,6.83 13.58,7.28 13.31,6.9 12.83,6.9 13.12,6.52 12.97,6.07\n\t13.42,6.23 "/> <polygon fill="#FFFFFF" points="8.69,5.96 9.09,6.23 9.53,6.05 9.4,6.51 9.7,6.87 9.23,6.89 8.97,7.29 8.81,6.85 8.35,6.73 8.72,6.43\n\t"/> <polygon fill="#FFFFFF" points="15.24,7.13 15.04,7.57 15.29,7.97 14.82,7.92 14.51,8.28 14.41,7.82 13.98,7.64 14.39,7.4 14.42,6.93\n\t14.77,7.24 "/> <polygon fill="#FFFFFF" points="15.43,8.25 15.64,8.68 16.11,8.75 15.77,9.08 15.85,9.54 15.43,9.32 15.01,9.54 15.09,9.08 
114.75,8.75\n\t15.22,8.68 "/> <polygon fill="#FFFFFF" points="7,8.2 7.21,8.63 7.68,8.69 7.34,9.02 7.42,9.49 7,9.27 6.58,9.49 6.66,9.02 6.32,8.69 6.79,8.63 "/> <polygon fill="#FFFFFF" points="7.31,7.05 7.76,7.19 8.14,6.9 8.14,7.38 8.53,7.64 8.08,7.79 7.95,8.25 7.67,7.87 7.2,7.88 7.47,7.5\n\t"/> </svg> '},{iso2:"VN",code:"+84",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <polygon fill="#D80027" points="196.641,85.337 0,85.337 0,426.663 196.641,426.663 512,426.663 512,85.337 "/> <polygon fill="#FFDA44" points="256,157.279 278.663,227.026 352,227.026 292.668,270.132 315.332,339.881 256,296.774   196.668,339.881 219.332,270.132 160,227.026 233.337,227.026 "/> </svg> '},{iso2:"WF",code:"+681",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="9 0 100 100"> <rect fill="#ED2939" width="150" height="100"/> <rect fill="#002395" width="20" height="44.33"/> <rect x="20" fill="#FFFFFF" width="20" height="44.33"/> <path fill="none" stroke="#FFFFFF" stroke-width="3" d="M0,44.33h62.75V0"/> <path fill="#FFFFFF" d="M108.08,43.29L87.96,23.17h40.25L108.08,43.29z M101.38,50L81.25,29.88v40.25L101.38,50z M108.08,56.71\n\tL87.96,76.83h40.25L108.08,56.71z M114.79,50l20.13-20.13v40.25L114.79,50z"/> </svg> '},{iso2:"EH",code:"+212",flag:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="85.35 0 341.3 341.3"> <rect y="0" fill="#FFFFFF" width="512" height="341.3"/> <rect y="0" width="512" height="113.8"/> <rect y="227.6" fill="#428823" width="512" height="113.8"/> <g> <polygon fill="#D80027" points="256,170.7 0,341.3 0,0 \t"/> <path fill="#D80027" d="M309.1,170.7c0-22.9,13.1-42.1,34.6-46.8c-3.3-0.7-6.7-1.1-10.3-1.1c-26.4,0-47.9,21.4-47.9,47.9\n\t\ts21.4,47.9,47.9,47.9c3.5,0,7-0.4,10.3-1.1C322.2,212.7,309.1,193.6,309.1,170.7z"/> <polygon fill="#D80027" points="365,129.2 375.3,160.9 408.6,160.9 381.6,180.5 391.9,212.2 365,192.6 338,212.2 348.3,180.5\n\t\t321.3,160.9 354.7,160.9 \t"/> </g> </svg> '},{iso2:"YE",code:"+967",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="85.333 85.333 341.333 341.333"> <rect y="85.337" fill="#FFFFFF" width="512" height="341.326"/> <rect y="85.337" fill="#D80027" width="512" height="113.775"/> <rect y="312.888" width="512" height="113.775"/> </svg> '},{iso2:"ZM",code:"+260",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="170.667 85.333 341.333 341.333"> <rect y="85.331" fill="#496E2D" width="512" height="341.337"/> <path fill="#FF9811" d="M490.668,195.476h-48c0-8.836-7.164-16-16-16s-16,7.164-16,16h-48c0,8.836,7.697,16,16.533,16h-0.533  c0,8.836,7.162,16,16,16c0,8.836,7.162,16,16,16h32c8.836,0,16-7.164,16-16c8.836,0,16-7.164,16-16h-0.533  C482.972,211.476,490.668,204.312,490.668,195.476z"/> <rect x="341.337" y="255.994" fill="#D80027" width="56.888" height="170.663"/> <rect x="455.112" y="255.994" fill="#FF9811" width="56.888" height="170.663"/> <rect x="398.225" y="255.994" width="56.888" height="170.663"/> </svg> '},{iso2:"ZW",code:"+263",flag:'<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="13.653 85.333 341.333 341.333"> <rect y="85.333" width="512" height="341.337"/> <g> <rect y="134.196" fill="#FFDA44" width="512" height="48.868"/> <rect y="329.668" fill="#FFDA44" width="512" height="48.868"/> </g> <rect y="85.333" fill="#057f44" width="512" height="48.868"/> <g> <rect y="183.069" fill="#D80027" width="512" height="48.868"/> <rect y="280.806" fill="#D80027" width="512" height="48.868"/> </g> <rect y="378.542" fill="#057f44" width="512" height="48.128"/> <polygon fill="#FFFFFF" points="276.992,255.996 106.329,426.659 0,426.659 0,85.333 106.329,85.333 "/> <polygon points="256,255.996 85.334,426.662 106.321,426.662 276.988,255.996 106.321,85.33 85.334,85.33 "/> <polygon fill="#D80027" points="102.465,202.57 115.724,243.382 158.641,243.382 123.923,268.608 137.183,309.422   102.465,284.198 67.745,309.422 81.007,268.608 46.289,243.382 89.204,243.382 "/> <path fill="#FFDA44" d="M138.94,259.335l-34.559-12.243c0,0-2.553-23.955-2.708-24.766  c-1.173-6.18-6.603-10.851-13.123-10.851c-7.376,0-13.35
17,5.98-13.357,13.357c0,1.223,0.178,2.402,0.486,3.528l-9.689,9.755  c0,0,11.509,0,17.229,0c0,17.882-13.344,17.882-13.344,35.691l7.402,17.809h44.522l7.422-17.809h-0.004  c0.744-1.709,1.194-3.47,1.381-5.231C136.995,265.986,138.94,259.335,138.94,259.335z"/> </svg> '}],t.extensions=[tc,rc,to,Ss],t.loadExtensions(),t.created(),t.getFlagHTML=function(e){var n=e.trim(),r="";for("00"===n.substring(0,2)&&(n=n.replace(/^.{2}/g,"+"));t.mapping.forEach(function(e){e.code===n&&""!==n&&(r=e.flag,t.currePrefix=n)}),n=n.slice(0,-1),""===r&&0!==n.length;);return""===r&&(r='<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="512" height="512" fill="#DDDDDD"/> <rect y="256.151" width="512" height="255.85" fill="#AAAAAA"/> <path d="M247.282 324.454C260.887 324.454 268.54 316.633 270.071 304.221C270.071 302.691 270.241 300.991 270.241 299.631C271.771 280.078 279.424 271.576 307.144 253.554C337.585 234.001 354.762 211.558 354.762 179.083C354.762 127.056 312.416 96.2812 255.445 96.2812C213.27 96.2812 178.407 114.474 163.612 145.418C159.701 153.409 158 161.571 158 169.052C158 182.314 166.333 191.325 180.618 191.325C191.672 191.325 200.175 185.374 203.917 175.173C212.08 148.649 229.936 138.277 253.235 138.277C281.465 138.277 303.233 154.6 303.233 179.593C303.233 202.036 290.308 213.768 265.989 229.75C240.82 246.583 223.304 264.946 223.304 292.489V300.311C223.304 314.763 232.317 324.454 247.282 324.454ZM247.623 420.518C264.629 420.518 278.404 407.086 278.404 390.594C278.404 373.931 264.629 360.839 247.623 360.839C230.786 360.839 217.011 373.931 217.011 390.594C217.011 407.086 230.786 420.518 247.623 420.518Z" fill="white"/> </svg> ',t.currePrefix=""),r},t.currePrefix=!1,t.setPrefix=function(e,n){if(t.currePrefix!==n){var r=e.value;""!==t.currePrefix&&(r=r.substring(t.currePrefix.length)),e.value=n+r,window.jQuery&&window.jQuery.trigger?window.jQuery(e).trigger("change").trigger("blur"):window.$&&window.$.trigger?window.$(e).trigger("change").trigger("blue"):(e.dispatchEvent(new Event("change")),e.dispatchEvent(new Event("blur")))}},t.renderFlags=function(){window.EnderecoIntegrator.config.ux.showPhoneFlag&&["E164","INTERNATIONAL"].includes(window.EnderecoIntegrator.config.phoneFormat)&&t._subscribers.phone.forEach(function(e){var n,r,o=e.object,i=Or.render('<div class="endereco-flag-dropdown endereco-hidden"> <div class="endereco-flag-dropdown-inner"> {{#countries}} <div class="endereco-flag-dropdown-element" data-code="{{{code}}}"> <div class="endereco-small-flag">{{{flag}}}</div> <div class="endereco-country-code-col">{{{iso2}}}</div> <div class="endereco-phone-code-col">{{{code}}}</div> </div> {{/countries}} </div> </div>',{countries:t.mapping}),s=0,c=0,l=0,a=0,u=0,d=0,f=0,p=0,h=0;if(!o.classList.contains("endereco-field-has-flags")){o.classList.add("endereco-field-has-flags"),o.parentElement.classList.add("endereco-relative-container"),o.insertAdjacentHTML("beforebegin",'<div class="endereco-big-flag"> <div class="endereco-flag"> <svg width="15" height="16"> <rect width="16" height="16" style="fill:rgb(180,180,180)"/> </svg> </div> <div class="endereco-cur-down"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 330 330" style="enable-background:new 0 0 330 330" xml:space="preserve"> <path id="XMLID_225_" d="M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393\n\tc-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393\n\ts7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z"/> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> </svg> </div> </div> '),n=o.parentElement.querySelector(".endereco-big-flag"),t._flagContainerDom=n,l=o.offsetTop,s=o.offsetHeight,h=s,f=.8,s>30&&(f=.5),d=(s-(c=s*f))/2,u=(a=l+(s-c)/2)+s,n.style.top="".concat(a,"px"),n.style.left="".concat(d,"px"),n.querySelector(".endereco-flag").style.height="".concat(c,"px"),n.querySelector(".endereco-flag").style.width="".concat(c,"px"),p=n.offsetWidth+(s-c)/2,o.style.paddingLeft="".concat(p,"px");var g=o.value;setInterval(function(){var e=o.value;g!==e&&(g=e,n.querySelector(".endereco-flag").innerHTML=t.getFlagHTML(o.value.substring(0,10)))},1),n.querySelector(".endereco-flag").innerHTML=t.getFlagHTML(o.value.substring(0,10)),o.insertAdjacentHTML("afterend",i),(r=o.parentElement.querySelector(".endereco-flag-dropdown")).style.top="".concat(u,"px"),document.querySelector("body").addEventListener("click",function(e){r.contains(e.target)||r.classList.add("endereco-hidden")}),n.addEventListener("click",function(e){return e.preventDefault(),e.stopPropagation(),this.parentElement.querySelector(".endereco-flag-dropdown").classList.toggle("endereco-hidden"),!1}),r.querySelectorAll(".endereco-flag-dropdown-element").forEach(function(e){e.addEventListener("click",function(e){t.setPrefix(o,this.getAttribute("data-code")),n.querySelector(".endereco-flag").innerHTML=t.getFlagHTML(o.value.substring(0,10)),r.classList.add("endereco-hidden")})}),setInterval(function(){l=o.offsetTop,s=o.offsetHeight,h!==s&&(h=s,f=.8,s>30&&(f=.5),d=(s-(c=s*f))/2,u=(a=l+(s-c)/2)+s,n.style.top="".concat(a,"px"),n.style.left="".concat(d,"px"),n.querySelector(".endereco-flag").style.height="".concat(c,"px"),n.querySelector(".endereco-flag").style.width="".concat(c,"px"),p=n.offsetWidth+(s-c)/2,o.style.paddingLeft="".concat(p,"px"),r.style.top="".concat(u,"px"))},1)}})},t};n(4172);function ic(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return sc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function sc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return lc(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(lc(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,lc(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,lc(d,"constructor",a),lc(a,"constructor",l),l.displayName="GeneratorFunction",lc(a,o,"GeneratorFunction"),lc(d),lc(d,o,"Generator"),lc(d,r,function(){return this}),lc(d,"toString",function(){return"[object Generator]"}),(cc=function(){return{w:i,m:f}})()}function lc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}lc=function(e,t,n,r){function i(t,n){lc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},lc(e,t,n,r)}function ac(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function uc(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){ac(i,r,o,s,c,"next",e)}function c(e){ac(i,r,o,s,c,"throw",e)}s(void 0)})}}var dc=function(){var e=uc(cc().m(function e(t){var n,r,o,i,s;return cc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=bc(t),["submit","click","enter_keydown"].includes(n)){e.n=1;break}return e.a(2,!0);case 1:if(r=wc(t,n)){e.n=2;break}return e.a(2,!0);case 2:if(mc(r)){e.n=3;break}return e.a(2,!0);case 3:if(yc(r),0!==(o=gc(r)).length){e.n=4;break}return e.a(2,!0);case 4:return vc(t),e.p=5,pc(r),e.n=6,hc(o);case 6:if(i=e.v,i.every(function(e){return"finished"===e.processState})){e.n=7;break}return e.a(2,!1);case 7:Fc(r),fc()&&_c(t,r),e.n=9;break;case 8:e.p=8,s=e.v,console.warn("Error during form validation:",s),Fc(r),fc()&&_c(t,r);case 9:return e.a(2)}},e,null,[[5,8]])}));return function(t){return e.apply(this,arguments)}}(),fc=function(){try{return window.EnderecoIntegrator?window.EnderecoIntegrator.config?window.EnderecoIntegrator.config.ux?void 0===window.EnderecoIntegrator.config.ux.resumeSubmit||window.EnderecoIntegrator.config.ux.resumeSubmit:(console.warn("EnderecoIntegrator.config.ux not found"),!0):(console.warn("EnderecoIntegrator.config not found"),!0):(console.warn("EnderecoIntegrator not found in window object"),!0)}catch(e){return console.warn("Error checking if allowed to resume submit:",e),!0}},pc=function(e){if(e&&e instanceof HTMLFormElement)if(window.EnderecoIntegrator)if("function"==typeof window.EnderecoIntegrator.unblockSubmitButton)try{window.EnderecoIntegrator.unblockSubmitButton(e)}catch(e){console.error("Error while unblocking submit button:",e)}else console.warn("unblockSubmitButton method not found in EnderecoIntegrator");else console.warn("EnderecoIntegrator not found in window object");else console.warn("Invalid form element provided to unblockSubmitButton")},hc=function(){var e=uc(cc().m(function e(t){var n,r;return cc().w(function(e){for(;;)switch(e.n){case 0:if(n=[],!((r=t.map(function(e){var t;return e.util.shouldBeChecked()&&null!==(t=e.config)&&void 0!==t&&null!==(t=t.trigger)&&void 0!==t&&t.onsubmit?e.cb.handleFormSubmit().then(function(e){return n.push(e),e}):Promise.resolve()})).length>0)){e.n=1;break}return e.n=1,Promise.all(r);case 1:return e.a(2,n)}},e)}));return function(t){return e.apply(this,arguments)}}(),gc=function(e){try{var t,n=null===(t=window.EnderecoIntegrator)||void 0===t||null===(t=t.formSubmitListeners)||void 0===t?void 0:t.get(e);return Array.isArray(n)?n:[]}catch(e){return console.warn("Error getting form submit listeners:",e),[]}},vc=function(e){e.preventDefault(),e.stopPropagation()},mc=function(e){if(!e)throw new Error("You need to provide a DOM element of the form to this function");return e.hasAttribute("endereco-form-needs-validation")&&e.getAttribute("endereco-form-needs-validation")},yc=function(e){e&&e instanceof HTMLFormElement?e.querySelectorAll("input, select, textarea").forEach(function(e){document.activeElement===e&&(e.blur(),e.dispatchEvent(new CustomEvent("blur",{bubbles:!0,cancelable:!0})))}):console.warn("Invalid form element provided to unfocusFormElements")},wc=function(e,t){var n=null;if("submit"===t)n=e.target;else if("enter_keydown"===t||"click"===t){var r;if(!(n=e.target.closest("form"))&&e.target.hasAttribute("form")){var o=e.target.getAttribute("form");n=document.getElementById(o)}!n&&null!==(r=window.EnderecoIntegrator)&&void 0!==r&&r.customFormReferenceResolvers&&(n=function(e,t){var n,r=ic(window.EnderecoIntegrator.customFormReferenceResolvers);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{var i=o(e,t);if(i)return i}catch(e){console.warn("Error in custom form reference resolver:",e)}}}catch(e){r.e(e)}finally{r.f()}return null}(e,t))}return n},bc=function(e){return"submit"===e.type?"submit":"click"===e.type?"click":"keydown"===e.type&&"Enter"===e.key?"enter_keydown":"unsupported"},Fc=function(e){e.removeAttribute("endereco-form-needs-validation")},_c=function(e,t){var n,r;if("submit"===e.type)n=t,r=new Event("submit",{bubbles:!0,cancelable:!0});else if("click"===e.type){var o=e.target;if(!o||"submit"!==o.type)return;n=o,r=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}else{if("keydown"!==e.type||"Enter"!==e.key)return;var i=e.target;if(!i)return;n=i,r=new KeyboardEvent("keydown",{key:"Enter",code:"Enter",keyCode:13,which:13,bubbles:!0,cancelable:!0})}var s=n.dispatchEvent(r);"submit"===e.type&&s&&t.submit()};function xc(e){return xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xc(e)}function Sc(e){return function(e){if(Array.isArray(e))return Cc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Cc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ec(r.key),r)}}function Ec(e){var t=function(e,t){if("object"!=xc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xc(t)?t:t+""}
1function Pc(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function kc(e,t){return e.get(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(e,t))}var jc=new WeakMap,Dc=new WeakMap,Tc=new WeakMap,Oc=function(){return function(e,t,n){return t&&Ac(e.prototype,t),n&&Ac(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Pc(this,jc,new Map),Pc(this,Dc,[]),Pc(this,Tc,new Map)},[{key:"size",get:function(){return kc(Dc,this).length}},{key:"has",value:function(e){return kc(jc,this).has(e)}},{key:"get",value:function(e){return kc(jc,this).get(e)}},{key:"delete",value:function(e){if(!kc(jc,this).delete(e))return!1;var t=kc(Dc,this).indexOf(e);return-1!==t&&kc(Dc,this).splice(t,1),kc(Tc,this).delete(e),!0}},{key:"clear",value:function(){kc(jc,this).clear(),kc(Dc,this).length=0,kc(Tc,this).clear()}},{key:"setLevelToProcess",value:function(e,t){kc(Tc,this).set(e,t)}},{key:"dequeue",value:function(){if(0!==kc(Dc,this).length){var e=kc(Dc,this).shift(),t=kc(jc,this).get(e);return kc(jc,this).delete(e),{key:e,value:t}}}},{key:"peek",value:function(){var e=kc(Dc,this)[0];return e?{key:e,value:kc(jc,this).get(e)}:void 0}},{key:"isFirst",value:function(e,t){var n=this;return void 0!==t?kc(Dc,this).find(function(e){return kc(Tc,n).get(e)===t})===e:kc(Dc,this)[0]===e}},{key:"keys",value:function(){return kc(Dc,this).values()}},{key:Symbol.iterator,value:function(){var e=this;return kc(Dc,this).map(function(t){return[t,kc(jc,e).get(t)]})[Symbol.iterator]()}},{key:"enqueue",value:function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).after;if(kc(jc,this).has(e))return kc(jc,this).get(e);if(kc(jc,this).set(e,t),null===n)kc(Dc,this).unshift(e);else if(n&&kc(jc,this).has(n)){var r=kc(Dc,this).indexOf(n);-1!==r?kc(Dc,this).splice(r+1,0,e):(console.warn("ProcessQueue: Parent key '".concat(n,"' not found in order, appending '").concat(e,"' to tail")),kc(Dc,this).push(e))}else n&&!kc(jc,this).has(n)?(console.warn("ProcessQueue: Parent key '".concat(n,"' not found, appending '").concat(e,"' to tail")),kc(Dc,this).push(e)):kc(Dc,this).push(e);return t}},{key:"set",value:function(e,t){return this.enqueue(e,t),this}},{key:"getDebugInfo",value:function(){return{size:this.size,order:Sc(kc(Dc,this)),keys:Sc(kc(jc,this).keys()),levels:Object.fromEntries(kc(Tc,this)),isEmpty:0===this.size}}},{key:"entries",value:function(){var e=this;return kc(Dc,this).map(function(t){return[t,kc(jc,e).get(t)]})}},{key:"values",value:function(){var e=this;return kc(Dc,this).map(function(t){return kc(jc,e).get(t)})}}])}();function Mc(e){return Mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mc(e)}function Nc(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Mc(e)+" is not iterable")}function Ic(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Bc(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Bc(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Bc(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Bc(d,"constructor",a),Bc(a,"constructor",l),l.displayName="GeneratorFunction",Bc(a,o,"GeneratorFunction"),Bc(d),Bc(d,o,"Generator"),Bc(d,r,function(){return this}),Bc(d,"toString",function(){return"[object Generator]"}),(Ic=function(){return{w:i,m:f}})()}function Bc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Bc=function(e,t,n,r){function i(t,n){Bc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Bc(e,t,n,r)}function Lc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,c=[],l=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){a=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return c}}(e,t)||zc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zc(e,t){if(e){if("string"==typeof e)return Uc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Uc(e,t):void 0}}function Uc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Rc(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Hc(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Rc(i,r,o,s,c,"next",e)}function c(e){Rc(i,r,o,s,c,"throw",e)}s(void 0)})}}var Vc,qc,Gc=function(){var e=Hc(Ic().m(function e(t,n,r){var o,i,s,c;return Ic().w(function(e){for(;;)switch(e.n){case 0:o=["postalCode","locality","streetName","streetFull"],i=Ic().m(function e(){var n,i,l,a,u;return Ic().w(function(e){for(;;)switch(e.n){case 0:if(n=Lc(c[s],2),i=n[0],""!==(l=n[1]).trim()){e.n=1;break}return e.a(2,0);case 1:if(0!==(a=document.querySelectorAll(l)).length){e.n=2;break}return e.a(2,0);case 2:u={},o.includes(i)&&r.config.useAutocomplete&&(u.displayAutocompleteDropdown=!0),r.resolvers&&r.resolvers["".concat(i,"Write")]&&(u.writeFilterCb=function(e,t){return r.resolvers["".concat(i,"Write")](e,t)}),r.resolvers&&r.resolvers["".concat(i,"Read")]&&(u.readFilterCb=function(e,t){return r.resolvers["".concat(i,"Read")](e,t)}),r.resolvers&&r.resolvers["".concat(i,"SetValue")]&&(u.customSetValue=function(e,t){return r.resolvers["".concat(i,"SetValue")](e,t)}),r.resolvers&&r.resolvers["".concat(i,"GetValue")]&&(u.customGetValue=function(e){return r.resolvers["".concat(i,"GetValue")](e)}),a.forEach(function(e){var n=new qi(i,e,u);t.addSubscriber(n),r.prepareDOMElement(e)});case 3:return e.a(2)}},e)}),s=0,c=Object.entries(n);case 1:if(!(s<c.length)){e.n=4;break}return e.d(Nc(i()),2);case 2:if(0!==e.v){e.n=3;break}return e.a(3,3);case 3:s++,e.n=1;break;case 4:return e.a(2)}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),Wc=function(e,t){var n={hasValidOptions:!1,allValuesInMapping:!1,missingValues:[],allOptionValues:[]};if(!e)return n;for(var r=e.options,o=[],i=0;i<r.length;i++){var s=r[i];s.value&&!s.disabled&&(n.hasValidOptions=!0,o.push(s.value))}if(n.allOptionValues=o,n.hasValidOptions){var c,l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=zc(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}(o);try{for(l.s();!(c=l.n()).done;){var a=c.value;Object.prototype.hasOwnProperty.call(t,a)||n.missingValues.push(a)}}catch(e){l.e(e)}finally{l.f()}n.allValuesInMapping=0===n.missingValues.length}return n},Kc={amsFilters:{isAddressMetaStillRelevant:[]},processQueue:new Oc,getProcessLevel:function(){return 0},popupQueue:0,enderecoPopupQueue:0,ready:!1,loaded:!0,themeName:void 0,countryMappingUrl:"",defaultCountry:"DE",defaultCountrySelect:!1,billingAutocheck:!1,shippingAutocheck:!1,editingIntent:!1,thirdPartyModals:0,subdivisionMapping:{},subdivisionMappingReverse:{},countryMapping:{},countryMappingReverse:{},constructors:{EnderecoAddressObject:Ms,EnderecoSubscriber:qi,EnderecoEmailObject:zs,EnderecoPersonObject:Js,EnderecoPhoneObject:oc},globalSpace:{reloadPage:function(){location.reload()}},prepareDOMElement:function(e){},isAddressFormStillValid:function(e){return!0},isPopupAreaFree:(qc=Hc(Ic().m(function e(t){return Ic().w(function(e){for(;;)if(0===e.n)return e.a(2,!0)},e)})),function(e){return qc.apply(this,arguments)}),config:{apiUrl:"",remoteApiUrl:"",apiKey:"",lang:document.querySelector("html").lang?document.documentElement.lang.slice(0,2):"de",showDebugInfo:!1,splitStreet:!0,useAutocomplete:!0,ux:{smartFill:!0,smartFillBlockTime:600,resumeSubmit:!0,disableBrowserAutocomplete:!0,maxAutocompletePredictionItems:100,maxAddressPredictionItems:3,useStandardCss:!0,cssFilePath:"",confirmWithCheckbox:!1,correctTranspositionedNames:!1,delay:{inputAssistant:100,streetCopy:600},requestTimeout:8e3},trigger:{onblur:!0,onsubmit:!0},texts:{popUpHeadline:"Adresse pr&uuml;fen",popUpSubline:"Die eingegebene Adresse scheint nicht korrekt oder unvollständig zu sein. Bitte eine korrekte Adresse wählen.",yourInput:"Ihre Eingabe:",editYourInput:"(bearbeiten)",ourSuggestions:"Unsere Vorschläge:",useSelected:"Auswahl übernehmen",popupHeadlines:{general_address:"Adresse pr&uuml;fen",billing_address:"Rechnungsadresse pr&uuml;fen",shipping_address:"Lieferadresse pr&uuml;fen"}},templates:{}},postfix:{ams:{countryCode:"",postalCode:"",locality:"",streetFull:"",streetName:"",buildingNumber:"",addressStatus:"",addressTimestamp:"",addressPredictions:"",additionalInfo:""},emailServices:{email:""},personServices:{salutation:"",firstName:"",lastName:"",nameScore:""}},activeServices:{ams:!0,emailService:!0,personService:!0},checkAllCallback:function(){},hasActiveSubscriber:function(e,t,n){if("subdivisionCode"===e&&t&&"SELECT"===t.tagName){var r=Wc(t,window.EnderecoIntegrator.subdivisionMappingReverse);return r.hasValidOptions&&r.allValuesInMapping}return!0},mappings:{gender:{M:"mr",F:"ms",getByCode:function(e){return this[e]?this[e]:""},getBySalutation:function(e){for(var t in this)if(Object.prototype.hasOwnProperty.call(this,t)&&this[t]===e)return t;return""}}},resolvers:{},initPhoneServices:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{postfixCollection:{},name:"default"};if(this,this.activeServices.phs){var n=this,r=JSON.parse(JSON.stringify(this.config));t.config&&(r=b()(r,t.config));var o,i=b()({},n.postfix.phs);if("object"===Mc(e))o=b()(i,e),e="";else{var s={};
1Object.keys(i).forEach(function(t){s[t]=e+i[t]}),o=b()(s,t.postfixCollection)}var c=new oc(r);return c.fullName=t.name+"_"+c.name,t.numberType&&(c.numberType=t.numberType),c.waitForAllExtension().then(function(){if(n.dispatchEvent("endereco.ams.before-adding-subscribers")){if(document.querySelector(n.getSelector(o.phone))&&n.dispatchEvent("endereco.ams.before-adding-phone-subscriber")){var e={};n.resolvers.phoneWrite&&(e.writeFilterCb=function(e,t){return n.resolvers.phoneWrite(e,t)}),n.resolvers.phoneRead&&(e.readFilterCb=function(e){return n.resolvers.phoneRead(e,subscriber)}),n.resolvers.phoneSetValue&&(e.customSetValue=function(e,t){return n.resolvers.phoneSetValue(e,t)});var r=new qi("phone",document.querySelector(n.getSelector(o.phone)),e);c.addSubscriber(r),n.dispatchEvent("endereco.ams.after-adding-phone-subscriber")}if(o.countryCode&&document.querySelector(n.getSelector(o.countryCode))&&n.dispatchEvent("endereco.ams.before-adding-country-code-subscriber")){var i={};n.resolvers.countryCodeWrite&&(i.writeFilterCb=function(e,t){return n.resolvers.countryCodeWrite(e,t)}),n.resolvers.countryCodeRead&&(i.readFilterCb=function(e,t){return n.resolvers.countryCodeRead(e,t)}),n.resolvers.countryCodeSetValue&&(i.customSetValue=function(e,t){return n.resolvers.countryCodeSetValue(e,t)});var s=new qi("countryCode",document.querySelector(n.getSelector(o.countryCode)),i);c.addSubscriber(s),n.dispatchEvent("endereco.ams.after-adding-country-code-subscriber")}n.dispatchEvent("endereco.ams.after-adding-subscribers"),c.waitUntilReady().then(function(){c.syncValues().then(function(){c.waitUntilReady().then(function(){t.numberType?c.numberType=t.numberType:window.EnderecoIntegrator.config.defaultPhoneType&&(c.numberType=window.EnderecoIntegrator.config.defaultPhoneType),c.renderFlags(),c._changed=!1,c.activate(),n.afterPHSActivation&&n.afterPHSActivation.forEach(function(e){e(c)})}).catch()}).catch()}).catch()}}).catch(),this.integratedObjects[c.fullName]=c,c}},test:{},initAMS:(Vc=Hc(Ic().m(function e(t){var n,r,o,i=arguments;return Ic().w(function(e){for(;;)switch(e.n){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:{addressType:"general_address",name:"default",beforeActivation:void 0,intent:"edit"},window.EnderecoIntegrator.activeServices.ams){e.n=1;break}return e.a(2);case 1:return r=window.EnderecoIntegrator,e.n=2,new Ms(r.config);case 2:return o=e.v,e.n=3,o.waitForAllExtension();case 3:return o.fullName=n.name,r.config.ux.changeFieldsOrder&&r.config.useAutocomplete&&Kc.changeFieldsOrder(t),e.n=4,Gc(o,t,r);case 4:return e.n=5,o.waitUntilReady();case 5:return e.n=6,o.syncValues();case 6:if(o.setIntent(n.intent),o.getCountryCode()||!r.defaultCountrySelect){e.n=7;break}return e.n=7,o.setCountryCode(r.defaultCountry);case 7:if(!n.addressType){e.n=8;break}return e.n=8,o.setAddressType(n.addressType);case 8:if(!n.beforeActivation){e.n=9;break}return e.n=9,n.beforeActivation(o);case 9:return e.n=10,o.waitUntilReady();case 10:return o.activate(),r.afterAMSActivation.forEach(function(e){e(o)}),e.n=11,o.waitUntilReady();case 11:return o.util.isAddressCheckFinished()||o.util.markAddressDirty(),o.util.preheatCache(),o.util.isReviewIntent()&&o.util.shouldBeChecked()?o.util.checkAddress():o.util.indicateStatuscodes(o.addressStatus),r.integratedObjects[o.fullName]=o,r.subscribeToSubmit(o),e.a(2,o)}},e)})),function(e){return Vc.apply(this,arguments)}),unblockSubmitButton:function(e){e&&e instanceof HTMLElement?e.querySelectorAll('button[type="submit"], input[type="submit"]').forEach(function(e){e.hasAttribute("disabled")&&e.removeAttribute("disabled");["disabled","btn-disabled","is-disabled","form-disabled"].forEach(function(t){e.classList.contains(t)&&e.classList.remove(t)}),e.disabled=!1}):console.warn("Invalid form element provided to unblockSubmitButton")},subscribeToSubmit:function(e){var t=window.EnderecoIntegrator;t.findForms(e._subscribers).forEach(function(n){t.addSubmitListener(n,e,t)})},addSubmitListener:function(e,t,n){n.formSubmitListeners.has(e)||(n.formSubmitListeners.set(e,[]),function(e){var t;e.addEventListener("submit",dc),e.querySelectorAll('[type="submit"]').forEach(function(e){e.addEventListener("click",dc)}),e.id&&document.querySelectorAll('button[form="'.concat(e.id,'"], input[type="submit"][form="').concat(e.id,'"]')).forEac
1h(function(e){e.addEventListener("click",dc)}),null!==(t=window.EnderecoIntegrator)&&void 0!==t&&t.customSubmitButtonHandlers&&window.EnderecoIntegrator.customSubmitButtonHandlers.forEach(function(t){try{t(e,dc)}catch(e){console.warn("Error in custom submit button handler:",e)}}),e.querySelectorAll("input").forEach(function(e){e.addEventListener("keydown",dc)})}(e)),n.formSubmitListeners.get(e).push(t)},findForms:function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=Lc(r[n],2),i=(o[0],o[1]);if(0!==i.length&&i[0].object){var s=i[0].object.closest("form");s&&!t.includes(s)&&t.push(s)}}return t},formSubmitListeners:new Map,afterAMSActivation:[],customSubmitButtonHandlers:[],customFormReferenceResolvers:[],onAjaxFormHandler:[],initEmailServices:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{postfixCollection:{},name:"default"};if(this.activeServices.emailService){var n,r=this,o=JSON.parse(JSON.stringify(this.config)),i=b()({},r.postfix.emailServices);if("object"===Mc(e))n=b()(i,e),e="";else{var s={};
1Object.keys(i).forEach(function(t){s[t]=e+i[t]}),n=b()(s,t.postfixCollection)}t.errorContainer&&(o.ux.errorContainer=t.errorContainer),t.errorInsertMode&&(o.ux.errorInsertMode=t.errorInsertMode);var c=new zs(o);return c.fullName=t.name+"_"+c.name,c._awaits++,c.waitForAllExtension().then(function(){if(r.dispatchEvent("endereco.es.before-adding-subscribers")){if(document.querySelector(r.getSelector(e+n.email))&&r.dispatchEvent("endereco.es.before-adding-email-subscriber")){var t=new qi("email",document.querySelector(r.getSelector(e+n.email)),{writeFilterCb:function(e,t){return r.resolvers.emailWrite?r.resolvers.emailWrite(e,t):new c.util.Promise(function(t,n){t(e)})},readFilterCb:function(e,t){return r.resolvers.emailRead?r.resolvers.emailRead(e,t):new c.util.Promise(function(t,n){t(e)})}});c.addSubscriber(t),r.dispatchEvent("endereco.es.after-adding-email-subscriber")}if(document.querySelector(r.getSelector(e+n.email))&&r.dispatchEvent("endereco.es.before-adding-email-status-subscriber")){var o=new qi("emailStatus",document.querySelector(r.getSelector(e+n.email)),{writeFilterCb:function(e,t){return r.resolvers.emailStatusWrite?r.resolvers.emailStatusWrite(e,t):new c.util.Promise(function(t,n){t(e)})},readFilterCb:function(e,t){return r.resolvers.emailStatusRead?r.resolvers.emailStatusRead(e,t):new c.util.Promise(function(t,n){t(e)})},valueContainer:"classList"});c.addSubscriber(o),r.dispatchEvent("endereco.es.after-adding-email-status-subscriber")}r.dispatchEvent("endereco.es.after-adding-subscribers")}c._awaits--}).catch(),c.waitUntilReady().then(function(){c.syncValues().then(function(){c.waitUntilReady().then(function(){c._changed=!1,c.activate()}).catch()}).catch()}).catch(),this.integratedObjects[c.fullName]=c,c}},initPersonServices:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{postfixCollection:{},name:"default"};if(this,this.activeServices.personService){var n=this,r=JSON.parse(JSON.stringify(this.config));t.config&&(r=b()(r,t.config));var o,i=b()({},n.postfix.personServices);"object"===Mc(e)?(o=b()(i,e),e=""):o=b()(i,t.postfixCollection);var s=new Js(r);return s.fullName=t.name+"_"+s.name,s._awaits++,s.waitForAllExtension().then(function(){if(n.dispatchEvent("endereco.ps.before-adding-subscribers")){if(document.querySelector(n.getSelector(e+o.salutation))&&n.dispatchEvent("endereco.ps.before-adding-salutation-subscriber")){var t={};n.resolvers.salutationWrite&&(t.writeFilterCb=function(e,t){return n.resolvers.salutationWrite(e,t)}),n.resolvers.salutationRead&&(t.readFilterCb=function(e,t){return n.resolvers.salutationRead(e,t)}),n.resolvers.salutationSetValue&&(t.customSetValue=function(e,t){return n.resolvers.salutationSetValue(e,t)});var r=new qi("salutation",document.querySelector(n.getSelector(e+o.salutation)),t);s.addSubscriber(r),n.dispatchEvent("endereco.ps.after-adding-salutation-subscriber")}if(document.querySelector(n.getSelector(e+o.firstName))&&n.dispatchEvent("endereco.ps.before-adding-first-name-subscriber")){var i=new qi("firstName",document.querySelector(n.getSelector(e+o.firstName)),{writeFilterCb:function(e,t){return n.resolvers.firstNameWrite?n.resolvers.firstNameWrite(e,t):new s.util.Promise(function(t,n){t(e)})},readFilterCb:function(e,t){return n.resolvers.firstNameRead?n.resolvers.firstNameRead(e,t):new s.util.Promise(function(t,n){t(e)})}});s.addSubscriber(i),n.dispatchEvent("endereco.ps.after-adding-first-name-subscriber")}if(document.querySelector(n.getSelector(e+o.lastName))&&n.dispatchEvent("endereco.ps.before-adding-last-name-subscriber")){var c={};n.resolvers.lastNameWrite&&(c.writeFilterCb=function(e,t){return n.resolvers.lastNameWrite(e,t)}),n.resolvers.lastNameRead&&(c.readFilterCb=function(e,t){return n.resolvers.lastNameRead(e,t)}),n.resolvers.lastNameSetValue&&(c.customSetValue=function(e,t){return n.resolvers.lastNameSetValue(e,t)});var l=new qi("lastName",document.querySelector(n.getSelector(e+o.lastName)),c);s.addSubscriber(l),n.dispatchEvent("endereco.ps.after-adding-last-name-subscriber")}if(document.querySelector(n.getSelector(e+o.title))&&n.dispatchEvent("endereco.ps.before-adding-title-subscriber")){var a={};
1n.resolvers.titleWrite&&(a.writeFilterCb=function(e,t){return n.resolvers.titleWrite(e,t)}),n.resolvers.titleRead&&(a.readFilterCb=function(e,t){return n.resolvers.titleRead(e,t)}),n.resolvers.titleSetValue&&(a.customSetValue=function(e,t){return n.resolvers.titleSetValue(e,t)});var u=new qi("title",document.querySelector(n.getSelector(e+o.title)),a);s.addSubscriber(u),n.dispatchEvent("endereco.ps.after-adding-title-subscriber")}if(document.querySelector(n.getSelector(e+o.nameScore))&&n.dispatchEvent("endereco.ps.before-adding-name-score-subscriber")){var d={};n.resolvers.nameScoreWrite&&(d.writeFilterCb=function(e,t){return n.resolvers.nameScoreWrite(e,t)}),n.resolvers.nameScoreRead&&(d.readFilterCb=function(e,t){return n.resolvers.nameScoreRead(e,t)}),n.resolvers.nameScoreSetValue&&(d.customSetValue=function(e,t){return n.resolvers.nameScoreSetValue(e,t)});var f=new qi("nameScore",document.querySelector(n.getSelector(e+o.nameScore)),d);s.addSubscriber(f),n.dispatchEvent("endereco.ps.after-adding-name-score-subscriber")}}s._awaits--}),s.waitUntilReady().then(function(){s.syncValues().then(function(){s.waitUntilReady().then(function(){s._changed=!1,s.activate()}).catch()}).catch()}).catch(),this.integratedObjects[s.fullName]=s,s}},waitUntilReady:function(){return new Promise(function(e,t){var n=setInterval(function(){window.EnderecoIntegrator.ready&&(clearInterval(n),e())},100)})},getSelector:function(e){return e?-1===e.indexOf("#")&&-1===e.indexOf(".")&&-1===e.indexOf("=")?'[name="'+e+'"]':e:null},integratedObjects:{},asyncCallbacks:[],addCss:function(){var e=document.getElementById("#endereco-styles-include");if(e&&e.remove(),this.config.ux.useStandardCss){if(!this.css&&!this.config.ux.cssFilePath)return;var t=this.config.ux.cssFilePath||"data:text/css;charset=UTF-8,"+encodeURIComponent(this.css),n=document.querySelector("head"),r=document.createElement("link");r.setAttribute("id","endereco-styles-include"),r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",t),n.appendChild(r)}},addBodyClass:function(){this.themeName?document.querySelector("body").classList.add("endereco-theme--"+this.themeName):document.querySelector("body").classList.add("endereco-theme--current-theme")},dispatchEvent:function(e){return!0},_createParentLine:function(e,t,n){if(document.querySelector(this.getSelector(n[e])))for(t[e]={commonElementIndex:0,rowElementIndex:0,columnElementIndex:0,parentLine:[document.querySelector(this.getSelector(n[e]))]};t[e].parentLine[t[e].parentLine.length-1].parentNode;){var r=t[e].parentLine[t[e].parentLine.length-1].parentNode;t[e].parentLine.push(r)}},_firstBeforeSecond:function(e,t,n){if(n[e]&&n[t]){var r=n[e],o=0,i=n[t],s=0,c=void 0;r.parentLine&&i.parentLine&&(r.parentLine.forEach(function(e){c||(s=0,i.parentLine.forEach(function(t){c||(e===t&&(c=e,r.commonElementIndex=o,r.rowElementIndex=Math.max(o-1,0),r.columnElementIndex=Math.max(o-2,0),i.commonElementIndex=s,i.rowElementIndex=Math.max(s-1,0),i.columnElementIndex=Math.max(s-2,0)),s++)}),o++)}),c&&c.insertBefore(r.parentLine[r.rowElementIndex],i.parentLine[i.rowElementIndex]))}},_test:{},changeFieldsOrder:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["countryCode","subdivisionCode","postalCode","locality","streetFull","streetName","buildingNumber","additionalInfo"];this._createParentLine("additionalInfo",this._test,e),this._createParentLine("buildingNumber",this._test,e),this._createParentLine("streetName",this._test,e),this._createParentLine("streetFull",this._test,e),this._createParentLine("locality",this._test,e),this._createParentLine("postalCode",this._test,e),this._createParentLine("countryCode",this._test,e),this._createParentLine("subdivisionCode",this._test,e);for(var n=new Array,r=t.length-1;r>=0;r--)document.querySelector(this.getSelector(e[t[r]]))&&n.push(t[r]);for(var o=0;o<n.length-1;o++)this._firstBeforeSecond(n[o+1],n[o],this._test)}};Kc.waitUntilReady().then(function(){window.EnderecoIntegrator.config&&(Kc.config=b()(Kc.config,window.EnderecoIntegrator.config)),Kc.addCss(),Kc.addBodyClass()}).catch();var Xc=Kc,$c=n(5542);n(7826);
1function Jc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,a=Object.create(l.prototype);return Qc(a,"_invoke",function(n,r,o){var i,c,l,a=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,f.n=n,s}};function p(n,r){for(c=n,l=r,t=0;!d&&a&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];n>3?(o=h===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,c=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,h){if(a>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),c=u,l=h;(t=c<2?e:l)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(a=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,c=1,l=t}finally{a=1}}return{value:t,done:d}}}(n,o,i),!0),a}var s={};function c(){}function l(){}function a(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Qc(t={},r,function(){return this}),t),d=a.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,Qc(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=a,Qc(d,"constructor",a),Qc(a,"constructor",l),l.displayName="GeneratorFunction",Qc(a,o,"GeneratorFunction"),Qc(d),Qc(d,o,"Generator"),Qc(d,r,function(){return this}),Qc(d,"toString",function(){return"[object Generator]"}),(Jc=function(){return{w:i,m:f}})()}function Qc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Qc=function(e,t,n,r){function i(t,n){Qc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Qc(e,t,n,r)}function Yc(e,t,n,r,o,i,s){try{var c=e[i](s),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Zc(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){Yc(i,r,o,s,c,"next",e)}function c(e){Yc(i,r,o,s,c,"throw",e)}s(void 0)})}}"NodeList"in window&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}),window.Promise||(window.Promise=y),$c.A&&(Xc.css=$c.A[0][1]),Xc.postfix={personServices:{salutation:"[salutation]",firstName:"[firstname]"},emailServices:{email:"[email]"}},Xc.resolvers.countryCodeSetValue=function(e,t){var n="undefined"!=typeof jQuery&&jQuery.fn.val&&jQuery.fn.trigger;e.dispatchEvent("endereco-change")&&(e._allowFieldInspection=!1,n?jQuery(e.object).val(t).trigger("change"):e.object.value=t,e.lastValue=t,e._allowFieldInspection=!0,e.dispatchEvent("endereco-blur"))},Xc.resolvers.subdivisionCodeSetValue=function(e,t){var n="undefined"!=typeof jQuery&&jQuery.fn.val&&jQuery.fn.trigger;e.dispatchEvent("endereco-change")&&(e._allowFieldInspection=!1,n?jQuery(e.object).val(t).trigger("change"):e.object.value=t,e.lastValue=t,e._allowFieldInspection=!0,e.dispatchEvent("endereco-blur"))},Xc.resolvers.countryCodeWrite=function(e,t){return new y(function(t,n){t(void 0!==window.EnderecoIntegrator.countryMapping[e.toUpperCase()]?window.EnderecoIntegrator.countryMapping[e.toUpperCase()]:"")})},Xc.resolvers.countryCodeRead=function(e,t){var n,r,o;1===(null==t||null===(n=t.object)||void 0===n||null===(n=n.options)||void 0===n?void 0:n.length)&&(e=null!==(r=null===(o=t.object.dataset)||void 0===o?void 0:o.initialCountryId)&&void 0!==r?r:e);return new y(function(t,n){var r,o=null===(r=window.EnderecoIntegrator.countryMappingReverse)||void 0===r?void 0:r[e];t(void 0!==o?o:"")})},Xc.resolvers.subdivisionCodeWrite=function(e,t){return new y(function(t,n){t(void 0!==window.EnderecoIntegrator.subdivisionMapping[e.toUpperCase()]?window.EnderecoIntegrator.subdivisionMapping[e.toUpperCase()]:"")})},Xc.resolvers.subdivisionCodeRead=function(e,t){return new y(function(t,n){var r,o=null===(r=window.EnderecoIntegrator.subdivisionMappingReverse)||void 0===r?void 0:r[e];t(void 0!==o?o:"")})},Xc.resolvers.subdivisionCodeGetValue=function(e){var t,n,r,o;return"select-one"===(null==e||null===(t=e.object)||void 0===t?void 0:t.type)&&1===(null==e||null===(n=e.object)||void 0===n||null===(n=n.options)||void 0===n?void 0:n.length)?null!==(r=null===(o=e.object.dataset)||void 0===o?void 0:o.initialCountryStateId)&&void 0!==r?r:"":e.getValue()},Xc.resolvers.salutationWrite=function(e){return new y(function(t,n){t(void 0!==window.EnderecoIntegrator.salutationMapping[e]?window.EnderecoIntegrator.salutationMapping[e]:"")})},Xc.resolvers.salutationRead=function(e){return new y(function(t,n){t(void 0!==window.EnderecoIntegrator.salutationMappingReverse[e]?window.EnderecoIntegrator.salutationMappingReverse[e]:"x")})};var el=Xc.hasActiveSubscriber;Xc.hasActiveSubscriber=function(e,t,n){return!("subdivisionCode"!==e||!t||"SELECT"!==t.tagName||!t.hasAttribute("data-initial-country-state-id")||""===t.getAttribute("data-initial-country-state-id").trim())||el(e,t,n)};var tl=function(){var e=Zc(Jc().m(function e(t){var n,r,o,i;return Jc().w(function(e){for(;;
1)switch(e.n){case 0:if(n=t.forms[0]){e.n=1;break}return e.a(2,y.resolve());case 1:if(r=n.getAttribute("data-end-target-link-selector")){e.n=2;break}return e.a(2,y.resolve());case 2:if(o=document.querySelector(r)){e.n=3;break}return e.a(2,y.resolve());case 3:if(o.click(),i=window.PluginManager.getPluginInstanceFromElement(o,"AddressEditor")){e.n=4;break}return e.a(2,y.resolve());case 4:return e.a(2,new y(function(e){var t=setTimeout(function(){console.warn("Timed out waiting for modal to open"),e()},1e4);i.$emitter.subscribe("onOpen",function(n){var r,o=n.detail.pseudoModal._modal;if(!(r=o.querySelector('[data-bs-target="#billing-address-create-edit"]')?o.querySelector('[data-bs-target="#billing-address-create-edit"]'):o.querySelector('[data-bs-target="#shipping-address-create-edit"]')?o.querySelector('[data-bs-target="#shipping-address-create-edit"]'):o.querySelector('[data-target="#address-create-edit"]')))return console.warn("Modal opened but edit button not found"),clearTimeout(t),e();setTimeout(function(){try{return r.click(),clearTimeout(t),e()}catch(n){return console.warn("Error clicking edit button:",{error:n}),clearTimeout(t),e()}},50)})}))}},e)}));return function(t){return e.apply(this,arguments)}}(),nl=function(){var e=Zc(Jc().m(function e(t){var n,r,o;return Jc().w(function(e){for(;;)switch(e.n){case 0:if(n=t.forms[0]){e.n=1;break}return e.a(2,y.resolve());case 1:if(r=n.getAttribute("data-end-target-link-selector"),o=window.PluginManager.getPluginInstanceFromElement(n,"FormAjaxSubmit"),r&&o){e.n=2;break}return e.a(2,y.resolve());case 2:return e.a(2,new y(function(e){var t=setTimeout(function(){console.warn("[ENDERECO] Form submission timed out"),e()},15e3);o.$emitter.subscribe("onAfterAjaxSubmit",function(){clearTimeout(t),e(),1===window.EnderecoIntegrator.processQueue.size&&window.location.reload()}),o.$emitter.subscribe("onError",function(){console.warn("[ENDERECO] Error during form submission"),clearTimeout(t),e()}),o._fireRequest()}))}},e)}));return function(t){return e.apply(this,arguments)}}();Xc.afterAMSActivation.push(function(e){e.onEditAddress.push(function(e){return tl(e)}),e.onAfterAddressPersisted.push(function(e,t){return"finished"===t.processStatus?nl(e):y.resolve()})}),Xc.isPopupAreaFree=function(e){var t=document.querySelector(".address-editor-modal");if(!t)return!0;var n=e.forms[0];return!!n&&t.contains(n)},Xc.getProcessLevel=function(){return document.querySelector(".address-editor-modal")?1:0},window.EnderecoIntegrator?window.EnderecoIntegrator=b()(window.EnderecoIntegrator,Xc):window.EnderecoIntegrator=Xc,window.EnderecoIntegrator.prepareDOMElement=function(e){if(!e._enderecoBlurListenerAttached){e.addEventListener("endereco-blur",function(e){var t=document.activeElement;e.target.dispatchEvent(new CustomEvent("focus",{bubbles:!0,cancelable:!0})),e.target.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0})),e.target.dispatchEvent(new CustomEvent("blur",{bubbles:!0,cancelable:!0})),t.dispatchEvent(new CustomEvent("focus",{bubbles:!0,cancelable:!0}))}),e._enderecoBlurListenerAttached=!0}},window.EnderecoIntegrator.asyncCallbacks.forEach(function(e){e()}),window.EnderecoIntegrator.asyncCallbacks=[];var rl=setInterval(function(){"function"==typeof enderecoLoadAMSConfig&&(enderecoLoadAMSConfig(),clearInterval(rl))},10)}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.