PK qhYJFF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/tiktechtok.org/wp-content/plugins/woocommerce-payments/dist/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/tiktechtok.org/wp-content/plugins/woocommerce-payments/dist/settings.js

/*! For license information please see settings.js.LICENSE.txt */
(()=>{var e={6664:function(e,t,n){!function(e,t){"use strict";function n(e){return n="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},n(e)}function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.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)?a(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;function i(){}function s(){}s.resetWarningCache=i;var d,l,c=(d=function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}()},d(l={exports:{}},l.exports),l.exports),u=function(e){return null!==e&&"object"===n(e)},p="[object Object]",m=function e(t,n){if(!u(t)||!u(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===p;if(o!==(Object.prototype.toString.call(n)===p))return!1;if(!o&&!r)return!1;var a=Object.keys(t),i=Object.keys(n);if(a.length!==i.length)return!1;for(var s={},d=0;d<a.length;d+=1)s[a[d]]=!0;for(var l=0;l<i.length;l+=1)s[i[l]]=!0;var c=Object.keys(s);if(c.length!==a.length)return!1;var m=t,f=n;return c.every((function(t){return e(m[t],f[t])}))},f=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},h=function(e){if(null===e||u(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},y=function(e){if(function(e){return u(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(h)};var t=h(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},g=t.createContext(null);g.displayName="ElementsContext";var v=function(e){var n=e.stripe,r=e.options,a=e.children,i=t.useRef(!1),s=t.useRef(!0),d=t.useMemo((function(){return y(n)}),[n]),l=o(t.useState((function(){return{stripe:null,elements:null}})),2),c=l[0],u=l[1],p=f(n),h=f(r);return null!==p&&(p!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),m(r,h)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),i.current||("sync"===d.tag&&(i.current=!0,u({stripe:d.stripe,elements:d.stripe.elements(r)})),"async"===d.tag&&(i.current=!0,d.stripePromise.then((function(e){e&&s.current&&u({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){s.current=!1}}),[]),t.useEffect((function(){var e=c.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[c.stripe]),t.createElement(g.Provider,{value:c},a)};v.propTypes={stripe:c.any,options:c.object};var _=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(g),e)},$=function(e){return(0,e.children)(_("mounts <ElementsConsumer>"))};$.propTypes={children:c.func.isRequired};var b=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},w=function(e){return u(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},E=function(){},S=function(e,n){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),a=n?function(e){_("mounts <".concat(o,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,a=n.className,i=n.options,s=void 0===i?{}:i,d=n.onBlur,l=void 0===d?E:d,c=n.onFocus,u=void 0===c?E:c,p=n.onReady,f=void 0===p?E:p,h=n.onChange,y=void 0===h?E:h,g=n.onEscape,v=void 0===g?E:g,$=n.onClick,S=void 0===$?E:$,C=_("mounts <".concat(o,">")).elements,A=t.useRef(null),x=t.useRef(null),T=b(f),R=b(l),k=b(u),O=b(S),M=b(y),P=b(v);t.useLayoutEffect((function(){if(null==A.current&&C&&null!=x.current){var t=C.create(e,s);A.current=t,t.mount(x.current),t.on("ready",(function(){return T(t)})),t.on("change",M),t.on("blur",R),t.on("focus",k),t.on("escape",P),t.on("click",O)}}));var I=t.useRef(s);return t.useEffect((function(){I.current&&I.current.paymentRequest!==s.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=w(s);0===Object.keys(e).length||m(e,w(I.current))||A.current&&(A.current.update(e),I.current=s)}),[s]),t.useLayoutEffect((function(){return function(){A.current&&A.current.destroy()}}),[]),t.createElement("div",{id:r,className:a,ref:x})};return a.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},a.displayName=o,a.__elementType=e,a},C="undefined"==typeof window,A=S("auBankAccount",C),x=S("card",C),T=S("cardNumber",C),R=S("cardExpiry",C),k=S("cardCvc",C),O=S("fpxBank",C),M=S("iban",C),P=S("idealBank",C),I=S("p24Bank",C),N=S("epsBank",C),L=S("payment",C),D=S("paymentRequestButton",C),F=S("afterpayClearpayMessage",C);e.AfterpayClearpayMessageElement=F,e.AuBankAccountElement=A,e.CardCvcElement=k,e.CardElement=x,e.CardExpiryElement=R,e.CardNumberElement=T,e.Elements=v,e.ElementsConsumer=$,e.EpsBankElement=N,e.FpxBankElement=O,e.IbanElement=M,e.IdealBankElement=P,e.P24BankElement=I,e.PaymentElement=L,e.PaymentRequestButtonElement=D,e.useElements=function(){return _("calls useElements()").elements},e.useStripe=function(){return _("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(9196))},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8607:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-add-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},457:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-checkmark",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},737:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-cross-circle",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19.1 4.9C15.2 1 8.8 1 4.9 4.9S1 15.2 4.9 19.1s10.2 3.9 14.1 0 4-10.3.1-14.2zm-4.3 11.3L12 13.4l-2.8 2.8-1.4-1.4 2.8-2.8-2.8-2.8 1.4-1.4 2.8 2.8 2.8-2.8 1.4 1.4-2.8 2.8 2.8 2.8-1.4 1.4z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7719:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-help-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4 8a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2v-1.141A3.991 3.991 0 0016 10zm-3 6h-2v2h2v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},1250:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-help",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 16h-2v-2h2v2zm0-4.141V15h-2v-2a1 1 0 011-1c1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2H8a4 4 0 018 0 3.991 3.991 0 01-3 3.859z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4514:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-image",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 6v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h12a2 2 0 012 2zm-2 0H6v6.38l2.19-2.19 5.23 5.23 1-1a1.59 1.59 0 012.11.11L18 16V6zm-5 3.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7132:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-info-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},5683:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4109:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),l=["gridicon","gridicons-trash",s,!1,!1,!!function(e){return 0==e%18}(n)&&"needs-offset-y"].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:l,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M6.187 8h11.625l-.695 11.125A2 2 0 0115.121 21H8.879a2 2 0 01-1.996-1.875L6.187 8zM19 5v2H5V5h3V4a2 2 0 012-2h4a2 2 0 012 2v1h3zm-9 0h4V4h-4v1z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},6928:e=>{e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,i=void 0!==a&&a,s=e.findChunks,d=void 0===s?r:s,l=e.sanitize,c=e.searchWords,u=e.textToHighlight;return o({chunksToHighlight:n({chunks:d({autoEscape:t,caseSensitive:i,sanitize:l,searchWords:c,textToHighlight:u})}),totalLength:u?u.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?a:r,i=e.searchWords,s=e.textToHighlight;return s=o(s),i.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(r,n?"g":"gi"),i=void 0;i=a.exec(s);){var d=i.index,l=a.lastIndex;l>d&&e.push({highlight:!1,start:d,end:l}),i.index===a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var a=0;t.forEach((function(e){o(a,e.start,!1),o(e.start,e.end,!0),a=e.end})),o(a,n,!1)}return r};function a(e){return e}}])},8679:(e,t,n)=>{"use strict";var r=n(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function d(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=m(n);o&&o!==f&&e(t,o,r)}var i=c(n);u&&(i=i.concat(u(n)));for(var s=d(t),h=d(n),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||r&&r[g]||h&&h[g]||s&&s[g])){var v=p(n,g);try{l(t,g,v)}catch(e){}}}}return t}},6103:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,$=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case u:case a:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case l:case p:case y:case h:case d:return e;default:return t}}case o:return t}}}function w(e){return b(e)===u}t.AsyncMode=c,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=d,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||b(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===p},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===y},t.isMemo=function(e){return b(e)===h},t.isPortal=function(e){return b(e)===o},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===i},t.isSuspense=function(e){return b(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===s||e===i||e===m||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===d||e.$$typeof===l||e.$$typeof===p||e.$$typeof===v||e.$$typeof===_||e.$$typeof===$||e.$$typeof===g)},t.typeOf=b},1296:(e,t,n)=>{"use strict";e.exports=n(6103)},5197:e=>{var t;t=function(e){"use strict";return function(){for(var t=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["North Macedonia (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],n=0;n<t.length;n++){var r=t[n];t[n]={name:r[0],iso2:r[1],dialCode:r[2],priority:r[3]||0,areaCodes:r[4]||null}}function o(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,r.key,r)}}var a={getInstance:function(e){var t=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[t]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=a);var i=0,s={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},d=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],l=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++)t(n[r],e[n[r]])},c=function(e){l(window.intlTelInputGlobals.instances,(function(t){window.intlTelInputGlobals.instances[t][e]()}))},u=function(){function n(e,t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.id=i++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var o=t||{};this.options={},l(s,(function(e,t){r.options[e]=o.hasOwnProperty(e)?o[e]:t})),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var r,a;return r=n,a=[{key:"_init",value:function(){var e=this;if(this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise){var t=new Promise((function(t,n){e.resolveAutoCountryPromise=t,e.rejectAutoCountryPromise=n})),n=new Promise((function(t,n){e.resolveUtilsScriptPromise=t,e.rejectUtilsScriptPromise=n}));this.promise=Promise.all([t,n])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(t,n,r){n.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=n.length),this.countryCodes.hasOwnProperty(n)||(this.countryCodes[n]=[]);for(var o=0;o<this.countryCodes[n].length;o++)if(this.countryCodes[n][o]===t)return;var a=r!==e?r:this.countryCodes[n].length;this.countryCodes[n][a]=t}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var e=this.options.onlyCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(t){return e.indexOf(t.iso2)>-1}))}else if(this.options.excludeCountries.length){var n=this.options.excludeCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(e){return-1===n.indexOf(e.iso2)}))}else this.countries=t}},{key:"_translateCountriesByLocale",value:function(){for(var e=0;e<this.countries.length;e++){var t=this.countries[e].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(t)&&(this.countries[e].name=this.options.localizedCountries[t])}}},{key:"_countryNameSort",value:function(e,t){return e.name.localeCompare(t.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var e=0;e<this.countries.length;e++){var t=this.countries[e];this.dialCodes[t.dialCode]||(this.dialCodes[t.dialCode]=!0),this._addCountryCode(t.iso2,t.dialCode,t.priority)}for(var n=0;n<this.countries.length;n++){var r=this.countries[n];if(r.areaCodes)for(var o=this.countryCodes[r.dialCode][0],a=0;a<r.areaCodes.length;a++){for(var i=r.areaCodes[a],s=1;s<i.length;s++){var d=r.dialCode+i.substr(0,s);this._addCountryCode(o,d),this._addCountryCode(r.iso2,d)}this._addCountryCode(r.iso2,r.dialCode+i)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),n=this._getCountryData(t,!1,!0);n&&this.preferredCountries.push(n)}}},{key:"_createEl",value:function(e,t,n){var r=document.createElement(e);return t&&l(t,(function(e,t){return r.setAttribute(e,t)})),n&&n.appendChild(r),r}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e="iti";this.options.allowDropdown&&(e+=" iti--allow-dropdown"),this.options.separateDialCode&&(e+=" iti--separate-dial-code"),this.options.customContainer&&(e+=" ",e+=this.options.customContainer);var t=this._createEl("div",{class:e});if(this.telInput.parentNode.insertBefore(t,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},t),t.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput){var n=this.options.hiddenInput,r=this.telInput.getAttribute("name");if(r){var o=r.lastIndexOf("[");-1!==o&&(n="".concat(r.substr(0,o),"[").concat(n,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:n}),t.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(e,t,n){for(var r="",o=0;o<e.length;o++){var a=e[o],i=n?"-preferred":"";r+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(a.iso2).concat(i,"' role='option' data-dial-code='").concat(a.dialCode,"' data-country-code='").concat(a.iso2,"' aria-selected='false'>"),r+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(a.iso2,"'></div></div>"),r+="<span class='iti__country-name'>".concat(a.name,"</span>"),r+="<span class='iti__dial-code'>+".concat(a.dialCode,"</span>"),r+="</li>"}this.countryList.insertAdjacentHTML("beforeend",r)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,n=!e||"+"!==e.charAt(0)||t&&"+"===t.charAt(0)?t:e,r=this._getDialCode(n),o=this._isRegionlessNanp(n),a=this.options,i=a.initialCountry,s=a.nationalMode,d=a.autoHideDialCode,l=a.separateDialCode;r&&!o?this._updateFlagFromNumber(n):"auto"!==i&&(i?this._setFlag(i.toLowerCase()):r&&o?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,n||this._setFlag(this.defaultCountry)),n||s||d||l||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),n&&this._updateValFromNumber(n)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var e=this.telInput;e&&"LABEL"!==e.tagName;)e=e.parentNode;return e}},{key:"_initDropdownListeners",value:function(){var e=this;this._handleLabelClick=function(t){e.countryList.classList.contains("iti__hide")?e.telInput.focus():t.preventDefault()};var t=this._getClosestLabel();t&&t.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!e.countryList.classList.contains("iti__hide")||e.telInput.disabled||e.telInput.readOnly||e._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(t){e.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(t.key)&&(t.preventDefault(),t.stopPropagation(),e._showDropdown()),"Tab"===t.key&&e._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var e=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(e.options.utilsScript)})):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(e){window.intlTelInputGlobals.autoCountry=e.toLowerCase(),setTimeout((function(){return c("handleAutoCountry")}))}),(function(){return c("rejectAutoCountryPromise")})))}},{key:"_initKeyListeners",value:function(){var e=this;this._handleKeyupEvent=function(){e._updateFlagFromNumber(e.telInput.value)&&e._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(e){var t=this.telInput.getAttribute("maxlength");return t&&e.length>t?e.substr(0,t):e}},{key:"_initBlurListeners",value:function(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var e=this._getNumeric(this.telInput.value);e&&this.selectedCountryData.dialCode!==e||(this.telInput.value="")}}},{key:"_getNumeric",value:function(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!0),this.telInput.dispatchEvent(t)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(e,t,n){n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var t=this.telInput.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,r=t.top+n,o=this.countryList.offsetHeight,a=r+this.telInput.offsetHeight+o<n+window.innerHeight,i=r-o>n;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!a&&i),this.options.dropdownContainer){var s=!a&&i?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(r+s,"px"),this.dropdown.style.left="".concat(t.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return e._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(e){for(var t=e;t&&t!==this.countryList&&!t.classList.contains("iti__country");)t=t.parentNode;return t===this.countryList?null:t}},{key:"_bindDropdownListeners",value:function(){var e=this;this._handleMouseoverCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._highlightListItem(n,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._selectListItem(n)},this.countryList.addEventListener("click",this._handleClickCountryList);var t=!0;this._handleClickOffToClose=function(){t||e._closeDropdown(),t=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var n="",r=null;this._handleKeydownOnDropdown=function(t){t.preventDefault(),"ArrowUp"===t.key||"Up"===t.key||"ArrowDown"===t.key||"Down"===t.key?e._handleUpDownKey(t.key):"Enter"===t.key?e._handleEnterKey():"Escape"===t.key?e._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(t.key)&&(r&&clearTimeout(r),n+=t.key.toLowerCase(),e._searchForCountry(n),r=setTimeout((function(){n=""}),1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(e){var t="ArrowUp"===e||"Up"===e?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;t&&(t.classList.contains("iti__divider")&&(t="ArrowUp"===e||"Up"===e?t.previousElementSibling:t.nextElementSibling),this._highlightListItem(t,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(e){for(var t=0;t<this.countries.length;t++)if(this._startsWith(this.countries[t].name,e)){var n=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(n,!1),this._scrollTo(n,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t=e;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var n=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==t.charAt(0)),r=intlTelInputUtils.numberFormat,o=r.NATIONAL,a=r.INTERNATIONAL,i=n?o:a;t=intlTelInputUtils.formatNumber(t,this.selectedCountryData.iso2,i)}t=this._beforeSetNumber(t),this.telInput.value=t}},{key:"_updateFlagFromNumber",value:function(e){var t=e,n=this.selectedCountryData.dialCode,r="1"===n;t&&this.options.nationalMode&&r&&"+"!==t.charAt(0)&&("1"!==t.charAt(0)&&(t="1".concat(t)),t="+".concat(t)),this.options.separateDialCode&&n&&"+"!==t.charAt(0)&&(t="+".concat(n).concat(t));var o=this._getDialCode(t,!0),a=this._getNumeric(t),i=null;if(o){var s=this.countryCodes[this._getNumeric(o)],d=-1!==s.indexOf(this.selectedCountryData.iso2)&&a.length<=o.length-1;if(!("1"===n&&this._isRegionlessNanp(a)||d))for(var l=0;l<s.length;l++)if(s[l]){i=s[l];break}}else"+"===t.charAt(0)&&a.length?i="":t&&"+"!==t||(i=this.defaultCountry);return null!==i&&this._setFlag(i)}},{key:"_isRegionlessNanp",value:function(e){var t=this._getNumeric(e);if("1"===t.charAt(0)){var n=t.substr(1,3);return-1!==d.indexOf(n)}return!1}},{key:"_highlightListItem",value:function(e,t){var n=this.highlightedItem;n&&n.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,n,r){for(var o=n?t:this.countries,a=0;a<o.length;a++)if(o[a].iso2===e)return o[a];if(r)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=e?this._getCountryData(e,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e));var n=e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";if(this.selectedFlag.setAttribute("title",n),this.options.separateDialCode){var r=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=r;var o=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(o+6,"px")}if(this._updatePlaceholder(),this.options.allowDropdown){var a=this.activeItem;if(a&&(a.classList.remove("iti__active"),a.setAttribute("aria-selected","false")),e){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e));i.setAttribute("aria-selected","true"),i.classList.add("iti__active"),this.activeItem=i,this.selectedFlag.setAttribute("aria-activedescendant",i.getAttribute("id"))}}return t.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden",document.body.appendChild(e);var t=this.flagsContainer.cloneNode();e.appendChild(t);var n=this.selectedFlag.cloneNode(!0);t.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),r}},{key:"_updatePlaceholder",value:function(){var e="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&e){var t=intlTelInputUtils.numberType[this.options.placeholderNumberType],n=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,t):"";n=this._beforeSetNumber(n),"function"==typeof this.options.customPlaceholder&&(n=this.options.customPlaceholder(n,this.selectedCountryData)),this.telInput.setAttribute("placeholder",n)}}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code"),!0),this.telInput.focus();var n=this.telInput.value.length;this.telInput.setSelectionRange(n,n),t&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","false"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(e,t){var n=this.countryList,r=window.pageYOffset||document.documentElement.scrollTop,o=n.offsetHeight,a=n.getBoundingClientRect().top+r,i=a+o,s=e.offsetHeight,d=e.getBoundingClientRect().top+r,l=d+s,c=d-a+n.scrollTop,u=o/2-s/2;if(d<a)t&&(c-=u),n.scrollTop=c;else if(l>i){t&&(c+=u);var p=o-s;n.scrollTop=c-p}}},{key:"_updateDialCode",value:function(e,t){var n,r=this.telInput.value,o="+".concat(e);if("+"===r.charAt(0)){var a=this._getDialCode(r);n=a?r.replace(a,o):o}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(r)n=o+r;else{if(!t&&this.options.autoHideDialCode)return;n=o}}this.telInput.value=n}},{key:"_getDialCode",value:function(e,t){var n="";if("+"===e.charAt(0))for(var r="",o=0;o<e.length;o++){var a=e.charAt(o);if(!isNaN(parseInt(a,10))){if(r+=a,t)this.countryCodes[r]&&(n=e.substr(0,o+1));else if(this.dialCodes[r]){n=e.substr(0,o+1);break}if(r.length===this.countryCodeMaxLen)break}}return n}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,n=this._getNumeric(e);return(this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&n?"+".concat(t):"")+e}},{key:"_beforeSetNumber",value:function(e){var t=e;if(this.options.separateDialCode){var n=this._getDialCode(t);if(n){var r=" "===t[(n="+".concat(this.selectedCountryData.dialCode)).length]||"-"===t[n.length]?n.length+1:n.length;t=t.substr(r)}}return this._cap(t)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var e=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var t=this._getClosestLabel();t&&t.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&e&&e.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(e&&e.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var n=this.telInput.parentNode;n.parentNode.insertBefore(this.telInput,n),n.parentNode.removeChild(n),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(e){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-99}},{key:"isValidNumber",value:function(){var e=this._getFullNumber().trim(),t=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,t):null}},{key:"setCountry",value:function(e){var t=e.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(t))||(this._setFlag(t),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(e){var t=this._updateFlagFromNumber(e);this._updateValFromNumber(e),t&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}}],a&&o(r.prototype,a),n}();a.getCountryData=function(){return t};var p=function(e,t,n){var r=document.createElement("script");r.onload=function(){c("handleUtils"),t&&t()},r.onerror=function(){c("rejectUtilsScriptPromise"),n&&n()},r.className="iti-load-utils",r.async=!0,r.src=e,document.body.appendChild(r)};return a.loadUtils=function(e){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise((function(t,n){return p(e,t,n)}));p(e)}return null},a.defaults=s,a.version="17.0.15",function(e,t){var n=new u(e,t);return n._init(),e.setAttribute("data-intl-tel-input-id",n.id),window.intlTelInputGlobals.instances[n.id]=n,n}}()},e.exports?e.exports=t():window.intlTelInput=t()},1553:()=>{!function(){var e=this||self;function t(t,n){t=t.split(".");var r,o=e;t[0]in o||void 0===o.execScript||o.execScript("var "+t[0]);for(;t.length&&(r=t.shift());)t.length||void 0===n?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=n}function n(e,t){function n(){}n.prototype=t.prototype,e.$=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.fa=function(e,n,r){for(var o=Array(arguments.length-2),a=2;a<arguments.length;a++)o[a-2]=arguments[a];return t.prototype[n].apply(e,o)}}function r(e,t){return e>t?1:e<t?-1:0}function o(e,t){switch(this.g=e,this.m=!!t.o,this.i=t.h,this.v=t.type,this.u=!1,this.i){case s:case d:case l:case c:case u:case i:case a:this.u=!0}this.l=t.defaultValue}var a=1,i=2,s=3,d=4,l=6,c=16,u=18;function p(e,t){for(this.i=e,this.g={},e=0;e<t.length;e++){var n=t[e];this.g[n.g]=n}}function m(){this.g={},this.l=this.j().g,this.i=this.m=null}function f(e,t){for(var n=function(e){return function(e,t){e.sort(function(e,t){return e.g-t.g}||r)}(e=function(e){var t,n=[],r=0;for(t in e)n[r++]=e[t];return n}(e.g)),e}(e.j()),o=0;o<n.length;o++){var a=n[o],i=a.g;if(null!=t.g[i]){e.i&&delete e.i[a.g];var s=11==a.i||10==a.i;if(a.m){a=v(t,i);for(var d=0;d<a.length;d++)b(e,i,s?a[d].clone():a[d])}else a=h(t,i),s?(s=h(e,i))?f(s,a):$(e,i,a.clone()):$(e,i,a)}}}function h(e,t){var n=e.g[t];if(null==n)return null;if(e.m){if(!(t in e.i)){var r=e.m,o=e.l[t];if(null!=n)if(o.m){for(var a=[],i=0;i<n.length;i++)a[i]=r.i(o,n[i]);n=a}else n=r.i(o,n);return e.i[t]=n}return e.i[t]}return n}function y(e,t,n){var r=h(e,t);return e.l[t].m?r[n||0]:r}function g(e,t){if(null!=e.g[t])e=y(e,t,void 0);else e:{if(void 0===(e=e.l[t]).l)if((t=e.v)===Boolean)e.l=!1;else if(t===Number)e.l=0;else{if(t!==String){e=new t;break e}e.l=e.u?"0":""}e=e.l}return e}function v(e,t){return h(e,t)||[]}function _(e,t){return e.l[t].m?null!=e.g[t]?e.g[t].length:0:null!=e.g[t]?1:0}function $(e,t,n){e.g[t]=n,e.i&&(e.i[t]=n)}function b(e,t,n){e.g[t]||(e.g[t]=[]),e.g[t].push(n),e.i&&delete e.i[t]}function w(e,t){var n,r=[];for(n in t)0!=n&&r.push(new o(n,t[n]));return new p(e,r)}function E(){}m.prototype.has=function(e){return null!=this.g[e.g]},m.prototype.get=function(e,t){return y(this,e.g,t)},m.prototype.set=function(e,t){$(this,e.g,t)},m.prototype.add=function(e,t){b(this,e.g,t)},m.prototype.clone=function(){var e=new this.constructor;return e!=this&&(e.g={},e.i&&(e.i={}),f(e,this)),e},E.prototype.g=function(e){throw new e.i,Error("Unimplemented")},E.prototype.i=function(e,t){if(11==e.i||10==e.i)return t instanceof m?t:this.g(e.v.prototype.j(),t);if(14==e.i)return"string"==typeof t&&S.test(t)&&0<(e=Number(t))?e:t;if(!e.u)return t;if((e=e.v)===String){if("number"==typeof t)return String(t)}else if(e===Number&&"string"==typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||S.test(t)))return Number(t);return t};var S=/^-?[0-9]+$/;function C(){}function A(){}function x(e,t){null!=e&&this.g.apply(this,arguments)}function T(){m.call(this)}n(C,E),C.prototype.g=function(e,t){return(e=new e.i).m=this,e.g=t,e.i={},e},n(A,C),A.prototype.i=function(e,t){return 8==e.i?!!t:E.prototype.i.apply(this,arguments)},A.prototype.g=function(e,t){return A.$.g.call(this,e,t)},x.prototype.i="",x.prototype.set=function(e){this.i=""+e},x.prototype.g=function(e,t,n){if(this.i+=String(e),null!=t)for(var r=1;r<arguments.length;r++)this.i+=arguments[r];return this},x.prototype.toString=function(){return this.i},n(T,m);var R=null;function k(){m.call(this)}n(k,m);var O=null;function M(){m.call(this)}n(M,m);var P=null;function I(){m.call(this)}T.prototype.j=function(){var e=R;return e||(R=e=w(T,{0:{name:"NumberFormat",s:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,h:9,type:String},2:{name:"format",required:!0,h:9,type:String},3:{name:"leading_digits_pattern",o:!0,h:9,type:String},4:{name:"national_prefix_formatting_rule",h:9,type:String},6:{name:"national_prefix_optional_when_formatting",h:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",h:9,type:String}})),e},T.j=T.prototype.j,k.prototype.j=function(){var e=O;return e||(O=e=w(k,{0:{name:"PhoneNumberDesc",s:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",h:9,type:String},9:{name:"possible_length",o:!0,h:5,type:Number},10:{name:"possible_length_local_only",o:!0,h:5,type:Number},6:{name:"example_number",h:9,type:String}})),e},k.j=k.prototype.j,M.prototype.j=function(){var e=P;return e||(P=e=w(M,{0:{name:"PhoneMetadata",s:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",h:11,type:k},2:{name:"fixed_line",h:11,type:k},3:{name:"mobile",h:11,type:k},4:{name:"toll_free",h:11,type:k},5:{name:"premium_rate",h:11,type:k},6:{name:"shared_cost",h:11,type:k},7:{name:"personal_number",h:11,type:k},8:{name:"voip",h:11,type:k},21:{name:"pager",h:11,type:k},25:{name:"uan",h:11,type:k},27:{name:"emergency",h:11,type:k},28:{name:"voicemail",h:11,type:k},29:{name:"short_code",h:11,type:k},30:{name:"standard_rate",h:11,type:k},31:{name:"carrier_specific",h:11,type:k},33:{name:"sms_services",h:11,type:k},24:{name:"no_international_dialling",h:11,type:k},9:{name:"id",required:!0,h:9,type:String},10:{name:"country_code",h:5,type:Number},11:{name:"international_prefix",h:9,type:String},17:{name:"preferred_international_prefix",h:9,type:String},12:{name:"national_prefix",h:9,type:String},13:{name:"preferred_extn_prefix",h:9,type:String},15:{name:"national_prefix_for_parsing",h:9,type:String},16:{name:"national_prefix_transform_rule",h:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",h:8,defaultValue:!1,type:Boolean},19:{name:"number_format",o:!0,h:11,type:T},20:{name:"intl_number_format",o:!0,h:11,type:T},22:{name:"main_country_for_code",h:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",h:9,type:String},26:{name:"leading_zero_possible",h:8,defaultValue:!1,type:Boolean}})),e},M.j=M.prototype.j,n(I,m);var N=null,L={ea:0,da:1,ca:5,ba:10,aa:20};I.prototype.j=function(){var e=N;return e||(N=e=w(I,{0:{name:"PhoneNumber",s:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,h:5,type:Number},2:{name:"national_number",required:!0,h:4,type:Number},3:{name:"extension",h:9,type:String},4:{name:"italian_leading_zero",h:8,type:Boolean},8:{name:"number_of_leading_zeros",h:5,defaultValue:1,type:Number},5:{name:"raw_input",h:9,type:String},6:{name:"country_code_source",h:14,defaultValue:0,type:L},7:{name:"preferred_domestic_carrier_code",h:9,type:String}})),e},I.ctor=I,I.ctor.j=I.prototype.j;var D={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},F={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1|([457]\\d{6})$","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1|([2457]\\d{6})$","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[01])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93888[013-9]\\d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1|([267]\\d{6})$","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|(183[12])",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[3568]\\d|4[0-57-9])|45\\d|69[5-7]|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1|([2-9]\\d{6})$","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|7(?:36|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|69|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[013-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[0458]|2[25]|3[15-8]|48|[56]0|7[078]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1267]|5[1-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"43[07-9]\\d{5}|(?:48|8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\d\\d))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-79]\\d|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|31|6[1257-9]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[25689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:5[1-35-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1|([2-8]\\d{6})$","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"300\\d{7}|[34]00\\d{5}|4(?:02|37)0\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"4020\\d{4}|[34]00\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"1|([3-8]\\d{6})$","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[01]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|20)|2[0-25-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678"],[,,"600[2-9]\\d{6}",,,,"6002012345"],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d\\d|120)\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|[23][45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0704[0-7]\\d{5}|0(?:[15]\\d\\d|7(?:0[0-37-9]|[4-9][7-9]))\\d{6}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[5-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"0|(1(?:[12]\\d|79)\\d\\d)",,"00",,[[,"(\\d{5,6})","$1",["96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","26|3(?:[0268]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9])|(?:34|85[23])[0-8]|(?:1|58)[1-9]|(?:63|95)[06-9]|(?:33|85[23]9)[0-46-9]|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","26|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:1|58|85[23]10)[1-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:(?:1\\d|[36])\\d{3}|9101)\\d{6}|[124-8]\\d{7}",,,,,,,[8,10,11],[7]],[,,"60[124-8][2-9]\\d{6}|[124-8][2-9]\\d{6}",,,,"12345678",,,[8,10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:[34][36]|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:1\\d|2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|[23]1|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[2-6]\\d{10}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1|([2-7]\\d{6})$","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:23|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[24-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[01]\\d|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-59]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[78]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9\\d{8}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|91)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:[1-35]\\d|4[1-9])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7(?:00|[3-9]\\d))\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]\\d|6(?:0[0-4]|10|[256]\\d))\\d|7(?:[47]\\d\\d|658))\\d{4}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[47]\\d{6}|76\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-24-69]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-278])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1|([2-9]\\d{6})$","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]\\d{3}|5(?:00(?:0\\d|50)|11(?:00|1\\d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94|80\\d|976)\\d{6}",,,,,,,[9]],[,,"594(?:[023]\\d|1[01]|4[03-9]|5[6-9]|6[0-3]|80|9[0-4])\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-48])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976\\d{6}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0|([25-9]\\d{5})$","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-8]\\d|5[67])|5(?:[0457]\\d|6[01]|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]],[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}",,,,"20012345"],[,,"(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|70|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-389])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1|([3-9]\\d{6})$","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|5[0-5]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|573[0-6]|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])\\d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-39]|1[1-367]|[23]\\d|4[03-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[78]|2[3-59]|3[13-9]|4[0-68]|5[1-35])|5(?:0[7-9]|16|4[03-5]|5\\d|6[014-6]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:751\\d{5}|8\\d{6,7})|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[01]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[58]|7\\d|82|9[235-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0|([25-8]\\d{5})$","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:(?:[0-3]\\d|4[0145])\\d|5[15]0|8(?:1\\d|88)|9(?:0[013]|[19]\\d|21|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[28]))\\d{4}",,,,"6111234"],[,,"80[08]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|55\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0|([0-24-8]\\d{5})$","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[2-9]|[14-9]\\d|2[013-9]|3[3-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014])|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|(?:[235-8]\\d|99)\\d{7}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|880|99[05-9])\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:63\\d{3}|73(?:0[0-5]\\d|140))\\d{3}|[67]200[01]\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1|([2-7]\\d{6})$","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|222|333|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|22|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|3(?:00|33)|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1|([2-9]\\d{6})$","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[239]\\d|5[24-9]|7[6-8])|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1|([2-8]\\d{6})$","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:4(?:5[4-9]|[6-9]\\d)|5[0-4]\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|(1001)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:(?:330|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[01]\\d|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-489]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0|([24-9]\\d{6})$","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[56])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[0-24578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|4(?:60\\d|747)|94(?:[01]\\d|2[0-4]))\\d{3}|7(?:[0-25-8]\\d|3[2-4]|42|9[23])\\d{5}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[239])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:[01][1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|920)\\d{5}|(?:5[05]|8[05689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-8]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1|([2-9]\\d{6})$","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"(?:69|80)\\d{7}|(?:59|97)6\\d{6}",,,,,,,[9]],[,,"596(?:[04-7]\\d|10|2[7-9]|3[04-9]|8[09]|9[4-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976(?:6\\d|7[0-367])\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1|([34]\\d{6})$","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|[57]\\d|8[0-689]|9[0-8])\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["5"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024-68]|8[024689]))\\d{4}",,,,"6701234",,,[7]],[,,"46[46]\\d{4}|(?:7\\d|9[13-9])\\d{5}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[19]\\d|[23]1|77|88)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|88|9[89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"6571\\d{6}|(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"6571\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[69]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0134]\\d|2[1-9]|5[0-6]))|(?:(?:[269]|59)\\d|[37][1-9]|4[235-9])\\d|8(?:1[23]|[236]\\d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[04]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|8(?:01|19)[01])\\d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[245]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2[0-27-9]\\d{7,8}|21\\d{6}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,"8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|70)|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[05]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[6-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6(?:[02-9]\\d|1[0-8])\\d|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[18])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"211(?:1\\d|3[1-5])\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"(?:[45]|80\\d\\d)\\d{5}",,,,,,,[6,9]],[,,"(?:4[1-3]|50)\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[05])\\d{4}",,,,"551234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6[0356]92(?:30|9\\d)\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70(?:7\\d|8[17])\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}",,,,,,,[7,8,9]],[,,"4141\\d{4}|(?:23|4[04])\\d{6}",,,,"44123456",,,[8]],[,,"(?:28|[35-7]\\d)\\d{6}",,,,"33123456",,,[8]],[,,"800\\d{4}(?:\\d{2})?",,,,"8001234",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"9769\\d{5}|(?:26|[68]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|30[0-5])\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,"26[23]|69|[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[019])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[2389]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"8000\\d{3}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[1-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"895[0-2]\\d{4}|(?:8(?:0[1-4]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:1\\d|55|[67]0)\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-489])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"75(?:01|[38]3)\\d{5}|7(?:[06-8]\\d|21|5[4-7]|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|79|8[08])\\d|6(?:0[5-7]|[1-9]\\d)|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:6\\d|7[1-9])\\d{6}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}",,,,"21234567",,,[8]],[,,"66(?:[02-9]\\d\\d|1(?:[02-9]\\d|16))\\d{3}|(?:6[0-57-9]|7\\d)\\d{6}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1|(5\\d{6})$","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-689]\\d)\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1|([2-479]\\d{6})$","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[09]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:00|[1-57-9]\\d)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"41[18]\\d{6}|(?:[034]0|1[01]|2[02]|5[05]|7[017]|8[08]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:0[13]|1[89]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1|([2-46-8]\\d{6})$","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[26-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[1-9]|7[1-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:(?:24|81)0|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[0147]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[0157-9]\\d|20|36|[46][0-4])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[7,8,10]],[,,"(?:1(?:770|987)|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234",,,[7,10]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:33|55|[679]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:33|88|9[0-57-9])\\d{3}|55(?:50[013]|90\\d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1|([2-7]\\d{6})$","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284496[0-5]\\d{3}|284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284496[6-9]\\d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1|([2-578]\\d{6})$","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1|([2-9]\\d{6})$","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|8[2-79]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[689]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"80\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[67]|5[0-3]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"(?:63|80)0\\d{6}|(?:21|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[679]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"630\\d{6}",,,,"630012345"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["4"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?",,,,,,,[9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function B(){this.g={}}B.i=void 0,B.g=function(){return B.i?B.i:B.i=new B};var U={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},j={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},H=/^[+\uff0b]+/,V=/([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])/,G=/[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]/,Z=/[\\\/] *x/,z=/[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9A-Za-z#]+$/,W=/(?:.*?[A-Za-z]){3}.*/;function K(e){return"([0-90-9٠-٩۰-۹]{1,"+e+"})"}function Y(){return";ext="+K("20")+"|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*"+K("20")+"#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*"+K("9")+"#?|[- ]+"+K("6")+"#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*"+K("15")+"#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*"+K("9")+"#?"}var q=new RegExp("(?:"+Y()+")$","i"),X=new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:"+Y()+")?$","i"),J=/(\$\d)/;function Q(e){return!(2>e.length)&&be(X,e)}function ee(e){return be(W,e)?re(e,j):re(e,U)}function te(e){var t=ee(e.toString());e.i="",e.g(t)}function ne(e){return null!=e&&(1!=_(e,9)||-1!=v(e,9)[0])}function re(e,t){for(var n,r=new x,o=e.length,a=0;a<o;++a)null!=(n=t[(n=e.charAt(a)).toUpperCase()])&&r.g(n);return r.toString()}function oe(e){return null!=e&&isNaN(e)&&e.toUpperCase()in F}function ae(e,t,n){if(0==y(t,2)&&null!=t.g[5]){var r=g(t,5);if(0<r.length)return r}r=g(t,1);var o=se(t);if(0==n)return de(r,0,o,"");if(!(r in D))return o;e=ie(e,r,fe(r)),t=null!=t.g[3]&&0!=y(t,3).length?3==n?";ext="+y(t,3):null!=e.g[13]?y(e,13)+g(t,3):" ext. "+g(t,3):"";e:{for(var a,i=(e=0==v(e,20).length||2==n?v(e,19):v(e,20)).length,s=0;s<i;++s){var d=_(a=e[s],3);if((0==d||0==o.search(y(a,3,d-1)))&&be(d=new RegExp(y(a,1)),o)){e=a;break e}}e=null}return null!=e&&(e=g(i=e,2),a=new RegExp(y(i,1)),g(i,5),i=g(i,4),o=2==n&&null!=i&&0<i.length?o.replace(a,e.replace(J,i)):o.replace(a,e),3==n&&(o=(o=o.replace(/^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/,"")).replace(/[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/g,"-"))),de(r,n,o,t)}function ie(e,t,n){return ue(e,"001"==n?""+t:n)}function se(e){if(null==e.g[2])return"";var t=""+y(e,2);return null!=e.g[4]&&y(e,4)&&0<g(e,8)?Array(g(e,8)+1).join("0")+t:t}function de(e,t,n,r){switch(t){case 0:return"+"+e+n+r;case 1:return"+"+e+" "+n+r;case 3:return"tel:+"+e+"-"+n+r;default:return n+r}}function le(e,t){switch(t){case 4:return y(e,5);case 3:return y(e,4);case 1:return y(e,3);case 0:case 2:return y(e,2);case 5:return y(e,6);case 6:return y(e,8);case 7:return y(e,7);case 8:return y(e,21);case 9:return y(e,25);case 10:return y(e,28);default:return y(e,1)}}function ce(e,t){return pe(e,y(t,1))?pe(e,y(t,5))?4:pe(e,y(t,4))?3:pe(e,y(t,6))?5:pe(e,y(t,8))?6:pe(e,y(t,7))?7:pe(e,y(t,21))?8:pe(e,y(t,25))?9:pe(e,y(t,28))?10:pe(e,y(t,2))?y(t,18)||pe(e,y(t,3))?2:0:!y(t,18)&&pe(e,y(t,3))?1:-1:-1}function ue(e,t){if(null==t)return null;t=t.toUpperCase();var n=e.g[t];if(null==n){if(null==(n=F[t]))return null;n=(new A).g(M.j(),n),e.g[t]=n}return n}function pe(e,t){var n=e.length;return!(0<_(t,9)&&-1==v(t,9).indexOf(n))&&be(g(t,2),e)}function me(e,t){if(null==t)return null;var n=g(t,1);if(null==(n=D[n]))e=null;else if(1==n.length)e=n[0];else e:{t=se(t);for(var r,o=n.length,a=0;a<o;a++){var i=ue(e,r=n[a]);if(null!=i.g[23]){if(0==t.search(y(i,23))){e=r;break e}}else if(-1!=ce(t,i)){e=r;break e}}e=null}return e}function fe(e){return null==(e=D[e])?"ZZ":e[0]}function he(e,t,n,r){var o=le(n,r),a=0==_(o,9)?v(y(n,1),9):v(o,9);if(o=v(o,10),2==r){if(!ne(le(n,0)))return he(e,t,n,1);ne(e=le(n,1))&&((a=a.concat(0==_(e,9)?v(y(n,1),9):v(e,9))).sort(),0==o.length?o=v(e,10):(o=o.concat(v(e,10))).sort())}return-1==a[0]?5:(t=t.length,-1<o.indexOf(t)?4:(n=a[0])==t?0:n>t?2:a[a.length-1]<t?3:-1<a.indexOf(t,1)?0:5)}function ye(e,t){var n=se(t);return(t=g(t,1))in D?he(e,n,t=ie(e,t,fe(t)),-1):1}function ge(e,t,n,r,o,a){if(0==t.length)return 0;var i;t=new x(t),null!=n&&(i=y(n,11)),null==i&&(i="NonMatch");var s=t.toString();if(0==s.length)i=20;else if(H.test(s))s=s.replace(H,""),t.i="",t.g(ee(s)),i=1;else{if(s=new RegExp(i),te(t),0==(i=t.toString()).search(s)){s=i.match(s)[0].length;var d=i.substring(s).match(V);d&&null!=d[1]&&0<d[1].length&&"0"==re(d[1],U)?i=!1:(t.i="",t.g(i.substring(s)),i=!0)}else i=!1;i=i?5:20}if(o&&$(a,6,i),20!=i){if(2>=t.i.length)throw Error("Phone number too short after IDD");e:{if(0!=(e=t.toString()).length&&"0"!=e.charAt(0))for(o=e.length,t=1;3>=t&&t<=o;++t)if((n=parseInt(e.substring(0,t),10))in D){r.g(e.substring(t)),r=n;break e}r=0}if(0!=r)return $(a,1,r),r;throw Error("Invalid country calling code")}return null!=n&&(s=""+(i=g(n,10)),0==(d=t.toString()).lastIndexOf(s,0)&&(s=new x(d.substring(s.length)),d=y(n,1),d=new RegExp(g(d,2)),ve(s,n,null),s=s.toString(),!be(d,t.toString())&&be(d,s)||3==he(e,t.toString(),n,-1)))?(r.g(s),o&&$(a,6,10),$(a,1,i),i):($(a,1,0),0)}function ve(e,t,n){var r=e.toString(),o=r.length,a=y(t,15);if(0!=o&&null!=a&&0!=a.length){var i=new RegExp("^(?:"+a+")");if(o=i.exec(r)){var s=be(a=new RegExp(g(y(t,1),2)),r),d=o.length-1;null==(t=y(t,16))||0==t.length||null==o[d]||0==o[d].length?s&&!be(a,r.substring(o[0].length))||(null!=n&&0<d&&null!=o[d]&&n.g(o[1]),e.set(r.substring(o[0].length))):(r=r.replace(i,t),(!s||be(a,r))&&(null!=n&&0<d&&n.g(o[1]),e.set(r)))}}}function _e(e,t,n){if(!oe(n)&&0<t.length&&"+"!=t.charAt(0))throw Error("Invalid country calling code");return $e(e,t,n,!0)}function $e(e,t,n,r){if(null==t)throw Error("The string supplied did not seem to be a phone number");if(250<t.length)throw Error("The string supplied is too long to be a phone number");var o=new x,a=t.indexOf(";phone-context=");if(0<=a){var i=a+15;if("+"==t.charAt(i)){var s=t.indexOf(";",i);0<s?o.g(t.substring(i,s)):o.g(t.substring(i))}i=t.indexOf("tel:"),o.g(t.substring(0<=i?i+4:0,a))}else a=o.g,0<=(i=t.search(G))?0<=(s=(i=(i=t.substring(i)).replace(z,"")).search(Z))&&(i=i.substring(0,s)):i="",a.call(o,i);if(0<(i=(a=o.toString()).indexOf(";isub="))&&(o.i="",o.g(a.substring(0,i))),!Q(o.toString()))throw Error("The string supplied did not seem to be a phone number");if(a=o.toString(),!(oe(n)||null!=a&&0<a.length&&H.test(a)))throw Error("Invalid country calling code");a=new I,r&&$(a,5,t);e:{if(0<=(i=(t=o.toString()).search(q))&&Q(t.substring(0,i)))for(var d=(s=t.match(q)).length,l=1;l<d;++l)if(null!=s[l]&&0<s[l].length){o.i="",o.g(t.substring(0,i)),t=s[l];break e}t=""}0<t.length&&$(a,3,t),i=ue(e,n),t=new x,s=0,d=o.toString();try{s=ge(e,d,i,t,r,a)}catch(n){if("Invalid country calling code"!=n.message||!H.test(d))throw n;if(0==(s=ge(e,d=d.replace(H,""),i,t,r,a)))throw n}if(0!=s?(o=fe(s))!=n&&(i=ie(e,s,o)):(te(o),t.g(o.toString()),null!=n?$(a,1,s=g(i,10)):r&&(delete a.g[6],a.i&&delete a.i[6])),2>t.i.length)throw Error("The string supplied is too short to be a phone number");if(null!=i&&(n=new x,ve(o=new x(t.toString()),i,n),2!=(e=he(e,o.toString(),i,-1))&&4!=e&&5!=e&&(t=o,r&&0<n.toString().length&&$(a,7,n.toString()))),2>(e=(r=t.toString()).length))throw Error("The string supplied is too short to be a phone number");if(17<e)throw Error("The string supplied is too long to be a phone number");if(1<r.length&&"0"==r.charAt(0)){for($(a,4,!0),e=1;e<r.length-1&&"0"==r.charAt(e);)e++;1!=e&&$(a,8,e)}return $(a,2,parseInt(r,10)),a}function be(e,t){return!(!(e="string"==typeof e?t.match("^(?:"+e+")$"):t.match(e))||e[0].length!=t.length)}t("intlTelInputUtils",{}),t("intlTelInputUtils.formatNumber",(function(e,t,n){try{var r=B.g(),o=_e(r,e,t),a=ye(r,o);return 0==a||4==a?ae(r,o,void 0===n?0:n):e}catch(t){return e}})),t("intlTelInputUtils.getExampleNumber",(function(e,t,n){try{var r=B.g();e:{if(oe(e)){var o=le(ue(r,e),n);try{if(null!=o.g[6]){var a=$e(r,y(o,6),e,!1);break e}}catch(e){}}a=null}return ae(r,a,t?2:1)}catch(e){return""}})),t("intlTelInputUtils.getExtension",(function(e,t){try{return y(_e(B.g(),e,t),3)}catch(e){return""}})),t("intlTelInputUtils.getNumberType",(function(e,t){try{var n=B.g(),r=_e(n,e,t),o=me(n,r),a=ie(n,g(r,1),o);if(null==a)var i=-1;else i=ce(se(r),a);return i}catch(e){return-99}})),t("intlTelInputUtils.getValidationError",(function(e,t){try{var n=B.g();return ye(n,_e(n,e,t))}catch(e){return"Invalid country calling code"==e.message?1:"Phone number too short after IDD"==e.message||"The string supplied is too short to be a phone number"==e.message?2:"The string supplied is too long to be a phone number"==e.message?3:-99}})),t("intlTelInputUtils.isValidNumber",(function(e,t){try{var n,r=B.g(),o=_e(r,e,t),a=me(r,o),i=g(o,1),s=ie(r,i,a);if(!(n=null==s)){var d;if(d="001"!=a){var l=ue(r,a);if(null==l)throw Error("Invalid region code: "+a);d=i!=g(l,10)}n=d}if(n)var c=!1;else c=-1!=ce(se(o),s);return c}catch(e){return!1}})),t("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),t("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),t("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})}()},8699:(e,t,n)=>{e.exports=n(5197)},9588:e=>{e.exports=function(e,t){var n,r,o=0;function a(){var a,i,s=n,d=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<d;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(d),i=0;i<d;i++)a[i]=arguments[i];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,d=[],l=!1,c=-1;function u(){l&&s&&(l=!1,s.length?d=s.concat(d):c=-1,d.length&&p())}function p(){if(!l){var e=i(u);l=!0;for(var t=d.length;t;){for(s=d,d=[];++c<t;)s&&s[c].run();c=-1,t=d.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new m(e,t)),1!==d.length||l||i(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},8966:(e,t,n)=>{"use strict";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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=Ke(n(8469)),a=Ke(n(7536)),i=Ke(n(1359)),s=Ke(n(557)),d=Ke(n(2315)),l=Ke(n(9466)),c=Ke(n(661)),u=Ke(n(3868)),p=Ke(n(2492)),m=Ke(n(8999)),f=Ke(n(1028)),h=Ke(n(7795)),y=Ke(n(221)),g=Ke(n(2549)),v=Ke(n(3494)),_=Ke(n(9493)),$=Ke(n(7380)),b=We(n(9234)),w=We(n(4583)),E=Ke(n(4986)),S=Ke(n(1513)),C=Ke(n(4595)),A=Ke(n(3928)),x=Ke(n(7245)),T=Ke(n(5566)),R=Ke(n(4094)),k=Ke(n(7146)),O=Ke(n(2941)),M=Ke(n(9019)),P=Ke(n(3590)),I=Ke(n(6826)),N=Ke(n(2828)),L=Ke(n(937)),D=We(n(9146)),F=Ke(n(5218)),B=Ke(n(7117)),U=Ke(n(6090)),j=Ke(n(8335)),H=Ke(n(6298)),V=Ke(n(6454)),G=Ke(n(6648)),Z=Ke(n(4339)),z=We(n(8177)),W=Ke(n(2438)),K=Ke(n(368)),Y=Ke(n(8874)),q=Ke(n(4979)),X=Ke(n(1008)),J=Ke(n(4069)),Q=Ke(n(4958)),ee=Ke(n(3235)),te=Ke(n(7278)),ne=Ke(n(9131)),re=Ke(n(3315)),oe=Ke(n(1464)),ae=Ke(n(7228)),ie=Ke(n(1592)),se=Ke(n(682)),de=Ke(n(9396)),le=Ke(n(5807)),ce=Ke(n(7148)),ue=Ke(n(7612)),pe=Ke(n(9887)),me=Ke(n(3058)),fe=We(n(8355)),he=Ke(n(2129)),ye=Ke(n(94)),ge=Ke(n(8021)),ve=Ke(n(9211)),_e=Ke(n(5061)),$e=Ke(n(4611)),be=Ke(n(1727)),we=Ke(n(6776)),Ee=Ke(n(9963)),Se=Ke(n(2782)),Ce=Ke(n(5008)),Ae=Ke(n(2689)),xe=Ke(n(8983)),Te=Ke(n(2776)),Re=Ke(n(4554)),ke=Ke(n(478)),Oe=We(n(8140)),Me=Ke(n(4959)),Pe=Ke(n(9778)),Ie=Ke(n(4790)),Ne=Ke(n(5152)),Le=Ke(n(4816)),De=Ke(n(8035)),Fe=Ke(n(4714)),Be=Ke(n(4928)),Ue=Ke(n(8346)),je=Ke(n(2900)),He=Ke(n(8220)),Ve=Ke(n(2786)),Ge=Ke(n(7633)),Ze=Ke(n(5977));function ze(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ze=function(){return e},e}function We(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=ze();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Ke(e){return e&&e.__esModule?e:{default:e}}var Ye={version:"13.9.0",toDate:o.default,toFloat:a.default,toInt:i.default,toBoolean:s.default,equals:d.default,contains:l.default,matches:c.default,isEmail:u.default,isURL:p.default,isMACAddress:m.default,isIP:f.default,isIPRange:h.default,isFQDN:y.default,isBoolean:_.default,isIBAN:z.default,isBIC:W.default,isAlpha:b.default,isAlphaLocales:b.locales,isAlphanumeric:w.default,isAlphanumericLocales:w.locales,isNumeric:E.default,isPassportNumber:S.default,isPort:C.default,isLowercase:A.default,isUppercase:x.default,isAscii:R.default,isFullWidth:k.default,isHalfWidth:O.default,isVariableWidth:M.default,isMultibyte:P.default,isSemVer:I.default,isSurrogatePair:N.default,isInt:L.default,isIMEI:T.default,isFloat:D.default,isFloatLocales:D.locales,isDecimal:F.default,isHexadecimal:B.default,isOctal:U.default,isDivisibleBy:j.default,isHexColor:H.default,isRgbColor:V.default,isHSL:G.default,isISRC:Z.default,isMD5:K.default,isHash:Y.default,isJWT:q.default,isJSON:X.default,isEmpty:J.default,isLength:Q.default,isLocale:$.default,isByteLength:ee.default,isUUID:te.default,isMongoId:ne.default,isAfter:re.default,isBefore:oe.default,isIn:ae.default,isLuhnNumber:ie.default,isCreditCard:se.default,isIdentityCard:de.default,isEAN:le.default,isISIN:ce.default,isISBN:ue.default,isISSN:pe.default,isMobilePhone:fe.default,isMobilePhoneLocales:fe.locales,isPostalCode:Oe.default,isPostalCodeLocales:Oe.locales,isEthereumAddress:he.default,isCurrency:ye.default,isBtcAddress:ge.default,isISO6391:ve.default,isISO8601:_e.default,isRFC3339:$e.default,isISO31661Alpha2:be.default,isISO31661Alpha3:we.default,isISO4217:Ee.default,isBase32:Se.default,isBase58:Ce.default,isBase64:Ae.default,isDataURI:xe.default,isMagnetURI:Te.default,isMimeType:Re.default,isLatLong:ke.default,ltrim:Me.default,rtrim:Pe.default,trim:Ie.default,escape:Ne.default,unescape:Le.default,stripLow:De.default,whitelist:Fe.default,blacklist:Be.default,isWhitelisted:Ue.default,normalizeEmail:je.default,toString,isSlug:He.default,isStrongPassword:Ge.default,isTaxID:me.default,isDate:g.default,isTime:v.default,isLicensePlate:Ve.default,isVAT:Ze.default,ibanLocales:z.locales};t.default=Ye,e.exports=t.default,e.exports.default=t.default},79:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.bengaliLocales=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var n={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/};t.alpha=n;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/};t.alphanumeric=r;var o={"en-US":".",ar:"٫"};t.decimal=o;var a=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=a;for(var i,s=0;s<a.length;s++)n[i="en-".concat(a[s])]=n["en-US"],r[i]=r["en-US"],o[i]=o["en-US"];var d=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=d;for(var l,c=0;c<d.length;c++)n[l="ar-".concat(d[c])]=n.ar,r[l]=r.ar,o[l]=o.ar;var u=["IR","AF"];t.farsiLocales=u;for(var p,m=0;m<u.length;m++)r[p="fa-".concat(u[m])]=r.fa,o[p]=o.ar;var f=["BD","IN"];t.bengaliLocales=f;for(var h,y=0;y<f.length;y++)n[h="bn-".concat(f[y])]=n.bn,r[h]=r.bn,o[h]=o["en-US"];var g=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=g;var v=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","si-LK","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=v;for(var _=0;_<g.length;_++)o[g[_]]=o["en-US"];for(var $=0;$<v.length;$++)o[v[$]]=",";n["fr-CA"]=n["fr-FR"],r["fr-CA"]=r["fr-FR"],n["pt-BR"]=n["pt-PT"],r["pt-BR"]=r["pt-PT"],o["pt-BR"]=o["pt-PT"],n["pl-Pl"]=n["pl-PL"],r["pl-Pl"]=r["pl-PL"],o["pl-Pl"]=o["pl-PL"],n["fa-AF"]=n.fa},4928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},9466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(0,r.default)(e),(n=(0,a.default)(n,s)).ignoreCase?e.toLowerCase().split((0,o.default)(t).toLowerCase()).length>n.minOccurrences:e.split((0,o.default)(t)).length>n.minOccurrences};var r=i(n(5571)),o=i(n(1913)),a=i(n(4808));function i(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};e.exports=t.default,e.exports.default=t.default},2315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},5152:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},3315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(null==t?void 0:t.comparisonDate)||t||Date().toString(),r=(0,o.default)(n),a=(0,o.default)(e);return!!(a&&r&&a>r)};var r,o=(r=n(8469))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},9234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else{if("string"!=typeof i)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in a.alpha)return a.alpha[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(79),i=Object.keys(a.alpha);t.locales=i},4583:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else{if("string"!=typeof i)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in a.alphanumeric)return a.alphanumeric[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(79),i=Object.keys(a.alphanumeric);t.locales=i},4094:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},2438:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.slice(4,6).toUpperCase();return!(!a.CountryCodes.has(t)&&"XK"!==t)&&i.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(1727),i=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;e.exports=t.default,e.exports.default=t.default},2782:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(t=(0,o.default)(t,d)).crockford?s.test(e):!(e.length%8!=0||!i.test(e))};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,d={crockford:!1};e.exports=t.default,e.exports.default=t.default},5008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),!!a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},2689:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),t=(0,o.default)(t,d);var n=e.length;if(t.urlSafe)return s.test(e);if(n%4!=0||i.test(e))return!1;var a=e.indexOf("=");return-1===a||a===n-1||a===n-2&&"="===e[n-1]};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}var i=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,d={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},1464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var n=(0,o.default)(t),a=(0,o.default)(e);return!!(a&&n&&a<n)};var r=a(n(5571)),o=a(n(8469));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},9493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return(0,o.default)(e),t.loose?s.includes(e.toLowerCase()):i.includes(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={loose:!1},i=["true","false","1","0"],s=[].concat(i,["yes","no"]);e.exports=t.default,e.exports.default=t.default},8021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)||i.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(bc1)[a-z0-9]{25,39}$/,i=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},3235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===a(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var i=encodeURI(e).split(/%..|./).length-1;return i>=n&&(void 0===r||i<=r)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var n=t.provider,a=e.replace(/[- ]+/g,"");if(n&&n.toLowerCase()in i){if(!i[n.toLowerCase()].test(a))return!1}else{if(n&&!(n.toLowerCase()in i))throw new Error("".concat(n," is not a valid credit card provider."));if(!s.test(a))return!1}return(0,o.default)(e)};var r=a(n(5571)),o=a(n(1592));function a(e){return e&&e.__esModule?e:{default:e}}var i={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},s=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;e.exports=t.default,e.exports.default=t.default},94:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,n){0!==n&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var n="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),r="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),a="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),i="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),s=a+(e.allow_decimal||e.require_decimal?i:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?s+=r:e.negative_sign_before_digits&&(s=r+s)),e.allow_negative_sign_placeholder?s="( (?!\\-))?".concat(s):e.allow_space_after_symbol?s=" ?".concat(s):e.allow_space_after_digits&&(s+="( (?!$))?"),e.symbol_after_digits?s+=n:s=n+s,e.allow_negatives&&(e.parens_for_negatives?s="(\\(".concat(s,"\\)|").concat(s,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(s=r+s)),new RegExp("^(?!-? )(?=.*\\d)".concat(s,"$"))}(t=(0,r.default)(t,i)).test(e)};var r=a(n(4808)),o=a(n(5571));function a(e){return e&&e.__esModule?e:{default:e}}var i={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},8983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var n=t.shift().trim().split(";"),r=n.shift();if("data:"!==r.slice(0,5))return!1;var d=r.slice(5);if(""!==d&&!a.test(d))return!1;for(var l=0;l<n.length;l++)if((l!==n.length-1||"base64"!==n[l].toLowerCase())&&!i.test(n[l]))return!1;for(var c=0;c<t.length;c++)if(!s.test(t[c]))return!1;return!0};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,i=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},2549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t="string"==typeof t?(0,o.default)({format:t},s):(0,o.default)(t,s),"string"==typeof e&&(h=t.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(h))){var n,r=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),i=t.strictMode?r:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),d=function(e,t){for(var n=[],r=Math.min(e.length,t.length),o=0;o<r;o++)n.push([e[o],t[o]]);return n}(e.split(i),t.format.toLowerCase().split(r)),l={},c=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=a(e))){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,d=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){d=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(d)throw i}}}}(d);try{for(c.s();!(n=c.n()).done;){var u=(f=n.value,2,function(e){if(Array.isArray(e))return e}(f)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),2!==n.length);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(f)||a(f,2)||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.")}()),p=u[0],m=u[1];if(p.length!==m.length)return!1;l[m.charAt(0)]=p}}catch(e){c.e(e)}finally{c.f()}return new Date("".concat(l.m,"/").concat(l.d,"/").concat(l.y)).getDate()===+l.d}var f,h;return!t.strictMode&&("[object Date]"===Object.prototype.toString.call(e)&&isFinite(e))};var r,o=(r=n(4808))&&r.__esModule?r:{default:r};function a(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.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)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},5218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,r.default)(t,d)).locale in i.decimal)return!(0,a.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(i.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var r=s(n(4808)),o=s(n(5571)),a=s(n(8343)),i=n(79);function s(e){return e&&e.__esModule?e:{default:e}}var d={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},8335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var r=a(n(5571)),o=a(n(7536));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},5807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t,n,r=Number(e.slice(-1));return s.test(e)&&r===((n=10-(t=e).slice(0,-1).split("").map((function(e,n){return Number(e)*function(e,t){return e===a||e===i?t%2==0?3:1:t%2==0?1:3}(t.length,n)})).reduce((function(e,t){return e+t}),0)%10)<10?n:0)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=8,i=14,s=/^(\d{8}|\d{13}|\d{14})$/;e.exports=t.default,e.exports.default=t.default},3868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,o.default)(t,l)).require_display_name||t.allow_display_name){var n=e.match(c);if(n){var d=n[1];if(e=e.replace(d,"").replace(/(^<|>$)/g,""),d.endsWith(" ")&&(d=d.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(t.split('"').length!==t.split('\\"').length)return!1}return!0}(d))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>y)return!1;var g=e.split("@"),v=g.pop(),_=v.toLowerCase();if(t.host_blacklist.includes(_))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(_))return!1;var $=g.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var b=($=$.toLowerCase()).split("+")[0];if(!(0,a.default)(b.replace(/\./g,""),{min:6,max:30}))return!1;for(var w=b.split("."),E=0;E<w.length;E++)if(!p.test(w[E]))return!1}if(!(!1!==t.ignore_max_length||(0,a.default)($,{max:64})&&(0,a.default)(v,{max:254})))return!1;if(!(0,i.default)(v,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length})){if(!t.allow_ip_domain)return!1;if(!(0,s.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var S=v.slice(1,-1);if(0===S.length||!(0,s.default)(S))return!1}}if('"'===$[0])return $=$.slice(1,$.length-1),t.allow_utf8_local_part?h.test($):m.test($);for(var C=t.allow_utf8_local_part?f:u,A=$.split("."),x=0;x<A.length;x++)if(!C.test(A[x]))return!1;return!t.blacklisted_chars||-1===$.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))};var r=d(n(5571)),o=d(n(4808)),a=d(n(3235)),i=d(n(221)),s=d(n(1028));function d(e){return e&&e.__esModule?e:{default:e}}var l={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,u=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,y=254;e.exports=t.default,e.exports.default=t.default},4069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),0===((t=(0,o.default)(t,i)).ignore_whitespace?e.trim().length:e.length)};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}var i={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},2129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),a=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(a))return!1;if(/\s/.test(a))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(a))&&n.every((function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))}))};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},9146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?a.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||","===e||"-"===e||"+"===e)return!1;var r=parseFloat(e.replace(",","."));return n.test(e)&&(!t.hasOwnProperty("min")||r>=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||r<t.lt)&&(!t.hasOwnProperty("gt")||r>t.gt)},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(79),i=Object.keys(a.decimal);t.locales=i},7146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)},t.fullWidth=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=a},6648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return-1!==t.indexOf(",")?a.test(t):i.test(t)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;e.exports=t.default,e.exports.default=t.default},2941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)},t.halfWidth=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=a},8874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(a[t],"}$")).test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},7117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},8177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),n=t.slice(0,2).toUpperCase();return n in a&&a[n].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/},i=Object.keys(a);t.locales=i},5566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=a;if((t=t||{}).allow_hyphens&&(n=i),!n.test(e))return!1;e=e.replace(/-/g,"");for(var r=0,s=2,d=0;d<14;d++){var l=e.substring(14-d-1,14-d),c=parseInt(l,10)*s;r+=c>=10?c%10+1:c,1===s?s+=1:s-=1}return(10-r%10)%10===parseInt(e.substring(14,15),10)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[0-9]{15}$/,i=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},1028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,o.default)(t),(n=String(n))?"4"===n?s.test(t):"6"===n&&l.test(t):e(t,4)||e(t,6)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",i="(".concat(a,"[.]){3}").concat(a),s=new RegExp("^".concat(i,"$")),d="(?:[0-9a-fA-F]{1,4})",l=new RegExp("^("+"(?:".concat(d,":){7}(?:").concat(d,"|:)|")+"(?:".concat(d,":){6}(?:").concat(i,"|:").concat(d,"|:)|")+"(?:".concat(d,":){5}(?::").concat(i,"|(:").concat(d,"){1,2}|:)|")+"(?:".concat(d,":){4}(?:(:").concat(d,"){0,1}:").concat(i,"|(:").concat(d,"){1,3}|:)|")+"(?:".concat(d,":){3}(?:(:").concat(d,"){0,2}:").concat(i,"|(:").concat(d,"){1,4}|:)|")+"(?:".concat(d,":){2}(?:(:").concat(d,"){0,3}:").concat(i,"|(:").concat(d,"){1,5}|:)|")+"(?:".concat(d,":){1}(?:(:").concat(d,"){0,4}:").concat(i,"|(:").concat(d,"){1,6}|:)|")+"(?::((?::".concat(d,"){0,5}:").concat(i,"|(?::").concat(d,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},7795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,r.default)(e);var n=e.split("/");if(2!==n.length)return!1;if(!i.test(n[1]))return!1;if(n[1].length>1&&n[1].startsWith("0"))return!1;if(!(0,o.default)(n[0],t))return!1;var a=null;switch(String(t)){case"4":a=s;break;case"6":a=d;break;default:a=(0,o.default)(n[0],"6")?d:s}return n[1]<=a&&n[1]>=0};var r=a(n(5571)),o=a(n(1028));function a(e){return e&&e.__esModule?e:{default:e}}var i=/^\d{1,3}$/,s=32,d=128;e.exports=t.default,e.exports.default=t.default},7612:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){(0,o.default)(t);var r=String((null==n?void 0:n.version)||n);if(!(null!=n&&n.version||n))return e(t,{version:10})||e(t,{version:13});var d=t.replace(/[\s-]+/g,""),l=0;if("10"===r){if(!a.test(d))return!1;for(var c=0;c<r-1;c++)l+=(c+1)*d.charAt(c);if("X"===d.charAt(9)?l+=100:l+=10*d.charAt(9),l%11==0)return!0}else if("13"===r){if(!i.test(d))return!1;for(var u=0;u<12;u++)l+=s[u%2]*d.charAt(u);if(d.charAt(12)-(10-l%10)%10==0)return!0}return!1};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(?:[0-9]{9}X|[0-9]{10})$/,i=/^(?:[0-9]{13})$/,s=[1,3];e.exports=t.default,e.exports.default=t.default},7148:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!a.test(e))return!1;for(var t=!0,n=0,r=e.length-2;r>=0;r--)if(e[r]>="A"&&e[r]<="Z")for(var i=e[r].charCodeAt(0)-55,s=0,d=[i%10,Math.trunc(i/10)];s<d.length;s++){var l=d[s];n+=t?l>=5?1+2*(l-5):2*l:l,t=!t}else{var c=e[r].charCodeAt(0)-"0".charCodeAt(0);n+=t?c>=5?1+2*(c-5):2*c:c,t=!t}var u=10*Math.trunc((n+9)/10)-n;return+e[e.length-1]===u};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},1727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.has(e.toUpperCase())},t.CountryCodes=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]),i=a;t.CountryCodes=i},6776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.has(e.toUpperCase())};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);e.exports=t.default,e.exports.default=t.default},9963:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.has(e.toUpperCase())},t.CurrencyCodes=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]),i=a;t.CurrencyCodes=i},9211:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.has(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);e.exports=t.default,e.exports.default=t.default},5061:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var n=t.strictSeparator?i.test(e):a.test(e);return n&&t.strict?s(e):n};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var n=Number(t[1]),r=Number(t[2]);return n%4==0&&n%100!=0||n%400==0?r<=366:r<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),a=o[1],i=o[2],s=o[3],d=i?"0".concat(i).slice(-2):i,l=s?"0".concat(s).slice(-2):s,c=new Date("".concat(a,"-").concat(d||"01","-").concat(l||"01"));return!i||!s||c.getUTCFullYear()===a&&c.getUTCMonth()+1===i&&c.getUTCDate()===s};e.exports=t.default,e.exports.default=t.default},4339:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},9887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var n=a;if(n=t.require_hyphen?n.replace("?",""):n,!(n=t.case_sensitive?new RegExp(n):new RegExp(n,"i")).test(e))return!1;for(var r=e.replace("-","").toUpperCase(),i=0,s=0;s<r.length;s++){var d=r[s];i+=("X"===d?10:+d)*(8-s)}return i%11==0};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},9396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),t in i)return i[t](e);if("any"===t){for(var n in i)if(i.hasOwnProperty(n)&&(0,i[n])(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r=a(n(5571)),o=a(n(937));function a(e){return e&&e.__esModule?e:{default:e}}var i={PL:function(e){(0,r.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,o.default)(e,{allow_leading_zeroes:!0})){var n=e.split("").slice(0,-1).reduce((function(e,n,r){return e+Number(n)*t[r+1]}),0)%10,a=Number(e.charAt(e.length-1));if(0===n&&0===a||a===10-n)return!0}return!1},ES:function(e){(0,r.default)(e);var t={X:0,Y:1,Z:2},n=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(n))return!1;var o=n.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return n.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][o%23])},FI:function(e){return(0,r.default)(e),11===e.length&&(!!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/)&&"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10))%31]===e.slice(10,11))},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(r))return!1;var o=0;return r.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,r){o=t[o][n[r%8][e]]})),0===o},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).slice(e.length-6),0===parseInt(e.slice(3,9),10))return!1;for(var t=parseInt(e.slice(9,10),10),n=0,r=0;r<9;r++)n+=parseInt(e.slice(r,r+1),10)*(10-r);return(n%=11)<2&&t===n||n>=2&&t===11-n},IT:function(e){return 9===e.length&&"CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var n=t.split("").map(Number),r=(11-(3*n[0]+7*n[1]+6*n[2]+1*n[3]+8*n[4]+9*n[5]+4*n[6]+5*n[7]+2*n[8])%11)%11,o=(11-(5*n[0]+4*n[1]+3*n[2]+2*n[3]+7*n[4]+6*n[5]+5*n[6]+4*n[7]+3*n[8]+2*r)%11)%11;return r===n[9]&&o===n[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,n=0;n<12;n++)t+=parseInt(e[n],10)*(13-n);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var n,r=t,o=0,a=0;a<r.length;a++)o+=(n=Number(r[a])*(a%2+1))>9?n-9:n;return o%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,n=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],a=function(e){return n.includes(e)},i=function(e){var t=parseInt(e.substring(0,4),10),n=parseInt(e.substring(4,6),10),r=parseInt(e.substring(6),10),o=new Date(t,n-1,r);return!(o>new Date)&&o.getFullYear()===t&&o.getMonth()===n-1&&o.getDate()===r};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var n=e.substring(0,2);if(!(t=a(n)))return!1;var r="19".concat(e.substring(6,12));return!!(t=i(r))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var n=e.substring(0,2);if(!(t=a(n)))return!1;var s=e.substring(6,14);return!!(t=i(s))&&function(e){return function(e){for(var t=e.substring(0,17),n=0,a=0;a<17;a++)n+=parseInt(t.charAt(a),10)*parseInt(r[a],10);return o[n%11]}(e)===e.charAt(17).toUpperCase()}(e)}(t))},"zh-HK":function(e){var t=/^[0-9]$/;if(e=(e=e.trim()).toUpperCase(),!/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/.test(e))return!1;8===(e=e.replace(/\[|\]|\(|\)/g,"")).length&&(e="3".concat(e));for(var n=0,r=0;r<=7;r++)n+=(t.test(e[r])?e[r]:(e[r].charCodeAt(0)-55)%11)*(9-r);return(0==(n%=11)?"0":1===n?"A":String(11-n))===e[e.length-1]},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},n=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(n)&&Array.from(n).reduce((function(e,n,r){if(0===r){var o=t[n];return o%10*9+Math.floor(o/10)}return 9===r?(10-e%10-Number(n))%10==0:e+Number(n)*(9-r)}),0)}};e.exports=t.default,e.exports.default=t.default},7228:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;if((0,r.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var a=[];for(n in t)({}).hasOwnProperty.call(t,n)&&(a[n]=(0,o.default)(t[n]));return a.indexOf(e)>=0}return"object"===i(t)?t.hasOwnProperty(e):!(!t||"function"!=typeof t.indexOf)&&t.indexOf(e)>=0};var r=a(n(5571)),o=a(n(1913));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?a:i,r=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,d=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return n.test(e)&&r&&s&&d&&l};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,i=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},1008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e);try{t=(0,o.default)(t,s);var n=[];t.allow_primitives&&(n=[null,!1,!0]);var a=JSON.parse(e);return n.includes(a)||!!a&&"object"===i(a)}catch(e){}return!1};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="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},i(e)}var s={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},4979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,r.default)(e);var t=e.split("."),n=t.length;return!(n>3||n<2)&&t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var r=a(n(5571)),o=a(n(2689));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},478:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),t=(0,o.default)(t,c),!e.includes(","))return!1;var n=e.split(",");return!(n[0].startsWith("(")&&!n[1].endsWith(")")||n[1].endsWith(")")&&!n[0].startsWith("("))&&(t.checkDMS?d.test(n[0])&&l.test(n[1]):i.test(n[0])&&s.test(n[1]))};var r=a(n(5571)),o=a(n(4808));function a(e){return e&&e.__esModule?e:{default:e}}var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,d=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},4958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===a(t)?(n=t.min||0,r=t.max):(n=arguments[1]||0,r=arguments[2]);var i=e.match(/(\uFE0F|\uFE0E)/g)||[],s=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],d=e.length-i.length-s.length;return d>=n&&(void 0===r||d<=r)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},2786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in a)return a[t](e);if("any"===t){for(var n in a)if((0,a[n])(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|HX|HY|HZ|IK|IL|IN|IZ|J|JE|JL|K|KA|KB|KC|KE|KF|KG|KH|KI|KK|KL|KM|KN|KO|KR|KS|KT|KU|KW|KY|L|LA|LB|LC|LD|LF|LG|LH|LI|LL|LM|LN|LÖ|LP|LR|LU|M|MA|MB|MC|MD|ME|MG|MH|MI|MK|ML|MM|MN|MO|MQ|MR|MS|MÜ|MW|MY|MZ|N|NB|ND|NE|NF|NH|NI|NK|NM|NÖ|NP|NR|NT|NU|NW|NY|NZ|OA|OB|OC|OD|OE|OF|OG|OH|OK|OL|OP|OS|OZ|P|PA|PB|PE|PF|PI|PL|PM|PN|PR|PS|PW|PZ|R|RA|RC|RD|RE|RG|RH|RI|RL|RM|RN|RO|RP|RS|RT|RU|RV|RW|RZ|S|SB|SC|SE|SG|SI|SK|SL|SM|SN|SO|SP|SR|ST|SU|SW|SY|SZ|TE|TF|TG|TO|TP|TR|TS|TT|TÜ|ÜB|UE|UH|UL|UM|UN|V|VB|VG|VK|VR|VS|W|WA|WB|WE|WF|WI|WK|WL|WM|WN|WO|WR|WS|WT|WÜ|WW|WZ|Z|ZE|ZI|ZP|ZR|ZW|ZZ)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(ABG|ABI|AIB|AIC|ALF|ALZ|ANA|ANG|ANK|APD|ARN|ART|ASL|ASZ|AUR|AZE|BAD|BAR|BBG|BCH|BED|BER|BGD|BGL|BID|BIN|BIR|BIT|BIW|BKS|BLB|BLK|BNA|BOG|BOH|BOR|BOT|BRA|BRB|BRG|BRK|BRL|BRV|BSB|BSK|BTF|BÜD|BUL|BÜR|BÜS|BÜZ|CAS|CHA|CLP|CLZ|COC|COE|CUX|DAH|DAN|DAU|DBR|DEG|DEL|DGF|DIL|DIN|DIZ|DKB|DLG|DON|DUD|DÜW|EBE|EBN|EBS|ECK|EIC|EIL|EIN|EIS|EMD|EMS|ERB|ERH|ERK|ERZ|ESB|ESW|FDB|FDS|FEU|FFB|FKB|FLÖ|FOR|FRG|FRI|FRW|FTL|FÜS|GAN|GAP|GDB|GEL|GEO|GER|GHA|GHC|GLA|GMN|GNT|GOA|GOH|GRA|GRH|GRI|GRM|GRZ|GTH|GUB|GUN|GVM|HAB|HAL|HAM|HAS|HBN|HBS|HCH|HDH|HDL|HEB|HEF|HEI|HER|HET|HGN|HGW|HHM|HIG|HIP|HMÜ|HOG|HOH|HOL|HOM|HOR|HÖS|HOT|HRO|HSK|HST|HVL|HWI|IGB|ILL|JÜL|KEH|KEL|KEM|KIB|KLE|KLZ|KÖN|KÖT|KÖZ|KRU|KÜN|KUS|KYF|LAN|LAU|LBS|LBZ|LDK|LDS|LEO|LER|LEV|LIB|LIF|LIP|LÖB|LOS|LRO|LSZ|LÜN|LUP|LWL|MAB|MAI|MAK|MAL|MED|MEG|MEI|MEK|MEL|MER|MET|MGH|MGN|MHL|MIL|MKK|MOD|MOL|MON|MOS|MSE|MSH|MSP|MST|MTK|MTL|MÜB|MÜR|MYK|MZG|NAB|NAI|NAU|NDH|NEA|NEB|NEC|NEN|NES|NEW|NMB|NMS|NOH|NOL|NOM|NOR|NVP|NWM|OAL|OBB|OBG|OCH|OHA|ÖHR|OHV|OHZ|OPR|OSL|OVI|OVL|OVP|PAF|PAN|PAR|PCH|PEG|PIR|PLÖ|PRÜ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"en-IN":function(e){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())}};e.exports=t.default,e.exports.default=t.default},7380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},3928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},1592:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);for(var t,n,r,a=e.replace(/[- ]+/g,""),i=0,s=a.length-1;s>=0;s--)t=a.substring(s,s+1),n=parseInt(t,10),i+=r&&(n*=2)>=10?n%10+1:n,r=!r;return!(i%10!=0||!a)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){return(0,o.default)(t),null!=n&&n.eui&&(n.eui=String(n.eui)),null!=n&&n.no_colons||null!=n&&n.no_separators?"48"===n.eui?i.test(t):"64"===n.eui?l.test(t):i.test(t)||l.test(t):"48"===(null==n?void 0:n.eui)?a.test(t)||s.test(t):"64"===(null==n?void 0:n.eui)?d.test(t)||c.test(t):e(t,{eui:"48"})||e(t,{eui:"64"})};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,i=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,d=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,l=/^([0-9a-fA-F]){16}$/,c=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},368:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},2776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),0===e.indexOf("magnet:?")&&a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;e.exports=t.default,e.exports.default=t.default},4554:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)||i.test(e)||s.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,i=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},8355:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if((0,o.default)(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){return!(!a.hasOwnProperty(t)||!a[t].test(e))}));if(t in a)return a[t].test(e);if(!t||"any"===t){for(var r in a)if(a.hasOwnProperty(r)&&a[r].test(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};a["en-CA"]=a["en-US"],a["fr-CA"]=a["en-CA"],a["fr-BE"]=a["nl-BE"],a["zh-HK"]=a["en-HK"],a["zh-MO"]=a["en-MO"],a["ga-IE"]=a["en-IE"],a["fr-CH"]=a["de-CH"],a["it-CH"]=a["fr-CH"];var i=Object.keys(a);t.locales=i},9131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,o.default)(e)&&24===e.length};var r=a(n(5571)),o=a(n(7117));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},4986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),t&&t.no_symbols?i.test(e):new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?a.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(79),i=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},6090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},1513:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in a&&a[t].test(n)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{2,3}\d{7,8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JM:/^[Aa]\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,KZ:/^[a-zA-Z]\d{7}$/,LI:/^[a-zA-Z]\d{5}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,MX:/^\d{10,11}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},4595:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var r,o=(r=n(937))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8140:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var n in l)if(l.hasOwnProperty(n)&&l[n].test(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^\d{3}$/,i=/^\d{4}$/,s=/^\d{5}$/,d=/^\d{6}$/,l={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:i,DO:s,DZ:s,EE:s,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:s,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:a,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,LK:s,MG:a,MX:s,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:s,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:d,RU:d,SA:s,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:d,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:s,TN:i,TW:/^\d{3}(\d{2})?$/,UA:s,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:s},c=Object.keys(l);t.locales=c},4611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),p.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/([01][0-9]|2[0-3])/,i=/[0-5][0-9]/,s=new RegExp("[-+]".concat(a.source,":").concat(i.source)),d=new RegExp("([zZ]|".concat(s.source,")")),l=new RegExp("".concat(a.source,":").concat(i.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),u=new RegExp("".concat(l.source).concat(d.source)),p=new RegExp("^".concat(c.source,"[ tT]").concat(u.source,"$"));e.exports=t.default,e.exports.default=t.default},6454:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,o.default)(e),t?a.test(e)||i.test(e)||s.test(e)||d.test(e):a.test(e)||i.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,i=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,d=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;e.exports=t.default,e.exports.default=t.default},6826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),a.test(e)};var r=o(n(5571));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,o(n(4731)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");e.exports=t.default,e.exports.default=t.default},8220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;e.exports=t.default,e.exports.default=t.default},7633:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var n=function(e){var t=function(e){var t={};return Array.from(e).forEach((function(e){t[e]?t[e]+=1:t[e]=1})),t}(e),n={length:e.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach((function(e){i.test(e)?n.uppercaseCount+=t[e]:s.test(e)?n.lowercaseCount+=t[e]:d.test(e)?n.numberCount+=t[e]:l.test(e)&&(n.symbolCount+=t[e])})),n}(e);return(t=(0,r.default)(t||{},c)).returnScore?function(e,t){var n=0;return n+=e.uniqueChars*t.pointsPerUnique,n+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(n+=t.pointsForContainingLower),e.uppercaseCount>0&&(n+=t.pointsForContainingUpper),e.numberCount>0&&(n+=t.pointsForContainingNumber),e.symbolCount>0&&(n+=t.pointsForContainingSymbol),n}(n,t):n.length>=t.minLength&&n.lowercaseCount>=t.minLowercase&&n.uppercaseCount>=t.minUppercase&&n.numberCount>=t.minNumbers&&n.symbolCount>=t.minSymbols};var r=a(n(4808)),o=a(n(5571));function a(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]$/,s=/^[a-z]$/,d=/^[0-9]$/,l=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};e.exports=t.default,e.exports.default=t.default},2828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},3058:(e,t,n)=>{"use strict";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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var n=e.slice(0);if(t in p)return t in h&&(n=n.replace(h[t],"")),!!p[t].test(n)&&(!(t in m)||m[t](n));throw new Error("Invalid locale '".concat(t,"'"))};var o=d(n(5571)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(3672)),i=d(n(2549));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function u(e){for(var t=!1,n=!1,r=0;r<3;r++)if(!t&&/[AEIOU]/.test(e[r]))t=!0;else if(!n&&t&&"X"===e[r])n=!0;else if(r>0){if(t&&!n&&!/[AEIOU]/.test(e[r]))return!1;if(n&&!/X/.test(e[r]))return!1}return!0}var p={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};p["lb-LU"]=p["fr-LU"],p["lt-LT"]=p["et-EE"],p["nl-BE"]=p["fr-BE"],p["fr-CA"]=p["en-CA"];var m={"bg-BG":function(e){var t=e.slice(0,2),n=parseInt(e.slice(2,4),10);n>40?(n-=40,t="20".concat(t)):n>20?(n-=20,t="18".concat(t)):t="19".concat(t),n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,i.default)(r,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),a=[2,4,8,5,10,9,7,3,6],s=0,d=0;d<a.length;d++)s+=o[d]*a[d];return(s=s%11==10?0:s%11)===o[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n=parseInt(e.slice(2,4),10);if(n>50&&(n-=50),n>20){if(parseInt(t,10)<2004)return!1;n-=20}n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,i.default)(r,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return a.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=[],r=0;r<t.length-1;r++){n.push("");for(var o=0;o<t.length-1;o++)t[r]===t[o]&&(n[r]+=o)}if(2!==(n=n.filter((function(e){return e.length>1}))).length&&3!==n.length)return!1;if(3===n[0].length){for(var i=n[0].split("").map((function(e){return parseInt(e,10)})),s=0,d=0;d<i.length-1;d++)i[d]+1===i[d+1]&&(s+=1);if(2===s)return!1}return a.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(t>58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,i.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=0,a=4,s=0;s<9;s++)o+=r[s]*a,1==(a-=1)&&(a=7);return 1!=(o%=11)&&(0===o?0===r[9]:r[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),n=0,r=1;r<t.length;r+=2)n+=t[r];for(var o=0;o<t.length;o+=2)t[o]<2?n+=1-t[o]:(n+=2*(t[o]-2)+5,t[o]>4&&(n+=2));return String.fromCharCode(n%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=0,r=0;r<8;r++)n+=t[r]*Math.pow(2,8-r);return n%11%10===t[8]},"en-CA":function(e){var t=e.split(""),n=t.filter((function(e,t){return t%2})).map((function(e){return 2*Number(e)})).join("").split("");return t.filter((function(e,t){return!(t%2)})).concat(n).map((function(e){return Number(e)})).reduce((function(e,t){return e+t}))%10==0},"en-IE":function(e){var t=a.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0==(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e,t=[];for(var n in c)c.hasOwnProperty(n)&&t.push.apply(t,function(e){if(Array.isArray(e))return l(e)}(e=c[n])||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.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)?l(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.")}());return t}().indexOf(e.slice(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var n=0;switch(t[0]){case"Y":n=1;break;case"Z":n=2}t.splice(0,1,n)}else for(;t.length<9;)t.unshift(0);t=t.join("");var r=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][r]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,i.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=0,a=1,s=0;s<10;s++)o+=r[s]*a,10===(a+=1)&&(a=1);if(o%11==10){o=0,a=3;for(var d=0;d<10;d++)o+=r[d]*a,10===(a+=1)&&(a=1);if(o%11==10)return 0===r[10]}return o%11===r[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,i.default)(n,"YYYY/MM/DD"))return!1;var r=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return r<10?r===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][r-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,i.default)(t,"YY/MM/DD"))return!1}var n=97-parseInt(e.slice(0,9),10)%97,r=parseInt(e.slice(9,11),10);return n===r||(n=97-parseInt("2".concat(e.slice(0,9)),10)%97)===r},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,i.default)(t,"YYYY/MM/DD")&&!!a.luhnCheck(e.slice(0,12))&&a.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return a.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=8,r=1;r<9;r++)n+=t[r]*(r+1);return n%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!u(t.slice(0,3)))return!1;if(!u(t.slice(3,6)))return!1;for(var n={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},r=0,o=[6,7,9,10,12,13,14];r<o.length;r++){var a=o[r];t[a]in n&&t.splice(a,1,n[t[a]])}var s={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],d=parseInt(t[9]+t[10],10);d>40&&(d-=40),d<10&&(d="0".concat(d));var l="".concat(t[6]).concat(t[7],"/").concat(s,"/").concat(d);if(!(0,i.default)(l,"YY/MM/DD"))return!1;for(var c=0,p=1;p<t.length-1;p+=2){var m=parseInt(t[p],10);isNaN(m)&&(m=t[p].charCodeAt(0)-65),c+=m}for(var f={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},h=0;h<t.length-1;h+=2){var y=0;if(t[h]in f)y=f[t[h]];else{var g=parseInt(t[h],10);y=2*g+1,g>4&&(y+=2)}c+=y}return String.fromCharCode(65+c%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var n=e.slice(4,6);switch(e[6]){case"0":n="18".concat(n);break;case"1":n="19".concat(n);break;default:n="20".concat(n)}var r="".concat(n,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,i.default)(r,"YYYY/MM/DD"))return!1}for(var o=1101,a=[1,6,3,7,9,10,5,8,4,2],s=0;s<e.length-1;s++)o-=parseInt(e[s],10)*a[s];return parseInt(e[10],10)===o%11}return!0},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var n=parseInt(t.join("").slice(0,5),10);if(n>32e3)return!1;if(n===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return a.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],n=0,r=0;r<t.length;r++)n+=parseInt(e[r],10)*t[r];return 10!=(n%=11)&&n===parseInt(e[9],10)}var o=e.slice(0,2),a=parseInt(e.slice(2,4),10);a>80?(o="18".concat(o),a-=80):a>60?(o="22".concat(o),a-=60):a>40?(o="21".concat(o),a-=40):a>20?(o="20".concat(o),a-=20):o="19".concat(o),a<10&&(a="0".concat(a));var s="".concat(o,"/").concat(a,"/").concat(e.slice(4,6));if(!(0,i.default)(s,"YYYY/MM/DD"))return!1;for(var d=0,l=1,c=0;c<e.length-1;c++)d+=parseInt(e[c],10)*l%10,(l+=2)>10?l=1:5===l&&(l+=2);return(d=10-d%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,n;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);if(10==(n=10*t%11)&&(n=0),n!==parseInt(e.substring(9,10),10))return!1;t=0;for(var o=1;o<=10;o++)t+=parseInt(e.substring(o-1,o),10)*(12-o);return 10==(n=10*t%11)&&(n=0),n===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var a=e.length-2,i=e.substring(0,a),s=e.substring(a),d=0,l=a-7,c=a;c>=1;c--)d+=i.charAt(a-c)*l,(l-=1)<2&&(l=9);var u=d%11<2?0:11-d%11;if(u!==parseInt(s.charAt(0),10))return!1;a+=1,i=e.substring(0,a),d=0,l=a-7;for(var p=a;p>=1;p--)d+=i.charAt(a-p)*l,(l-=1)<2&&(l=9);return(u=d%11<2?0:11-d%11)===parseInt(s.charAt(1),10)},"pt-PT":function(e){var t=11-a.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===n.length){if(!(0,i.default)(n,"YY/MM/DD"))return!1}else if(!(0,i.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],a=0,s=0;s<o.length;s++)a+=r[s]*o[s];return a%11==10?1===r[12]:r[12]===a%11}return!0},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(t>53)return!1;t=t<10?"190".concat(t):"19".concat(t);var n=parseInt(e.slice(2,4),10);n>50&&(n-=50),n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,i.default)(r,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-a.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var n="",r=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)n=e.slice(0,4);else if(n=e.slice(0,2),11===e.length&&o<60){var s=(new Date).getFullYear().toString(),d=parseInt(s.slice(0,2),10);if(s=parseInt(s,10),"-"===e[6])n=parseInt("".concat(d).concat(n),10)>s?"".concat(d-1).concat(n):"".concat(d).concat(n);else if(n="".concat(d-1).concat(n),s-parseInt(n,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var l="".concat(n,"/").concat(r,"/").concat(o);if(8===l.length){if(!(0,i.default)(l,"YY/MM/DD"))return!1}else if(!(0,i.default)(l,"YYYY/MM/DD"))return!1;return a.luhnCheck(e.replace(/\W/,""))}};m["lb-LU"]=m["fr-LU"],m["lt-LT"]=m["et-EE"],m["nl-BE"]=m["fr-BE"],m["fr-CA"]=m["en-CA"];var f=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,h={"de-AT":f,"de-DE":/[\/\\]/g,"fr-BE":f};h["nl-BE"]=h["fr-BE"],e.exports=t.default,e.exports.default=t.default},3494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t=(0,o.default)(t,a),"string"==typeof e&&i[t.hourFormat][t.mode].test(e)};var r,o=(r=n(4808))&&r.__esModule?r:{default:r},a={hourFormat:"hour24",mode:"default"},i={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};e.exports=t.default,e.exports.default=t.default},2492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,i.default)(t,l)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,s,p,m,f,h,y,g,v;if(y=e.split("#"),e=y.shift(),y=e.split("?"),e=y.shift(),(y=e.split("://")).length>1){if(n=y.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;y[0]=e.slice(2)}}if(""===(e=y.join("://")))return!1;if(y=e.split("/"),""===(e=y.shift())&&!t.require_host)return!0;if((y=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===y[0])return!1;if((s=y.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var _=(2,function(e){if(Array.isArray(e))return e}(v=s.split(":"))||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),2!==n.length);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(v)||function(e,t){if(e){if("string"==typeof e)return d(e,2);var n=Object.prototype.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)?d(e,2):void 0}}(v)||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.")}()),$=_[0],b=_[1];if(""===$&&""===b)return!1}h=null,g=null;var w=(m=y.join("@")).match(c);if(w?(p="",g=w[1],h=w[2]||null):(p=(y=m.split(":")).shift(),y.length&&(h=y.join(":"))),null!==h&&h.length>0){if(f=parseInt(h,10),!/^[0-9]+$/.test(h)||f<=0||f>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?u(p,t.host_whitelist):""===p&&!t.require_host||!!((0,a.default)(p)||(0,o.default)(p,t)||g&&(0,a.default)(g,6))&&(p=p||g,!t.host_blacklist||!u(p,t.host_blacklist))};var r=s(n(5571)),o=s(n(221)),a=s(n(1028)),i=s(n(4808));function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},7278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=a[[void 0,null].includes(t)?"all":t];return!!n&&n.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},7245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},5977:(e,t,n)=>{"use strict";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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,a.default)(e),(0,a.default)(t),t in d)return d[t](e);throw new Error("Invalid country code: '".concat(t,"'"))},t.vatMatchers=void 0;var o,a=(o=n(5571))&&o.__esModule?o:{default:o},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(3672));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var d={AT:function(e){return/^(AT)?U\d{8}$/.test(e)},BE:function(e){return/^(BE)?\d{10}$/.test(e)},BG:function(e){return/^(BG)?\d{9,10}$/.test(e)},HR:function(e){return/^(HR)?\d{11}$/.test(e)},CY:function(e){return/^(CY)?\w{9}$/.test(e)},CZ:function(e){return/^(CZ)?\d{8,10}$/.test(e)},DK:function(e){return/^(DK)?\d{8}$/.test(e)},EE:function(e){return/^(EE)?\d{9}$/.test(e)},FI:function(e){return/^(FI)?\d{8}$/.test(e)},FR:function(e){return/^(FR)?\w{2}\d{9}$/.test(e)},DE:function(e){return/^(DE)?\d{9}$/.test(e)},EL:function(e){return/^(EL)?\d{9}$/.test(e)},HU:function(e){return/^(HU)?\d{8}$/.test(e)},IE:function(e){return/^(IE)?\d{7}\w{1}(W)?$/.test(e)},IT:function(e){return/^(IT)?\d{11}$/.test(e)},LV:function(e){return/^(LV)?\d{11}$/.test(e)},LT:function(e){return/^(LT)?\d{9,12}$/.test(e)},LU:function(e){return/^(LU)?\d{8}$/.test(e)},MT:function(e){return/^(MT)?\d{8}$/.test(e)},NL:function(e){return/^(NL)?\d{9}B\d{2}$/.test(e)},PL:function(e){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(e)},PT:function(e){var t=e.match(/^(PT)?(\d{9})$/);if(!t)return!1;var n=t[2],r=11-i.reverseMultiplyAndSum(n.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return r>9?0===parseInt(n[8],10):r===parseInt(n[8],10)},RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){return/^(AU)?\d{11}$/.test(e)},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{9}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:function(e){return/^(CH)?(\d{6}|\d{9}|(\d{3}.\d{3})|(\d{3}.\d{3}.\d{3}))(TVA|MWST|IVA)$/.test(e)},TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}};t.vatMatchers=d},9019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),a.fullWidth.test(e)&&i.halfWidth.test(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r},a=n(7146),i=n(2941);e.exports=t.default,e.exports.default=t.default},8346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var n=e.length-1;n>=0;n--)if(-1===t.indexOf(e[n]))return!1;return!0};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},4959:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(n,"")};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,n)),!!e.match(t)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},2900:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,a);var n=e.split("@"),r=n.pop(),u=[n.join("@"),r];if(u[1]=u[1].toLowerCase(),"gmail.com"===u[1]||"googlemail.com"===u[1]){if(t.gmail_remove_subaddress&&(u[0]=u[0].split("+")[0]),t.gmail_remove_dots&&(u[0]=u[0].replace(/\.+/g,c)),!u[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(u[0]=u[0].toLowerCase()),u[1]=t.gmail_convert_googlemaildotcom?"gmail.com":u[1]}else if(i.indexOf(u[1])>=0){if(t.icloud_remove_subaddress&&(u[0]=u[0].split("+")[0]),!u[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(u[0]=u[0].toLowerCase())}else if(s.indexOf(u[1])>=0){if(t.outlookdotcom_remove_subaddress&&(u[0]=u[0].split("+")[0]),!u[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(u[0]=u[0].toLowerCase())}else if(d.indexOf(u[1])>=0){if(t.yahoo_remove_subaddress){var p=u[0].split("-");u[0]=p.length>1?p.slice(0,-1).join("-"):p[0]}if(!u[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(u[0]=u[0].toLowerCase())}else l.indexOf(u[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(u[0]=u[0].toLowerCase()),u[1]="yandex.ru"):t.all_lowercase&&(u[0]=u[0].toLowerCase());return u.join("@")};var r,o=(r=n(4808))&&r.__esModule?r:{default:r},a={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},i=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],d=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},9778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t){var n=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(n,"")}for(var r=e.length-1;/\s/.test(e.charAt(r));)r-=1;return e.slice(0,r+1)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8035:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e);var n=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,n)};var r=a(n(5571)),o=a(n(4928));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},7536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)?parseFloat(e):NaN};var r,o=(r=n(9146))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},1359:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},4790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)((0,o.default)(e,t),t)};var r=a(n(9778)),o=a(n(4959));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},4816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},3672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iso7064Check=function(e){for(var t=10,n=0;n<e.length-1;n++)t=(parseInt(e[n],10)+t)%10==0?9:(parseInt(e[n],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},t.luhnCheck=function(e){for(var t=0,n=!1,r=e.length-1;r>=0;r--){if(n){var o=2*parseInt(e[r],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[r],10);n=!n}return t%10==0},t.reverseMultiplyAndSum=function(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*(t-r);return n},t.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=e.split("").reverse().join(""),o=0,a=0;a<r.length;a++)o=t[o][n[a%8][parseInt(r[a],10)]];return 0===o}},5571:(e,t)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},8343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return e.some((function(e){return t===e}))},e.exports=t.default,e.exports.default=t.default},4808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},4731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.join("");return new RegExp(n,t)},e.exports=t.default,e.exports.default=t.default},1913:(e,t)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===n(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},e.exports=t.default,e.exports.default=t.default},4714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var r,o=(r=n(5571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},6384:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/amex.svg?ver=9035aad80e3ae7ac653c"},2765:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/apple-pay.svg?ver=126e07a26632bc8a9c21"},2738:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/diners.svg?ver=136a8dbbb13e63765263"},5994:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/google-pay.svg?ver=30aba48019e36097a19d"},3237:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/mastercard.svg?ver=d21057587f14a719da45"},2464:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/unionpay.svg?ver=590378d28822ade6ea0b"},9464:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/cards/visa.svg?ver=f10d76e13a47cb867cca"},2722:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/logo.svg?ver=cc343b18b042f1622414"},2851:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/affirm.svg?ver=1151b0d701a5ea6ebcae"},1274:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/afterpay.svg?ver=b9fe34a47e37828e09ae"},1270:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/bancontact.svg?ver=439d3f59385fa74e675e"},5962:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/bank-debit.svg?ver=d0e134b0067cbbf6403f"},7884:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/cc.svg?ver=e99146e27d67e25c0717"},5085:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/clearpay.svg?ver=1092499f79ea6d761029"},7077:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/eps.svg?ver=7bd9ed62d1b21ca35ceb"},6120:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/giropay.svg?ver=1100c024fff0503b41f7"},3116:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/ideal.svg?ver=c2cc71cf802e14c4f042"},6752:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/jcb.svg?ver=3351f2584f4a62ad094d"},6774:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/klarna.svg?ver=e031a517911ff23ecaaa"},6349:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/link.svg?ver=6d4a7fba4cf334b96652"},725:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/p24.svg?ver=85e0cf9bc6526516d85f"},8125:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/sepa-debit.svg?ver=9e42854526214016710d"},3516:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/sofort.svg?ver=b6780ad95a25d8b7b634"},5086:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/payment-methods/woo.svg?ver=c063471dc31ce4748a14"},4116:(e,t,n)=>{"use strict";e.exports=n.p+"../assets/images/woopay.svg?ver=182127aba8ef46006ea8"},9196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),n.p=window.wcpayAssets.url,(()=>{"use strict";var e={};n.r(e),n.d(e,{getAllDepositsOverviews:()=>ro,getAllDepositsOverviewsError:()=>oo,getDeposit:()=>eo,getDepositQueryError:()=>lo,getDeposits:()=>io,getDepositsCount:()=>so,getDepositsOverview:()=>to,getDepositsOverviewError:()=>no,getDepositsSummary:()=>uo,getDepositsSummaryError:()=>po,getInstantDeposit:()=>mo});var t={};n.r(t),n.d(t,{submitInstantDeposit:()=>Do,updateAllDepositsOverviews:()=>Ro,updateDeposit:()=>Ao,updateDeposits:()=>Oo,updateDepositsCount:()=>Mo,updateDepositsOverview:()=>xo,updateDepositsSummary:()=>Io,updateErrorForAllDepositsOverviews:()=>ko,updateErrorForDepositQuery:()=>Po,updateErrorForDepositsOverview:()=>To,updateErrorForDepositsSummary:()=>No,updateInstantDeposit:()=>Lo});var r={};n.r(r),n.d(r,{getAllDepositsOverviews:()=>Uo,getDeposit:()=>Fo,getDeposits:()=>Vo,getDepositsCSV:()=>Ho,getDepositsOverview:()=>Bo,getDepositsSummary:()=>Go});var o={};n.r(o),n.d(o,{getFraudOutcomeTransactions:()=>ta,getFraudOutcomeTransactionsError:()=>na,getFraudOutcomeTransactionsSummary:()=>oa,getFraudOutcomeTransactionsSummaryError:()=>aa,getTransactions:()=>Yo,getTransactionsError:()=>qo,getTransactionsSummary:()=>Jo,getTransactionsSummaryError:()=>Qo});var a={};n.r(a),n.d(a,{updateErrorForFraudOutcomeTransactions:()=>ua,updateErrorForFraudOutcomeTransactionsSummary:()=>ma,updateErrorForTransactions:()=>sa,updateErrorForTransactionsSummary:()=>la,updateFraudOutcomeTransactions:()=>ca,updateFraudOutcomeTransactionsSummary:()=>pa,updateTransactions:()=>ia,updateTransactionsSummary:()=>da});var i={};n.r(i),n.d(i,{formatQueryFilters:()=>fa,getFraudOutcomeTransactions:()=>va,getFraudOutcomeTransactionsExport:()=>$a,getFraudOutcomeTransactionsSummary:()=>_a,getTransactions:()=>ha,getTransactionsCSV:()=>ya,getTransactionsSummary:()=>ga});var s={};n.r(s),n.d(s,{getCharge:()=>wa,getChargeError:()=>Ea,getChargeFromOrder:()=>Sa,getChargeFromOrderError:()=>Ca});var d={};n.r(d),n.d(d,{updateCharge:()=>Aa,updateErrorForCharge:()=>xa});var l={};n.r(l),n.d(l,{getCharge:()=>Ta,getChargeFromOrder:()=>Ra});var c={};n.r(c),n.d(c,{getTimeline:()=>Oa,getTimelineError:()=>Ma});var u={};n.r(u),n.d(u,{updateErrorForTimeline:()=>Ia,updateTimeline:()=>Pa});var p={};n.r(p),n.d(p,{getTimeline:()=>Na});var m={};n.r(m),n.d(m,{getCachedDispute:()=>ja,getDispute:()=>Ba,getDisputeError:()=>Ua,getDisputes:()=>Ha,getDisputesSummary:()=>Va});var f={};n.r(f),n.d(f,{refundCharge:()=>Ka,updateErrorForPaymentIntent:()=>Wa,updatePaymentIntent:()=>za});var h={};n.r(h),n.d(h,{getPaymentIntent:()=>Ya});var y={};n.r(y),n.d(y,{acceptDispute:()=>ei,updateDispute:()=>qa,updateDisputes:()=>Ja,updateDisputesSummary:()=>Qa,updateErrorForDispute:()=>Xa});var g={};n.r(g),n.d(g,{getDispute:()=>ri,getDisputes:()=>oi,getDisputesCSV:()=>ni,getDisputesSummary:()=>ai});var v={};n.r(v),n.d(v,{getAccountBrandingLogo:()=>ji,getAccountBusinessName:()=>ki,getAccountBusinessSupportAddress:()=>Mi,getAccountBusinessSupportAddressCity:()=>Li,getAccountBusinessSupportAddressCountry:()=>Pi,getAccountBusinessSupportAddressLine1:()=>Ii,getAccountBusinessSupportAddressLine2:()=>Ni,getAccountBusinessSupportAddressPostalCode:()=>Fi,getAccountBusinessSupportAddressState:()=>Di,getAccountBusinessSupportEmail:()=>Bi,getAccountBusinessSupportPhone:()=>Ui,getAccountBusinessURL:()=>Oi,getAccountDomesticCurrency:()=>Hi,getAccountStatementDescriptor:()=>xi,getAccountStatementDescriptorKana:()=>Ri,getAccountStatementDescriptorKanji:()=>Ti,getAdvancedFraudProtectionSettings:()=>vs,getAvailablePaymentMethodIds:()=>Si,getCompletedWaitingPeriod:()=>Ki,getCurrentProtectionLevel:()=>gs,getDepositDelayDays:()=>Wi,getDepositRestrictions:()=>qi,getDepositScheduleInterval:()=>Vi,getDepositScheduleMonthlyAnchor:()=>zi,getDepositScheduleWeeklyAnchor:()=>Zi,getDepositStatus:()=>Yi,getEnabledPaymentMethodIds:()=>Ei,getExportLanguage:()=>Gi,getIsCardPresentEligible:()=>ls,getIsClientSecretEncryptionEnabled:()=>wi,getIsDebugLogEnabled:()=>ts,getIsDevModeEnabled:()=>Qi,getIsManualCaptureEnabled:()=>Xi,getIsMultiCurrencyEnabled:()=>ns,getIsPaymentRequestEnabled:()=>es,getIsSavedCardsEnabled:()=>ss,getIsStripeBillingEnabled:()=>$s,getIsStripeBillingMigrationInProgress:()=>bs,getIsSubscriptionsPluginActive:()=>ps,getIsTestModeEnabled:()=>Ji,getIsWCPayEnabled:()=>bi,getIsWCPaySubscriptionsEligible:()=>us,getIsWCPaySubscriptionsEnabled:()=>cs,getIsWooPayEnabled:()=>ms,getPaymentMethodStatuses:()=>Ci,getPaymentRequestButtonSize:()=>as,getPaymentRequestButtonTheme:()=>is,getPaymentRequestButtonType:()=>os,getPaymentRequestLocations:()=>rs,getSavingError:()=>ds,getSettings:()=>_i,getShowWooPayIncompatibilityNotice:()=>_s,getStripeBillingMigratedCount:()=>Es,getStripeBillingSubscriptionCount:()=>ws,getWooPayCustomMessage:()=>fs,getWooPayLocations:()=>ys,getWooPayStoreLogo:()=>hs,isSavingSettings:()=>Ai});var _={};n.r(_),n.d(_,{saveSettings:()=>rd,submitStripeBillingSubscriptionMigration:()=>pd,updateAccountBrandingLogo:()=>Js,updateAccountBusinessName:()=>Ws,updateAccountBusinessSupportAddress:()=>Ys,updateAccountBusinessSupportEmail:()=>qs,updateAccountBusinessSupportPhone:()=>Xs,updateAccountBusinessURL:()=>Ks,updateAccountStatementDescriptor:()=>Gs,updateAccountStatementDescriptorKana:()=>zs,updateAccountStatementDescriptorKanji:()=>Zs,updateAdvancedFraudProtectionSettings:()=>cd,updateAvailablePaymentMethodIds:()=>Ns,updateDepositScheduleInterval:()=>Qs,updateDepositScheduleMonthlyAnchor:()=>td,updateDepositScheduleWeeklyAnchor:()=>ed,updateEnabledPaymentMethodIds:()=>Is,updateExportLanguage:()=>nd,updateIsCardPresentEligible:()=>As,updateIsClientSecretEncryptionEnabled:()=>xs,updateIsDebugLogEnabled:()=>js,updateIsManualCaptureEnabled:()=>Bs,updateIsMultiCurrencyEnabled:()=>Hs,updateIsPaymentRequestEnabled:()=>Ps,updateIsSavedCardsEnabled:()=>Cs,updateIsSavingSettings:()=>Ls,updateIsStripeBillingEnabled:()=>ud,updateIsTestModeEnabled:()=>Us,updateIsWCPayEnabled:()=>Ms,updateIsWCPaySubscriptionsEnabled:()=>Vs,updateIsWooPayEnabled:()=>ad,updatePaymentRequestButtonSize:()=>Rs,updatePaymentRequestButtonTheme:()=>ks,updatePaymentRequestButtonType:()=>Ts,updatePaymentRequestLocations:()=>od,updateProtectionLevel:()=>ld,updateSelectedPaymentMethod:()=>Ds,updateSettings:()=>Os,updateUnselectedPaymentMethod:()=>Fs,updateWooPayCustomMessage:()=>id,updateWooPayLocations:()=>dd,updateWooPayStoreLogo:()=>sd});var $={};n.r($),n.d($,{getSettings:()=>md});var b={};n.r(b),n.d(b,{getAvailableCurrencies:()=>Od,getCurrencies:()=>kd,getCurrencySettings:()=>Id,getDefaultCurrency:()=>Pd,getEnabledCurrencies:()=>Md,getStoreSettings:()=>Nd});var w={};n.r(w),n.d(w,{submitCurrencySettings:()=>qd,submitEnabledCurrenciesUpdate:()=>Yd,submitStoreSettingsUpdate:()=>Xd,updateAvailableCurrencies:()=>Gd,updateCurrencies:()=>Vd,updateCurrencySettings:()=>Wd,updateDefaultCurrency:()=>zd,updateEnabledCurrencies:()=>Zd,updateStoreSettings:()=>Kd});var E={};n.r(E),n.d(E,{getCurrencies:()=>Jd,getCurrencySettings:()=>Qd,getStoreSettings:()=>el});var S={};n.r(S),n.d(S,{getCardReaderStats:()=>nl,getCardReaderStatsError:()=>rl,getCardReaders:()=>ol});var C={};n.r(C),n.d(C,{updateCardReaderStats:()=>al,updateCardReaders:()=>il,updateErrorForCardReaderStats:()=>sl,updateErrorForCardReaders:()=>dl});var A={};n.r(A),n.d(A,{getCardReaderStats:()=>ll,getCardReaders:()=>cl});var x={};n.r(x),n.d(x,{getActiveLoanSummary:()=>hl,getActiveLoanSummaryError:()=>yl,getLoans:()=>gl,getLoansError:()=>vl});var T={};n.r(T),n.d(T,{updateActiveLoanSummary:()=>_l,updateErrorForActiveLoanSummary:()=>$l,updateErrorForLoans:()=>wl,updateLoans:()=>bl});var R={};n.r(R),n.d(R,{getActiveLoanSummary:()=>El,getLoans:()=>Sl});var k={};n.r(k),n.d(k,{getDocuments:()=>Rl,getDocumentsError:()=>kl,getDocumentsSummary:()=>Ml,getDocumentsSummaryError:()=>Pl});var O={};n.r(O),n.d(O,{updateDocuments:()=>Il,updateDocumentsSummary:()=>Ll,updateErrorForDocuments:()=>Nl,updateErrorForDocumentsSummary:()=>Dl});var M={};n.r(M),n.d(M,{formatQueryFilters:()=>Fl,getDocuments:()=>Bl,getDocumentsSummary:()=>Ul});var P={};n.r(P),n.d(P,{getPaymentIntent:()=>Hl,getPaymentIntentError:()=>Vl});var I={};n.r(I),n.d(I,{getAuthorization:()=>Yl,getAuthorizations:()=>Kl,getAuthorizationsError:()=>ql,getAuthorizationsSummary:()=>Jl,getAuthorizationsSummaryError:()=>Ql,getIsRequesting:()=>ec});var N={};n.r(N),n.d(N,{setIsRequestingAuthorization:()=>ac,submitCancelAuthorization:()=>sc,submitCaptureAuthorization:()=>ic,updateAuthorization:()=>rc,updateAuthorizations:()=>tc,updateAuthorizationsSummary:()=>oc,updateErrorForAuthorizations:()=>nc,updateErrorForAuthorizationsSummary:()=>dc});var L={};n.r(L),n.d(L,{getAuthorization:()=>cc,getAuthorizations:()=>lc,getAuthorizationsSummary:()=>uc});var D={};n.r(D),n.d(D,{getFile:()=>hc,getFileError:()=>yc});var F={};n.r(F),n.d(F,{updateErrorForFiles:()=>vc,updateFiles:()=>gc});var B={};n.r(B),n.d(B,{getFile:()=>_c});var U={};n.r(U),n.d(U,{Text:()=>Xf,block:()=>Jf,destructive:()=>eh,highlighterText:()=>nh,muted:()=>th,positive:()=>Qf,upperCase:()=>rh});const j=window.wp.element;var H=n(9196),V=n.n(H);const G=window.ReactDOM;var Z=n.n(G);const z="https://cdn.sift.com/s.js",W="https://js.stripe.com/v3",K={sift:e=>{let{beacon_key:t,session_id:n,user_id:r}=e;const o=window._sift=window._sift||[];if(o.push(["_setAccount",t]),o.push(["_setUserId",r]),o.push(["_setSessionId",n]),o.push(["_trackPageview"]),!document.querySelector(`[src="${z}"]`)){const e=document.createElement("script");e.src=z,e.async=!0,document.body.appendChild(e)}},stripe:()=>{if(!document.querySelector(`[src^="${W}"]`)){const e=document.createElement("script");e.src=W,e.async=!0,document.body.appendChild(e)}}};function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}var q=n(4184),X=n.n(q);const J=window.lodash,Q=window.wp.i18n,ee=window.wp.primitives,te=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));window.wp.warning;var ne=n(4155);const re=(0,j.createContext)({}),oe=()=>(0,j.useContext)(re);function ae(e){let{value:t}=e;const n=oe(),r=(0,j.useRef)(t);return function(e,n){const o=(0,j.useRef)(!1);(0,j.useEffect)((()=>{o.current?(0,J.isEqual)(r.current,t)&&r.current!==t&&void 0!==ne&&ne.env:o.current=!0}),n)}(0,[t]),(0,j.useMemo)((()=>(0,J.merge)((0,J.cloneDeep)(n),t)),[n,t])}const ie=(0,j.memo)((e=>{let{children:t,value:n}=e;const r=ae({value:n});return(0,j.createElement)(re.Provider,{value:r},t)})),se="data-wp-component",de="data-wp-c16t",le="__contextSystemKey__";var ce=n(9588),ue=n.n(ce);const pe=ue()((function(e){return`components-${(0,J.kebabCase)(e)}`}));var me=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),fe=Math.abs,he=String.fromCharCode,ye=Object.assign;function ge(e){return e.trim()}function ve(e,t,n){return e.replace(t,n)}function _e(e,t){return e.indexOf(t)}function $e(e,t){return 0|e.charCodeAt(t)}function be(e,t,n){return e.slice(t,n)}function we(e){return e.length}function Ee(e){return e.length}function Se(e,t){return t.push(e),e}var Ce=1,Ae=1,xe=0,Te=0,Re=0,ke="";function Oe(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Ce,column:Ae,length:i,return:""}}function Me(e,t){return ye(Oe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pe(){return Re=Te>0?$e(ke,--Te):0,Ae--,10===Re&&(Ae=1,Ce--),Re}function Ie(){return Re=Te<xe?$e(ke,Te++):0,Ae++,10===Re&&(Ae=1,Ce++),Re}function Ne(){return $e(ke,Te)}function Le(){return Te}function De(e,t){return be(ke,e,t)}function Fe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Be(e){return Ce=Ae=1,xe=we(ke=e),Te=0,[]}function Ue(e){return ke="",e}function je(e){return ge(De(Te-1,Ge(91===e?e+2:40===e?e+1:e)))}function He(e){for(;(Re=Ne())&&Re<33;)Ie();return Fe(e)>2||Fe(Re)>3?"":" "}function Ve(e,t){for(;--t&&Ie()&&!(Re<48||Re>102||Re>57&&Re<65||Re>70&&Re<97););return De(e,Le()+(t<6&&32==Ne()&&32==Ie()))}function Ge(e){for(;Ie();)switch(Re){case e:return Te;case 34:case 39:34!==e&&39!==e&&Ge(Re);break;case 40:41===e&&Ge(e);break;case 92:Ie()}return Te}function Ze(e,t){for(;Ie()&&e+Re!==57&&(e+Re!==84||47!==Ne()););return"/*"+De(t,Te-1)+"*"+he(47===e?e:Ie())}function ze(e){for(;!Fe(Ne());)Ie();return De(e,Te)}var We="-ms-",Ke="-moz-",Ye="-webkit-",qe="comm",Xe="rule",Je="decl",Qe="@keyframes";function et(e,t){for(var n="",r=Ee(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function tt(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Je:return e.return=e.return||e.value;case qe:return"";case Qe:return e.return=e.value+"{"+et(e.children,r)+"}";case Xe:e.value=e.props.join(",")}return we(n=et(e.children,r))?e.return=e.value+"{"+n+"}":""}function nt(e){return Ue(rt("",null,null,null,[""],e=Be(e),0,[0],e))}function rt(e,t,n,r,o,a,i,s,d){for(var l=0,c=0,u=i,p=0,m=0,f=0,h=1,y=1,g=1,v=0,_="",$=o,b=a,w=r,E=_;y;)switch(f=v,v=Ie()){case 40:if(108!=f&&58==$e(E,u-1)){-1!=_e(E+=ve(je(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=je(v);break;case 9:case 10:case 13:case 32:E+=He(f);break;case 92:E+=Ve(Le()-1,7);continue;case 47:switch(Ne()){case 42:case 47:Se(at(Ze(Ie(),Le()),t,n),d);break;default:E+="/"}break;case 123*h:s[l++]=we(E)*g;case 125*h:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+c:-1==g&&(E=ve(E,/\f/g,"")),m>0&&we(E)-u&&Se(m>32?it(E+";",r,n,u-1):it(ve(E," ","")+";",r,n,u-2),d);break;case 59:E+=";";default:if(Se(w=ot(E,t,n,l,c,o,s,_,$=[],b=[],u),a),123===v)if(0===c)rt(E,t,w,w,$,a,u,s,b);else switch(99===p&&110===$e(E,3)?100:p){case 100:case 108:case 109:case 115:rt(e,w,w,r&&Se(ot(e,w,w,0,0,o,s,_,o,$=[],u),b),o,b,u,s,r?$:b);break;default:rt(E,w,w,w,[""],b,0,s,b)}}l=c=m=0,h=g=1,_=E="",u=i;break;case 58:u=1+we(E),m=f;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==Pe())continue;switch(E+=he(v),v*h){case 38:g=c>0?1:(E+="\f",-1);break;case 44:s[l++]=(we(E)-1)*g,g=1;break;case 64:45===Ne()&&(E+=je(Ie())),p=Ne(),c=u=we(_=E+=ze(Le())),v++;break;case 45:45===f&&2==we(E)&&(h=0)}}return a}function ot(e,t,n,r,o,a,i,s,d,l,c){for(var u=o-1,p=0===o?a:[""],m=Ee(p),f=0,h=0,y=0;f<r;++f)for(var g=0,v=be(e,u+1,u=fe(h=i[f])),_=e;g<m;++g)(_=ge(h>0?p[g]+" "+v:ve(v,/&\f/g,p[g])))&&(d[y++]=_);return Oe(e,t,n,0===o?Xe:s,d,l,c)}function at(e,t,n){return Oe(e,t,n,qe,he(Re),be(e,2,-2),0)}function it(e,t,n,r){return Oe(e,t,n,Je,be(e,0,r),be(e,r+1,-1),r)}var st=function(e,t,n){for(var r=0,o=0;r=o,o=Ne(),38===r&&12===o&&(t[n]=1),!Fe(o);)Ie();return De(e,Te)},dt=new WeakMap,lt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||dt.get(n))&&!r){dt.set(e,!0);for(var o=[],a=function(e,t){return Ue(function(e,t){var n=-1,r=44;do{switch(Fe(r)){case 0:38===r&&12===Ne()&&(t[n]=1),e[n]+=st(Te-1,t,n);break;case 2:e[n]+=je(r);break;case 4:if(44===r){e[++n]=58===Ne()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=he(r)}}while(r=Ie());return e}(Be(e),t))}(t,o),i=n.props,s=0,d=0;s<a.length;s++)for(var l=0;l<i.length;l++,d++)e.props[d]=o[s]?a[s].replace(/&\f/g,i[l]):i[l]+" "+a[s]}}},ct=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ut(e,t){switch(function(e,t){return 45^$e(e,0)?(((t<<2^$e(e,0))<<2^$e(e,1))<<2^$e(e,2))<<2^$e(e,3):0}(e,t)){case 5103:return Ye+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ye+e+Ke+e+We+e+e;case 6828:case 4268:return Ye+e+We+e+e;case 6165:return Ye+e+We+"flex-"+e+e;case 5187:return Ye+e+ve(e,/(\w+).+(:[^]+)/,Ye+"box-$1$2"+We+"flex-$1$2")+e;case 5443:return Ye+e+We+"flex-item-"+ve(e,/flex-|-self/,"")+e;case 4675:return Ye+e+We+"flex-line-pack"+ve(e,/align-content|flex-|-self/,"")+e;case 5548:return Ye+e+We+ve(e,"shrink","negative")+e;case 5292:return Ye+e+We+ve(e,"basis","preferred-size")+e;case 6060:return Ye+"box-"+ve(e,"-grow","")+Ye+e+We+ve(e,"grow","positive")+e;case 4554:return Ye+ve(e,/([^-])(transform)/g,"$1"+Ye+"$2")+e;case 6187:return ve(ve(ve(e,/(zoom-|grab)/,Ye+"$1"),/(image-set)/,Ye+"$1"),e,"")+e;case 5495:case 3959:return ve(e,/(image-set\([^]*)/,Ye+"$1$`$1");case 4968:return ve(ve(e,/(.+:)(flex-)?(.*)/,Ye+"box-pack:$3"+We+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ye+e+e;case 4095:case 3583:case 4068:case 2532:return ve(e,/(.+)-inline(.+)/,Ye+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(we(e)-1-t>6)switch($e(e,t+1)){case 109:if(45!==$e(e,t+4))break;case 102:return ve(e,/(.+:)(.+)-([^]+)/,"$1"+Ye+"$2-$3$1"+Ke+(108==$e(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_e(e,"stretch")?ut(ve(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$e(e,t+1))break;case 6444:switch($e(e,we(e)-3-(~_e(e,"!important")&&10))){case 107:return ve(e,":",":"+Ye)+e;case 101:return ve(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ye+(45===$e(e,14)?"inline-":"")+"box$3$1"+Ye+"$2$3$1"+We+"$2box$3")+e}break;case 5936:switch($e(e,t+11)){case 114:return Ye+e+We+ve(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ye+e+We+ve(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ye+e+We+ve(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ye+e+We+e+e}return e}var pt=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Je:e.return=ut(e.value,e.length);break;case Qe:return et([Me(e,{value:ve(e.value,"@","@"+Ye)})],r);case Xe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return et([Me(e,{props:[ve(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return et([Me(e,{props:[ve(t,/:(plac\w+)/,":"+Ye+"input-$1")]}),Me(e,{props:[ve(t,/:(plac\w+)/,":-moz-$1")]}),Me(e,{props:[ve(t,/:(plac\w+)/,We+"input-$1")]})],r)}return""}))}}],mt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||pt,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)}));var d,l,c,u,p=[tt,(u=function(e){d.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],m=(l=[lt,ct].concat(a,p),c=Ee(l),function(e,t,n,r){for(var o="",a=0;a<c;a++)o+=l[a](e,t,n,r)||"";return o});o=function(e,t,n,r){d=n,et(nt(e?e+"{"+t.styles+"}":t.styles),m),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new me({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return f.sheet.hydrate(s),f},ft={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ht(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var yt=/[A-Z]|^ms/g,gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vt=function(e){return 45===e.charCodeAt(1)},_t=function(e){return null!=e&&"boolean"!=typeof e},$t=ht((function(e){return vt(e)?e:e.replace(yt,"-$&").toLowerCase()})),bt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gt,(function(e,t,n){return Et={name:t,styles:n,next:Et},t}))}return 1===ft[e]||vt(e)||"number"!=typeof t||0===t?t:t+"px"};function wt(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Et={name:n.name,styles:n.styles,next:Et},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Et={name:r.name,styles:r.styles,next:Et},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=wt(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":_t(i)&&(r+=$t(a)+":"+bt(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=wt(e,t,i);switch(a){case"animation":case"animationName":r+=$t(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var d=0;d<i.length;d++)_t(i[d])&&(r+=$t(a)+":"+bt(a,i[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Et,a=n(e);return Et=o,wt(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Et,St=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ct=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Et=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=wt(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=wt(n,t,e[i]),r&&(o+=a[i]);St.lastIndex=0;for(var s,d="";null!==(s=St.exec(o));)d+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return{name:l,styles:o,next:Et}},At=!!H.useInsertionEffect&&H.useInsertionEffect,xt=At||function(e){return e()},Tt=(At||H.useLayoutEffect,H.createContext("undefined"!=typeof HTMLElement?mt({key:"css"}):null)),Rt=Tt.Provider,kt=H.createContext({});function Ot(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}function Mt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Pt(e,t,n){var r=[],o=Ot(e,r,n);return r.length<2?n:o+t(r)}var It=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n},Nt=function(e){var t=mt({key:"css"});t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Ct(n,t.registered,void 0);return function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,o),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Pt(t.registered,n,It(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Ct(n,t.registered);Mt(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Ct(n,t.registered),a="animation-"+o.name;return Mt(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Ot.bind(null,t.registered),merge:Pt.bind(null,t.registered,n)}}(),Lt=(Nt.flush,Nt.hydrate,Nt.cx);Nt.merge,Nt.getRegisteredStyles,Nt.injectGlobal,Nt.keyframes,Nt.css,Nt.sheet,Nt.cache;const Dt=()=>{const e=(0,H.useContext)(Tt),t=(0,j.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Lt(...n.map((t=>(e=>null!=e&&["name","styles"].every((t=>void 0!==e[t])))(t)?(function(e,t,n){var r=e.key+"-"+t.name;if(void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(e,t),`${e.key}-${t.name}`):t)))}),[e]);return t};var Ft=n(4155);function Bt(e,t){const n=oe();void 0===t&&void 0!==Ft&&Ft.env;const r=(null==n?void 0:n[t])||{},o={[de]:!0,...(a=t,{[se]:a})};var a;const{_overrides:i,...s}=r,d=Object.entries(s).length?Object.assign({},s,e):e,l=Dt()(pe(t),e.className),c="function"==typeof d.renderChildren?d.renderChildren(d):d.children;for(const e in d)o[e]=d[e];for(const e in i)o[e]=i[e];return o.children=c,o.className=l,o}var Ut=n(4155);function jt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:r=!1}=n;let o=(0,j.forwardRef)(e);r&&(o=(0,j.memo)(o)),void 0===t&&void 0!==Ut&&Ut.env;let a=o[le]||[t];return Array.isArray(t)&&(a=[...a,...t]),"string"==typeof t&&(a=[...a,t]),o.displayName=t,o[le]=(0,J.uniq)(a),o.selector=`.${pe(t)}`,o}function Ht(e){if(!e)return[];let t=[];return e[le]&&(t=e[le]),e.type&&e.type[le]&&(t=e.type[le]),t}const Vt={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var Gt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Zt=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},zt=ht((function(e){return Gt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Wt=function(e){return"theme"!==e},Kt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?zt:Wt},Yt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},qt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Zt(t,n,r),xt((function(){return function(e,t,n){Zt(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Xt=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=Yt(t,n,a),d=s||Kt(i),l=!d("as");return function(){var c=arguments,u=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&u.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)u.push.apply(u,c);else{u.push(c[0][0]);for(var p=c.length,m=1;m<p;m++)u.push(c[m],c[0][m])}var f,h=(f=function(e,t,n){var r,a,c,p,m=l&&e.as||i,f="",h=[],y=e;if(null==e.theme){for(var g in y={},e)y[g]=e[g];y.theme=H.useContext(kt)}"string"==typeof e.className?(r=t.registered,a=h,c=e.className,p="",c.split(" ").forEach((function(e){void 0!==r[e]?a.push(r[e]+";"):p+=e+" "})),f=p):null!=e.className&&(f=e.className+" ");var v=Ct(u.concat(h),t.registered,y);f+=t.key+"-"+v.name,void 0!==o&&(f+=" "+o);var _=l&&void 0===s?Kt(m):d,$={};for(var b in e)l&&"as"===b||_(b)&&($[b]=e[b]);return $.className=f,$.ref=n,H.createElement(H.Fragment,null,H.createElement(qt,{cache:t,serialized:v,isStringTag:"string"==typeof m}),H.createElement(m,$))},(0,H.forwardRef)((function(e,t){var n=(0,H.useContext)(Tt);return f(e,n,t)})));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=u,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Y({},n,r,{shouldForwardProp:Yt(h,r,!0)})).apply(void 0,u)},h}};const Jt=Xt("div",{target:"em57xhy0"})("");Jt.selector=".components-view",Jt.displayName="View";const Qt=Jt,en=jt((function(e,t){const{style:n,...r}=Bt(e,"VisuallyHidden");return(0,j.createElement)(Qt,Y({ref:t},r,{style:{...Vt,...n||{}}}))}),"VisuallyHidden"),tn=function(e){let{icon:t,size:n=24,...r}=e;return(0,j.cloneElement)(t,{width:n,height:n,...r})},nn=Xt(tn,{target:"etxm6pv0"})({name:"rvs7bx",styles:"width:1em;height:1em;margin:0;vertical-align:middle;fill:currentColor"}),rn=(0,j.forwardRef)((function(e,t){let{href:n,children:r,className:o,rel:a="",...i}=e;a=(0,J.uniq)((0,J.compact)([...a.split(" "),"external","noreferrer","noopener"])).join(" ");const s=X()("components-external-link",o);return(0,j.createElement)("a",Y({},i,{className:s,href:n,target:"_blank",rel:a,ref:t}),r,(0,j.createElement)(en,{as:"span"},(0,Q.__)("(opens in a new tab)")),(0,j.createElement)(nn,{icon:te,className:"components-external-link__icon"}))})),on=window.wc.navigation;function an(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ct(t)}n(8679);const sn={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"},dn="4px";function ln(e){var t,n;if(void 0===e)return;if(!e)return"0";const r="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(n=t.supports)&&void 0!==n&&n.call(t,"margin",e.toString())||Number.isNaN(r)?e.toString():`calc(${dn} * ${e})`}var cn={grad:.9,turn:360,rad:360/(2*Math.PI)},un=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},pn=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},mn=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},fn=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},hn=function(e){return{r:mn(e.r,0,255),g:mn(e.g,0,255),b:mn(e.b,0,255),a:mn(e.a)}},yn=function(e){return{r:pn(e.r),g:pn(e.g),b:pn(e.b),a:pn(e.a,3)}},gn=/^#([0-9a-f]{3,8})$/i,vn=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},_n=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),i=a-Math.min(t,n,r),s=i?a===t?(n-r)/i:a===n?2+(r-t)/i:4+(t-n)/i:0;return{h:60*(s<0?s+6:s),s:a?i/a*100:0,v:a/255*100,a:o}},$n=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),i=r*(1-n),s=r*(1-(t-a)*n),d=r*(1-(1-t+a)*n),l=a%6;return{r:255*[r,s,i,i,d,r][l],g:255*[d,r,r,s,i,i][l],b:255*[i,i,d,r,r,s][l],a:o}},bn=function(e){return{h:fn(e.h),s:mn(e.s,0,100),l:mn(e.l,0,100),a:mn(e.a)}},wn=function(e){return{h:pn(e.h),s:pn(e.s),l:pn(e.l),a:pn(e.a,3)}},En=function(e){return $n((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},Sn=function(e){return{h:(t=_n(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},Cn=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,An=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,xn=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Tn=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Rn={string:[[function(e){var t=gn.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?pn(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?pn(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=xn.exec(e)||Tn.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:hn({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Cn.exec(e)||An.exec(e);if(!t)return null;var n,r,o=bn({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(cn[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return En(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=void 0===o?1:o;return un(t)&&un(n)&&un(r)?hn({r:Number(t),g:Number(n),b:Number(r),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,a=void 0===o?1:o;if(!un(t)||!un(n)||!un(r))return null;var i=bn({h:Number(t),s:Number(n),l:Number(r),a:Number(a)});return En(i)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,a=void 0===o?1:o;if(!un(t)||!un(n)||!un(r))return null;var i=function(e){return{h:fn(e.h),s:mn(e.s,0,100),v:mn(e.v,0,100),a:mn(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(a)});return $n(i)},"hsv"]]},kn=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},On=function(e,t){var n=Sn(e);return{h:n.h,s:mn(n.s+100*t,0,100),l:n.l,a:n.a}},Mn=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Pn=function(e,t){var n=Sn(e);return{h:n.h,s:n.s,l:mn(n.l+100*t,0,100),a:n.a}},In=function(){function e(e){this.parsed=function(e){return"string"==typeof e?kn(e.trim(),Rn.string):"object"==typeof e&&null!==e?kn(e,Rn.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return pn(Mn(this.rgba),2)},e.prototype.isDark=function(){return Mn(this.rgba)<.5},e.prototype.isLight=function(){return Mn(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=yn(this.rgba)).r,n=e.g,r=e.b,a=(o=e.a)<1?vn(pn(255*o)):"","#"+vn(t)+vn(n)+vn(r)+a;var e,t,n,r,o,a},e.prototype.toRgb=function(){return yn(this.rgba)},e.prototype.toRgbString=function(){return t=(e=yn(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return wn(Sn(this.rgba))},e.prototype.toHslString=function(){return t=(e=wn(Sn(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=_n(this.rgba),{h:pn(e.h),s:pn(e.s),v:pn(e.v),a:pn(e.a,3)};var e},e.prototype.invert=function(){return Nn({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),Nn(On(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),Nn(On(this.rgba,-e))},e.prototype.grayscale=function(){return Nn(On(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),Nn(Pn(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),Nn(Pn(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?Nn({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):pn(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Sn(this.rgba);return"number"==typeof e?Nn({h:e,s:t.s,l:t.l,a:t.a}):pn(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Nn(e).toHex()},e}(),Nn=function(e){return e instanceof In?e:new In(e)},Ln=[],Dn=function(e){e.forEach((function(e){Ln.indexOf(e)<0&&(e(In,Rn),Ln.push(e))}))};function Fn(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,i,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var d=this.toRgb(),l=1/0,c="black";if(!a.length)for(var u in n)a[u]=new e(n[u]).toRgb();for(var p in n){var m=(o=d,i=a[p],Math.pow(o.r-i.r,2)+Math.pow(o.g-i.g,2)+Math.pow(o.b-i.b,2));m<l&&(l=m,c=p)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}function Bn(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Nn(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").alpha(e).toRgbString()}Dn([Fn]);const Un={black:"#000",white:"#fff"},jn={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Hn={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:Bn(jn.gray[900],.62)},Vn={900:Bn("#000510",.9),800:Bn("#00000a",.85),700:Bn("#06060b",.8),600:Bn("#000913",.75),500:Bn("#0a1829",.7),400:Bn("#0a1829",.65),300:Bn("#0e1c2e",.62),200:Bn("#162435",.55),100:Bn("#223443",.5),backgroundFill:Bn(Hn[700],.7)},Gn={900:Bn("#304455",.45),800:Bn("#425863",.4),700:Bn("#667886",.35),600:Bn("#7b86a2",.3),500:Bn("#9197a2",.25),400:Bn("#95959c",.2),300:Bn("#829493",.15),200:Bn("#8b8b96",.1),100:Bn("#747474",.05)},Zn={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:Bn(Un.white,.65)},zn={900:Bn(Un.white,.5),800:Bn(Un.white,.45),700:Bn(Un.white,.4),600:Bn(Un.white,.35),500:Bn(Un.white,.3),400:Bn(Un.white,.25),300:Bn(Un.white,.2),200:Bn(Un.white,.15),100:Bn(Un.white,.1),backgroundFill:Bn(Zn[300],.8)},Wn={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Kn={theme:`var( --wp-admin-theme-color, ${Wn.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${Wn.medium.focus})`},Yn={theme:Kn.theme,background:Un.white,backgroundDisabled:Zn[200],border:jn.gray[700],borderHover:jn.gray[700],borderFocus:Kn.themeDark10,borderDisabled:jn.gray[400],borderLight:jn.gray[300],label:Hn[500],textDisabled:Hn[150],textDark:Un.white,textLight:Un.black},qn=Object.assign({},Un,{darkGray:(0,J.merge)({},Hn,jn.darkGray),darkOpacity:Vn,darkOpacityLight:Gn,mediumGray:jn.mediumGray,gray:jn.gray,lightGray:(0,J.merge)({},Zn,jn.lightGray),lightGrayLight:zn,blue:(0,J.merge)({},Wn,jn.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Kn,ui:Yn}),Xn="36px",Jn="12px",Qn={controlSurfaceColor:qn.white,controlTextActiveColor:qn.ui.theme,controlPaddingX:Jn,controlPaddingXLarge:`calc(${Jn} * 1.3334)`,controlPaddingXSmall:`calc(${Jn} / 1.3334)`,controlBackgroundColor:qn.white,controlBorderRadius:"2px",controlBorderColor:qn.gray[700],controlBoxShadow:"transparent",controlBorderColorHover:qn.gray[700],controlBoxShadowFocus:`0 0 0 0.5px ${qn.admin.theme}`,controlDestructiveBorderColor:qn.alert.red,controlHeight:Xn,controlHeightXSmall:`calc( ${Xn} * 0.6 )`,controlHeightSmall:`calc( ${Xn} * 0.8 )`,controlHeightLarge:`calc( ${Xn} * 1.2 )`,controlHeightXLarge:`calc( ${Xn} * 1.4 )`},er={toggleGroupControlBackgroundColor:Qn.controlBackgroundColor,toggleGroupControlBorderColor:qn.ui.border,toggleGroupControlBackdropBackgroundColor:Qn.controlSurfaceColor,toggleGroupControlBackdropBorderColor:qn.ui.border,toggleGroupControlBackdropBoxShadow:"transparent",toggleGroupControlButtonColorActive:Qn.controlBackgroundColor},tr=Object.assign({},Qn,er,{colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusBlockUi:"2px",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:16,fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:`${ln(2)}`,cardPaddingSmall:`${ln(4)}`,cardPaddingMedium:`${ln(4)} ${ln(6)}`,cardPaddingLarge:`${ln(6)} ${ln(8)}`,surfaceBackgroundColor:qn.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:qn.white,surfaceColor:qn.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});function nr(e){return`0 ${e}px ${2*e}px 0\n\trgba(0 ,0, 0, ${e/20})`}const rr=jt((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:a,isInteractive:i=!1,offset:s=0,value:d=0,...l}=Bt(e,"Elevation"),c=Dt(),u=(0,j.useMemo)((()=>{let e=(0,J.isNil)(a)?2*d:a,l=(0,J.isNil)(t)?d/2:t;i||(e=(0,J.isNil)(a)?void 0:a,l=(0,J.isNil)(t)?void 0:t);const u=`box-shadow ${tr.transitionDuration} ${tr.transitionTimingFunction}`,p={};return p.Base=an({borderRadius:n,bottom:s,boxShadow:nr(d),opacity:tr.elevationIntensity,left:s,right:s,top:s,transition:u},function(){let e;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition"){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}("transition"),"",""),(0,J.isNil)(e)||(p.hover=an("*:hover>&{box-shadow:",nr(e),";}","")),(0,J.isNil)(l)||(p.active=an("*:active>&{box-shadow:",nr(l),";}","")),(0,J.isNil)(o)||(p.focus=an("*:focus>&{box-shadow:",nr(o),";}","")),c(sn,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)}),[t,n,r,c,o,a,i,s,d]);return{...l,className:u,"aria-hidden":!0}}(e);return(0,j.createElement)(Qt,Y({},n,{ref:t}))}),"Elevation"),or=rr,ar=`calc(${tr.cardBorderRadius} - 1px)`,ir=an("box-shadow:0 0 0 1px ",tr.surfaceBorderColor,";outline:none;",""),sr={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},dr={name:"13udsys",styles:"height:100%"},lr={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},cr=an("&:first-of-type{border-top-left-radius:",ar,";border-top-right-radius:",ar,";}&:last-of-type{border-bottom-left-radius:",ar,";border-bottom-right-radius:",ar,";}",""),ur=an("border-color:",tr.colorDivider,";",""),pr={name:"1t90u8d",styles:"box-shadow:none"},mr={name:"1e1ncky",styles:"border:none"},fr=an("border-radius:",ar,";",""),hr=an("padding:",tr.cardPaddingXSmall,";",""),yr={large:an("padding:",tr.cardPaddingLarge,";",""),medium:an("padding:",tr.cardPaddingMedium,";",""),small:an("padding:",tr.cardPaddingSmall,";",""),xSmall:hr,extraSmall:hr},gr=an("background-color:",qn.lightGray[200],";",""),vr=window.wp.deprecated;var _r=n.n(vr);const $r=an("background-color:",tr.surfaceColor,";color:",qn.darkGray.primary,";position:relative;","");tr.surfaceBackgroundColor;const br=an("",""),wr=an("background:",tr.surfaceBackgroundTintColor,";",""),Er=an("background:",tr.surfaceBackgroundTertiaryColor,";",""),Sr=e=>[e,e].join(" "),Cr=e=>["90deg",[tr.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),Ar=e=>[[tr.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),xr=[`linear-gradient( ${[`${tr.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${tr.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),Tr=(e,t,n)=>{switch(e){case"dotted":return((e,t)=>an("background:",(e=>[`linear-gradient( ${Cr(e)} ) center`,`linear-gradient( ${Ar(e)} ) center`,tr.surfaceBorderBoldColor].join(","))(t),";background-size:",Sr(e),";",""))(t,n);case"grid":return(e=>an("background:",tr.surfaceBackgroundColor,";background-image:",xr,";background-size:",Sr(e),";",""))(t);case"primary":return br;case"secondary":return wr;case"tertiary":return Er}};function Rr(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:a=!1,className:i,variant:s="primary",...d}=Bt(e,"Surface"),l=Dt(),c=(0,j.useMemo)((()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const a=`1px solid ${tr.surfaceBorderColor}`;return an({borderBottom:t?a:void 0,borderLeft:n?a:void 0,borderRight:r?a:void 0,borderTop:o?a:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:a}),l($r,e.borders,Tr(s,`${t}px`,t-1+"px"),i)}),[t,n,r,o,a,i,l,s]);return{...d,className:c}}const kr=jt((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:a,size:i,...s}=function(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:a="medium",...i}=Bt(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let a=t;var i;return n&&(_r()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(i=a)&&void 0!==i||(a=2)),void 0!==a&&(o.elevation=a),o}(e),"Card"),s=Dt();return{...Rr({...i,className:(0,j.useMemo)((()=>s(ir,r&&pr,o&&fr,t)),[t,s,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:a}}(e),d=a?tr.cardBorderRadius:0,l=Dt(),c=(0,j.useMemo)((()=>l(an({borderRadius:d},"",""))),[l,d]),u=(0,j.useMemo)((()=>{const e={size:i,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}}),[o,i]);return(0,j.createElement)(ie,{value:u},(0,j.createElement)(Qt,Y({},s,{ref:t}),(0,j.createElement)(Qt,{className:l(dr)},n),(0,j.createElement)(or,{className:c,isInteractive:!1,value:r?1:0}),(0,j.createElement)(or,{className:c,isInteractive:!1,value:r})))}),"Card"),Or=window.wp.compose,Mr=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M7 11.5h10V13H7z"})),Pr=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Ir={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Nr(e){return(0,J.get)(Ir,e,"")}const Lr=Xt("div",{target:"ej5x27r4"})("font-family:",Nr("default.fontFamily"),";font-size:",Nr("default.fontSize"),";"),Dr=Xt("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&an("margin-bottom:",ln(2),";","")})," .components-panel__row &{margin-bottom:inherit;}"),Fr=an("display:inline-block;margin-bottom:",ln(2),";",""),Br=Xt("label",{target:"ej5x27r2"})(Fr,";");var Ur={name:"11yad0w",styles:"margin-bottom:revert"};const jr=Xt("p",{target:"ej5x27r1"})("margin-top:",ln(2),";margin-bottom:0;font-size:",Nr("helpText.fontSize"),";font-style:normal;color:",qn.mediumGray.text,";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&Ur}),";"),Hr=Xt("span",{target:"ej5x27r0"})(Fr,";"),Vr=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:r,hideLabelFromVision:o=!1,help:a,className:i,children:s}=e;return(0,j.createElement)(Lr,{className:X()("components-base-control",i)},(0,j.createElement)(Dr,{className:"components-base-control__field",__nextHasNoMarginBottom:t},r&&n&&(o?(0,j.createElement)(en,{as:"label",htmlFor:n},r):(0,j.createElement)(Br,{className:"components-base-control__label",htmlFor:n},r)),r&&!n&&(o?(0,j.createElement)(en,{as:"label"},r):(0,j.createElement)(Vr.VisualLabel,null,r)),s),!!a&&(0,j.createElement)(jr,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},a))};Vr.VisualLabel=e=>{let{className:t,children:n}=e;return(0,j.createElement)(Hr,{className:X()("components-base-control__label",t)},n)};const Gr=Vr;function Zr(e){let{label:t,className:n,heading:r,checked:o,indeterminate:a,help:i,onChange:s,...d}=e;r&&_r()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const[l,c]=(0,j.useState)(!1),[u,p]=(0,j.useState)(!1),m=(0,Or.useRefEffect)((e=>{e&&(e.indeterminate=!!a,c(e.matches(":checked")),p(e.matches(":indeterminate")))}),[o,a]),f=`inspector-checkbox-control-${(0,Or.useInstanceId)(Zr)}`;return(0,j.createElement)(Gr,{label:r,id:f,help:i,className:X()("components-checkbox-control",n)},(0,j.createElement)("span",{className:"components-checkbox-control__input-container"},(0,j.createElement)("input",Y({ref:m,id:f,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>s(e.target.checked),checked:o,"aria-describedby":i?f+"__help":void 0},d)),u?(0,j.createElement)(tn,{icon:Mr,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,l?(0,j.createElement)(tn,{icon:Pr,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,j.createElement)("label",{className:"components-checkbox-control__label",htmlFor:f},t))}const zr=window.wp.data,Wr=window.wp.dataControls,Kr="/wc/v3/payments",Yr="wc/payments",qr={SET_DEPOSIT:"SET_DEPOSIT",SET_DEPOSITS_OVERVIEW:"SET_DEPOSITS_OVERVIEW",SET_ERROR_FOR_DEPOSITS_OVERVIEW:"SET_ERROR_FOR_DEPOSITS_OVERVIEW",SET_DEPOSITS:"SET_DEPOSITS",SET_DEPOSITS_COUNT:"SET_DEPOSITS_COUNT",SET_ERROR_FOR_DEPOSIT_QUERY:"SET_ERROR_FOR_DEPOSIT_QUERY",SET_DEPOSITS_SUMMARY:"SET_DEPOSITS_SUMMARY",SET_ERROR_FOR_DEPOSITS_SUMMARY:"SET_ERROR_FOR_DEPOSITS_SUMMARY",SET_INSTANT_DEPOSIT:"SET_INSTANT_DEPOSIT",SET_ALL_DEPOSITS_OVERVIEWS:"SET_ALL_DEPOSITS_OVERVIEWS",SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS:"SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS"},Xr=e=>JSON.stringify(e,Object.keys(e).sort()),Jr={byId:{},queries:{},count:0,instant:{}},Qr=e=>e&&e.deposits||{},eo=(e,t)=>(Qr(e).byId||{})[t],to=e=>(Qr(e).overview||{}).data,no=e=>(Qr(e).overview||{}).error,ro=e=>{const t=Qr(e).overviews||{};if(!t.data)return{account:null,currencies:[]};const{deposit:n,balance:r,account:o}=t.data,a={lastPaid:n.last_paid,pending:r.pending,available:r.available,instant:r.instant},i={};for(const[e,t]of Object.entries(a))null==t||t.forEach((t=>{const{currency:n}=t;i[n]||(i[n]={currency:n,lastPaid:void 0,pending:void 0,available:void 0,instant:void 0}),i[n][e]=t}));const s=Object.values(i);return{account:o,currencies:[...s.filter((e=>o.default_currency===e.currency)),...s.filter((e=>o.default_currency!==e.currency))]}},oo=e=>(Qr(e).overviews||{}).error,ao=(e,t)=>{const n=Xr(t);return(Qr(e).queries||{})[n]||{}},io=(e,t)=>(ao(e,t).data||[]).map(eo.bind(void 0,e)),so=e=>Qr(e).count,lo=(e,t)=>ao(e,t).error||{},co=(e,t)=>{const n=Xr(t);return(Qr(e).summary||{})[n]||{}},uo=(e,t)=>co(e,t).data||{},po=(e,t)=>co(e,t).error||{},mo=e=>(Qr(e).instant||{}).data,fo=window.wc.currency;var ho=n.n(fo);(0,Q.__)("Australian dollar","woocommerce-payments"),(0,Q.__)("Canadian dollar","woocommerce-payments"),(0,Q.__)("Swiss franc","woocommerce-payments"),(0,Q.__)("Danish krone","woocommerce-payments"),(0,Q.__)("Euro","woocommerce-payments"),(0,Q.__)("Pound sterling","woocommerce-payments"),(0,Q.__)("Norwegian krone","woocommerce-payments"),(0,Q.__)("New Zealand dollar","woocommerce-payments"),(0,Q.__)("Swedish krona","woocommerce-payments"),(0,Q.__)("United States (US) dollar","woocommerce-payments");const yo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const r=(e=>wcpaySettings.zeroDecimalCurrencies.includes(e.toLowerCase()))(t);r||(e/=100);const o=e<0,a=o?-1*e:e,i=o?"-":"",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{currencyData:n,connect:{country:r="US"}}=wcpaySettings,o=(0,J.find)(n,{code:e.toUpperCase()});if(o){if(null!==t&&t.toUpperCase()!==e.toUpperCase()||n[r]){const e=t?(0,J.find)(n,{code:t.toUpperCase()}):n[r];e&&(o.decimalSeparator=e.decimalSeparator,o.thousandSeparator=e.thousandSeparator,o.symbolPosition=e.symbolPosition)}return ho()(o)}return null}(t,n);if(null===s)return i+go(a,t,r);try{return i+("function"==typeof s.formatAmount?vo(s.formatAmount(a)):vo(s.formatCurrency(a)))}catch(e){return i+vo(go(a,t,r))}};function go(e,t,n){try{return e.toLocaleString(void 0,{style:"currency",currency:t,currencyDisplay:"narrowSymbol",dummy:n})}catch(r){return(0,Q.sprintf)(n?"%s %i":"%s %.2f",t.toUpperCase(),e)}}function vo(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}const _o=window.wp.url,$o=window.moment;var bo=n.n($o);const wo=window.wp.date,Eo=(window.wc.number,e=>(0,_o.addQueryArgs)("admin.php",e)),So=e=>Eo({page:"wc-settings",tab:"checkout",section:"woocommerce_payments",method:e}),Co=function(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?bo()(e).endOf("day").utc().toISOString():bo()(e).startOf("day").utc().toISOString();return e&&(0,wo.dateI18n)("Y-m-d H:i:s",t,!0)};function Ao(e){return{type:qr.SET_DEPOSIT,data:e}}function xo(e){return{type:qr.SET_DEPOSITS_OVERVIEW,data:e}}function To(e,t){return{type:qr.SET_ERROR_FOR_DEPOSITS_OVERVIEW,error:t}}function Ro(e){return{type:qr.SET_ALL_DEPOSITS_OVERVIEWS,data:e}}function ko(e,t){return{type:qr.SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS,error:t}}function Oo(e,t){return{type:qr.SET_DEPOSITS,query:e,data:t}}function Mo(e){return{type:qr.SET_DEPOSITS_COUNT,data:e}}function Po(e,t,n){return{type:qr.SET_ERROR_FOR_DEPOSIT_QUERY,query:e,data:t,error:n}}function Io(e,t){return{type:qr.SET_DEPOSITS_SUMMARY,query:e,data:t}}function No(e,t,n){return{type:qr.SET_ERROR_FOR_DEPOSITS_SUMMARY,query:e,data:t,error:n}}function Lo(e){return{type:qr.SET_INSTANT_DEPOSIT,data:e}}function*Do(e){try{yield(0,zr.dispatch)(Yr).startResolution("getInstantDeposit",[e]);const t=yield(0,Wr.apiFetch)({path:"/wc/v3/payments/deposits",method:"POST",data:{type:"instant",currency:e}});yield Lo(t),yield(0,zr.dispatch)(Yr).invalidateResolutionForStoreSelector("getDeposits"),yield(0,zr.dispatch)(Yr).invalidateResolutionForStoreSelector("getDepositsOverview"),yield(0,zr.dispatch)(Yr).invalidateResolutionForStoreSelector("getAllDepositsOverviews"),yield(0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.sprintf)((0,Q.__)("Instant deposit for %s in transit.","woocommerce-payments"),yo(t.amount)),{actions:[{label:(0,Q.__)("View details","woocommerce-payments"),url:Eo({page:"wc-admin",path:"/payments/deposits/details",id:t.id})}]})}catch{yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error creating instant deposit.","woocommerce-payments"))}finally{yield(0,zr.dispatch)(Yr).finishResolution("getInstantDeposit",[e])}}function*Fo(e){const t=(0,_o.addQueryArgs)(`${Kr}/deposits/${e}`);try{const e=yield(0,Wr.apiFetch)({path:t});yield Ao(e)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving deposit.","woocommerce-payments"))}}function*Bo(){const e=(0,_o.addQueryArgs)(`${Kr}/deposits/overview`);try{const t=yield(0,Wr.apiFetch)({path:e});yield xo(t)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving deposits overview.","woocommerce-payments")),yield To()}}function*Uo(){const e=(0,_o.addQueryArgs)(`${Kr}/deposits/overview-all`);try{const t=yield(0,Wr.apiFetch)({path:e});yield Ro(t)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving all deposits' overviews.","woocommerce-payments")),yield ko()}}const jo=e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:Co(e.dateBefore,!0),date_after:Co(e.dateAfter),date_between:e.dateBetween&&[Co(e.dateBetween[0]),Co(e.dateBetween[1],!0)],status_is:e.statusIs,status_is_not:e.statusIsNot,locale:e.locale});function Ho(e){return(0,_o.addQueryArgs)(`${Kr}/deposits/download`,jo(e))}function*Vo(e){const t=(0,_o.addQueryArgs)(`${Kr}/deposits`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...jo(e)});try{const n=yield(0,Wr.apiFetch)({path:t})||{};yield Oo(e,n.data),yield Mo(n.total_count);for(const e in n.data)yield zr.controls.dispatch(Yr,"finishResolution","getDeposit",[n.data[e].id])}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving deposits.","woocommerce-payments")),yield Po(e,null,t)}}function*Go(e){const t=(0,_o.addQueryArgs)(`${Kr}/deposits/summary`,jo(e));try{const n=yield(0,Wr.apiFetch)({path:t});yield Io(e,n)}catch(t){yield No(e,null,t)}}const Zo={SET_TRANSACTIONS:"SET_TRANSACTIONS",SET_ERROR_FOR_TRANSACTIONS:"SET_ERROR_FOR_TRANSACTIONS",SET_TRANSACTIONS_SUMMARY:"SET_TRANSACTIONS_SUMMARY",SET_ERROR_FOR_TRANSACTIONS_SUMMARY:"SET_ERROR_FOR_TRANSACTIONS_SUMMARY",SET_FRAUD_OUTCOME_TRANSACTIONS:"SET_FRAUD_OUTCOME_TRANSACTIONS",SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS:"SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS",SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:"SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY",SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:"SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY"},zo={summary:{},fraudProtection:{review:{summary:{}},block:{summary:{}}}},Wo=e=>e&&e.transactions||{},Ko=(e,t)=>{const n=Xr(t);return Wo(e)[n]||{}},Yo=(e,t)=>Ko(e,t).data||[],qo=(e,t)=>Ko(e,t).error||{},Xo=(e,t)=>{const n=Xr(t);return Wo(e).summary[n]||{}},Jo=(e,t)=>Xo(e,t).data||{},Qo=(e,t)=>Xo(e,t).error||{},ea=(e,t,n)=>{var r,o;const a=Xr(n);return(null===(r=Wo(e).fraudProtection)||void 0===r||null===(o=r[t])||void 0===o?void 0:o[a])||{}},ta=(e,t,n)=>ea(e,t,n).data||[],na=(e,t,n)=>ea(e,t,n).error||{},ra=(e,t,n)=>{var r,o;const a=Xr(n);return(null===(r=Wo(e).fraudProtection)||void 0===r||null===(o=r[t])||void 0===o?void 0:o.summary[a])||{}},oa=(e,t,n)=>ra(e,t,n).data||{},aa=(e,t,n)=>ra(e,t,n).error||{};function ia(e,t){return{type:Zo.SET_TRANSACTIONS,query:e,data:t}}function sa(e,t,n){return{type:Zo.SET_ERROR_FOR_TRANSACTIONS,query:e,data:t,error:n}}function da(e,t){return{type:Zo.SET_TRANSACTIONS_SUMMARY,query:e,data:t}}function la(e,t,n){return{type:Zo.SET_ERROR_FOR_TRANSACTIONS_SUMMARY,query:e,data:t,error:n}}function ca(e,t,n){return{type:Zo.SET_FRAUD_OUTCOME_TRANSACTIONS,status:e,query:t,data:n}}function ua(e,t,n){return{type:Zo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS,status:e,query:t,data:null,error:n}}function pa(e,t,n){return{type:Zo.SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY,status:e,query:t,data:n}}function ma(e,t,n){return{type:Zo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY,status:e,query:t,data:null,error:n}}const fa=e=>({user_email:e.userEmail,match:e.match,date_before:Co(e.dateBefore,!0),date_after:Co(e.dateAfter),date_between:e.dateBetween&&[Co(e.dateBetween[0]),Co(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot,source_device_is:e.sourceDeviceIs,source_device_is_not:e.sourceDeviceIsNot,channel_is:e.channelIs,channel_is_not:e.channelIsNot,customer_country_is:e.customerCountryIs,customer_country_is_not:e.customerCountryIsNot,risk_level_is:e.riskLevelIs,risk_level_is_not:e.riskLevelIsNot,store_currency_is:e.storeCurrencyIs,loan_id_is:e.loanIdIs,deposit_id:e.depositId,customer_currency_is:e.customerCurrencyIs,customer_currency_is_not:e.customerCurrencyIsNot,search:e.search,user_timezone:bo()(new Date).format("Z"),locale:e.locale});function*ha(e){const t=(0,_o.addQueryArgs)(`${Kr}/transactions`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...fa(e)});try{const n=yield(0,Wr.apiFetch)({path:t});yield ia(e,n.data||[])}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transactions.","woocommerce-payments")),yield sa(e,null,t)}}function ya(e){return(0,_o.addQueryArgs)(`${Kr}/transactions/download`,fa(e))}function*ga(e){const t=(0,_o.addQueryArgs)(`${Kr}/transactions/summary`,fa(e));try{const n=yield(0,Wr.apiFetch)({path:t});yield da(e,n)}catch(t){yield la(e,null,t)}}function*va(e,t){const n=(0,_o.addQueryArgs)(`${Kr}/transactions/fraud-outcomes`,{status:e,page:t.paged,sort:t.orderby,pagesize:t.perPage,direction:t.order,additional_status:t.additionalStatus,...fa(t)});try{const r=yield(0,Wr.apiFetch)({path:n});yield ca(e,t,r.data||[])}catch(n){if("wcpay_fraud_outcome_not_found"===n.code)return void(yield ca(e,t,[]));yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transactions.","woocommerce-payments")),yield ua(e,t,n)}}function*_a(e,t){const n=(0,_o.addQueryArgs)(`${Kr}/transactions/fraud-outcomes/summary`,{status:e,additional_status:t.additionalStatus}),r={count:0,total:0};try{const o=yield(0,Wr.apiFetch)({path:n});yield pa(e,t,o||r)}catch(n){if("wcpay_fraud_outcome_not_found"===n.code)return void(yield pa(e,t,r));yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving on review transactions.","woocommerce-payments")),yield ma(e,t,n)}}function $a(e,t){return(0,_o.addQueryArgs)(`${Kr}/transactions/fraud-outcomes/download`,{status:e,sort:t.orderby,direction:t.order,additional_status:t.additionalStatus,...fa(t)})}const ba={SET_CHARGE:"SET_CHARGE",SET_ERROR_FOR_CHARGE:"SET_ERROR_FOR_CHARGE"},wa=(e,t)=>e.charges[t]&&e.charges[t].data?e.charges[t].data:{},Ea=(e,t)=>e.charges[t]&&e.charges[t].error?e.charges[t].error:{},Sa=(e,t)=>wa(e,t),Ca=(e,t)=>Ea(e,t);function Aa(e,t){return{type:ba.SET_CHARGE,id:e,data:t}}function xa(e,t,n){return{type:ba.SET_ERROR_FOR_CHARGE,id:e,data:t,error:n}}function*Ta(e){try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/charges/${e}`});yield Aa(e,t)}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield xa(e,null,t)}}function*Ra(e){try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/charges/order/${e}`});yield Aa(e,t)}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield xa(e,null,t)}}const ka={SET_TIMELINE:"SET_TIMELINE",SET_ERROR_FOR_TIMELINE:"SET_ERROR_FOR_TIMELINE"},Oa=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].data?e.timeline[t].data:{},Ma=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].error?e.timeline[t].error:{};function Pa(e,t){return{id:e,type:ka.SET_TIMELINE,data:t}}function Ia(e,t){return{id:e,type:ka.SET_ERROR_FOR_TIMELINE,error:t}}function*Na(e){try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/timeline/${e}`});yield Pa(e,t.data)}catch(t){yield Ia(e,t)}}const La={SET_DISPUTE:"SET_DISPUTE",SET_ERROR_FOR_DISPUTE:"SET_ERROR_FOR_DISPUTE",SET_DISPUTES:"SET_DISPUTES",SET_DISPUTES_SUMMARY:"SET_DISPUTES_SUMMARY"},Da={byId:{},queries:{},summary:{},cached:{}},Fa=e=>e&&e.disputes||{},Ba=(e,t)=>(Fa(e).byId||{})[t],Ua=(e,t)=>{var n;return null===(n=(Fa(e).byId||{})[t])||void 0===n?void 0:n.error},ja=(e,t)=>(Fa(e).cached||{})[t],Ha=(e,t)=>{const n=((e,t)=>{const n=Xr(t);return(Fa(e).queries||{})[n]||{}})(e,t).data||[];return n.map(ja.bind(void 0,e))},Va=(e,t)=>((e,t)=>{const n=Xr(t);return(Fa(e).summary||{})[n]||{}})(e,t).data||{};var Ga;!function(e){e.SET_PAYMENT_INTENT="SET_PAYMENT_INTENT",e.SET_ERROR_FOR_PAYMENT_INTENT="SET_ERROR_FOR_PAYMENT_INTENT"}(Ga||(Ga={}));const Za=Ga;function za(e,t){return{type:Za.SET_PAYMENT_INTENT,id:e,data:t}}function Wa(e,t){return{type:Za.SET_ERROR_FOR_PAYMENT_INTENT,id:e,error:t}}function*Ka(e,t){var n;const r=e.payment_intent;try{yield(0,Wr.apiFetch)({path:"/wc/v3/payments/refund/",method:"post",data:{charge_id:e.id,amount:e.amount,reason:t,order_id:null===(n=null==e?void 0:e.order)||void 0===n?void 0:n.number}}),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getTimeline"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield zr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Refunded payment #%s.","woocommerce-payments"),r))}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.sprintf)((0,Q.__)("There has been an error refunding the payment #%s. Please try again later.","woocommerce-payments"),r))}}function*Ya(e){try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/payment_intents/${e}`});yield za(e,t)}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield Wa(e,t)}}function qa(e){return{type:La.SET_DISPUTE,data:e}}function Xa(e,t,n){return{type:La.SET_ERROR_FOR_DISPUTE,id:e,data:t,error:n}}function Ja(e,t){return{type:La.SET_DISPUTES,query:e,data:t}}function Qa(e,t){return{type:La.SET_DISPUTES_SUMMARY,query:e,data:t}}function*ei(e){const{id:t,payment_intent:n}=e;try{yield zr.controls.dispatch(Yr,"startResolution","getDispute",[t]);const e=yield(0,Wr.apiFetch)({path:`${Kr}/disputes/${t}/close`,method:"post"});yield qa(e),yield Ya(n),yield zr.controls.dispatch(Yr,"finishResolution","getDispute",[t]);const r=e.order?(0,Q.sprintf)((0,Q.__)("You have accepted the dispute for order #%s.","woocommerce-payments"),e.order.number):(0,Q.__)("You have accepted the dispute.","woocommerce-payments");yield zr.controls.dispatch("core/notices","createSuccessNotice",r)}catch(e){const n=(0,Q.__)("There has been an error accepting the dispute. Please try again later.","woocommerce-payments");yield zr.controls.dispatch("core/notices","createErrorNotice",n),yield zr.controls.dispatch(Yr,"finishResolution","getDispute",[t])}}const ti=e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:Co(e.dateBefore,!0),date_after:Co(e.dateAfter),date_between:e.dateBetween&&[Co(e.dateBetween[0]),Co(e.dateBetween[1],!0)],search:e.search,status_is:e.statusIs,status_is_not:e.statusIsNot,locale:e.locale});function ni(e){return(0,_o.addQueryArgs)(`${Kr}/disputes/download`,ti(e))}function*ri(e){const t=(0,_o.addQueryArgs)(`${Kr}/disputes/${e}`);try{const e=yield(0,Wr.apiFetch)({path:t});yield qa(e)}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving dispute.","woocommerce-payments")),yield Xa(e,void 0,t)}}function*oi(e){const t=(0,_o.addQueryArgs)(`${Kr}/disputes`,{page:e.paged,pagesize:e.perPage,sort:(0,J.snakeCase)(e.orderBy),direction:e.order,...ti(e)});try{const n=yield(0,Wr.apiFetch)({path:t})||{};yield Ja(e,n.data)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving disputes.","woocommerce-payments"))}}function*ai(e){const t=(0,_o.addQueryArgs)(`${Kr}/disputes/summary`,{page:e.paged,pagesize:e.perPage,...ti(e)});try{const n=yield(0,Wr.apiFetch)({path:t});yield Qa(e,n)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the summary of disputes.","woocommerce-payments"))}}const ii=window.wc.wcSettings,si=((0,Q.__)("Bank cannot process","woocommerce-payments"),(0,Q.__)("Check returned","woocommerce-payments"),(0,Q.__)("Credit not processed","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If your customer was not refunded appropriately, you will need to accept the dispute, or resolve the issue with your customer. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you have not yet provided a refund or credit.","woocommerce-payments"),(0,Q.__)("Demonstrate that you have refunded your customer through other means or that your customer is not entitled to a refund. You cannot issue a refund while a payment is being disputed. If you believe that your customer was entitled a refund that you did not provide, you can accept the dispute.","woocommerce-payments"),(0,Q.__)("You should first get in touch with your customer. If you understand what their complaint is, there is a chance for you to explain the misunderstanding or to make it right. If you’re able to resolve the issue with your customer, you can ask that they withdraw the dispute.","woocommerce-payments"),(0,Q.__)("If the cardholder agrees to withdraw the dispute, you should still submit evidence for the dispute using the forms on the next screen. In addition to the following evidence, your submission should include correspondence with the cardholder saying they would withdraw the dispute and a written statement from their card issuer confirming that the dispute has been withdrawn.","woocommerce-payments"),(0,Q.__)("The cardholder claims a credit was not processed.","woocommerce-payments"),(0,Q.__)("Customer initiated","woocommerce-payments"),(0,Q.__)("Debit not authorized","woocommerce-payments"),(0,Q.__)("Duplicate","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If there were duplicate payments, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The customer claims they were charged multiple times for the same product or service.","woocommerce-payments"),(0,Q.__)("Demonstrate that each payment was for a separate product or service.","woocommerce-payments"),(0,Q.__)("Determine if your customer was incorrectly charged multiple times.","woocommerce-payments"),(0,Q.__)("If they were not, collect any and all information documenting that each payment was made separately, such as copies of receipts. If the receipts don’t include the items purchased, be sure to include an itemized list. Each receipt should clearly indicate that the payments are for separate purchases of items or services. If you’ve been able to get in touch with the customer you should be sure to address any concerns they had in your evidence.","woocommerce-payments"),(0,Q.__)("If there have been two or more separate payments, you should get in touch with your customer. If you understand what their complaint is, there is a chance for you to explain the misunderstanding or to make it right. If you’re able to resolve the issue with your customer, you can ask that they withdraw the dispute.","woocommerce-payments"),(0,Q.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,Q.__)("The cardholder claims this is a duplicate transaction.","woocommerce-payments"),(0,Q.__)("Transaction unauthorized","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If you believe the payment was actually made using a stolen credit card, you will need to accept the dispute. The credit card networks place liability for accepting unauthorized transactions with you, the business.","woocommerce-payments"),(0,Q.__)("This is the most common reason for a dispute, and happens when a cardholder claims that they didn’t authorize the payment. This can happen if the card was lost or stolen and used to make an unauthorized transaction. It can also happen if the cardholder doesn’t recognize the payment as it appears on the billing statement from their card issuer.","woocommerce-payments"),(0,Q.__)("Provide adequate payment and order details so that a legitimate customer recognizes it, or proves to the card issuer that their cardholder authorized the transaction.","woocommerce-payments"),(0,Q.__)("Try to get in touch with your customer. Sometimes people forget about payments they make or don’t recognize the way they appear on their card statement. If this is the case, ask them to contact their card issuer and let them know they no longer dispute the transaction.","woocommerce-payments"),(0,Q.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,Q.__)("It may be more efficient—and provide a better customer experience—to accept an accidental dispute and charge the customer again, if appropriate. Even when a dispute is withdrawn, it usually takes approximately 75 days to be finalized. Remember, it doesn’t matter to the card networks whether you win or lose a dispute; what matters is how many disputes a business receives, regardless of how many disputes are won.","woocommerce-payments"),(0,Q.__)("The cardholder claims this is an unauthorized transaction.","woocommerce-payments"),(0,Q.__)("General","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("This is an uncategorized dispute, so you should contact the customer for additional details to find out why the payment was disputed.","woocommerce-payments"),(0,Q.__)("Incorrect account details","woocommerce-payments"),(0,Q.__)("Insufficient funds","woocommerce-payments"),(0,Q.__)("Product not received","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If you can not prove the customer received their product or service, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The customer claims they did not receive the products or services purchased.","woocommerce-payments"),(0,Q.__)("Prove that the customer received a physical product or offline service, or made use of a digital product or online service. This must have occurred prior to the date the dispute was initiated.","woocommerce-payments"),(0,Q.__)("First, get in touch with your customer. Understanding why they filed the dispute will be important for helping make sure your customer gets the product and will give you critical information to prevent this from happening to others.","woocommerce-payments"),(0,Q.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,Q.__)("The cardholder claims the product was not received.","woocommerce-payments"),(0,Q.__)("Product unacceptable","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If you can not prove the customer received their product or service as described, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The product or service was received but was defective, damaged, or not as described.","woocommerce-payments"),(0,Q.__)("Demonstrate that the product or service was delivered as described at the time of purchase.","woocommerce-payments"),(0,Q.__)("If the product or service is as described, provide specific information (invoice, contract, etc.) to refute the cardholder’s claims. Quality disputes are where the customer does not agree with the condition of merchandise or service received (e.g., a car repair situation or quality of a hotel room). There may be instances where you will need to obtain a neutral third-party opinion to help corroborate your claim against the cardholder. Provide as much specific information and documentation as possible to refute the cardholder’s claims. It is recommended that you address each point that the cardholder has made.","woocommerce-payments"),(0,Q.__)("If the customer has not yet returned the product or canceled the service, provide specific information to that effect. You should double-check your incoming shipping records to verify that you have not received a return before you respond. If you have processed a credit or reversal for this transaction, provide evidence of this which includes the amount and date processed.","woocommerce-payments"),(0,Q.__)("For products that have been repaired or replaced, provide evidence that the cardholder agreed to a repair or replacement, it has been received by the customer, and the repair or replacement has not since been disputed.","woocommerce-payments"),(0,Q.__)("If your customer made no attempt to return the product or cancel the service, or if you provided a replacement product or service, make sure to note that as well.","woocommerce-payments"),(0,Q.__)("If the customer withdraws their dispute you should still submit evidence using the forms on the next screen. Be sure to provide a letter or email from the cardholder stating that they are no longer in dispute.","woocommerce-payments"),(0,Q.__)("The cardholder claims the product was unacceptable.","woocommerce-payments"),(0,Q.__)("Subscription canceled","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancellation policy, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The customer claims that you continued to charge them after a subscription was canceled.","woocommerce-payments"),(0,Q.__)("Prove that the subscription was still active and that the customer was aware of, and did not follow, your cancellation procedure.","woocommerce-payments"),(0,Q.__)("First, get in touch with your customer. If you understand what they believe happened, there is a chance for you to explain the misunderstanding or to make it right. ","woocommerce-payments"),(0,Q.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,Q.__)("Otherwise, use the forms on the next screen to submit evidence that the subscription was still active and that the customer was aware of, and did not follow, your cancellation procedure.","woocommerce-payments"),(0,Q.__)("The cardholder claims a subscription was canceled.","woocommerce-payments"),(0,Q.__)("Unrecognized","woocommerce-payments"),(0,Q.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,Q.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancellation policy, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,Q.__)("The customer doesn’t recognize the payment appearing on their card statement.","woocommerce-payments"),(0,Q.__)("Get your customer to withdraw the dispute by helping them identify the payment. Otherwise, challenge the dispute with appropriate evidence that proves the purchase was legitimate. ","woocommerce-payments"),(0,Q.__)("First, try to get in touch with your customer. Sometimes people forget about payments they make or don’t recognize the way they appear on their card statement. If this is the case, ask them to contact their card issuer and let them know they no longer dispute the transaction. Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,Q.__)("It may be more efficient—and provide a better customer experience—to accept an accidental dispute and charge the customer again, if appropriate. Even when a dispute is withdrawn, it usually takes approximately 75 days to be finalized. Remember, it doesn’t matter to the card networks whether you win or lose a dispute; what matters is how many disputes a business receives, regardless of how many disputes are won.","woocommerce-payments"),{warning_needs_response:(0,Q.__)("Inquiry: Needs response","woocommerce-payments"),warning_under_review:(0,Q.__)("Inquiry: Under review","woocommerce-payments"),warning_closed:(0,Q.__)("Inquiry: Closed","woocommerce-payments"),needs_response:(0,Q.__)("Needs response","woocommerce-payments"),under_review:(0,Q.__)("Under review","woocommerce-payments"),charge_refunded:(0,Q.__)("Charge refunded","woocommerce-payments"),won:(0,Q.__)("Won","woocommerce-payments"),lost:(0,Q.__)("Lost","woocommerce-payments")}),di=(Object.entries(si).map((e=>{let[t,n]=e;return{label:n,value:t}})).filter((function(e){return null!=e})),(0,Q.__)("Dispute currency","woocommerce-payments"),(0,Q.__)("All currencies","woocommerce-payments"),(0,Q.__)("Show","woocommerce-payments"),(0,Q.__)("Needs response","woocommerce-payments"),(0,Q.__)("All disputes","woocommerce-payments"),(0,Q.__)("Advanced filters","woocommerce-payments"),(0,ii.getSetting)("wcVersion")),li=parseFloat(di),ci=(li<7.8?(0,Q.__)("Disputes match {{select /}} filters","woocommerce-payments"):(0,Q.__)("Disputes match <select /> filters","woocommerce-payments"),(0,Q.__)("Disputed on date","woocommerce-payments"),(0,Q.__)("Remove dispute date filter","woocommerce-payments"),(0,Q.__)("Select a dispute date filter match","woocommerce-payments"),li<7.8?(0,Q.__)("{{title}}Date{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"):(0,Q.__)("<title>Date</title> <rule /> <filter />","woocommerce-payments"),(0,Q.__)("Select a dispute date","woocommerce-payments"),(0,Q.__)("Before","woocommerce-payments"),(0,Q.__)("After","woocommerce-payments"),(0,Q.__)("Between","woocommerce-payments"),(0,Q.__)("Status","woocommerce-payments"),(0,Q.__)("Remove dispute status filter","woocommerce-payments"),(0,Q.__)("Select a dispute status filter match","woocommerce-payments"),li<7.8?(0,Q.__)("{{title}}Status{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"):(0,Q.__)("<title>Status</title> <rule /> <filter />","woocommerce-payments"),(0,Q.__)("Select a dispute status","woocommerce-payments"),(0,Q._x)("Is","dispute status","woocommerce-payments"),(0,Q._x)("Is not","dispute status","woocommerce-payments"),{SET_SETTINGS:"SET_SETTINGS",SET_SETTINGS_VALUES:"SET_SETTINGS_VALUES",SET_IS_SAVING_SETTINGS:"SET_IS_SAVING_SETTINGS",SET_SELECTED_PAYMENT_METHOD:"SET_SELECTED_PAYMENT_METHOD",SET_UNSELECTED_PAYMENT_METHOD:"SET_UNSELECTED_PAYMENT_METHOD"}),ui={isSaving:!1,savingError:null,data:{}},pi="basic",mi="advanced",fi="standard",hi="high",yi={},gi=[],vi=e=>e&&e.settings||yi,_i=e=>vi(e).data||yi,$i=e=>_i(e).account_business_support_address||yi,bi=e=>_i(e).is_wcpay_enabled||!1,wi=e=>_i(e).is_client_secret_encryption_enabled||!1,Ei=e=>_i(e).enabled_payment_method_ids||gi,Si=e=>_i(e).available_payment_method_ids||gi,Ci=e=>_i(e).payment_method_statuses||gi,Ai=e=>vi(e).isSaving||!1,xi=e=>_i(e).account_statement_descriptor||"",Ti=e=>_i(e).account_statement_descriptor_kanji||"",Ri=e=>_i(e).account_statement_descriptor_kana||"",ki=e=>_i(e).account_business_name||"",Oi=e=>_i(e).account_business_url||"",Mi=e=>_i(e).account_business_support_address||"",Pi=e=>$i(e).country||"",Ii=e=>$i(e).line1||"",Ni=e=>$i(e).line2||"",Li=e=>$i(e).city||"",Di=e=>$i(e).state||"",Fi=e=>$i(e).postal_code||"",Bi=e=>_i(e).account_business_support_email||"",Ui=e=>_i(e).account_business_support_phone||"",ji=e=>_i(e).account_branding_logo||"",Hi=e=>_i(e).account_domestic_currency||"",Vi=e=>_i(e).deposit_schedule_interval||"",Gi=e=>_i(e).reporting_export_language||"",Zi=e=>_i(e).deposit_schedule_weekly_anchor||"",zi=e=>_i(e).deposit_schedule_monthly_anchor||"",Wi=e=>_i(e).deposit_delay_days||"7",Ki=e=>_i(e).deposit_completed_waiting_period||!1,Yi=e=>_i(e).deposit_status||"",qi=e=>_i(e).deposit_restrictions||"",Xi=e=>_i(e).is_manual_capture_enabled||!1,Ji=e=>_i(e).is_test_mode_enabled||!1,Qi=e=>_i(e).is_dev_mode_enabled||!1,es=e=>_i(e).is_payment_request_enabled||!1,ts=e=>_i(e).is_debug_log_enabled||!1,ns=e=>_i(e).is_multi_currency_enabled||!1,rs=e=>_i(e).payment_request_enabled_locations||gi,os=e=>_i(e).payment_request_button_type||"",as=e=>_i(e).payment_request_button_size||"",is=e=>_i(e).payment_request_button_theme||"",ss=e=>_i(e).is_saved_cards_enabled||!1,ds=e=>vi(e).savingError,ls=e=>_i(e).is_card_present_eligible||!1,cs=e=>_i(e).is_wcpay_subscriptions_enabled||!1,us=e=>_i(e).is_wcpay_subscriptions_eligible||!1,ps=e=>_i(e).is_subscriptions_plugin_active||!1,ms=e=>_i(e).is_woopay_enabled||!1,fs=e=>_i(e).woopay_custom_message||"",hs=e=>_i(e).woopay_store_logo||"",ys=e=>_i(e).woopay_enabled_locations||gi,gs=e=>_i(e).current_protection_level||pi,vs=e=>_i(e).advanced_fraud_protection_settings||gi,_s=e=>_i(e).show_woopay_incompatibility_notice||!1,$s=e=>_i(e).is_stripe_billing_enabled||!1,bs=e=>_i(e).is_migrating_stripe_billing||!1,ws=e=>_i(e).stripe_billing_subscription_count||0,Es=e=>_i(e).stripe_billing_migrated_count||0;function Ss(e){return{type:ci.SET_SETTINGS_VALUES,payload:e}}function Cs(e){return Ss({is_saved_cards_enabled:e})}function As(e){return Ss({is_card_present_eligible:e})}function xs(e){return Ss({is_client_secret_encryption_enabled:e})}function Ts(e){return Ss({payment_request_button_type:e})}function Rs(e){return Ss({payment_request_button_size:e})}function ks(e){return Ss({payment_request_button_theme:e})}function Os(e){return{type:ci.SET_SETTINGS,data:e}}function Ms(e){return Ss({is_wcpay_enabled:e})}function Ps(e){return Ss({is_payment_request_enabled:e})}function Is(e){return Ss({enabled_payment_method_ids:[...e]})}function Ns(e){return Ss({available_payment_method_ids:[...e]})}function Ls(e,t){return{type:ci.SET_IS_SAVING_SETTINGS,isSaving:e,error:t}}function Ds(e){return{type:ci.SET_SELECTED_PAYMENT_METHOD,id:e}}function Fs(e){return{type:ci.SET_UNSELECTED_PAYMENT_METHOD,id:e}}function Bs(e){return Ss({is_manual_capture_enabled:e})}function Us(e){return Ss({is_test_mode_enabled:e})}function js(e){return Ss({is_debug_log_enabled:e})}function Hs(e){return Ss({is_multi_currency_enabled:e})}function Vs(e){return Ss({is_wcpay_subscriptions_enabled:e})}function Gs(e){return Ss({account_statement_descriptor:e})}function Zs(e){return Ss({account_statement_descriptor_kanji:e})}function zs(e){return Ss({account_statement_descriptor_kana:e})}function Ws(e){return Ss({account_business_name:e})}function Ks(e){return Ss({account_business_url:e})}function Ys(e){return Ss({account_business_support_address:e})}function qs(e){return Ss({account_business_support_email:e})}function Xs(e){return Ss({account_business_support_phone:e})}function Js(e){return Ss({account_branding_logo:e})}function Qs(e){return Ss({deposit_schedule_interval:e})}function ed(e){return Ss({deposit_schedule_weekly_anchor:e})}function td(e){return Ss({deposit_schedule_monthly_anchor:""===e?null:parseInt(e,10)})}function nd(e){return Ss({reporting_export_language:e})}function*rd(){let e=null;try{const e=(0,zr.select)(Yr).getSettings();yield Ls(!0,null),yield(0,Wr.apiFetch)({path:`${Kr}/settings`,method:"post",data:e}),yield(0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Settings saved.","woocommerce-payments"))}catch(t){e=t,yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error saving settings.","woocommerce-payments")),e.server_error&&(yield(0,zr.dispatch)("core/notices").createErrorNotice(e.server_error))}finally{yield Ls(!1,e)}return null===e}function od(e){return Ss({payment_request_enabled_locations:[...e]})}function ad(e){return Ss({is_woopay_enabled:e})}function id(e){return Ss({woopay_custom_message:e})}function sd(e){return Ss({woopay_store_logo:e})}function dd(e){return Ss({woopay_enabled_locations:[...e]})}function ld(e){return Ss({current_protection_level:e})}function cd(e){return Ss({advanced_fraud_protection_settings:e})}function ud(e){return Ss({is_stripe_billing_enabled:e})}function*pd(){try{yield(0,zr.dispatch)(Yr).startResolution("scheduleStripeBillingMigration"),yield(0,Wr.apiFetch)({path:`${Kr}/settings/schedule-stripe-billing-migration`,method:"post"})}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error starting the Stripe Billing migration.","woocommerce-payments"))}yield(0,zr.dispatch)(Yr).finishResolution("scheduleStripeBillingMigration")}function*md(){const e=`${Kr}/settings`;try{const t=yield(0,Wr.apiFetch)({path:e});yield Os(t)}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error retrieving settings.","woocommerce-payments"))}}const fd=()=>{const{updateEnabledPaymentMethodIds:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getEnabledPaymentMethodIds())),e]},hd=()=>(0,zr.useSelect)((e=>e(Yr).getIsDevModeEnabled()),[]),yd=()=>{const{updateIsManualCaptureEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsManualCaptureEnabled())),e]},gd=()=>(0,zr.useSelect)((e=>e(Yr).getAvailablePaymentMethodIds())),vd=()=>(0,zr.useSelect)((e=>e(Yr).getPaymentMethodStatuses())),_d=()=>{const{saveSettings:e}=(0,zr.useDispatch)(Yr),t=(0,zr.useSelect)((e=>e(Yr).isSavingSettings()));return{isLoading:(0,zr.useSelect)((e=>{e(Yr).getSettings();const t=e(Yr).isResolving("getSettings"),n=e(Yr).hasFinishedResolution("getSettings");return t||!n})),saveSettings:e,isSaving:t}},$d=()=>{const{updateIsPaymentRequestEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsPaymentRequestEnabled())),e]},bd=()=>{const{updatePaymentRequestButtonType:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getPaymentRequestButtonType())),e]},wd=()=>{const{updatePaymentRequestButtonSize:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getPaymentRequestButtonSize())),e]},Ed=()=>{const{updatePaymentRequestButtonTheme:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getPaymentRequestButtonTheme())),e]},Sd=()=>(0,zr.useSelect)((e=>e(Yr).getSavingError()),[]),Cd=()=>{const{updateIsWooPayEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsWooPayEnabled())),e]},Ad=()=>(0,zr.useSelect)((e=>e(Yr).getShowWooPayIncompatibilityNotice())),xd={SET_CURRENCIES:"SET_CURRENCIES",SET_AVAILABLE_CURRENCIES:"SET_AVAILABLE_CURRENCIES",SET_ENABLED_CURRENCIES:"SET_ENABLED_CURRENCIES",SET_DEFAULT_CURRENCY:"SET_DEFAULT_CURRENCY",SET_CURRENCY_SETTINGS:"SET_CURRENCY_SETTINGS",SET_STORE_SETTINGS:"SET_STORE_SETTINGS"},Td={},Rd=e=>e&&e.multiCurrency||{},kd=e=>Rd(e).currencies||{},Od=e=>kd(e).available||{},Md=e=>kd(e).enabled||{},Pd=e=>kd(e).default||{},Id=e=>Rd(e).currency_settings||{},Nd=e=>Rd(e).settings||{},Ld=window.wp.domReady;var Dd=n.n(Ld);const Fd=e=>{let t=null;if("undefined"!=typeof wcpayConfig)t=wcpayConfig;else if("undefined"!=typeof wcpay_upe_config)t=wcpay_upe_config;else{if("undefined"==typeof wc)return null;t=wc.wcSettings.getSetting("woocommerce_payments_data")}return t[e]||null},Bd=e=>"object"==typeof wcpayPaymentRequestParams&&wcpayPaymentRequestParams.hasOwnProperty(e)?wcpayPaymentRequestParams[e]:null,Ud=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"wcpay_";return e.toString().replace("%%endpoint%%",n+t)},jd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.wcpaySettings&&Object.assign(t,{is_test_mode:wcpaySettings.testMode,jetpack_connected:wcpaySettings.isJetpackConnected,wcpay_version:wcpaySettings.version,woo_country_code:wcpaySettings.connect.country}),Dd()((()=>{var n,r;(null!==(r=null===(n=null===wc||void 0===wc?void 0:wc.tracks)||void 0===n?void 0:n.recordEvent)&&void 0!==r?r:wcTracks.recordEvent)(e,t)}))},Hd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var r,o,a;const i=null!==(r=Fd("platformTrackerNonce"))&&void 0!==r?r:null===(o=Bd("nonce"))||void 0===o?void 0:o.platform_tracker,s=null!==(a=Fd("ajaxUrl"))&&void 0!==a?a:Bd("ajax_url"),d=new FormData;d.append("tracksNonce",i),d.append("action","platform_tracks"),d.append("tracksEventName",e),d.append("tracksEventProp",JSON.stringify(t)),d.append("isLegacy",JSON.stringify(n)),fetch(s,{method:"post",body:d})};function Vd(e){return{type:xd.SET_CURRENCIES,data:e}}function Gd(e){return{type:xd.SET_AVAILABLE_CURRENCIES,data:e}}function Zd(e){return{type:xd.SET_ENABLED_CURRENCIES,data:e}}function zd(e){return{type:xd.SET_DEFAULT_CURRENCY,data:e}}function Wd(e,t){return{type:xd.SET_CURRENCY_SETTINGS,data:{code:e,data:t}}}function Kd(e){return{type:xd.SET_STORE_SETTINGS,data:e}}function*Yd(e){const t=Object.keys((0,zr.select)(Yr).getEnabledCurrencies()),n=e.filter((e=>!t.includes(e))),r=t.filter((t=>!e.includes(t)));try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/multi-currency/update-enabled-currencies`,method:"POST",data:{enabled:e}});yield Vd(t),yield(0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Enabled currencies updated.","woocommerce-payments")),jd("wcpay_multi_currency_enabled_currencies_updated",{added_currencies:n,removed_currencies:r})}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error updating enabled currencies.","woocommerce-payments"))}}function*qd(e,t){try{const n=yield(0,Wr.apiFetch)({path:`${Kr}/multi-currency/currencies/${e}`,method:"POST",data:t});yield Wd(e,n),yield(0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Currency settings updated.","woocommerce-payments"))}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error updating currency settings.","woocommerce-payments"))}}function Xd(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function*(){try{const r=yield(0,Wr.apiFetch)({path:`${Kr}/multi-currency/update-settings`,method:"POST",data:{wcpay_multi_currency_enable_auto_currency:e?"yes":"no",wcpay_multi_currency_enable_storefront_switcher:t?"yes":"no"}});if(yield Kd(r),n)return;yield(0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Store settings saved.","woocommerce-payments"))}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error saving store settings.","woocommerce-payments"))}}()}function*Jd(){const e=`${Kr}/multi-currency/currencies`;try{const t=yield(0,Wr.apiFetch)({path:e});yield Vd(t)}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error retrieving currencies.","woocommerce-payments"))}}function*Qd(e){const t=`${Kr}/multi-currency/currencies/${e}`;try{const n=yield(0,Wr.apiFetch)({path:t});yield Wd(e,n)}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error retrieving single currency settings.","woocommerce-payments"))}}function*el(){const e=`${Kr}/multi-currency/get-settings`;try{const t=yield(0,Wr.apiFetch)({path:e});yield Kd(t)}catch(e){yield(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error retrieving store settings.","woocommerce-payments"))}}const tl={SET_CARD_READER_STATS:"SET_CARD_READER_STATS",SET_ERROR_FOR_CARD_READER_STATS:"SET_ERROR_FOR_CARD_READER_STATS",SET_READERS:"SET_READERS",SET_ERROR_FOR_CARD_READERS:"SET_ERROR_FOR_CARD_READERS"},nl=(e,t)=>e.readers[t]&&e.readers[t].data?e.readers[t].data:{},rl=(e,t)=>e.readers[t]&&e.readers[t].error?e.readers[t].error:{},ol=e=>e.readers&&e.readers.list?e.readers.list:{};function al(e,t){return{type:tl.SET_CARD_READER_STATS,id:e,data:t}}function il(e,t){return{type:tl.SET_READERS,query:e,data:t}}function sl(e,t,n){return{type:tl.SET_CARD_ERROR_FOR_READER_STATS,id:e,data:t,error:n}}function dl(e,t){return{type:tl.SET_CARD_ERROR_FOR_READERS,data:e,error:t}}function*ll(e,t){try{const n=yield(0,Wr.apiFetch)({path:`${Kr}/readers/charges/${t}`});yield al(e,n)}catch(t){yield sl(e,null,t)}}function*cl(e){const t=(0,_o.addQueryArgs)(`${Kr}/readers`,{limit:e.limit});try{const n=yield(0,Wr.apiFetch)({path:t})||{};yield il(e,n)}catch(e){yield dl(null,e)}}var ul;!function(e){e.SET_ACTIVE_LOAN_SUMMARY="SET_ACTIVE_LOAN_SUMMARY",e.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY="SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY",e.SET_LOANS="SET_LOANS",e.SET_ERROR_FOR_LOANS="SET_ERROR_FOR_LOANS"}(ul||(ul={}));const pl=ul,ml={},fl=e=>e&&e.capital||{},hl=e=>fl(e).summary,yl=e=>fl(e).summaryError,gl=e=>fl(e).loans||[],vl=e=>fl(e).loansError;function _l(e){return{type:pl.SET_ACTIVE_LOAN_SUMMARY,data:e}}function $l(e){return{type:pl.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY,error:e}}function bl(e){return{type:pl.SET_LOANS,data:e.data}}function wl(e){return{type:pl.SET_ERROR_FOR_LOANS,error:e}}function*El(){const e=`${Kr}/capital/active_loan_summary`;try{const t=yield(0,Wr.apiFetch)({path:e});yield _l(t)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the active loan summary.","woocommerce-payments")),yield $l(e)}}function*Sl(){const e=`${Kr}/capital/loans`;try{const t=yield(0,Wr.apiFetch)({path:e});yield bl(t)}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the active loan summary.","woocommerce-payments")),yield wl(e)}}const Cl={SET_DOCUMENTS:"SET_DOCUMENTS",SET_ERROR_FOR_DOCUMENTS:"SET_ERROR_FOR_DOCUMENTS",SET_DOCUMENTS_SUMMARY:"SET_DOCUMENTS_SUMMARY",SET_ERROR_FOR_DOCUMENTS_SUMMARY:"SET_ERROR_FOR_DOCUMENTS_SUMMARY"},Al={summary:{}},xl=e=>e&&e.documents||{},Tl=(e,t)=>{const n=Xr(t);return xl(e)[n]||{}},Rl=(e,t)=>Tl(e,t).data||[],kl=(e,t)=>Tl(e,t).error||{},Ol=(e,t)=>{const n=Xr(t);return xl(e).summary[n]||{}},Ml=(e,t)=>Ol(e,t).data||{},Pl=(e,t)=>Ol(e,t).error||{};function Il(e,t){return{type:Cl.SET_DOCUMENTS,query:e,data:t}}function Nl(e,t,n){return{type:Cl.SET_ERROR_FOR_DOCUMENTS,query:e,data:t,error:n}}function Ll(e,t){return{type:Cl.SET_DOCUMENTS_SUMMARY,query:e,data:t}}function Dl(e,t,n){return{type:Cl.SET_ERROR_FOR_DOCUMENTS_SUMMARY,query:e,data:t,error:n}}const Fl=e=>({user_email:e.userEmail,match:e.match,date_before:Co(e.dateBefore,!0),date_after:Co(e.dateAfter),date_between:e.dateBetween&&[Co(e.dateBetween[0]),Co(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot});function*Bl(e){const t=(0,_o.addQueryArgs)(`${Kr}/documents`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Fl(e)});try{const n=yield(0,Wr.apiFetch)({path:t});yield Il(e,n.data||[])}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving documents.","woocommerce-payments")),yield Nl(e,null,t)}}function*Ul(e){const t=(0,_o.addQueryArgs)(`${Kr}/documents/summary`,Fl(e));try{const n=yield(0,Wr.apiFetch)({path:t});yield Ll(e,n)}catch(t){yield Dl(e,null,t)}}const jl={},Hl=(e,t)=>{let{paymentIntents:n}=e;const r=null==n?void 0:n[t];return(null==r?void 0:r.data)||{}},Vl=(e,t)=>{let{paymentIntents:n}=e;const r=null==n?void 0:n[t];return(null==r?void 0:r.error)||{}},Gl={SET_AUTHORIZATIONS:"SET_AUTHORIZATIONS",SET_AUTHORIZATION:"SET_AUTHORIZATION",SET_ERROR_FOR_AUTHORIZATIONS:"SET_ERROR_FOR_AUTHORIZATIONS",SET_AUTHORIZATIONS_SUMMARY:"SET_AUTHORIZATIONS_SUMMARY",SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY:"SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY",SET_IS_REQUESTING_AUTHORIZATION:"SET_IS_REQUESTING_AUTHORIZATION"},Zl={summary:{},byId:{},isRequesting:!1},zl=e=>e&&e.authorizations||{},Wl=(e,t)=>{const n=Xr(t);return zl(e)[n]||{}},Kl=(e,t)=>Wl(e,t).data||[],Yl=(e,t)=>(zl(e).byId||{})[t],ql=(e,t)=>Wl(e,t).error||{},Xl=(e,t)=>{const n=Xr(t);return zl(e).summary[n]||{}},Jl=(e,t)=>Xl(e,t).data||{},Ql=(e,t)=>Xl(e,t).error||{},ec=e=>zl(e).isRequesting;function tc(e,t){return{type:Gl.SET_AUTHORIZATIONS,data:t,query:e}}function nc(e,t){return{type:Gl.SET_ERROR_FOR_AUTHORIZATIONS,query:e,error:t}}function rc(e){return{type:Gl.SET_AUTHORIZATION,data:e}}function oc(e,t){return{type:Gl.SET_AUTHORIZATIONS_SUMMARY,data:t,query:e}}function ac(e){return{type:Gl.SET_IS_REQUESTING_AUTHORIZATION,data:e}}function*ic(e,t){try{yield zr.controls.dispatch(Yr,"startResolution","getAuthorization",[e]),yield zr.controls.dispatch(Yr,"setIsRequestingAuthorization",!0);const n=yield(0,Wr.apiFetch)({path:`/wc/v3/payments/orders/${t}/capture_authorization`,method:"post",data:{payment_intent_id:e}}),r={payment_intent_id:n.id,captured:"succeeded"===n.status};yield rc(r),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getAuthorizations"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getAuthorizationsSummary"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactions"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactionsSummary"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getTimeline"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield zr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Payment for order #%s captured successfully.","woocommerce-payments"),t))}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.sprintf)((0,Q.__)("There has been an error capturing the payment for order #%s. Please try again later.","woocommerce-payments"),t))}finally{yield zr.controls.dispatch(Yr,"finishResolution","getAuthorization",[e]),yield zr.controls.dispatch(Yr,"setIsRequestingAuthorization",!1)}}function*sc(e,t){try{yield zr.controls.dispatch(Yr,"startResolution","getAuthorization",[e]),yield zr.controls.dispatch(Yr,"setIsRequestingAuthorization",!0);const n=yield(0,Wr.apiFetch)({path:`/wc/v3/payments/orders/${t}/cancel_authorization`,method:"post",data:{payment_intent_id:e}}),r={payment_intent_id:n.id,captured:"succeeded"===n.status};yield rc(r),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getAuthorizations"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getAuthorizationsSummary"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactions"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactionsSummary"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getTimeline"),yield zr.controls.dispatch(Yr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield zr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Payment for order #%s canceled successfully.","woocommerce-payments"),t))}catch(e){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.sprintf)((0,Q.__)("There has been an error canceling the payment for order #%s. Please try again later.","woocommerce-payments"),t))}finally{yield zr.controls.dispatch(Yr,"finishResolution","getAuthorization",[e]),yield zr.controls.dispatch(Yr,"setIsRequestingAuthorization",!1)}}function dc(e,t){return{type:Gl.SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY,query:e,error:t}}function*lc(e){var t;let{paged:n=1,per_page:r=25,orderby:o="created",order:a="asc"}=e;"capture_by"===o&&(o="created");const i=(0,_o.addQueryArgs)(`${Kr}/authorizations`,{page:n,pagesize:r,sort:o,direction:a});try{const n=yield(0,Wr.apiFetch)({path:i});yield tc(e,null!==(t=n.data)&&void 0!==t?t:[])}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving uncaptured transactions.","woocommerce-payments")),yield nc(e,t)}}function*cc(e){try{if(e){const t=yield(0,Wr.apiFetch)({path:`${Kr}/authorizations/${e}`}),{is_captured:n,payment_intent_id:r,created:o}=t;yield rc({payment_intent_id:r,captured:n,created:o})}}catch(e){"authorization_missing"!==e.code&&(yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving authorization.","woocommerce-payments")))}}function*uc(e){const t=(0,_o.addQueryArgs)(`${Kr}/authorizations/summary`,{pagesize:e.per_page,sort:e.orderby,direction:e.order,page:e.paged});try{const n=yield(0,Wr.apiFetch)({path:t});yield oc(e,null!=n?n:[])}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving uncaptured transactions.","woocommerce-payments")),yield dc(e,t)}}var pc;!function(e){e.SET_FILE="SET_FILE",e.SET_ERROR_FOR_FILES="SET_ERROR_FOR_FILES"}(pc||(pc={}));const mc=pc,fc={},hc=(e,t)=>{let{files:n}=e;const r=null==n?void 0:n[t];return(null==r?void 0:r.data)||{}},yc=(e,t)=>{let{files:n}=e;const r=null==n?void 0:n[t];return(null==r?void 0:r.error)||{}};function gc(e,t){return{type:mc.SET_FILE,id:e,data:t}}function vc(e,t){return{type:mc.SET_ERROR_FOR_FILES,id:e,error:t}}function*_c(e){try{const t=yield(0,Wr.apiFetch)({path:`${Kr}/file/${e}/details`});yield gc(e,t)}catch(t){yield zr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving file.","woocommerce-payments")),yield vc(e,t)}}(0,zr.registerStore)(Yr,{reducer:(0,zr.combineReducers)({deposits:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Jr,{type:t,query:n={},data:r=[],error:o}=arguments.length>1?arguments[1]:void 0;const a=Xr(n);switch(t){case qr.SET_DEPOSIT:return{...e,byId:{...e.byId,[r.id]:r}};case qr.SET_DEPOSITS_OVERVIEW:return{...e,overview:{...e.overview,data:r}};case qr.SET_ERROR_FOR_DEPOSITS_OVERVIEW:return{...e,overview:{...e.overview,error:o}};case qr.SET_ALL_DEPOSITS_OVERVIEWS:return{...e,overviews:{...e.overviews,data:r}};case qr.SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS:return{...e,overviews:{...e.overviews,error:o}};case qr.SET_DEPOSITS:return{...e,byId:{...e.byId,...(0,J.keyBy)(r,"id")},queries:{...e.queries,[a]:{data:(0,J.map)(r,"id")}}};case qr.SET_DEPOSITS_COUNT:return{...e,count:r};case qr.SET_ERROR_FOR_DEPOSIT_QUERY:return{...e,queries:{...e.queries,[a]:{error:o}}};case qr.SET_DEPOSITS_SUMMARY:return{...e,summary:{...e.summary,[a]:{data:r}}};case qr.SET_ERROR_FOR_DEPOSITS_SUMMARY:return{...e,summary:{...e.summary,[a]:{error:o}}};case qr.SET_INSTANT_DEPOSIT:return{...e,instant:{...e.instant,data:r}}}return e},transactions:function(){var e,t,n,r,o,a,i,s;let d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zo,{type:l,query:c={},data:u=[],error:p,status:m}=arguments.length>1?arguments[1]:void 0;const f=Xr(c);switch(l){case Zo.SET_TRANSACTIONS:return{...d,[f]:{data:u}};case Zo.SET_ERROR_FOR_TRANSACTIONS:return{...d,[f]:{error:p}};case Zo.SET_TRANSACTIONS_SUMMARY:return{...d,summary:{...d.summary,[f]:{data:u}}};case Zo.SET_ERROR_FOR_TRANSACTIONS_SUMMARY:return{...d,summary:{...d.summary,[f]:{error:p}}};case Zo.SET_FRAUD_OUTCOME_TRANSACTIONS:return{...d,fraudProtection:{...d.fraudProtection,[m]:{...(null===(e=d.fraudProtection)||void 0===e?void 0:e[m])||{},[f]:{data:u}}}};case Zo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS:return{...d,fraudProtection:{...d.fraudProtection,[m]:{...(null===(t=d.fraudProtection)||void 0===t?void 0:t[m])||{},[f]:{error:p}}}};case Zo.SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:return{...d,fraudProtection:{...d.fraudProtection,[m]:{...(null===(n=d.fraudProtection)||void 0===n?void 0:n[m])||{},summary:{...(null===(r=d.fraudProtection)||void 0===r||null===(o=r[m])||void 0===o?void 0:o.summary)||{},[f]:{data:u}}}}};case Zo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:return{...d,fraudProtection:{...d.fraudProtection,[m]:{...(null===(a=d.fraudProtection)||void 0===a?void 0:a[m])||{},summary:{...(null===(i=d.fraudProtection)||void 0===i||null===(s=i[m])||void 0===s?void 0:s.summary)||{},[f]:{error:p}}}}}}return d},charges:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case ba.SET_CHARGE:e={...e,[n]:{...e[n],data:r}};break;case ba.SET_ERROR_FOR_CHARGE:e={...e,[n]:{...e[n],error:o}}}return e},timeline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case ka.SET_TIMELINE:e={...e,[n]:{data:r}};break;case ka.SET_ERROR_FOR_TIMELINE:e={...e,[n]:{...e[n],error:o}}}return e},disputes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Da,{type:t,query:n={},data:r=[],id:o,error:a}=arguments.length>1?arguments[1]:void 0;const i=Xr(n);switch(t){case La.SET_DISPUTE:return{...e,byId:{...e.byId,[r.id]:r}};case La.SET_ERROR_FOR_DISPUTE:e={...e,byId:{...e.byId,[o]:{error:a}}};break;case La.SET_DISPUTES:return{...e,cached:{...e.cached,...(0,J.keyBy)(r,"dispute_id")},queries:{...e.queries,[i]:{data:(0,J.map)(r,"dispute_id")}}};case La.SET_DISPUTES_SUMMARY:return{...e,summary:{...e.summary,[i]:{data:r}}}}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ui,{type:t,...n}=arguments.length>1?arguments[1]:void 0;switch(t){case ci.SET_SETTINGS:return{...e,data:n.data};case ci.SET_SETTINGS_VALUES:return{...e,savingError:null,data:{...e.data,...n.payload}};case ci.SET_IS_SAVING_SETTINGS:return{...e,isSaving:n.isSaving,savingError:n.error};case ci.SET_SELECTED_PAYMENT_METHOD:return{...e,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.concat(n.id)}};case ci.SET_UNSELECTED_PAYMENT_METHOD:return{...e,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.filter((e=>e!==n.id))}}}return e},multiCurrency:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Td,{type:t,data:n=[]}=arguments.length>1?arguments[1]:void 0;switch(t){case xd.SET_CURRENCIES:return{...e,currencies:n,available:n.available,enabled:n.enabled,default:n.default};case xd.SET_AVAILABLE_CURRENCIES:return{...e,currencies:{...e,available:n.available},available:n.available};case xd.SET_ENABLED_CURRENCIES:return{...e,currencies:{...e,enabled:n.enabled},enabled:n.enabled};case xd.SET_DEFAULT_CURRENCY:return{...e,currencies:{...e,default:n.default},default:n.default};case xd.SET_CURRENCY_SETTINGS:return{...e,currency_settings:{...e.currency_settings,[n.code]:n.data}};case xd.SET_STORE_SETTINGS:return{...e,settings:{enable_auto_currency:n.wcpay_multi_currency_enable_auto_currency,enable_storefront_switcher:n.wcpay_multi_currency_enable_storefront_switcher,site_theme:n.site_theme,date_format:n.date_format,time_format:n.time_format,store_url:n.store_url}}}return e},readers:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case tl.SET_CARD_READER_STATS:e={...e,[n]:{...e[n],data:r}};break;case tl.SET_ERROR_FOR_CARD_READER_STATS:e={...e,[n]:{...e[n],error:o}};break;case tl.SET_READERS:e={...e,list:r}}return e},capital:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ml,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case pl.SET_ACTIVE_LOAN_SUMMARY:return Object.assign(Object.assign({},e),{summary:t.data,summaryError:void 0});case pl.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY:return Object.assign(Object.assign({},e),{summary:void 0,summaryError:t.error});case pl.SET_LOANS:return Object.assign(Object.assign({},e),{loans:t.data,loansError:void 0});case pl.SET_ERROR_FOR_LOANS:return Object.assign(Object.assign({},e),{loans:void 0,loansError:t.error})}return e},documents:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Al,{type:t,query:n={},data:r=[],error:o}=arguments.length>1?arguments[1]:void 0;const a=Xr(n);switch(t){case Cl.SET_DOCUMENTS:return{...e,[a]:{data:r}};case Cl.SET_ERROR_FOR_DOCUMENTS:return{...e,[a]:{error:o}};case Cl.SET_DOCUMENTS_SUMMARY:return{...e,summary:{...e.summary,[a]:{data:r}}};case Cl.SET_ERROR_FOR_DOCUMENTS_SUMMARY:return{...e,summary:{...e.summary,[a]:{error:o}}}}return e},paymentIntents:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jl,t=arguments.length>1?arguments[1]:void 0;const{type:n,id:r}=t;switch(n){case Za.SET_PAYMENT_INTENT:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{data:t.data})});case Za.SET_ERROR_FOR_PAYMENT_INTENT:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{error:t.error})});default:return e}},authorizations:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Gl.SET_AUTHORIZATION:{const{data:n}=t;return Object.assign(Object.assign({},e),{byId:Object.assign(Object.assign({},e.byId),{[n.payment_intent_id]:Object.assign(Object.assign({},e.byId[n.payment_intent_id]),n)})})}case Gl.SET_AUTHORIZATIONS:{const{data:n,query:r}=t;return Object.assign(Object.assign({},e),{[Xr(r)]:{data:n}})}case Gl.SET_ERROR_FOR_AUTHORIZATIONS:{const{error:n,query:r}=t;return Object.assign(Object.assign({},e),{[Xr(r)]:{error:n}})}case Gl.SET_AUTHORIZATIONS_SUMMARY:{const{data:n,query:r}=t;return Object.assign(Object.assign({},e),{summary:Object.assign(Object.assign({},e.summary),{[Xr(r)]:{data:n||{}}})})}case Gl.SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY:{const{query:n,error:r}=t;return Object.assign(Object.assign({},e),{summary:Object.assign(Object.assign({},e.summary),{[Xr(n)]:{error:r||""}})})}case Gl.SET_IS_REQUESTING_AUTHORIZATION:{const{data:n}=t;return Object.assign(Object.assign({},e),{isRequesting:n})}}return e},files:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fc,t=arguments.length>1?arguments[1]:void 0;const{type:n,id:r}=t;switch(n){case mc.SET_FILE:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{data:t.data})});case mc.SET_ERROR_FOR_FILES:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{error:t.error})});default:return e}}}),actions:{...t,...a,...d,...u,...y,..._,...w,...C,...T,...O,...f,...N,...F},controls:Wr.controls,selectors:{...e,...o,...s,...c,...m,...v,...b,...S,...x,...k,...P,...I,...D},resolvers:{...r,...i,...l,...p,...g,...$,...E,...A,...R,...M,...h,...L,...B}});const $c=()=>{const e=hd(),[t,n]=(()=>{const{updateIsDebugLogEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsDebugLogEnabled())),e]})();return(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h4",{tabIndex:"-1"},(0,Q.__)("Debug mode","woocommerce-payments")),(0,j.createElement)(Zr,{label:e?(0,Q.__)("Sandbox mode is active so logging is on by default.","woocommerce-payments"):(0,Q.__)("Log error messages","woocommerce-payments"),help:(0,Q.__)("When enabled, payment error logs will be saved to WooCommerce > Status > Logs.","woocommerce-payments"),disabled:e,checked:e||t,onChange:n}))};function bc(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function Ec(e,t){let n,r,o=[];for(let a=0;a<e.length;a++){const i=e[a];if("string"!==i.type){if(void 0===t[i.value])throw new Error(`Invalid interpolation, missing component node: \`${i.value}\``);if("object"!=typeof t[i.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${i.value}\``);if("componentClose"===i.type)throw new Error(`Missing opening component token: \`${i.value}\``);if("componentOpen"===i.type){n=t[i.value],r=a;break}o.push(t[i.value])}else o.push(i.value)}if(n){const a=function(e,t){const n=t[e];let r=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return o;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(r,e),i=Ec(e.slice(r+1,a),t),s=(0,H.cloneElement)(n,{},i);if(o.push(s),a<e.length-1){const n=Ec(e.slice(a+1),t);o=o.concat(n)}}return o=o.filter(Boolean),0===o.length?null:1===o.length?o[0]:(0,H.createElement)(H.Fragment,null,...o)}function Sc(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const o=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(bc)}(t);try{return Ec(o,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}const Cc=()=>{const[e,t]=(()=>{const{updateIsMultiCurrencyEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsMultiCurrencyEnabled())),e]})(),n=(0,j.useRef)(null);return(0,j.useEffect)((()=>{n.current&&n.current.focus()}),[]),(0,j.createElement)(Zr,{label:(0,Q.__)("Enable Multi-Currency","woocommerce-payments"),help:Sc({mixedString:(0,Q.__)("Allow customers to shop and pay in multiple currencies. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/currencies/multi-currency-setup/"})}}),checked:e,onChange:e=>{t(e)},"data-testid":"multi-currency-toggle"})},Ac=()=>{const[e,t,n]=(()=>{const{updateIsWCPaySubscriptionsEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsWCPaySubscriptionsEnabled())),(0,zr.useSelect)((e=>e(Yr).getIsWCPaySubscriptionsEligible())),e]})(),r=(0,j.useRef)(null);return(0,j.useEffect)((()=>{r.current&&r.current.focus()}),[]),!wcpaySettings.isSubscriptionsActive&&t?(0,j.createElement)(Zr,{label:(0,Q.sprintf)((0,Q.__)("Enable Subscriptions with %s","woocommerce-payments"),"WooPayments"),help:Sc({mixedString:(0,Q.sprintf)((0,Q.__)("Sell subscription products and services with %s. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{learnMoreLink:(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/subscriptions/"})}}),checked:e,onChange:e=>{n(e)}}):null},xc=an("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",tr.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",tr.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",tr.colorScrollbarThumbHover,";}}",""),Tc={name:"13udsys",styles:"height:100%"},Rc={name:"7zq9w",styles:"scroll-behavior:smooth"},kc={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},Oc={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},Mc={name:"umwchj",styles:"overflow-y:auto"},Pc=jt((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Bt(e,"Scrollable"),a=Dt();return{...o,className:(0,j.useMemo)((()=>a(Tc,xc,r&&Rc,"x"===n&&kc,"y"===n&&Oc,"auto"===n&&Mc,t)),[t,a,n,r])}}(e);return(0,j.createElement)(Qt,Y({},n,{ref:t}))}),"Scrollable"),Ic=jt((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...a}=Bt(e,"CardBody"),i=Dt();return{...a,className:(0,j.useMemo)((()=>i(lr,cr,yr[o],r&&gr,"components-card__body",t)),[t,i,r,o]),isScrollable:n}}(e);return n?(0,j.createElement)(Pc,Y({},r,{ref:t})):(0,j.createElement)(Qt,Y({},r,{ref:t}))}),"CardBody");const Nc=e=>{var{className:t}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className"]);return V().createElement(Ic,Object.assign({className:X()("wcpay-card-body",t)},n))},Lc=()=>{const[e,t]=(()=>{const{updateIsClientSecretEncryptionEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsClientSecretEncryptionEnabled())),e]})(),n=(0,j.useRef)(null);return(0,j.useEffect)((()=>{n.current&&n.current.focus()}),[]),(0,j.createElement)(Zr,{label:(0,Q.__)("Enable Public Key Encryption","woocommerce-payments"),help:(0,Q.__)("Encrypt the public keys used in the checkout form to harden your store against card testing attacks.","woocommerce-payments"),checked:e,onChange:e=>{t(e)}})},Dc=(0,H.createContext)({isStripeBillingEnabled:!1,savedIsStripeBillingEnabled:!1,isMigrationOptionShown:!1,isMigrationInProgressShown:!1,isMigrationInProgress:!1,hasSavedSettings:!1,subscriptionCount:0,migratedCount:0,startMigration:()=>null,isResolvingMigrateRequest:!1,hasResolvedMigrateRequest:!1}),Fc=window.wp.dom,Bc=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function Uc(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const a=o.getBoundingClientRect();return new r.DOMRect(e.left+a.left,e.top+a.top,e.width,e.height)}let jc=0;function Hc(e){const t=document.scrollingElement||document.body;e&&(jc=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=jc)}let Vc=0;function Gc(){return(0,j.useEffect)((()=>(0===Vc&&Hc(!0),++Vc,()=>{1===Vc&&Hc(!1),--Vc})),[]),null}const Zc=(0,j.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function zc(e){let{name:t,children:n,registerFill:r,unregisterFill:o}=e;const a=(e=>{const{getSlot:t,subscribe:n}=(0,j.useContext)(Zc),[r,o]=(0,j.useState)(t(e));return(0,j.useEffect)((()=>(o(t(e)),n((()=>{o(t(e))})))),[e]),r})(t),i=(0,j.useRef)({name:t,children:n});return(0,j.useLayoutEffect)((()=>(r(t,i.current),()=>o(t,i.current))),[]),(0,j.useLayoutEffect)((()=>{i.current.children=n,a&&a.forceUpdate()}),[n]),(0,j.useLayoutEffect)((()=>{t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node?((0,J.isFunction)(n)&&(n=n(a.props.fillProps)),(0,j.createPortal)(n,a.node)):null}const Wc=e=>(0,j.createElement)(Zc.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,j.createElement)(zc,Y({},e,{registerFill:n,unregisterFill:r}))}));class Kc extends j.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,o=(0,J.map)(r(t,this),(e=>{const t=(0,J.isFunction)(e.children)?e.children(n):e.children;return j.Children.map(t,((e,t)=>{if(!e||(0,J.isString)(e))return e;const n=e.key||t;return(0,j.cloneElement)(e,{key:n})}))})).filter((0,J.negate)(j.isEmptyElement));return(0,j.createElement)(j.Fragment,null,(0,J.isFunction)(e)?e(o):o)}}const Yc=e=>(0,j.createElement)(Zc.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:o}=t;return(0,j.createElement)(Kc,Y({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}));var qc=n(4155);const Xc=(0,j.createContext)({slots:{},fills:{},registerSlot:()=>{void 0!==qc&&qc.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Jc(e){const t=(0,j.useContext)(Xc),n=t.slots[e]||{},r=t.fills[e],o=(0,j.useMemo)((()=>r||[]),[r]);return{...n,updateSlot:(0,j.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,j.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,j.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,j.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}var Qc,eu=new Uint8Array(16);function tu(){if(!Qc&&!(Qc="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qc(eu)}const nu=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var ru=[],ou=0;ou<256;++ou)ru.push((ou+256).toString(16).substr(1));const au=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ru[e[t+0]]+ru[e[t+1]]+ru[e[t+2]]+ru[e[t+3]]+"-"+ru[e[t+4]]+ru[e[t+5]]+"-"+ru[e[t+6]]+ru[e[t+7]]+"-"+ru[e[t+8]]+ru[e[t+9]]+"-"+ru[e[t+10]]+ru[e[t+11]]+ru[e[t+12]]+ru[e[t+13]]+ru[e[t+14]]+ru[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&nu.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},iu=function(e,t,n){var r=(e=e||{}).random||(e.rng||tu)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return au(r)},su=new Set,du=ue()((e=>{let t=iu().replace(/[0-9]/g,"");for(;su.has(t);)t=iu().replace(/[0-9]/g,"");return su.add(t),mt({container:e,key:t})}));function lu(e){let{children:t,document:n}=e;if(!n)return null;const r=du(n.head);return(0,j.createElement)(Rt,{value:r},t)}function cu(){const[,e]=(0,j.useState)({}),t=(0,j.useRef)(!0);return(0,j.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function uu(e){let{name:t,children:n}=e;const r=Jc(t),o=(0,j.useRef)({rerender:cu()});if((0,j.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),!r.ref||!r.ref.current)return null;"function"==typeof n&&(n=n(r.fillProps));const a=(0,j.createElement)(lu,{document:r.ref.current.ownerDocument},n);return(0,j.createPortal)(a,r.ref.current)}const pu=(0,j.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:o="div",...a}=e;const i=(0,j.useContext)(Xc),s=(0,j.useRef)();return(0,j.useLayoutEffect)((()=>(i.registerSlot(n,s,r),()=>{i.unregisterSlot(n,s)})),[i.registerSlot,i.unregisterSlot,n]),(0,j.useLayoutEffect)((()=>{i.updateSlot(n,r)})),(0,j.createElement)(o,Y({ref:(0,Or.useMergeRefs)([t,s])},a))}));function mu(e){return(0,j.createElement)(j.Fragment,null,(0,j.createElement)(Wc,e),(0,j.createElement)(uu,e))}const fu=(0,j.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,j.createElement)(pu,Y({},r,{ref:t})):(0,j.createElement)(Yc,r)}));function hu(e){return"appear"===e?"top":"left"}const yu="Popover",gu=(0,j.createContext)();function vu(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:a}=function(e){return e.ownerDocument.defaultView.getComputedStyle(e)}(t),i=n?parseInt(n,10):0,s=r?parseInt(r,10):0,d=o?parseInt(o,10):0,l=a?parseInt(a,10):0;return{x:e.left+d,y:e.top+i,width:e.width-d-l,height:e.height-i-s,left:e.left+d,right:e.right-l,top:e.top+i,bottom:e.bottom-s}}function _u(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function $u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function bu(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const wu=(0,j.forwardRef)(((e,t)=>{let{headerTitle:n,onClose:r,children:o,className:a,noArrow:i=!0,isAlternate:s,position:d="bottom right",range:l,focusOnMount:c="firstElement",anchorRef:u,shouldAnchorIncludePadding:p,anchorRect:m,getAnchorRect:f,expandOnMobile:h,animate:y=!0,onFocusOutside:g,__unstableStickyBoundaryElement:v,__unstableSlotName:_=yu,__unstableObserveElement:$,__unstableBoundaryParent:b,__unstableForcePosition:w,__unstableForceXAlignment:E,__unstableEditorCanvasWrapper:S,...C}=e;const A=(0,j.useRef)(null),x=(0,j.useRef)(null),T=(0,j.useRef)(),R=(0,Or.useViewportMatch)("medium","<"),[k,O]=(0,j.useState)(),M=(0,j.useContext)(gu)||_,P=Jc(M),I=h&&R,[N,L]=(0,Or.useResizeObserver)();i=I||i,(0,j.useLayoutEffect)((()=>{if(I)return bu(T.current,"is-without-arrow",i),bu(T.current,"is-alternate",s),_u(T.current,"data-x-axis"),_u(T.current,"data-y-axis"),$u(T.current,"top"),$u(T.current,"left"),$u(x.current,"maxHeight"),void $u(x.current,"maxWidth");const e=()=>{if(!T.current||!x.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return Uc(t,t.ownerDocument||e.current.ownerDocument,a)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return Uc((0,Fc.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=Uc(r.getBoundingClientRect(),r.ownerDocument,a);return o?e:vu(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),s=Uc(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,a);return o?s:vu(s,r)}if(!e.current)return;const{parentNode:i}=e.current,s=Uc(i.getBoundingClientRect(),i.ownerDocument,a);return o?s:vu(s,i)}(A,m,f,u,p,T.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=T.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}b&&(r=T.current.parentElement);const a=L.height?L:x.current.getBoundingClientRect(),{popoverTop:l,popoverLeft:c,xAxis:h,yAxis:y,contentHeight:g,contentWidth:_}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,i=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0;const[l,c="center",u]=n.split(" "),p=function(e,t,n,r,o,a,i,s,d){const{height:l}=t;if(o){const t=o.getBoundingClientRect(),r=t.top+l-i,a=t.bottom-l-i;if(e.top<=r)return!d||l+10<d.scrollTop+e.top?{yAxis:n,popoverTop:Math.min(e.bottom,r)}:{yAxis:"bottom",popoverTop:Math.min(e.bottom,a)}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const u={popoverTop:c,contentHeight:(c-l/2>0?l/2:c)+(c+l/2>window.innerHeight?window.innerHeight-c:l/2)},p={popoverTop:e.top,contentHeight:e.top-10-l>0?l:e.top-10},m={popoverTop:e.bottom,contentHeight:e.bottom+10+l>window.innerHeight?window.innerHeight-10-e.bottom:l};let f,h=n,y=null;if(!o&&!s)if("middle"===n&&u.contentHeight===l)h="middle";else if("top"===n&&p.contentHeight===l)h="top";else if("bottom"===n&&m.contentHeight===l)h="bottom";else{h=p.contentHeight>m.contentHeight?"top":"bottom";const e="top"===h?p.contentHeight:m.contentHeight;y=e!==l?e:null}return f="middle"===h?u.popoverTop:"top"===h?p.popoverTop:m.popoverTop,{yAxis:h,popoverTop:f,contentHeight:y}}(e,t,l,u,r,0,o,i,d),m=function(e,t,n,r,o,a,i,s,d){const{width:l}=t;"left"===n&&(0,Q.isRTL)()?n="right":"right"===n&&(0,Q.isRTL)()&&(n="left"),"left"===r&&(0,Q.isRTL)()?r="right":"right"===r&&(0,Q.isRTL)()&&(r="left");const c=Math.round(e.left+e.width/2),u={popoverLeft:c,contentWidth:(c-l/2>0?l/2:c)+(c+l/2>window.innerWidth?window.innerWidth-c:l/2)};let p=e.left;"right"===r?p=e.right:"middle"===a||d||(p=c);let m=e.right;"left"===r?m=e.left:"middle"===a||d||(m=c);const f={popoverLeft:p,contentWidth:p-l>0?l:p},h={popoverLeft:m,contentWidth:m+l>window.innerWidth?window.innerWidth-m:l};let y,g=n,v=null;if(!o&&!s)if("center"===n&&u.contentWidth===l)g="center";else if("left"===n&&f.contentWidth===l)g="left";else if("right"===n&&h.contentWidth===l)g="right";else{g=f.contentWidth>h.contentWidth?"left":"right";const e="left"===g?f.contentWidth:h.contentWidth;l>window.innerWidth&&(v=window.innerWidth),e!==l&&(g="center",u.popoverLeft=window.innerWidth/2)}return y="center"===g?u.popoverLeft:"left"===g?f.popoverLeft:h.popoverLeft,i&&(y=Math.min(y,i.offsetLeft+i.offsetWidth-l),(0,Q.isRTL)()||(y=Math.max(y,0))),{xAxis:g,popoverLeft:y,contentWidth:v}}(e,t,c,u,r,p.yAxis,a,i,s);return{...m,...p}}(e,a,d,v,T.current,o,r,w,E,S);"number"==typeof l&&"number"==typeof c&&($u(T.current,"top",l+"px"),$u(T.current,"left",c+"px")),bu(T.current,"is-without-arrow",i||"center"===h&&"middle"===y),bu(T.current,"is-alternate",s),_u(T.current,"data-x-axis",h),_u(T.current,"data-y-axis",y),$u(x.current,"maxHeight","number"==typeof g?g+"px":""),$u(x.current,"maxWidth","number"==typeof _?_+"px":""),O(({left:"right",right:"left"}[h]||"center")+" "+({top:"bottom",bottom:"top"}[y]||"middle"))};e();const{ownerDocument:t}=T.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const a=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",a),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const l=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(u);let c;return l&&l!==t&&(l.defaultView.addEventListener("resize",e),l.defaultView.addEventListener("scroll",e,!0)),$&&(c=new n.MutationObserver(e),c.observe($,{attributes:!0})),()=>{var i,s;n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(o),l&&l!==t&&(null===(i=l.defaultView)||void 0===i||i.removeEventListener("resize",e),null===(s=l.defaultView)||void 0===s||s.removeEventListener("scroll",e,!0)),c&&c.disconnect()}}),[I,m,f,u,p,d,L,v,$,b]);const D=(e,t)=>{"focus-outside"===e&&g?g(t):r&&r()},[F,B]=(0,Or.__experimentalUseDialog)({focusOnMount:c,__unstableOnClose:D,onClose:D}),U=(0,Or.useMergeRefs)([T,F,t]),H=Boolean(y&&k)&&function(e){if("loading"===e.type)return X()("components-animate__loading");const{type:t,origin:n=hu(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return X()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?X()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:k});let V=(0,j.createElement)("div",Y({className:X()("components-popover",a,H,{"is-expanded":I,"is-without-arrow":i,"is-alternate":s})},C,{ref:U},B,{tabIndex:"-1"}),I&&(0,j.createElement)(Gc,null),I&&(0,j.createElement)("div",{className:"components-popover__header"},(0,j.createElement)("span",{className:"components-popover__header-title"},n),(0,j.createElement)(Iu,{className:"components-popover__close",icon:Bc,onClick:r})),(0,j.createElement)("div",{ref:x,className:"components-popover__content"},(0,j.createElement)("div",{style:{position:"relative"}},N,o)));return P.ref&&(V=(0,j.createElement)(mu,{name:M},V)),u||m?V:(0,j.createElement)("span",{ref:A},V)}));wu.Slot=(0,j.forwardRef)((function(e,t){let{name:n=yu}=e;return(0,j.createElement)(fu,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),wu.__unstableSlotNameProvider=gu.Provider;const Eu=wu,Su=function(e){let t,n,{shortcut:r,className:o}=e;return r?((0,J.isString)(r)&&(t=r),(0,J.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,j.createElement)("span",{className:o,"aria-label":n},t)):null},Cu=700,Au=(0,j.createElement)("div",{className:"event-catcher"}),xu=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r}=e;return(0,j.cloneElement)((0,j.createElement)("span",{className:"disabled-element-wrapper"},(0,j.cloneElement)(Au,t),(0,j.cloneElement)(n,{children:r})),t)},Tu=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r}=e;return(0,j.cloneElement)(t,{...n,children:r})},Ru=(e,t,n)=>{if(1!==j.Children.count(e))return;const r=j.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)},ku=function(e){const{children:t,position:n,text:r,shortcut:o,delay:a=Cu}=e,[i,s]=(0,j.useState)(!1),[d,l]=(0,j.useState)(!1),c=(0,Or.useDebounce)(l,a),u=e=>{Ru(t,"onMouseDown",e),document.addEventListener("mouseup",f),s(!0)},p=e=>{Ru(t,"onMouseUp",e),document.removeEventListener("mouseup",f),s(!1)},m=e=>"mouseUp"===e?p:"mouseDown"===e?u:void 0,f=m("mouseUp"),h=(e,n)=>r=>{if(Ru(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&i)return;c.cancel();const o=(0,J.includes)(["focus","mouseenter"],r.type);o!==d&&(n?c(o):l(o))},y=()=>{c.cancel(),document.removeEventListener("mouseup",f)};if((0,j.useEffect)((()=>y),[]),1!==j.Children.count(t))return t;const g={onMouseEnter:h("onMouseEnter",!0),onMouseLeave:h("onMouseLeave"),onClick:h("onClick"),onFocus:h("onFocus"),onBlur:h("onBlur"),onMouseDown:m("mouseDown")},v=j.Children.only(t),{children:_,disabled:$}=v.props,b=$?xu:Tu,w=(e=>{let{grandchildren:t,isOver:n,position:r,text:o,shortcut:a}=e;return(0,j.concatChildren)(t,n&&(0,j.createElement)(Eu,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,j.createElement)(Su,{className:"components-tooltip__shortcut",shortcut:a})))})({grandchildren:_,isOver:d,position:n,text:r,shortcut:o});return b({child:v,eventHandlers:g,childrenWithPopover:w})},Ou=function(e){let{icon:t,className:n,...r}=e;const o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,j.createElement)("span",Y({className:o},r))},Mu=function(e){let{icon:t=null,size:n=24,...r}=e;if("string"==typeof t)return(0,j.createElement)(Ou,Y({icon:t},r));if((0,j.isValidElement)(t)&&Ou===t.type)return(0,j.cloneElement)(t,{...r});if("function"==typeof t)return t.prototype instanceof j.Component?(0,j.createElement)(t,{size:n,...r}):t({size:n,...r});if(t&&("svg"===t.type||t.type===ee.SVG)){const e={width:n,height:n,...t.props,...r};return(0,j.createElement)(ee.SVG,e)}return(0,j.isValidElement)(t)?(0,j.cloneElement)(t,{size:n,...r}):t},Pu=["onMouseDown","onClick"],Iu=(0,j.forwardRef)((function e(t,n){const{href:r,target:o,isSmall:a,isPressed:i,isBusy:s,isDestructive:d,className:l,disabled:c,icon:u,iconPosition:p="left",iconSize:m,showTooltip:f,tooltipPosition:h,shortcut:y,label:g,children:v,text:_,variant:$,__experimentalIsFocusable:b,describedBy:w,...E}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:a,variant:i,...s}=e,d=i;var l,c,u,p,m;return n&&(null!==(l=d)&&void 0!==l||(d="primary")),o&&(null!==(c=d)&&void 0!==c||(d="tertiary")),r&&(null!==(u=d)&&void 0!==u||(d="secondary")),t&&(_r()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(p=d)&&void 0!==p||(d="secondary")),a&&(null!==(m=d)&&void 0!==m||(d="link")),{...s,variant:d}}(t),S=(0,Or.useInstanceId)(e,"components-button__description"),C=X()("components-button",l,{"is-secondary":"secondary"===$,"is-primary":"primary"===$,"is-small":a,"is-tertiary":"tertiary"===$,"is-pressed":i,"is-busy":s,"is-link":"link"===$,"is-destructive":d,"has-text":!!u&&!!v,"has-icon":!!u}),A=c&&!b,x=void 0===r||A?"button":"a",T="a"===x?{href:r,target:o}:{type:"button",disabled:A,"aria-pressed":i};if(c&&b){T["aria-disabled"]=!0;for(const e of Pu)E[e]=e=>{e.stopPropagation(),e.preventDefault()}}const R=!A&&(f&&g||y||!!g&&(!v||(0,J.isArray)(v)&&!v.length)&&!1!==f),k=w?S:null,O=E["aria-describedby"]||k,M=(0,j.createElement)(x,Y({},T,E,{className:C,"aria-label":E["aria-label"]||g,"aria-describedby":O,ref:n}),u&&"left"===p&&(0,j.createElement)(Mu,{icon:u,size:m}),_&&(0,j.createElement)(j.Fragment,null,_),u&&"right"===p&&(0,j.createElement)(Mu,{icon:u,size:m}),v);return R?(0,j.createElement)(j.Fragment,null,(0,j.createElement)(ku,{text:w||g,shortcut:y,position:h},M),w&&(0,j.createElement)(en,null,(0,j.createElement)("span",{id:k},w))):(0,j.createElement)(j.Fragment,null,M,w&&(0,j.createElement)(en,null,(0,j.createElement)("span",{id:k},w)))})),Nu=window.wp.a11y;function Lu(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}const Du=function(e){let{className:t,status:n="info",children:r,spokenMessage:o=r,onRemove:a=J.noop,isDismissible:i=!0,actions:s=[],politeness:d=Lu(n),__unstableHTML:l,onDismiss:c=J.noop}=e;!function(e,t){const n="string"==typeof e?e:(0,j.renderToString)(e);(0,j.useEffect)((()=>{n&&(0,Nu.speak)(n,t)}),[n,t])}(o,d);const u=X()(t,"components-notice","is-"+n,{"is-dismissible":i});return l&&(r=(0,j.createElement)(j.RawHTML,null,r)),(0,j.createElement)("div",{className:u},(0,j.createElement)("div",{className:"components-notice__content"},r,(0,j.createElement)("div",{className:"components-notice__actions"},s.map(((e,t)=>{let{className:n,label:r,isPrimary:o,variant:a,noDefaultClasses:i=!1,onClick:s,url:d}=e,l=a;return"primary"===a||i||(l=d?"link":"secondary"),void 0===l&&o&&(l="primary"),(0,j.createElement)(Iu,{key:t,href:d,variant:l,onClick:d?void 0:s,className:X()("components-notice__action",n)},r)})))),i&&(0,j.createElement)(Iu,{className:"components-notice__dismiss",icon:Bc,label:(0,Q.__)("Dismiss this notice"),onClick:e=>{var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),c(),a()},showTooltip:!1}))},Fu=["40em","52em","64em"],Bu={name:"zjik7",styles:"display:flex"},Uu={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},ju={name:"82a6rk",styles:"flex:1"},Hu={name:"13nosa1",styles:">*{min-height:0;}"},Vu={name:"1pwxzk4",styles:">*{min-width:0;}"},Gu=new RegExp(/-left/g),Zu=new RegExp(/-right/g),zu=new RegExp(/Left/g),Wu=new RegExp(/Right/g),Ku=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,J.mapKeys)(e,((e,t)=>function(e){return"left"===e?"right":"right"===e?"left":Gu.test(e)?e.replace(Gu,"-right"):Zu.test(e)?e.replace(Zu,"-left"):zu.test(e)?e.replace(zu,"Right"):Wu.test(e)?e.replace(Wu,"Left"):e}(t)))};function Yu(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?(0,Q.isRTL)()?an(t,""):an(e,""):(0,Q.isRTL)()?an(Ku(e),""):an(e,"")}function qu(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:a=2,justify:i="space-between",wrap:s=!1,...d}=Bt(function(e){let{isReversed:t,...n}=e;return void 0!==t?(_r()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),l=function(e){const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>Fu.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Fu.length} breakpoints, got index ${t}`);const[n,r]=(0,j.useState)(t);return(0,j.useEffect)((()=>{const e=()=>{const e=Fu.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&r(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});if(!Array.isArray(e)&&"function"!=typeof e)return e;const n=e||[];return n[t>=n.length?n.length-1:t]}(Array.isArray(r)?r:[r]),c="string"==typeof l&&!!l.includes("column"),u="string"==typeof l&&l.includes("reverse"),p=Dt();return{...d,className:(0,j.useMemo)((()=>{const e={};return e.Base=an({alignItems:c?"normal":t,flexDirection:l,flexWrap:s?"wrap":void 0,justifyContent:i,height:c&&o?"100%":void 0,width:!c&&o?"100%":void 0,marginBottom:s?`calc(${ln(a)} * -1)`:void 0},"",""),e.Items=an(">*+*:not( marquee ){margin-top:",c?ln(a):void 0,";",Yu({marginLeft:c||u?void 0:ln(a),marginRight:!c&&u?ln(a):void 0})(),";}",""),e.WrapItems=an(">*:not( marquee ){margin-bottom:",ln(a),";",Yu({marginLeft:!c&&u?ln(a):void 0,marginRight:c||u?void 0:ln(a)})(),";}>*:last-child:not( marquee ){",Yu({marginLeft:!c&&u?0:void 0,marginRight:c||u?void 0:0})(),";}",""),p(Bu,e.Base,s?e.WrapItems:e.Items,c?Hu:Vu,n)}),[t,n,p,l,o,a,c,u,i,s,Yu.watch()]),isColumn:c}}Yu.watch=()=>(0,Q.isRTL)();const Xu=(0,j.createContext)({flexItemDisplay:void 0}),Ju=jt((function(e,t){const{children:n,isColumn:r,...o}=qu(e);return(0,j.createElement)(Xu.Provider,{value:{flexItemDisplay:r?"block":void 0}},(0,j.createElement)(Qt,Y({},o,{ref:t}),n))}),"Flex"),Qu=jt((function(e,t){const n=function(e){const{className:t,display:n,isBlock:r=!1,...o}=Bt(e,"FlexItem"),a={},i=(0,j.useContext)(Xu).flexItemDisplay;return a.Base=an({display:n||i},"",""),{...o,className:Dt()(Uu,a.Base,r&&ju,t)}}(e);return(0,j.createElement)(Qt,Y({},n,{ref:t}))}),"FlexItem");var ep=n(457),tp=n(5683),np=n(7132);const rp=function(e){const{icon:t,actions:n,children:r}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["icon","actions","children"]);o.className=X()("wcpay-inline-notice",`wcpay-inline-${o.status}-notice`,o.className);let a=t;if(!0===a)switch(o.status){case"success":a=H.createElement(ep.Z,null);break;case"error":case"warning":a=H.createElement(tp.Z,null);break;default:a=H.createElement(np.Z,null)}const i="wcpay-inline-notice__action",s=null==n?void 0:n.map(((e,t)=>{var n,r;return"url"in e?H.createElement("a",{key:t,className:i,href:e.url},e.label):H.createElement(Iu,{key:t,className:i,onClick:e.onClick,isBusy:null!==(n=e.isBusy)&&void 0!==n&&n,disabled:null!==(r=e.disabled)&&void 0!==r&&r},e.label)}));return H.createElement(Du,Object.assign({},o),H.createElement(Ju,{align:"center",justify:"flex-start"},a&&H.createElement(Qu,{className:`wcpay-inline-notice__icon wcpay-inline-${o.status}-notice__icon`},H.createElement(Mu,{icon:a,size:24})),H.createElement(Qu,{className:`wcpay-inline-notice__content wcpay-inline-${o.status}-notice__content`},r,s&&H.createElement(Ju,{className:"wcpay-inline-notice__content__actions",align:"baseline",justify:"flex-start",gap:4},s))))},op=e=>{let{stripeBillingSubscriptionCount:t}=e;const[n,r]=(0,H.useState)(!1),o=(0,H.useContext)(Dc),[a,i]=(0,H.useState)(o.isMigrationInProgress);return(0,H.useEffect)((()=>{o.hasResolvedMigrateRequest&&i(!0)}),[o.hasResolvedMigrateRequest]),(0,H.useEffect)((()=>{o.hasSavedSettings&&i(!o.savedIsStripeBillingEnabled)}),[o.hasSavedSettings,o.savedIsStripeBillingEnabled]),a?n||0===o.subscriptionCount||o.isMigrationOptionShown?null:(o.isMigrationInProgressShown=!0,V().createElement(rp,{status:"info",isDismissible:!0,onRemove:()=>r(!0),className:"woopayments-stripe-billing-notice"},(0,Q.sprintf)((0,Q._n)("%d customer subscription is being migrated from Stripe off-site billing to billing powered by %s and %s.","%d customer subscriptions are being migrated from Stripe off-site billing to billing powered by %s and %s.",t,"woocommerce-payments"),t,"Woo Subscriptions","WooPayments"))):null},ap=e=>{let{stripeBillingSubscriptionCount:t,startMigration:n,isLoading:r,hasResolved:o}=e;const a=(0,H.useContext)(Dc),[i,s]=(0,H.useState)(!a.isStripeBillingEnabled),d="woopayments-migrate-stripe-billing-action";return(0,j.useEffect)((()=>{const e=document.querySelector(`.${d} .wcpay-inline-notice__action`);e&&(r?e.classList.add("is-busy"):e.classList.remove("is-busy"))}),[r]),(0,j.useEffect)((()=>{a.savedIsStripeBillingEnabled&&s(!1)}),[a.savedIsStripeBillingEnabled]),o?(a.isMigrationInProgress=!0,a.isMigrationOptionShown=!1,null):a.isMigrationInProgress||0===t?null:i?a.isStripeBillingEnabled?null:(a.isMigrationOptionShown=!0,V().createElement(rp,{status:"warning",isDismissible:!1,className:`woopayments-stripe-billing-notice ${d}`,actions:[{label:(0,Q.__)("Begin migration","woocommerce-payments"),onClick:n}]},Sc({mixedString:(0,Q.sprintf)((0,Q._n)("There is %d customer subscription using Stripe Billing for subscription renewals. We suggest migrating it to on-site billing powered by the %s plugin. {{learnMoreLink}}Learn more{{/learnMoreLink}}","There are %d customer subscriptions using Stripe Billing for payment processing. We suggest migrating them to on-site billing powered by the %s plugin. {{learnMoreLink}}Learn more{{/learnMoreLink}}",t,"woocommerce-payments"),t,"Woo Subscriptions"),components:{learnMoreLink:V().createElement(rn,{href:"https://woo.com/document/woopayments/subscriptions/comparison/#migrating-subscribers"})}}))):null},ip=e=>{let{stripeBillingSubscriptionCount:t}=e;const n=(0,H.useContext)(Dc),[r,o]=(0,H.useState)(n.isStripeBillingEnabled);return(0,H.useEffect)((()=>{n.hasSavedSettings&&o(n.savedIsStripeBillingEnabled)}),[n.hasSavedSettings,n.savedIsStripeBillingEnabled]),r?n.isMigrationOptionShown||0===t||n.isStripeBillingEnabled?null:V().createElement(rp,{status:"warning",isDismissible:!1,className:"woopayments-stripe-billing-notice"},Sc({mixedString:(0,Q.sprintf)((0,Q._n)("There is currently %d customer subscription using Stripe Billing for payment processing. This subscription will be automatically migrated to use the on-site billing engine built into %s once Stripe Billing is disabled. {{learnMoreLink}}Learn more{{/learnMoreLink}}","There are currently %d customer subscriptions using Stripe Billing for payment processing. These subscriptions will be automatically migrated to use the on-site billing engine built into %s once Stripe Billing is disabled. {{learnMoreLink}}Learn more{{/learnMoreLink}}",t,"woocommerce-payments"),t,"Woo Subscriptions"),components:{learnMoreLink:V().createElement(rn,{href:"https://woo.com/document/woopayments/subscriptions/stripe-billing/#disabling"})}})):null},sp=e=>{let{completedMigrationCount:t}=e;const[n,r]=(0,H.useState)(!1),o=(0,H.useContext)(Dc),[a]=(0,H.useState)(!o.isStripeBillingEnabled&&!o.isMigrationInProgress);return!a||n||0===t?null:V().createElement(rp,{status:"info",isDismissible:!0,onRemove:()=>r(!0),className:"woopayments-stripe-billing-notice"},(0,Q.sprintf)((0,Q._n)("%d customer subscription was successfully migrated from Stripe off-site billing to on-site billing powered by %s and %s.","%d customer subscriptions were successfully migrated from Stripe off-site billing to on-site billing powered by %s and %s.",t,"woocommerce-payments"),t,"Woo Subscriptions","WooPayments"))},dp=()=>{const e=(0,H.useContext)(Dc);return V().createElement(V().Fragment,null,V().createElement(sp,{completedMigrationCount:e.migratedCount}),V().createElement(ap,{stripeBillingSubscriptionCount:e.subscriptionCount,startMigration:()=>{e.startMigration()},isLoading:e.isResolvingMigrateRequest,hasResolved:e.hasResolvedMigrateRequest}),V().createElement(ip,{stripeBillingSubscriptionCount:e.subscriptionCount}),V().createElement(op,{stripeBillingSubscriptionCount:e.subscriptionCount}))},lp=e=>{let{onChange:t}=e;const n=(0,H.useContext)(Dc);return V().createElement(Zr,{checked:n.isStripeBillingEnabled,onChange:t,label:(0,Q.__)("Enable Stripe Billing for future subscriptions","woocommerce-payments"),help:Sc({mixedString:(0,Q.sprintf)(n.isMigrationOptionShown&&0===n.migratedCount?(0,Q.__)("Alternatively, you can enable this setting and future %s subscription purchases will also utilize Stripe Billing for payment processing. Note: This feature supports card payments only and may lack support for key subscription features. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"):(0,Q.__)("By enabling this setting, future %s subscription purchases will utilize Stripe Billing for payment processing. Note: This feature supports card payments only and may lack support for key subscription features. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{learnMoreLink:V().createElement(rn,{href:"https://woo.com/document/woopayments/subscriptions/stripe-billing/"})}})})},cp=()=>{const[e,t]=(()=>{const{updateIsStripeBillingEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsStripeBillingEnabled())),e]})(),[n,r,o,a,i,s]=(()=>{const{submitStripeBillingSubscriptionMigration:e}=(0,zr.useDispatch)(Yr);return(0,zr.useSelect)((t=>{const{getStripeBillingSubscriptionCount:n}=t(Yr),{getIsStripeBillingMigrationInProgress:r}=t(Yr),{isResolving:o}=t(Yr),a=t(Yr).hasFinishedResolution("scheduleStripeBillingMigration"),{getStripeBillingMigratedCount:i}=t(Yr);return[r(),i(),n(),e,o("scheduleStripeBillingMigration"),a]}),[])})(),{isLoading:d,isSaving:l}=_d(),[c,u]=(0,H.useState)(!1),[p,m]=(0,H.useState)(e),f=!l&&c;(0,H.useEffect)((()=>{l&&!d&&u(!0)}),[d,l]),(0,H.useEffect)((()=>{f&&m(e)}),[f,e]);const[h]=(0,H.useState)(!1),[y]=(0,H.useState)(!1),g={isStripeBillingEnabled:e,savedIsStripeBillingEnabled:p,isMigrationOptionShown:y,isMigrationInProgressShown:h,isMigrationInProgress:n,hasSavedSettings:f,subscriptionCount:o,migratedCount:r,startMigration:a,isResolvingMigrateRequest:i,hasResolvedMigrateRequest:s};return V().createElement(Dc.Provider,{value:g},V().createElement("h4",null,(0,Q.__)("Subscriptions","woocommerce-payments")),V().createElement(dp,null),V().createElement(lp,{onChange:e=>{t(e),u(!1)}}))},up=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)(kr,null,(0,j.createElement)(Nc,null,(0,j.createElement)(Cc,null),wcpaySettings.isClientEncryptionEligible&&(0,j.createElement)(Lc,null),wcpaySettings.isSubscriptionsActive&&wcpaySettings.isStripeBillingEligible?(0,j.createElement)(cp,null):(0,j.createElement)(Ac,null),(0,j.createElement)($c,null)))),pp=window.wp.keycodes,mp=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"}));function fp(e){var t;const{renderContent:n,renderToggle:r,position:o="bottom right",className:a,contentClassName:i,expandOnMobile:s,headerTitle:d,focusOnMount:l,popoverProps:c,onClose:u,onToggle:p}=e,m=(0,j.useRef)(),[f,h]=function(e,t){const[n,r]=(0,j.useState)(!1);return[n,e=>{r(e),t&&t(e)}]}(0,p);function y(){u&&u(),h(!1)}(0,j.useEffect)((()=>()=>{p&&p(!1)}),[]);const g={isOpen:f,onToggle:function(){h(!f)},onClose:y};return(0,j.createElement)("div",{className:X()("components-dropdown",a),ref:m,tabIndex:"-1"},r(g),f&&(0,j.createElement)(Eu,Y({position:o,onClose:y,onFocusOutside:function(){const{ownerDocument:e}=m.current,t=e.activeElement.closest('[role="dialog"]');m.current.contains(e.activeElement)||t&&!t.contains(m.current)||y()},expandOnMobile:s,headerTitle:d,focusOnMount:l},c,{anchorRef:null!==(t=null==c?void 0:c.anchorRef)&&void 0!==t?t:m.current,className:X()("components-dropdown__content",c?c.className:void 0,i)}),n(g)))}const hp=["menuitem","menuitemradio","menuitemcheckbox"];class yp extends j.Component{constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.bindContainer=this.bindContainer.bind(this),this.getFocusableContext=this.getFocusableContext.bind(this),this.getFocusableIndex=this.getFocusableIndex.bind(this)}componentDidMount(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}componentWillUnmount(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}bindContainer(e){const{forwardedRef:t}=this.props;this.container=e,(0,J.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?Fc.focus.tabbable:Fc.focus.focusable).find(this.container),r=this.getFocusableIndex(n,e);return r>-1&&e?{index:r,target:e,focusables:n}:null}getFocusableIndex(e,t){const n=e.indexOf(t);if(-1!==n)return n}onKeyDown(e){this.props.onKeyDown&&this.props.onKeyDown(e);const{getFocusableContext:t}=this,{cycle:n=!0,eventToOffset:r,onNavigate:o=J.noop,stopNavigationEvents:a}=this.props,i=r(e);if(void 0!==i&&a){e.stopImmediatePropagation();const t=e.target.getAttribute("role");hp.includes(t)&&e.preventDefault()}if(!i)return;const s=t(e.target.ownerDocument.activeElement);if(!s)return;const{index:d,focusables:l}=s,c=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(d,l.length,i):d+i;c>=0&&c<l.length&&(l[c].focus(),o(c,l[c]))}render(){const{children:e,...t}=this.props;return(0,j.createElement)("div",Y({ref:this.bindContainer},(0,J.omit)(t,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),e)}}const gp=(e,t)=>(0,j.createElement)(yp,Y({},e,{forwardedRef:t}));gp.displayName="NavigableContainer";const vp=(0,j.forwardRef)(gp),_p=(0,j.forwardRef)((function(e,t){let{role:n="menu",orientation:r="vertical",...o}=e;return(0,j.createElement)(vp,Y({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:n,"aria-orientation":"presentation"===n?null:r,eventToOffset:e=>{const{keyCode:t}=e;let n=[pp.DOWN],o=[pp.UP];return"horizontal"===r&&(n=[pp.RIGHT],o=[pp.LEFT]),"both"===r&&(n=[pp.RIGHT,pp.DOWN],o=[pp.LEFT,pp.UP]),(0,J.includes)(n,t)?1:(0,J.includes)(o,t)?-1:(0,J.includes)([pp.DOWN,pp.UP,pp.LEFT,pp.RIGHT],t)?0:void 0}},o))}));function $p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,...t};return t.className&&e.className&&(n.className=X()(t.className,e.className)),n}const bp=function(e){const{children:t,className:n,controls:r,icon:o=mp,label:a,popoverProps:i,toggleProps:s,menuProps:d,disableOpenOnArrowDown:l=!1,text:c,noIcons:u}=e;if((0,J.isEmpty)(r)&&!(0,J.isFunction)(t))return null;let p;(0,J.isEmpty)(r)||(p=r,Array.isArray(p[0])||(p=[p]));const m=$p({className:"components-dropdown-menu__popover"},i);return(0,j.createElement)(fp,{className:X()("components-dropdown-menu",n),popoverProps:m,renderToggle:e=>{var t;let{isOpen:n,onToggle:r}=e;const i=$p({className:X()("components-dropdown-menu__toggle",{"is-opened":n})},s);return(0,j.createElement)(Iu,Y({},i,{icon:o,onClick:e=>{r(e),i.onClick&&i.onClick(e)},onKeyDown:e=>{(e=>{l||n||e.keyCode!==pp.DOWN||(e.preventDefault(),r())})(e),i.onKeyDown&&i.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:a,text:c,showTooltip:null===(t=null==s?void 0:s.showTooltip)||void 0===t||t}),i.children)},renderContent:e=>{const n=$p({"aria-label":a,className:X()("components-dropdown-menu__menu",{"no-icons":u})},d);return(0,j.createElement)(_p,Y({},n,{role:"menu"}),(0,J.isFunction)(t)?t(e):null,(0,J.flatMap)(p,((t,n)=>t.map(((t,r)=>(0,j.createElement)(Iu,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:X()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive,"is-icon-only":!t.title}),icon:t.icon,label:t.label,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title))))))}})},Ep=jt((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...a}=Bt(e,"CardHeader"),i=Dt();return{...a,className:(0,j.useMemo)((()=>i(sr,cr,ur,yr[o],n&&mr,r&&gr,"components-card__header",t)),[t,i,n,r,o])}}(e);return(0,j.createElement)(Ju,Y({},n,{ref:t}))}),"CardHeader"),Sp=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));var Cp;!function(e){e.AFFIRM="affirm",e.AFTERPAY_CLEARPAY="afterpay_clearpay",e.AU_BECS_DEBIT="au_becs_debit",e.BANCONTACT="bancontact",e.CARD="card",e.CARD_PRESENT="card_present",e.EPS="eps",e.KLARNA="klarna",e.GIROPAY="giropay",e.IDEAL="ideal",e.LINK="link",e.P24="p24",e.SEPA_DEBIT="sepa_debit",e.SOFORT="sofort"}(Cp||(Cp={})),(0,Q.__)("ACH Credit Transfer","woocommerce-payments"),(0,Q.__)("ACH Debit","woocommerce-payments"),(0,Q.__)("ACSS Debit","woocommerce-payments"),(0,Q.__)("Affirm","woocommerce-payments"),(0,Q.__)("Afterpay","woocommerce-payments"),(0,Q.__)("Alipay","woocommerce-payments"),(0,Q.__)("American Express","woocommerce-payments"),(0,Q.__)("AU BECS Debit","woocommerce-payments"),(0,Q.__)("Bancontact","woocommerce-payments"),(0,Q.__)("Card Payment","woocommerce-payments"),(0,Q.__)("In-Person Card Payment","woocommerce-payments"),(0,Q.__)("Diners Club","woocommerce-payments"),(0,Q.__)("Discover","woocommerce-payments"),(0,Q.__)("EPS","woocommerce-payments"),(0,Q.__)("giropay","woocommerce-payments"),(0,Q.__)("iDEAL","woocommerce-payments"),(0,Q.__)("JCB","woocommerce-payments"),(0,Q.__)("Klarna","woocommerce-payments"),(0,Q.__)("Link","woocommerce-payments"),(0,Q.__)("Mastercard","woocommerce-payments"),(0,Q.__)("Multibanco","woocommerce-payments"),(0,Q.__)("P24","woocommerce-payments"),(0,Q.__)("SEPA Debit","woocommerce-payments"),(0,Q.__)("SOFORT","woocommerce-payments"),(0,Q.__)("Stripe Account","woocommerce-payments"),(0,Q.__)("Union Pay","woocommerce-payments"),(0,Q.__)("Visa","woocommerce-payments"),(0,Q.__)("WeChat","woocommerce-payments");const Ap=Cp,xp=window.wp.apiFetch;var Tp=n.n(xp);const Rp=(0,H.createContext)({isSurveySubmitted:!1,isLoadingSsr:!1,submitSurvey:()=>Promise.resolve(),status:"resolved",surveyAnswers:{},setSurveyAnswers:()=>null}),kp=[{key:"wcpay-upe-disable-early-access-2022-may",defaultAnswer:{"why-disable":"slow"},questions:{"why-disable":{slow:"It is slow",buggy:"It is buggy","theme-compatibility":"It does not work with my theme","missing-features":"It is missing features I need(describe below)","store-sales":"It hurt my store's sales","poor-customer-experience":"It offers poor customer experience",other:"Other(describe below)"}}}],Op=window.wp.htmlEntities,Mp=String.fromCharCode(10004),Pp=String.fromCharCode(10060),Ip="–";function Np(e){let t="";for(const[n,r]of Object.entries(e))t+=n,r&&(t+=`: Data: ${r.data}MB + Index: ${r.index}MB + Engine ${r.engine}`),t+="\n";return t}function Lp(e,t){let n="";return t&&e.length>0&&(n="\n### "+t+" ("+e.length+")\n\n"),e.forEach((e=>{const t=e.version;n+=`${e.name}: by ${e.author_name} - ${t}`;const r=e.version_latest;t&&r&&t!==r&&(n+=` (update to version ${r} is available)`),n+="\n"})),n}function Dp(e){let t="";return Object.entries(e).forEach((e=>{let[n,r]=e;t+=r.toLowerCase()+" ("+n+")\n"})),t}function Fp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0===e)return"0 B";const n=[["TB",1099511627776],["GB",1073741824],["MB",1048576],["KB",1024],["B",1]];for(const[r,o]of n)if(e>=o)return(e/o).toFixed(t)+" "+r;return"N/A"}const Bp=e=>{let{children:t}=e;const[n,r]=(0,H.useState)(!1),[o,a]=(0,H.useState)(!1),[i,s]=(0,H.useState)("resolved"),[d,l]=(0,H.useState)(kp[0].defaultAnswer);(0,H.useEffect)((()=>{(async()=>{a(!0);let e="";try{const[t,n]=await Promise.all(["/wc/v3/system_status","/wc/v3/payments/accounts"].map((e=>Tp()({path:e}))));e=((e,t)=>`### WordPress Environment ###\n\nWordPress address (URL): ${e.environment.site_url}\nSite address (URL): ${e.environment.home_url}\nWC Version: ${e.environment.version}\nLog Directory Writable: ${e.environment.log_directory_writable?Mp:Pp}\nWP Version: ${e.environment.wp_version}\nWP Multisite: ${e.environment.wp_multisite?Mp:Ip}\nWP Memory Limit: ${Fp(e.environment.wp_memory_limit)}\nWP Debug Mode: ${e.environment.wp_debug_mode?Mp:Ip}\nWP Cron: ${e.environment.wp_cron?Mp:Ip}\nLanguage: ${e.environment.language}\nExternal object cache: ${e.environment.external_object_cache?Mp:Ip}\n\n### Server Environment ###\n\nServer Info: ${e.environment.server_info}\nPHP Version: ${e.environment.php_version}\nPHP Post Max Size: ${Fp(e.environment.php_post_max_size)}\nPHP Time Limit: ${e.environment.php_max_execution_time}\nPHP Max Input Vars: ${e.environment.php_max_input_vars}\ncURL Version: ${e.environment.curl_version}\n\nSUHOSIN Installed: ${e.environment.suhosin_installed?Mp:Ip}\nMySQL Version: ${e.environment.mysql_version_string}\nMax Upload Size: ${Fp(e.environment.max_upload_size)}\nDefault Timezone is UTC: ${"UTC"===e.environment.default_timezone?Mp:Pp}\nfsockopen/cURL: ${e.environment.fsockopen_or_curl_enabled?Mp:Pp}\nSoapClient: ${e.environment.soapclient_enabled?Mp:Pp}\nDOMDocument: ${e.environment.domdocument_enabled?Mp:Pp}\nGZip: ${e.environment.gzip_enabled?Mp:Pp}\nMultibyte String: ${e.environment.mbstring_enabled?Mp:Pp}\nRemote Post: ${e.environment.remote_post_successful?Mp:Pp}\nRemote Get: ${e.environment.remote_get_successful?Mp:Pp}\n\n### Database ###\n\nWC Database Version: ${e.database.wc_database_version}\nWC Database Prefix: ${e.database.database_prefix}\n${function(e){const t=e.database_size,n=e.database_tables;let r="";return t&&n?(r="Total Database Size: "+(t.data+t.index).toFixed(2)+"MB\nDatabase Data Size: "+t.data.toFixed(2)+"MB\nDatabase Index Size: "+t.index.toFixed(2)+"MB\n",r+=Np(n.woocommerce),r+=Np(n.other)):r="Unable to retrieve database information.",r}(e.database)}\n${function(e){let t="";return e&&(t="### Post Type Counts ###\n",e.forEach((e=>{t+=`\n${e.type}: ${e.count}`}))),t}(e.post_type_counts)}\n\n### Security ###\n\nSecure connection (HTTPS): ${e.security.secure_connection?Mp:Pp+"\nYour store is not using HTTPS."}\nHide errors from visitors: ${e.security.hide_errors?Mp:Pp+"Error messages should not be shown to visitors."}\n\n### Active Plugins (${e.active_plugins.length}) ###\n\n${Lp(e.active_plugins,null)}\n### Inactive Plugins (${e.inactive_plugins.length}) ###\n\n${Lp(e.inactive_plugins,null)}${Lp(e.dropins_mu_plugins.dropins,"Dropin Plugins")}${Lp(e.dropins_mu_plugins.mu_plugins,"Must Use Plugins")}\n### Settings ###\n\nAPI Enabled: ${e.settings.api_enabled?Mp:Ip}\nForce SSL: ${e.settings.force_ssl?Mp:Ip}\nCurrency: ${e.settings.currency} (${(0,Op.decodeEntities)(e.settings.currency_symbol)})\nCurrency Position: ${e.settings.currency_position}\nThousand Separator: ${e.settings.thousand_separator}\nDecimal Separator: ${e.settings.decimal_separator}\nNumber of Decimals: ${e.settings.number_of_decimals}\nTaxonomies: Product Types: ${Dp(e.settings.taxonomies)}\nTaxonomies: Product Visibility: ${Dp(e.settings.product_visibility_terms)}\nConnected to WooCommerce.com: ${"yes"===e.settings.woocommerce_com_connected?Mp:Ip}\n\n### WC Pages ###\n\n${function(e){let t="";return e.forEach((e=>{t+=e.page_name+": ";let n=!1;e.page_set?e.page_exists?e.page_visible?(e.shortcode_required||e.block_required)&&(e.shortcode_present||e.block_present||(t+=Pp+` Page does not contain the ${e.shortcode} shortcode or the ${e.block} block`,n=!0)):(t+=Pp+" Page visibility should be public",n=!0):(t+=Pp+" Page ID is set, but the page does not exist",n=!0):(t+=Pp+" Page not set",n=!0),n||(t+="Page ID #"+e.page_id),t+="\n"})),t}(e.pages)}\n### Theme ###\n\nName: ${e.theme.name}\nVersion: ${e.theme.version_latest?`${e.theme.version} (update to version ${e.theme.version_latest} is available)`:e.theme.version}\nAuthor URL: ${e.theme.author_url}\nChild Theme: ${e.theme.is_child_theme?Mp:Pp+" - If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme."}\nWooCommerce Support: ${e.theme.has_woocommerce_support?Mp:Pp}\n\n### Templates ###\n\n${e.theme.has_woocommerce_file?"Archive Template: Your theme has a woocommerce.php file, you will not be able to override the woocommerce/archive-product.php custom template.":""}\nOverrides: ${e.theme.overrides.length>0?e.theme.overrides.map((e=>e.file)).join(", "):Ip}\n${e.theme.has_outdated_templates?"Outdated Templates: "+Pp:""}\n\n### WooCommerce Payments ###\n\nConnected to WPCOM: ${"NOACCOUNT"===t.status||"ONBOARDING_DISABLED"===t.status?"No":"Yes"}\nAccount ID: ${t.account_id}\n\n### Status report information ###\n\nGenerated at: ${(0,wo.dateI18n)("Y-m-d H:i:s P")}\n`)(t,n),l((t=>({...t,ssr:e})))}catch(e){l((e=>({...e,ssr:(0,Q.__)("Can not load System Status Report","woocommerce-payments")})))}a(!1)})()}),[]);const c=(0,H.useCallback)((()=>(s("pending"),Tp()({path:`${Kr}/upe_survey`,method:"POST",data:d}).then((()=>{r(!0),s("resolved")})).catch((()=>{s("error"),r(!1)})))),[s,r,d]),u=(0,H.useMemo)((()=>({submitSurvey:c,status:i,isSurveySubmitted:n,isLoadingSsr:o,surveyAnswers:d,setSurveyAnswers:l})),[c,i,n,o,d,l]);return(0,j.createElement)(Rp.Provider,{value:u},t)};function Up(e){let{label:t,className:n,selected:r,help:o,onChange:a,hideLabelFromVision:i,options:s=[],...d}=e;const l=`inspector-radio-control-${(0,Or.useInstanceId)(Up)}`,c=e=>a(e.target.value);return!(0,J.isEmpty)(s)&&(0,j.createElement)(Gr,{label:t,id:l,hideLabelFromVision:i,help:o,className:X()(n,"components-radio-control")},s.map(((e,t)=>(0,j.createElement)("div",{key:`${l}-${t}`,className:"components-radio-control__option"},(0,j.createElement)("input",Y({id:`${l}-${t}`,className:"components-radio-control__input",type:"radio",name:l,value:e.value,onChange:c,checked:e.value===r,"aria-describedby":o?`${l}__help`:void 0},d)),(0,j.createElement)("label",{htmlFor:`${l}-${t}`},e.label)))))}const jp=an("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",tr.radiusBlockUi,";border:",tr.borderWidth," solid ",qn.ui.border,";",""),Hp=an("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ",tr.borderWidthFocus," - ",tr.borderWidth," ) var( --wp-admin-theme-color );outline:2px solid transparent;",""),Vp=an("font-family:",Nr("default.fontFamily"),";padding:6px 8px;",jp,";font-size:",Nr("mobileTextMinFontSize"),";line-height:normal;","@media (min-width: 600px)","{font-size:",Nr("default.fontSize"),";line-height:normal;}&:focus{",Hp,";}&::-webkit-input-placeholder{color:",qn.darkGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",qn.darkGray.placeholder,";}&:-ms-input-placeholder{color:",qn.darkGray.placeholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",qn.lightGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",qn.lightGray.placeholder,";}&:-ms-input-placeholder{color:",qn.lightGray.placeholder,";}}",""),Gp=Xt("textarea",{target:"ebk7yr50"})("width:100%;",Vp,";");function Zp(e){let{label:t,hideLabelFromVision:n,value:r,help:o,onChange:a,rows:i=4,className:s,...d}=e;const l=`inspector-textarea-control-${(0,Or.useInstanceId)(Zp)}`;return(0,j.createElement)(Gr,{label:t,hideLabelFromVision:n,id:l,help:o,className:s},(0,j.createElement)(Gp,Y({className:"components-textarea-control__input",id:l,rows:i,onChange:e=>a(e.target.value),"aria-describedby":o?l+"__help":void 0,value:r},d)))}const zp=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),Wp=new Set(["alert","status","log","marquee","timer"]);let Kp=[],Yp=!1;let qp=0;const Xp=(0,j.forwardRef)((function e(t,n){const{bodyOpenClassName:r="modal-open",role:o="dialog",title:a=null,focusOnMount:i=!0,shouldCloseOnEsc:s=!0,shouldCloseOnClickOutside:d=!0,isDismissible:l=!0,aria:c={labelledby:null,describedby:null},onRequestClose:u,icon:p,closeButtonLabel:m,children:f,style:h,overlayClassName:y,className:g,contentLabel:v,onKeyDown:_,isFullScreen:$=!1,__experimentalHideHeader:b=!1}=t,w=(0,j.useRef)(),E=(0,Or.useInstanceId)(e),S=a?`components-modal-header-${E}`:c.labelledby,C=(0,Or.useFocusOnMount)(i),A=(0,Or.useConstrainedTabbing)(),x=(0,Or.useFocusReturn)(),T=(0,Or.__experimentalUseFocusOutside)(u);return(0,j.useEffect)((()=>(qp++,1===qp&&(function(e){if(Yp)return;const t=document.body.children;(0,J.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Wp.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Kp.push(t))})),Yp=!0}(w.current),document.body.classList.add(r)),()=>{qp--,0===qp&&(document.body.classList.remove(r),Yp&&((0,J.forEach)(Kp,(e=>{e.removeAttribute("aria-hidden")})),Kp=[],Yp=!1))})),[]),(0,j.createPortal)((0,j.createElement)("div",{ref:(0,Or.useMergeRefs)([w,n]),className:X()("components-modal__screen-overlay",y),onKeyDown:function(e){s&&e.keyCode===pp.ESCAPE&&!e.defaultPrevented&&(e.preventDefault(),u&&u(e))}},(0,j.createElement)(lu,{document},(0,j.createElement)("div",Y({className:X()("components-modal__frame",g,{"is-full-screen":$}),style:h,ref:(0,Or.useMergeRefs)([A,x,C]),role:o,"aria-label":v,"aria-labelledby":v?null:S,"aria-describedby":c.describedby,tabIndex:"-1"},d?T:{},{onKeyDown:_}),(0,j.createElement)("div",{className:X()("components-modal__content",{"hide-header":b}),role:"document"},!b&&(0,j.createElement)("div",{className:"components-modal__header"},(0,j.createElement)("div",{className:"components-modal__header-heading-container"},p&&(0,j.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},p),a&&(0,j.createElement)("h1",{id:S,className:"components-modal__header-heading"},a)),l&&(0,j.createElement)(Iu,{onClick:u,icon:zp,label:m||(0,Q.__)("Close dialog")})),f)))),document.body)}));const Jp=e=>{var{children:t,actions:n,className:r}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","actions","className"]);return V().createElement(Xp,Object.assign({className:X()("wcpay-confirmation-modal",r)},o),t,V().createElement(ee.HorizontalRule,{className:"wcpay-confirmation-modal__separator"}),V().createElement("div",{className:"wcpay-confirmation-modal__footer"},n))},Qp=e=>{let{isLoading:t,display:n,placeholder:r,value:o,children:a}=e;return t?H.createElement("span",{className:n?`is-loadable-placeholder is-${n}`:"is-loadable-placeholder","aria-busy":"true"},void 0===r?a||o:r):H.createElement(H.Fragment,null,a||o)},em=e=>{const t=H.createElement("p",{style:{lineHeight:e.numLines}},"Block placeholder");return H.createElement(Qp,Object.assign({},e,{placeholder:t,display:"block"}))},tm=Qp,nm=e=>{let{options:t,surveyQuestion:n}=e;const{surveyAnswers:r,setSurveyAnswers:o,isLoadingSsr:a}=(0,H.useContext)(Rp);return(0,j.createElement)(j.Fragment,null,(0,j.createElement)(Up,{className:"survey-radiocontrols",label:(0,Q.__)("Do you have any feedback for the new payments experience?","woocommerce-payments"),options:t,onChange:e=>{o((t=>({...t,[n]:e})))},selected:r[n]||t[0].value}),(0,j.createElement)(Zp,{className:"comments-text-field",label:(0,Q.__)("Please provide additional details to help us improve the experience","woocommerce-payments"),onChange:e=>{o((t=>({...t,comments:e})))},value:r.comments}),(0,j.createElement)("p",{className:"ssr-label"},(0,Q.__)("The following system status information will also be submitted:","woocommerce-payments")),a?(0,j.createElement)(em,{isLoading:!0,numLines:5}):(0,j.createElement)(Zp,{className:"ssr-text-field",onChange:e=>{o((t=>({...t,ssr:e})))},value:r.ssr}),(0,j.createElement)("p",{className:"survey-bottom-disclaimer"},(0,Q.sprintf)((0,Q.__)("Feedback will be sent anonymously to the %s development team.","woocommerce-payments"),"WooPayments")))},rm=e=>{let{setOpenModal:t,surveyKey:n,surveyQuestion:r}=e;const{isSurveySubmitted:o,status:a,submitSurvey:i}=(0,H.useContext)(Rp),s=((e,t)=>{const n=kp.find((t=>t.key=e)).questions[t];return Object.keys(n).map((e=>({label:n[e],value:e})))})(n,r);return(0,H.useEffect)((()=>{n&&r?"error"===a?(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("There was an error during submission.","woocommerce-payments")):o&&((0,zr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Thank you! Your feedback will help improve your experience in the future.","woocommerce-payments")),t("")):(0,zr.dispatch)("core/notices").createErrorNotice((0,Q.__)("The survey could not be loaded.","woocommerce-payments"))}),[a,o,n,r,t]),s<1?null:(0,j.createElement)(j.Fragment,null,(0,j.createElement)(Jp,{className:"survey-section",title:(0,Q.__)("Provide feedback about the new payments experience.","woocommerce-payments"),onRequestClose:()=>t(""),actions:(0,j.createElement)(j.Fragment,null,(0,j.createElement)(Iu,{isSecondary:!0,disabled:"pending"===a,onClick:()=>t("")},(0,Q.__)("Cancel","woocommerce-payments")),(0,j.createElement)(Iu,{isPrimary:!0,isBusy:"pending"===a,disabled:"pending"===a,onClick:()=>i()},(0,Q.__)("Send feedback","woocommerce-payments")))},(0,j.createElement)(nm,{options:s,surveyQuestion:r})))},om=e=>{let{className:t,children:n}=e;return V().createElement("ul",{className:X()("payment-methods-list",t)},n)},am=document.getElementById("wpbody-content")||document.body,im=(e,t)=>!(!t||t!==e.target&&!(e.target instanceof Node&&t.contains(e.target))),sm=(0,H.memo)((e=>{let{children:t,parentElement:n}=e;const r=(0,H.useRef)(null);return r.current||(r.current=document.createElement("div"),n.appendChild(r.current)),(0,H.useEffect)((()=>()=>{r.current&&(n.removeChild(r.current),r.current=null)}),[n]),(0,G.createPortal)(t,r.current)})),dm=e=>{let{className:t,children:n,content:r,parentElement:o=am,hideDelayMs:a=600,isVisible:i,onHide:s,maxWidth:d="250px"}=e;const l=(0,H.useRef)(null),c=(0,H.useRef)(null),u=((e,t)=>{let{hideDelayMs:n=600,triggerRef:r,tooltipRef:o,parentElement:a,onHide:i=J.noop}=t;const[s,d]=(0,H.useState)(e),l=(0,H.useRef)(!1),c=(0,H.useRef)(i);return(0,H.useEffect)((()=>{c.current=i}),[i]),(0,H.useEffect)((()=>{let t=null;if(l.current){if(e)return a.dispatchEvent(new Event("wcpay-tooltip-open")),void d(!0);if(s)return t=setTimeout((()=>{d(!1),c.current()}),n),()=>{t&&clearTimeout(t)}}else l.current=!0}),[d,n,e,s,a]),(0,H.useEffect)((()=>{if(!s)return;const e=()=>{d(!1),c.current()},t=e=>{var t;im(e,null===(t=r.current)||void 0===t?void 0:t.firstChild)||im(e,o.current)||(d(!1),c.current())};return document.addEventListener("click",t),a.addEventListener("wcpay-tooltip-open",e),()=>{document.removeEventListener("click",t),a.removeEventListener("wcpay-tooltip-open",e)}}),[e,s,r,o,a]),s})(!!i,{hideDelayMs:a,triggerRef:l,tooltipRef:c,parentElement:o,onHide:s});return(0,H.useEffect)((()=>{const e=()=>{var e;if(!u)return;const t=c.current,n=null===(e=l.current)||void 0===e?void 0:e.firstChild;if(!t||!n)return;if(!(n instanceof HTMLElement))return;t.style.maxWidth=d;const r=n.getBoundingClientRect(),o=t.getBoundingClientRect().height;t.style.top=r.top-o-8+"px";let a=n.offsetWidth/2+r.left-t.offsetWidth/2;const i=window.innerWidth-(r.left+t.offsetWidth);a<0?a=45:i<0&&(a-=85),t.style.left=`${a}px`,t.style.visibility="visible",t.style.opacity="1"};e();const t=(0,J.debounce)(e,150);return window.addEventListener("resize",t),document.addEventListener("scroll",t),()=>{window.removeEventListener("resize",t),document.removeEventListener("scroll",t)}}),[u,d]),V().createElement(V().Fragment,null,V().createElement("div",{className:"wcpay-tooltip__content-wrapper",ref:l},n),u&&V().createElement(sm,{parentElement:o},V().createElement("div",{ref:c,className:X()("wcpay-tooltip__tooltip-wrapper",{"is-hiding":!i}),role:"tooltip"},V().createElement("div",{className:X()("wcpay-tooltip__tooltip",t)},r))))};const lm=e=>{var{isVisible:t,onHide:n=J.noop,children:r,buttonIcon:o,buttonLabel:a,buttonSize:i=16}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["isVisible","onHide","children","buttonIcon","buttonLabel","buttonSize"]);const[d,l]=(0,H.useState)(!1),[c,u]=(0,H.useState)(!1),p=()=>{l(!0)},m=()=>{l(!1),n()};return V().createElement("button",{className:"wcpay-tooltip__content-wrapper",onMouseEnter:p,onMouseLeave:m,onFocus:p,onBlur:m,onClick:()=>{u((e=>!e)),c&&n()},type:"button"},V().createElement(dm,Object.assign({},s,{onHide:()=>{l(!1),u(!1),n()},isVisible:t||d||c}),o?V().createElement(Mu,{icon:o,size:i,"aria-label":a}):r))},cm={PENDING_VERIFICATION:"pending_verification",PENDING_APPROVAL:"pending",ACTIVE:"active",INACTIVE:"inactive",UNREQUESTED:"unrequested",REJECTED:"rejected"},um=e=>Number((100*e).toFixed(3)),pm={AE:"united-arab-emirates",AU:"australia",AT:"austria",BE:"belgium",BG:"bulgaria",CA:"canada",CY:"cyprus",CZ:"czech-republic",FR:"france",LU:"luxembourg",DE:"germany",DK:"denmark",EE:"estonia",FI:"finland",GR:"greece",HK:"hong-kong",HR:"croatia",HU:"hungary",IE:"ireland",IT:"italy",JP:"japan",LT:"lithuania",LV:"latvia",MT:"malta",NL:"netherlands",NO:"norway",NZ:"new-zealand",PL:"poland",PT:"portugal",SG:"singapore",SI:"slovenia",SK:"slovakia",SW:"sweden",ES:"spain",CH:"switzerland",UK:"united-kingdom",US:"united-states",RO:"romania"},mm=e=>(0,Q.sprintf)("%s%s","https://woo.com/document/woopayments/fees-and-debits/fees/#",pm[e]),fm=(e,t)=>e.fixed_rate&&e.percentage_rate?(0,Q.sprintf)("%1$f%% + %2$s",um(e.percentage_rate*t),yo(e.fixed_rate*t,e.currency)):e.fixed_rate?(0,Q.sprintf)("%1$s",yo(e.fixed_rate*t,e.currency)):e.percentage_rate?(0,Q.sprintf)("%1$f%%",um(e.percentage_rate*t)):"",hm=e=>{if(!e)return V().createElement(V().Fragment,null);const t=e.discount.length&&e.discount[0].discount?1-e.discount[0].discount:1,n={percentage_rate:e.base.percentage_rate+e.additional.percentage_rate+e.fx.percentage_rate,fixed_rate:e.base.fixed_rate+e.additional.fixed_rate+e.fx.fixed_rate,currency:e.base.currency},r=e=>e.fixed_rate>0||e.percentage_rate>0;return V().createElement("div",{className:"wcpay-fees-tooltip"},V().createElement("div",null,V().createElement("div",null,"Base fee"),V().createElement("div",null,fm(e.base,t))),r(e.additional)?V().createElement("div",null,V().createElement("div",null,"International payment method fee"),V().createElement("div",null,fm(e.additional,t))):"",r(e.fx)?V().createElement("div",null,V().createElement("div",null,"Foreign exchange fee"),V().createElement("div",null,fm(e.fx,t))):"",V().createElement("div",null,V().createElement("div",null,"Total per transaction"),V().createElement("div",{className:"wcpay-fees-tooltip__bold"},fm(n,t))),wcpaySettings&&wcpaySettings.connect&&wcpaySettings.connect.country?V().createElement("div",{className:"wcpay-fees-tooltip__hint-text"},V().createElement("span",null,(o=wcpaySettings.connect.country,pm.hasOwnProperty(o)?Sc({mixedString:(0,Q.sprintf)((0,Q.__)("{{linkToStripePage /}} about %s Fees in your country","woocommerce-payments"),"WooPayments"),components:{linkToStripePage:V().createElement("a",{href:mm(wcpaySettings.connect.country),target:"_blank",rel:"noreferrer"},(0,Q.__)("Learn more","woocommerce-payments"))}}):Sc({mixedString:(0,Q.sprintf)((0,Q.__)("{{linkToStripePage /}} about %s Fees","woocommerce-payments"),"WooPayments"),components:{linkToStripePage:V().createElement("a",{href:"https://woo.com/document/woopayments/fees-and-debits/fees/",target:"_blank",rel:"noreferrer"},(0,Q.__)("Learn more","woocommerce-payments"))}})))):"");var o},ym=e=>e?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.base,r=(e=>e.discount.length?e.discount[0]:e.base)(e),o=Object.assign({fee:(0,Q.__)("%1$f%% + %2$s per transaction","woocommerce-payments"),discount:(0,Q.__)("(%f%% discount)","woocommerce-payments"),tc_link:(0,Q.__)(" — see <tclink>Terms and Conditions</tclink>","woocommerce-payments"),displayBaseFeeIfDifferent:!0},t),a=(0,Q.sprintf)(o.fee,um(n.percentage_rate),yo(n.fixed_rate,n.currency));if(r.percentage_rate!==n.percentage_rate||r.fixed_rate!==n.fixed_rate||r.currency!==n.currency){const e=r;let t,i;e.discount?(t=n.percentage_rate*(1-e.discount),i=n.fixed_rate*(1-e.discount)):(t=r.percentage_rate,i=r.fixed_rate);let s=(0,Q.sprintf)(o.fee,um(t),yo(i,n.currency));o.displayBaseFeeIfDifferent&&(s=(0,Q.sprintf)((0,Q.__)("<s>%1$s</s> %2$s","woocommerce-payments"),a,s)),e.discount&&0<o.discount.length&&(s+=" "+(0,Q.sprintf)(o.discount,um(e.discount)));const d={s:V().createElement("s",null)};return e.tc_url&&0<o.tc_link.length&&(s+=" "+o.tc_link,d.tclink=V().createElement("a",{href:e.tc_url,target:"_blank",rel:"noreferrer"})),(0,j.createInterpolateElement)(s,d)}return a}(e,{fee:(0,Q.__)("From %1$f%% + %2$s","woocommerce-payments"),discount:"",displayBaseFeeIfDifferent:!1}):(0,Q.__)("missing fees","woocommerce-payments"),gm=(0,H.createContext)({accountFees:{},accountLoans:{},accountStatus:{},featureFlags:{isAuthAndCaptureEnabled:!1,isDisputeIssuerEvidenceEnabled:!1,woopay:!1}}),vm=e=>{let{message:t,type:n="primary",className:r,tooltip:o}=e;const a=["chip",`chip-${n}`,null!=r?r:""];return o?V().createElement(lm,{content:o},V().createElement("span",{className:a.join(" ").trim()},t)):V().createElement("span",{className:a.join(" ").trim()},t)},_m=e=>{let{label:t,checked:n=!1,disabled:r=!1,onChange:o,hideLabel:a=!1,isAllowingManualCapture:i=!1,isSetupRequired:s=!1,setupTooltip:d="",delayMsOnCheck:l=0,delayMsOnUncheck:c=0,needsAttention:u=!1}=e;const[p,m]=(0,H.useState)(!1),[f,h]=(0,H.useState)(n),[y]=yd();return(0,H.useEffect)((()=>{h(n)}),[h,n]),(0,j.createElement)("div",{className:X()("loadable-checkbox",a?"label-hidden":"")},p&&(0,j.createElement)("div",{className:"loadable-checkbox__spinner"},(0,j.createElement)("svg",{width:"131px",height:"131px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},(0,j.createElement)("circle",{cx:"50",cy:"50",fill:"none",stroke:"#ffffff",strokeWidth:"12",r:"32",strokeDasharray:"150.79644737231007 52.26548245743669"},(0,j.createElement)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1.4492753623188404s",values:"0 50 50;360 50 50",keyTimes:"0;1"})))),y&&!i||s||u?(0,j.createElement)("div",{className:"loadable-checkbox__icon",style:{marginRight:"16px"}},(0,j.createElement)(lm,{content:d,className:"wcpay-tooltip__tooltip--dark"},(0,j.createElement)("div",null,(0,j.createElement)(tp.Z,{style:{color:"#F0B849",fill:"currentColor",marginBottom:"-5px"},size:20}),(0,j.createElement)("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning"},(0,j.createElement)(en,null,(0,Q.sprintf)((0,Q.__)("%s cannot be enabled at checkout. Click to expand.","woocommerce-payments"),t)))))):(0,j.createElement)(Zr,{label:t,checked:f,disabled:r,onChange:e=>(e=>{const t=e?l:c;t>0?(m(!0),setTimeout((()=>{o(e),m(!1)}),t)):o(e)})(e)}))},$m=e=>{let t;switch(e){case Ap.AFTERPAY_CLEARPAY:case Ap.AFFIRM:case Ap.KLARNA:t="https://woo.com/document/woopayments/payment-methods/buy-now-pay-later/#contact-support";break;default:t="https://woo.com/document/woopayments/payment-methods/additional-payment-methods/#method-cant-be-enabled"}return t},bm=window.wc.components,wm=e=>{let{type:t="",className:n="",children:r}=e;const o=X()("wcpay-pill"+(["primary","success","alert","danger","light"].includes(t)?"__"+t:""),n);return V().createElement(bm.Pill,{className:o},r)},Em=e=>{let{label:t,required:n,status:r,disabled:o}=e;return V().createElement(V().Fragment,null,t,n&&V().createElement("span",{className:"payment-method__required-label"},"("+(0,Q.__)("Required","woocommerce-payments")+")"),cm.PENDING_APPROVAL===r&&V().createElement(vm,{message:(0,Q.__)("Pending approval","woocommerce-payments"),type:"warning"}),cm.REJECTED===r&&V().createElement(vm,{message:(0,Q.__)("Rejected","woocommerce-payments"),type:"alert"}),cm.PENDING_VERIFICATION===r&&V().createElement(vm,{message:(0,Q.__)("Pending activation","woocommerce-payments"),type:"warning"}),o&&V().createElement(vm,{message:(0,Q.__)("More information needed","woocommerce-payments"),type:"warning"}))},Sm=e=>{let{id:t,label:n,Icon:r=(()=>null),description:o,status:a,checked:i,onCheckClick:s,onUncheckClick:d,className:l,isAllowingManualCapture:c,isSetupRequired:u,setupTooltip:p,required:m,locked:f,isPoEnabled:h,isPoComplete:y}=e;const g=h&&!y&&a!==cm.ACTIVE,v=cm.INACTIVE===a||g,{accountFees:_}=(0,H.useContext)(gm),[$]=yd(),b=[cm.INACTIVE,cm.PENDING_APPROVAL,cm.PENDING_VERIFICATION].includes(a)||g||cm.REJECTED===a,w="sofort"===t,E=$&&!c||u||b;return V().createElement("li",{className:X()("payment-method__list-item",{"has-icon-border":"card"!==t},{overlay:E},l)},V().createElement("div",{className:"payment-method"},V().createElement("div",{className:"payment-method__checkbox"},V().createElement(_m,{label:n,checked:i,disabled:v||f,onChange:e=>{if(!f)return e?s(t):d(t)},delayMsOnCheck:1500,delayMsOnUncheck:0,hideLabel:!0,isAllowingManualCapture:c,isSetupRequired:u,setupTooltip:(e=>{var t;return cm.PENDING_APPROVAL===a?(0,Q.__)("This payment method is pending approval. Once approved, you will be able to use it.","woocommerce-payments"):cm.PENDING_VERIFICATION===a?(0,Q.sprintf)((0,Q.__)("%s won't be visible to your customers until you provide the required information. Follow the instructions sent by our partner Stripe to %s.","woocommerce-payments"),n,null!==(t=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountEmail)&&void 0!==t?t:""):cm.REJECTED===a?Sc({mixedString:(0,Q.__)("Please {{contactSupportLink}}contact support{{/contactSupportLink}} for more details.","woocommerce-payments"),components:{contactSupportLink:V().createElement("a",{target:"_blank",rel:"noreferrer",title:(0,Q.__)("Contact Support","woocommerce-payments"),href:"https://woo.com/my-account/contact-support/"})}}):u?p:b?Sc({mixedString:(0,Q.__)("We need more information from you to enable this method. {{learnMoreLink}}Learn more.{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:V().createElement("a",{target:"_blank",rel:"noreferrer",title:(0,Q.__)("Learn more about enabling payment methods","woocommerce-payments"),href:g?"https://woo.com/document/woopayments/startup-guide/gradual-signup/#additional-payment-methods":$m(e)})}}):(0,Q.sprintf)((0,Q.__)('%s is not available to your customers when the "manual capture" setting is enabled.',"woocommerce-payments"),n)})(t),needsAttention:b})),V().createElement("div",{className:"payment-method__text-container"},V().createElement("div",{className:"payment-method__icon"},V().createElement(r,null)),V().createElement("div",{className:"payment-method__label payment-method__label-mobile"},V().createElement(Em,{label:n,required:m,status:a,disabled:v})),V().createElement("div",{className:"payment-method__text"},V().createElement("div",{className:"payment-method__label-container"},V().createElement("div",{className:"payment-method__label payment-method__label-desktop"},V().createElement(Em,{label:n,required:m,status:a,disabled:v})),V().createElement("div",{className:"payment-method__description"},o)),_&&_[t]&&V().createElement("div",{className:"payment-method__fees"},V().createElement(lm,{maxWidth:"300px",content:hm(_[t])},V().createElement(wm,{"aria-label":(0,Q.sprintf)((0,Q.__)("Base transaction fees: %s","woocommerce-payments"),ym(_[t]))},V().createElement("span",null,ym(_[t])))))))),w&&V().createElement(rp,{status:"warning",icon:!0,isDismissible:!1,className:"sofort__notice"},V().createElement("span",null,(0,Q.__)("Support for Sofort is ending soon. ","woocommerce-payments"),V().createElement("a",{href:"https://woo.com/document/woopayments/payment-methods/additional-payment-methods/#sofort-deprecation",target:"_blank",rel:"external noreferrer noopener"},(0,Q.__)("Learn more","woocommerce-payments")))))};var Cm=n(1270),Am=n(7077),xm=n(6120),Tm=n(3516),Rm=n(8125),km=n(725),Om=n(3116),Mm=n(5962),Pm=n(2851),Im=n(1274),Nm=n(5085),Lm=n(6752),Dm=n(6774),Fm=n(9464),Bm=n(3237),Um=n(6384),jm=n(5086),Hm=n(2765),Vm=n(5994),Gm=n(2738),Zm=n(2464),zm=n(6349),Wm=n(7884);const Km=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r=>{var{className:o}=r,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(r,["className"]);return V().createElement("img",Object.assign({className:X()("payment-method__icon",n?"":"no-outline",o),src:e,alt:t},a))}},Ym=Km(Pm,(0,Q.__)("Affirm","woocommerce-payments")),qm=Km(Im,(0,Q.__)("Afterpay","woocommerce-payments")),Xm=Km(Nm,(0,Q.__)("Clearpay","woocommerce-payments")),Jm=(Km(Um,(0,Q.__)("American Express","woocommerce-payments")),Km(Hm,(0,Q.__)("Apple Pay","woocommerce-payments"))),Qm=Km(Cm,(0,Q.__)("Bancontact","woocommerce-payments")),ef=Km(Mm,(0,Q.__)("BECS Direct Debit","woocommerce-payments")),tf=Km(Wm,(0,Q.__)("Credit card / Debit card","woocommerce-payments"),!1),nf=(Km(Gm,(0,Q.__)("Diners Club","woocommerce-payments")),Km(Am,(0,Q.__)("BECS Direct Debit","woocommerce-payments"))),rf=Km(xm,(0,Q.__)("Giropay","woocommerce-payments")),of=Km(Vm,(0,Q.__)("Google Pay","woocommerce-payments")),af=Km(Om,(0,Q.__)("iDEAL","woocommerce-payments")),sf=Km(Lm,(0,Q.__)("JCB","woocommerce-payments")),df=Km(Dm,(0,Q.__)("Klarna","woocommerce-payments")),lf=Km(zm,(0,Q.__)("Link","woocommerce-payments")),cf=(Km(Bm,(0,Q.__)("Mastercard","woocommerce-payments")),Km(km,(0,Q.__)("Przelewy24 (P24)","woocommerce-payments"))),uf=Km(Rm,(0,Q.__)("SEPA Direct Debit","woocommerce-payments")),pf=Km(Tm,(0,Q.__)("Sofort","woocommerce-payments")),mf=(Km(Zm,(0,Q.__)("UnionPay","woocommerce-payments")),Km(Fm,(0,Q.__)("Visa","woocommerce-payments")),Km(jm,(0,Q.__)("WooPay","woocommerce-payments")));var ff,hf;const yf=(null===(hf=null===(ff=window.wcpaySettings)||void 0===ff?void 0:ff.accountStatus)||void 0===hf?void 0:hf.country)||"US",gf={card:{id:"card",label:(0,Q.__)("Credit / Debit card","woocommerce-payments"),brandTitles:{amex:(0,Q.__)("American Express","woocommerce-payments"),diners:(0,Q.__)("Diners Club","woocommerce-payments"),discover:(0,Q.__)("Discover","woocommerce-payments"),jcb:(0,Q.__)("JCB","woocommerce-payments"),mastercard:(0,Q.__)("Mastercard","woocommerce-payments"),unionpay:(0,Q.__)("UnionPay","woocommerce-payments"),visa:(0,Q.__)("Visa","woocommerce-payments")},description:(0,Q.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-payments"),icon:tf,currencies:[],stripe_key:"card_payments",allows_manual_capture:!0,allows_pay_later:!1},au_becs_debit:{id:"au_becs_debit",label:(0,Q.__)("BECS Direct Debit","woocommerce-payments"),brandTitles:{au_becs_debit:(0,Q.__)("BECS Direct Debit","woocommerce-payments")},description:(0,Q.__)("Bulk Electronic Clearing System — Accept secure bank transfer from Australia.","woocommerce-payments"),icon:ef,currencies:["AUD"],stripe_key:"au_becs_debit_payments",allows_manual_capture:!1,allows_pay_later:!1},bancontact:{id:"bancontact",label:(0,Q.__)("Bancontact","woocommerce-payments"),brandTitles:{bancontact:(0,Q.__)("Bancontact","woocommerce-payments")},description:(0,Q.__)("Bancontact is a bank redirect payment method offered by more than 80% of online businesses in Belgium.","woocommerce-payments"),icon:Qm,currencies:["EUR"],stripe_key:"bancontact_payments",allows_manual_capture:!1,allows_pay_later:!1},eps:{id:"eps",label:(0,Q.__)("EPS","woocommerce-payments"),brandTitles:{eps:(0,Q.__)("EPS","woocommerce-payments")},description:(0,Q.__)("Accept your payment with EPS — a common payment method in Austria.","woocommerce-payments"),icon:nf,currencies:["EUR"],stripe_key:"eps_payments",allows_manual_capture:!1,allows_pay_later:!1},giropay:{id:"giropay",label:(0,Q.__)("giropay","woocommerce-payments"),brandTitles:{giropay:(0,Q.__)("giropay","woocommerce-payments")},description:(0,Q.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-payments"),icon:rf,currencies:["EUR"],stripe_key:"giropay_payments",allows_manual_capture:!1,allows_pay_later:!1},ideal:{id:"ideal",label:(0,Q.__)("iDEAL","woocommerce-payments"),brandTitles:{ideal:(0,Q.__)("iDEAL","woocommerce-payments")},description:(0,Q.__)("Expand your business with iDEAL — Netherlands’s most popular payment method.","woocommerce-payments"),icon:af,currencies:["EUR"],stripe_key:"ideal_payments",allows_manual_capture:!1,allows_pay_later:!1},p24:{id:"p24",label:(0,Q.__)("Przelewy24 (P24)","woocommerce-payments"),brandTitles:{p24:(0,Q.__)("Przelewy24 (P24)","woocommerce-payments")},description:(0,Q.__)("Accept payments with Przelewy24 (P24), the most popular payment method in Poland.","woocommerce-payments"),icon:cf,currencies:["EUR","PLN"],stripe_key:"p24_payments",allows_manual_capture:!1,allows_pay_later:!1},sepa_debit:{id:"sepa_debit",label:(0,Q.__)("SEPA Direct Debit","woocommerce-payments"),brandTitles:{sepa_debit:(0,Q.__)("SEPA Direct Debit","woocommerce-payments")},description:(0,Q.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-payments"),icon:uf,currencies:["EUR"],stripe_key:"sepa_debit_payments",allows_manual_capture:!1,allows_pay_later:!1},sofort:{id:"sofort",label:(0,Q.__)("Sofort","woocommerce-payments"),brandTitles:{sofort:(0,Q.__)("Sofort","woocommerce-payments")},description:(0,Q.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-payments"),icon:pf,currencies:["EUR"],stripe_key:"sofort_payments",allows_manual_capture:!1,allows_pay_later:!1},affirm:{id:"affirm",label:(0,Q.__)("Affirm","woocommerce-payments"),brandTitles:{affirm:(0,Q.__)("Affirm","woocommerce-payments")},description:(0,Q.__)("Allow customers to pay over time with Affirm. Available to all customers paying in %s.","woocommerce-payments"),icon:Ym,currencies:["USD","CAD"],stripe_key:"affirm_payments",allows_manual_capture:!1,allows_pay_later:!0},afterpay_clearpay:{id:"afterpay_clearpay",label:"GB"===yf?(0,Q.__)("Clearpay","woocommerce-payments"):(0,Q.__)("Afterpay","woocommerce-payments"),brandTitles:{afterpay_clearpay:"GB"===yf?(0,Q.__)("Clearpay","woocommerce-payments"):(0,Q.__)("Afterpay","woocommerce-payments")},description:"GB"===yf?(0,Q.__)("Allow customers to pay over time with Clearpay. Available to all customers paying in %s.","woocommerce-payments"):(0,Q.__)("Allow customers to pay over time with Afterpay. Available to all customers paying in %s.","woocommerce-payments"),icon:"GB"===yf?Xm:qm,currencies:["USD","AUD","CAD","NZD","GBP","EUR"],stripe_key:"afterpay_clearpay_payments",allows_manual_capture:!1,allows_pay_later:!0},jcb:{id:"jcb",label:(0,Q.__)("JCB","woocommerce-payments"),brandTitles:{jcb:(0,Q.__)("JCB","woocommerce-payments")},description:(0,Q.__)("Let your customers pay with JCB, the only international payment brand based in Japan.","woocommerce-payments"),icon:sf,currencies:["JPY"],stripe_key:"jcb_payments",allows_manual_capture:!1,allows_pay_later:!1},klarna:{id:"klarna",label:(0,Q.__)("Klarna","woocommerce-payments"),brandTitles:{affirm:(0,Q.__)("Klarna","woocommerce-payments")},description:(0,Q.__)("Allow customers to pay over time with Klarna. Available to all customers paying in %s.","woocommerce-payments"),icon:df,currencies:["EUR","GBP","USD","DKK","NOK","SEK"],stripe_key:"klarna_payments",allows_manual_capture:!1,allows_pay_later:!0}};var vf=n(1250);const _f=e=>{let{hasBorder:t,icon:n=(()=>null)}=e;return V().createElement("div",{className:"payment-confirm-illustration__wrapper"},V().createElement("div",{className:"payment-confirm-illustration__illustrations"},V().createElement(n,{className:X()("payment-confirm-illustration__payment-icon",{"has-border":t})}),V().createElement(vf.Z,{className:"payment-confirm-illustration__payment-question-mark-icon"})))},$f={"individual.id_number":(0,Q.__)("Personal Identification Number","woocommerce-payments"),"business_profile.url":(0,Q.__)("Business Website","woocommerce-payments"),"company.tax_id":(0,Q.__)("Business Number","woocommerce-payments")},bf=e=>{let{paymentMethod:t,requirements:n,onClose:r,onConfirmClose:o}=e;var a;const i=n.filter((e=>$f.hasOwnProperty(e))),s=gf[t];return V().createElement(Jp,{title:(0,Q.sprintf)((0,Q.__)("One more step to enable %s","woocommerce_payments"),s.label),shouldCloseOnClickOutside:!1,onRequestClose:r,className:"wcpay-payment-method-confirmation-modal",actions:V().createElement(V().Fragment,null,V().createElement(Iu,{isSecondary:!0,onClick:r},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Iu,{isPrimary:!0,onClick:()=>{o()}},(0,Q.__)("Continue","woocommerce-payments")))},V().createElement(_f,{icon:s.icon,hasBorder:"card"!==s.id}),0<i.length?V().createElement(V().Fragment,null,V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("You need to provide more information to enable %s on your checkout:","woocommerce-payments"),s.label)),V().createElement("ul",{className:"payment-method-requirements-list"},i.map(((e,t)=>{var n;return V().createElement("li",{key:"requirement"+t},null!==(n=$f[e])&&void 0!==n?n:e)})))):V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("You need to provide more information to enable %s on your checkout.","woocommerce-payments"),s.label)),V().createElement("p",null,Sc({mixedString:(0,Q.__)("If you choose to continue, our payment partner Stripe will send an e-mail to {{merchantEmail /}} to collect the required information","woocommerce-payments"),components:{merchantEmail:V().createElement("b",null,null!==(a=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountEmail)&&void 0!==a?a:"")}})))};var wf=n(737);const Ef=e=>{let{hasBorder:t,icon:n=(()=>null)}=e;return V().createElement("div",{className:"payment-delete-illustration__wrapper"},V().createElement("div",{className:"payment-delete-illustration__illustrations"},V().createElement(n,{className:X()("payment-delete-illustration__payment-icon",{"has-border":t})}),V().createElement(wf.Z,{className:"payment-delete-illustration__payment-cross-icon"})))},Sf=e=>{let{id:t,label:n,icon:r,onConfirm:o,onCancel:a}=e;const i="sofort"===t;return V().createElement(Jp,{title:(0,Q.sprintf)((0,Q.__)("Remove %1$s from checkout","woocommerce-payments"),n),onRequestClose:a,actions:V().createElement(V().Fragment,null,V().createElement(Iu,{onClick:o,isPrimary:!0,isDestructive:!0},(0,Q.__)("Remove","woocommerce-payments")),V().createElement(Iu,{onClick:a,isSecondary:!0},(0,Q.__)("Cancel","woocommerce-payments")))},V().createElement(Ef,{icon:r,hasBorder:"card"!==t}),V().createElement("p",null,Sc({mixedString:(0,Q.sprintf)((0,Q.__)("Are you sure you want to remove {{strong}}%s{{/strong}}? Your customers will no longer be able to pay using %s.","woocommerce-payments"),n,n),components:{strong:V().createElement("strong",null)}})),V().createElement("p",null,Sc({mixedString:(0,Q.__)("You can add it again at any time in {{wooCommercePaymentsLink /}}.","woocommerce-payments"),components:{wooCommercePaymentsLink:V().createElement("a",{href:"admin.php?page=wc-settings&tab=checkout&section=woocommerce_payments"},"WooPayments")}})),i&&V().createElement(rp,{status:"warning",icon:!0,isDismissible:!1,className:"sofort__notice"},V().createElement("span",null,(0,Q.__)("As of October 20th 2023, Sofort is no longer supported for merchants who are not already using it. This means that if you disable Sofort, you will not be able to re-enable it later. ","woocommerce-payments"),V().createElement("a",{href:"https://woo.com/document/woopayments/payment-methods/additional-payment-methods/#sofort-deprecation",target:"_blank",rel:"external noreferrer noopener"},(0,Q.__)("Learn more","woocommerce-payments")))))},Cf=(e,t)=>{let{description:n,allows_pay_later:r}=gf[e];return n?(r&&(n=(0,Q.sprintf)(n,t.toUpperCase())),n):null},Af=[{id:"jcb",label:(0,Q.__)("JCB","woocommerce-payments"),country:"JP",states:{unrequested:{status:"info",content:(0,Q.__)("Enable JCB for your customers, the only international payment brand based in Japan.","woocommerce-payments"),actions:"request",actionsLabel:(0,Q.__)("Enable JCB","woocommerce-payments")},pending_verification:{status:"warning",content:(0,Q.__)("To enable JCB for your customers, you need to provide more information.","woocommerce-payments"),actions:"link",actionUrl:"https://woo.com/document/woopayments/payment-methods/#jcb",actionsLabel:(0,Q.__)("Finish setup","woocommerce-payments")},pending:{status:"info",content:(0,Q.__)("Your information has been submitted and your JCB account is pending approval.","woocommerce-payments")},inactive:{status:"info",content:(0,Q.__)("Your JCB account was rejected based on the information provided.","woocommerce-payments")},active:{status:"info",content:(0,Q.__)("JCB is now enabled on your store.","woocommerce-payments")}}}],xf=e=>{let{onClose:t,onSubmit:n,label:r}=e;const o=V().createElement(V().Fragment,null,V().createElement(Iu,{isSecondary:!0,onClick:t},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Iu,{isPrimary:!0,onClick:n},(0,Q.__)("Yes, continue","woocommerce-payments")));return V().createElement(Jp,{title:(0,Q.__)("Remove","woocommerce-payments")+" "+r,isDismissible:!1,className:"dismiss-confirmation-modal",onRequestClose:t,actions:o},V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("Choosing to continue will remove the option to accept %s cards from your customers. The option to enable %s will not appear again.","woocommerce-payments"),r,r)))};const Tf=e=>{let{id:t,label:n,country:r,states:o}=e;var a,i,s,d;const{updateOptions:l}=(0,zr.useDispatch)("wc/admin/options"),{createNotice:c}=(0,zr.useDispatch)("core/notices"),{capabilityRequestNotices:u}=wcpaySettings,[p,m]=(0,j.useState)(null!==(a=u[t])&&void 0!==a&&a),[f,h]=(0,j.useState)(!1),[y,g]=(0,j.useState)(!1),v=vd(),_=Object.entries(cm).map((e=>{let[t]=e;return t})),$=(0,zr.select)(Yr).getSettings(),b=null!==(s=v[null!==(i=gf[t].stripe_key)&&void 0!==i?i:null])&&void 0!==s?s:[],w=b?b.status:cm.UNREQUESTED;if(_.includes(w))return null;if(void 0!==r&&$.account_country!==r)return null;const E=null!==(d=o[w])&&void 0!==d?d:null;if(!E)return null;const S=()=>{l({wcpay_capability_request_dismissed_notices:Object.assign(Object.assign({},u),{[t]:!0})}),wcpaySettings.capabilityRequestNotices=Object.assign(Object.assign({},u),{[t]:!0}),m(!0)};let C;return"request"!==E.actions&&"link"!==E.actions||(C=[{label:E.actionsLabel,onClick:"request"===E.actions?()=>{return e=void 0,n=void 0,o=function*(){g(!0);try{yield Tp()({path:`${Kr}/settings/request-capability`,data:{id:t},method:"POST"}),m(!0),c("success",(0,Q.__)("Capability requested successfully!","woocommerce-payments")),g(!1)}catch(e){c("error",(0,Q.__)("Error requesting the capability!","woocommerce-payments")),g(!1)}},new((r=void 0)||(r=Promise))((function(t,a){function i(e){try{d(o.next(e))}catch(e){a(e)}}function s(e){try{d(o.throw(e))}catch(e){a(e)}}function d(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(i,s)}d((o=o.apply(e,n||[])).next())}));var e,n,r,o}:()=>{void 0!==E.actionUrl&&(window.location.href=E.actionUrl)},isBusy:y,disabled:y}]),p?null:V().createElement(V().Fragment,null,V().createElement(rp,{status:E.status,isDismissible:!0,onRemove:()=>{"unrequested"===w||"pending_verification"===w?h(!0):S()},actions:C,className:"woopayments-request-jcb"},E.content),f&&V().createElement(xf,{onClose:()=>{h(!1)},onSubmit:S,label:n}))},Rf=()=>V().createElement(V().Fragment,null,Af.map((e=>V().createElement(Tf,{id:e.id,label:e.label,country:e.country,states:e.states,key:e.id})))),kf=e=>{let{setOpenModal:t}=e;return(0,j.createElement)(bp,{icon:Sp,label:(0,Q.__)("Add feedback","woocommerce-payments"),controls:[{title:(0,Q.__)("Provide feedback","woocommerce-payments"),onClick:()=>t("survey")}]})},Of=()=>{const[e]=fd(),t=vd(),n=gd(),r=n.filter((e=>Ap.LINK!==e&&Ap.CARD!==e&&!gf[e].allows_pay_later)),o=n.filter((e=>Ap.LINK!==e&&gf[e].allows_pay_later)),a=[Ap.CARD,...r,...o].map((e=>gf[e])),i=e.includes("card"),[s,d]=(0,H.useState)(null),[l,c]=(0,H.useState)(null),[,u]=(()=>{const{updateSelectedPaymentMethod:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getEnabledPaymentMethodIds())),e]})(),p=(0,zr.useSelect)((e=>e(Yr).getAccountDomesticCurrency())),m=e=>{u(e),d(null)},[,f]=(()=>{const{updateUnselectedPaymentMethod:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getEnabledPaymentMethodIds())),e]})(),h=e=>{f(e),c(null)},y=e=>{var n;const r=gf[e].stripe_key,o=null!==(n=t[r])&&void 0!==n?n:[];return o?{status:o.status,requirements:o.requirements}:{status:cm.UNREQUESTED,requirements:[]}},[g,v]=(0,H.useState)("");return(0,j.createElement)(j.Fragment,null,"survey"===g?(0,j.createElement)(Bp,null,(0,j.createElement)(rm,{setOpenModal:v,surveyKey:"wcpay-upe-disable-early-access-2022-may",surveyQuestion:"why-disable"})):null,(0,j.createElement)(kr,{className:"payment-methods"},(0,j.createElement)(Ep,{className:"payment-methods__header"},(0,j.createElement)("h4",{className:"payment-methods__heading"},(0,j.createElement)("span",null,(0,Q.__)("Payment methods","woocommerce-payments"))),(0,j.createElement)(kf,{setOpenModal:v})),(0,j.createElement)(Nc,{size:null},(0,j.createElement)(Rf,null),(0,j.createElement)(om,{className:"payment-methods__available-methods"},a.map((t=>{var n,r,o,a;let{id:s,label:l,icon:u,allows_manual_capture:f,setup_required:g,setup_tooltip:v,currencies:_}=t;if(!wcpaySettings.isMultiCurrencyEnabled&&s!==Ap.CARD){const e=wcpaySettings.storeCurrency;_.indexOf(e)<0&&(g=!0,$=l,b=_,v=(0,Q.sprintf)((0,Q.__)("%s requires the %s %s. In order to enable the payment method, you must add %s to your store.","woocommerce-payments"),$,(e=>{if(1===e.length)return e[0];if(2===e.length)return e.join(" "+(0,Q.__)("and","woocommerce-payments")+" ");const t=e.pop();return e.join(", ")+(0,Q.__)(", and","woocommerce-payments")+" "+t})(b),(0,Q._n)("currency","currencies",b.length,"woocommerce-payments"),(0,Q._n)("this currency","these currencies",b.length,"woocommerce-payments")))}var $,b;return(0,j.createElement)(Sm,{id:s,key:s,label:l,description:Cf(s,p),checked:e.includes(s)&&cm.INACTIVE!==y(s).status,required:Ap.CARD===s,locked:Ap.CARD===s&&i,Icon:u,status:y(s).status,isSetupRequired:g,setupTooltip:v,isAllowingManualCapture:f,onUncheckClick:()=>{(e=>{const t=gf[e],n=y(e);t&&"active"===n.status?c({id:e,label:t.label,Icon:t.icon}):h(e)})(s)},onCheckClick:()=>{(e=>{const t=y(e);"unrequested"===t.status&&t.requirements.length>0?d({id:e,requirements:t.requirements}):m(e)})(s)},isPoEnabled:null===(n=wcpaySettings)||void 0===n||null===(r=n.progressiveOnboarding)||void 0===r?void 0:r.isEnabled,isPoComplete:null===(o=wcpaySettings)||void 0===o||null===(a=o.progressiveOnboarding)||void 0===a?void 0:a.isComplete})}))))),s&&(0,j.createElement)(bf,{onClose:()=>{d(null)},onConfirmClose:()=>{m(s.id)},requirements:s.requirements,paymentMethod:s.id}),l&&(0,j.createElement)(Sf,{id:l.id,label:l.label,icon:l.Icon,onConfirm:()=>{h(l.id)},onCancel:()=>{c(null)}}))},Mf=()=>(0,j.createElement)(Du,{status:"warning",isDismissible:!1,className:"express-checkout__notice express-checkout__incompatibility-warning"},(0,j.createElement)("span",null,(0,j.createElement)(tp.Z,{style:{color:"#F0B849",fill:"currentColor",marginBottom:"-5px",marginRight:"10px"},size:20})),(0,j.createElement)("span",null,(0,Q.__)("One or more of your extensions are incompatible with WooPay.","woocommerce-payments"),(0,j.createElement)("br",null),Sc({mixedString:(0,Q.__)("{{learnMoreLink}}Learn More{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopay-merchant-documentation/#compatibility"})}}))),Pf=()=>{const[e]=fd(),[t,n]=Cd(),r=Ad(),o=e.includes("link"),{featureFlags:{woopay:a}}=(0,j.useContext)(gm);return V().createElement(V().Fragment,null,a&&V().createElement("li",{className:"express-checkout",id:"express-checkouts-woopay"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},o?V().createElement(lm,{content:(0,Q.__)("To enable WooPay, you must first disable Link by Stripe.","woocommerce-payments")},V().createElement("div",{className:"loadable-checkbox__icon"},V().createElement(tp.Z,null),V().createElement("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning"},V().createElement(en,null,(0,Q.__)("WooPay cannot be enabled at checkout. Click to expand.","woocommerce-payments"))))):V().createElement(Zr,{label:(0,Q.__)("WooPay","woocommerce-payments"),checked:t,onChange:n})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(mf,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("WooPay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("WooPay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},t?(0,Q.__)("Boost conversion and customer loyalty by offering a single click, secure way to pay.","woocommerce-payments"):Sc({mixedString:(0,Q.__)("Boost conversion and customer loyalty by offering a single click, secure way to pay. In order to use {{wooPayLink}}WooPay{{/wooPayLink}}, you must agree to our {{tosLink}}WooCommerce Terms of Service{{/tosLink}} and {{privacyLink}}Privacy Policy{{/privacyLink}}. {{trackingLink}}Click here{{/trackingLink}} to learn more about the data you will be sharing and opt-out options.","woocommerce-payments"),components:{wooPayLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopay-merchant-documentation/"}),tosLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://wordpress.com/tos/"}),privacyLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://automattic.com/privacy/"}),trackingLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/usage-tracking/"})}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Iu,{href:So("woopay"),isSecondary:!0},(0,Q.__)("Customize","woocommerce-payments"))))),r&&V().createElement(Mf,null)))},If=()=>{const[e,t]=$d();return V().createElement("li",{className:"express-checkout",id:"express-checkouts-apple-google-pay"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},V().createElement(Zr,{label:(0,Q.__)("Apple Pay / Google Pay","woocommerce-payments"),checked:e,onChange:t})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(Jm,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Apple Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Apple Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},e?(0,Q.__)("Apple Pay is an easy and secure way for customers to pay on your store.","woocommerce-payments"):Sc({mixedString:(0,Q.__)("Apple Pay is an easy and secure way for customers to pay on your store. By enabling this feature, you agree to {{stripeLink}}Stripe{{/stripeLink}} and{{appleLink}} Apple{{/appleLink}}'s terms of use.","woocommerce-payments"),components:{stripeLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://stripe.com/apple-pay/legal"}),appleLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.apple.com/apple-pay/acceptable-use-guidelines-for-websites/"}),br:V().createElement("br",null)}})))),V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(of,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Google Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Google Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},e?(0,Q.__)("Offer customers a fast, secure checkout experience with Google Pay.","woocommerce-payments"):Sc({mixedString:(0,Q.__)("Offer customers a fast, secure checkout experience with Google Pay. By enabling this feature, you agree to {{stripeLink}}Stripe{{/stripeLink}}, and {{googleLink}}Google{{/googleLink}}'s terms of use.","woocommerce-payments"),components:{stripeLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://stripe.com/apple-pay/legal"}),googleLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://androidpay.developers.google.com/terms/sellertos"}),br:V().createElement("br",null)}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Iu,{href:So("payment_request"),isSecondary:!0},(0,Q.__)("Customize","woocommerce-payments"))))))},Nf=()=>{const e=gd(),[t]=Cd(),[n,r]=fd(),o=n.includes("card")&&e.includes("link"),a=n.includes("link");return V().createElement(V().Fragment,null,o&&V().createElement("li",{className:"express-checkout",id:"express-checkouts-link"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},t?V().createElement(lm,{content:(0,Q.__)("To enable Link by Stripe, you must first disable WooPay.","woocommerce-payments")},V().createElement("div",{className:"loadable-checkbox__icon"},V().createElement(tp.Z,null),V().createElement("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning"},V().createElement(en,null,(0,Q.__)("Link by Stripe cannot be enabled at checkout. Click to expand.","woocommerce-payments"))))):V().createElement(Zr,{label:(0,Q.__)("Link by Stripe","woocommerce-payments"),checked:a,onChange:e=>{r(e?[...new Set([...n,"link"])]:[...n.filter((e=>"link"!==e))])}})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(lf,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Link by Stripe","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Link by Stripe","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},a?(0,Q.__)("Link autofills your customers’ payment and shipping details to deliver an easy and seamless checkout experience.","woocommerce-payments"):Sc({mixedString:(0,Q.__)("Link autofills your customers’ payment and shipping details to deliver an easy and seamless checkout experience. New payment experience (UPE) needs to be enabled for Link. By enabling this feature, you agree to the {{stripeLinkTerms}}Link by Stripe terms{{/stripeLinkTerms}}, and {{privacyPolicy}}Privacy Policy{{/privacyPolicy}}.","woocommerce-payments"),components:{stripeLinkTerms:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://link.co/terms"}),privacyPolicy:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://link.co/privacy"})}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Iu,{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopayments/payment-methods/link-by-stripe/",isSecondary:!0},(0,Q.__)("Read more","woocommerce-payments")))))))},Lf=()=>(0,j.createElement)(kr,{className:"express-checkouts"},(0,j.createElement)(Nc,{size:0},(0,j.createElement)("ul",{className:"express-checkouts-list"},(0,j.createElement)(Pf,null),(0,j.createElement)(If,null),(0,j.createElement)(Nf,null)))),Df=e=>{let{description:t=(()=>null),children:n,className:r,id:o}=e;return V().createElement("div",{className:X()("settings-section",r),id:o},V().createElement("div",{className:"settings-section__details"},V().createElement(t,null)),V().createElement("div",{className:"settings-section__controls"},n))},Ff=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})),Bf=V().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},V().createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Uf=V().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},V().createElement("path",{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"})),jf=e=>{let{closeModal:t}=e;return V().createElement(Xp,{title:(0,Q.__)("Set up live payments on your store","woocommerce-payments"),className:"wcpay-setup-real-payments-modal",isDismissible:!0,onRequestClose:t},V().createElement("p",{className:"wcpay-setup-real-payments-modal__headline"},(0,Q.__)("Before proceeding, please take note of the following information:","woocommerce-payments")),V().createElement("div",{className:"wcpay-setup-real-payments-modal__content"},V().createElement(tn,{icon:Bf}),(0,Q.__)("Your test account will be deactivated and your transaction records will be preserved for future reference.","woocommerce-payments"),V().createElement(tn,{icon:Uf}),(0,Q.__)("The owner, business and contact information will be required.","woocommerce-payments"),V().createElement(tn,{icon:Ff}),(0,Q.__)("We will need your banking details in order to process any deposits to you.","woocommerce-payments")),V().createElement("div",{className:"wcpay-setup-real-payments-modal__footer"},V().createElement(Iu,{isTertiary:!0,onClick:t},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Iu,{isPrimary:!0,onClick:()=>{window.location.href=(0,_o.addQueryArgs)(wcpaySettings.connectUrl,{"wcpay-disable-onboarding-test-mode":!0})}},(0,Q.__)("Continue setup","woocommerce-payments"))))},Hf=e=>{let{onClose:t,onConfirm:n}=e;return V().createElement(Jp,{title:(0,Q.__)("Enable test mode","woocommerce-payments"),onRequestClose:t,actions:V().createElement(V().Fragment,null,V().createElement(Iu,{onClick:t,variant:"secondary"},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Iu,{onClick:n,variant:"primary"},(0,Q.__)("Enable","woocommerce-payments")))},V().createElement("h3",null,(0,Q.__)("Are you sure you want to enable test mode?","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("Test mode lets you try out payments, refunds, disputes and other such processes as you're working on your store without handling live payment information. All incoming orders will be simulated, and test mode will have to be disabled before you can accept real orders.","woocommerce-payments")),V().createElement(rn,{href:"https://woo.com/document/woopayments/testing-and-troubleshooting/testing/"},(0,Q.__)("Learn more about test mode","woocommerce-payments")))},Vf=()=>{const[e,t]=(()=>{const{updateIsWCPayEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsWCPayEnabled())),e]})(),[n,r]=(()=>{const{updateIsTestModeEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsTestModeEnabled())),e]})(),[o,a]=(0,H.useState)(!1),i=hd(),[s,d]=(0,H.useState)(!1);return(0,j.createElement)(j.Fragment,null,(0,j.createElement)(kr,null,(0,j.createElement)(Nc,null,(0,j.createElement)(Zr,{checked:e,onChange:e=>{t(e),jd("wcpay_gateway_toggle",{action:e?"enable":"disable",context:"wcpay-settings"})},label:(0,Q.sprintf)((0,Q.__)("Enable %s","woocommerce-payments"),"WooPayments"),help:(0,Q.sprintf)((0,Q.__)("When enabled, payment methods powered by %s will appear on checkout.","woocommerce-payments"),"WooPayments")}),!i&&(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h4",null,(0,Q.__)("Test mode","woocommerce-payments")),(0,j.createElement)(Zr,{checked:n,onChange:e=>{e?d(!0):r(e)},label:(0,Q.__)("Enable test mode","woocommerce-payments"),help:Sc({mixedString:(0,Q.__)("Use {{testCardHelpLink}}test card numbers{{/testCardHelpLink}} to simulate various transactions. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{testCardHelpLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopayments/testing-and-troubleshooting/testing/#test-cards"}),learnMoreLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopayments/testing-and-troubleshooting/testing/"})}})})),i&&(0,j.createElement)(rp,{status:"warning",isDismissible:!1,actions:[{label:(0,Q.__)("Set up payments","woocommerce-payments"),variant:"secondary",onClick:()=>{a(!0)}}],className:"wcpay-general-settings__notice"},(0,j.createElement)("span",null,Sc({mixedString:(0,Q.sprintf)((0,Q.__)("{{b}}%1$s is in sandbox mode.{{/b}} You need to set up a live %1$s account before you can accept real transactions. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{b:(0,j.createElement)("b",null),learnMoreLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopayments/testing-and-troubleshooting/sandbox-mode/"})}}))))),o&&(0,j.createElement)(jf,{closeModal:()=>a(!1)}),s&&(0,j.createElement)(Hf,{onClose:()=>{d(!1)},onConfirm:()=>{r(!0),d(!1)}}))},Gf=(0,j.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,j.createElement)(ee.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),Zf={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},zf="…",Wf={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Kf={ellipsis:zf,ellipsizeMode:Wf.auto,limit:0,numberOfLines:0};let Yf;Dn([Fn]);const qf=ue()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&Nn(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!Yf){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),Yf=e}return Yf}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));const Xf=an("color:",qn.darkGray.primary,";line-height:",tr.fontLineHeightBase,";margin:0;",""),Jf={name:"4zleql",styles:"display:block"},Qf=an("color:",qn.alert.green,";",""),eh=an("color:",qn.alert.red,";",""),th=an("color:",qn.mediumGray.text,";",""),nh=an("mark{background:",qn.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),rh={name:"50zrmy",styles:"text-transform:uppercase"};var oh=n(6928);const ah=ue()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t})),ih=13,sh={body:ih,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function dh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ih;if(e in sh)return dh(sh[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc((${e} / ${ih}) * ${tr.fontSize})`}[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));var lh={name:"50zrmy",styles:"text-transform:uppercase"};function ch(e){const{adjustLineHeightForInnerControls:t,align:n,children:r,className:o,color:a,ellipsizeMode:i,isDestructive:s=!1,display:d,highlightEscape:l=!1,highlightCaseSensitive:c=!1,highlightWords:u,highlightSanitize:p,isBlock:m=!1,letterSpacing:f,lineHeight:h,optimizeReadabilityFor:y,size:g,truncate:v=!1,upperCase:_=!1,variant:$,weight:b=tr.fontWeight,...w}=Bt(e,"Text");let E=r;const S=Array.isArray(u),C="caption"===g;if(S){if("string"!=typeof r)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");E=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:a=!1,children:i,findChunks:s,highlightClassName:d="",highlightStyle:l={},highlightTag:c="mark",sanitize:u,searchWords:p=[],unhighlightClassName:m="",unhighlightStyle:f}=e;if(!i)return null;if("string"!=typeof i)return i;const h=i,y=(0,oh.findAll)({autoEscape:o,caseSensitive:a,findChunks:s,sanitize:u,searchWords:p,textToHighlight:h}),g=c;let v,_=-1,$="";return y.map(((e,o)=>{const i=h.substr(e.start,e.end-e.start);if(e.highlight){let e;_++,"object"==typeof d?a?e=d[i]:(d=ah(d),e=d[i.toLowerCase()]):e=d;const s=_===+n;$=`${e} ${s?t:""}`,v=!0===s&&null!==r?Object.assign({},l,r):l;const c={children:i,className:$,key:o,style:v};return"string"!=typeof g&&(c.highlightIndex=_),(0,j.createElement)(g,c)}return(0,j.createElement)("span",{children:i,className:m,key:o,style:f})}))}({autoEscape:l,children:r,caseSensitive:c,searchWords:u,sanitize:p})}const A=Dt();let x;!0===v&&(x="auto"),!1===v&&(x="none");const T=function(e){const{className:t,children:n,ellipsis:r=zf,ellipsizeMode:o=Wf.auto,limit:a=0,numberOfLines:i=0,...s}=Bt(e,"Truncate"),d=Dt(),l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t={...Kf,...arguments.length>1?arguments[1]:void 0},{ellipsis:n,ellipsizeMode:r,limit:o}=t;if(r===Wf.none)return e;let a,i;switch(r){case Wf.head:a=0,i=o;break;case Wf.middle:a=Math.floor(o/2),i=Math.floor(o/2);break;default:a=o,i=0}const s=r!==Wf.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,a=~~t,i=~~n,s=(0,J.isNil)(r)?zf:r;return 0===a&&0===i||a>=o||i>=o||a+i>=o?e:0===i?e.slice(0,a)+s:e.slice(0,a)+s+e.slice(o-i)}(e,a,i,n):e;return s}("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:a,numberOfLines:i}),c=o===Wf.auto;return{...s,className:(0,j.useMemo)((()=>{const e={};return e.numberOfLines=an("-webkit-box-orient:vertical;-webkit-line-clamp:",i,";display:-webkit-box;overflow:hidden;",""),d(c&&!i&&Zf,c&&!!i&&e.numberOfLines,t)}),[t,d,i,c]),children:l}}({...w,className:(0,j.useMemo)((()=>{const e={},r=function(e,t){if(t)return t;if(!e)return;let n=`calc(${tr.controlHeight} + ${ln(2)})`;switch(e){case"large":n=`calc(${tr.controlHeightLarge} + ${ln(2)})`;break;case"small":n=`calc(${tr.controlHeightSmall} + ${ln(2)})`;break;case"xSmall":n=`calc(${tr.controlHeightXSmall} + ${ln(2)})`}return n}(t,h);if(e.Base=an({color:a,display:d,fontSize:dh(g),fontWeight:b,lineHeight:r,letterSpacing:f,textAlign:n},"",""),e.upperCase=lh,e.optimalTextColor=null,y){const t="dark"==("#000000"===function(e){const t=qf(e);return Nn(t).isLight()?"#000000":"#ffffff"}(y)?"dark":"light");e.optimalTextColor=an(t?{color:qn.black}:{color:qn.white},"","")}return A(Xf,e.Base,e.optimalTextColor,s&&eh,!!S&&nh,m&&Jf,C&&th,$&&U[$],_&&e.upperCase,o)}),[t,n,o,a,A,d,m,C,s,S,f,h,y,g,_,$,b]),children:r,ellipsizeMode:i||x});return!v&&Array.isArray(r)&&(E=j.Children.map(r,(e=>{return(0,J.isPlainObject)(e)&&"props"in e?(n=["Link"],(t=e)&&("string"==typeof n?Ht(t).includes(n):Array.isArray(n)&&n.some((e=>Ht(t).includes(e))))?(0,j.cloneElement)(e,{size:e.props.size||"inherit"}):e):e;var t,n}))),{...T,children:v?T.children:E}}const uh=jt((function(e,t){const n=ch(e);return(0,j.createElement)(Qt,Y({as:"span"},n,{ref:t}))}),"Text");var ph={name:"1739oy8",styles:"z-index:1"};const mh=e=>{let{isFocused:t}=e;return t?ph:""};var fh={name:"2o6p8u",styles:"justify-content:space-between"},hh={name:"14qk3ip",styles:"align-items:flex-start;flex-direction:column-reverse"},yh={name:"hbng6e",styles:"align-items:flex-start;flex-direction:column"};const gh=e=>{let{labelPosition:t}=e;switch(t){case"top":return yh;case"bottom":return hh;case"edge":return fh;default:return""}},vh=Xt(Ju,{target:"em5sgkm7"})("position:relative;border-radius:2px;padding-top:0;",mh," ",gh,";");var _h={name:"wyxldh",styles:"margin:0 !important"},$h={name:"1d3w5wq",styles:"width:100%"};const bh=Xt("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(e=>{let{disabled:t}=e;return an({backgroundColor:t?qn.ui.backgroundDisabled:qn.ui.background},"","")})," ",(e=>{let{hideLabel:t}=e;return t?_h:null})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":an("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):$h}),";"),wh=(Xt("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",qn.black,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=an("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=an("&:active{cursor:",o,";}","")),an(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?an({color:qn.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?an("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30,paddingLeft:8,paddingRight:8},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:8,paddingRight:8},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:16,paddingRight:16}};return an(n[t]||n.default,"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),e=>{let{labelPosition:t}=e,n=8;return"edge"!==t&&"side"!==t||(n=0),an({marginTop:0,marginRight:0,marginBottom:n,marginLeft:0},"","")}),Eh=Xt(uh,{target:"em5sgkm4"})("&&&{box-sizing:border-box;color:currentColor;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;",wh," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"),Sh=e=>(0,j.createElement)(Eh,Y({},e,{as:"label"})),Ch=Xt(Qu,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),Ah=Xt("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(e=>{let t,{disabled:n,isFocused:r}=e,o=r?qn.ui.borderFocus:qn.ui.border;return r&&(t=`0 0 0 1px ${qn.ui.borderFocus} inset`),n&&(o=qn.ui.borderDisabled),an({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",Yu({paddingLeft:2}),";}"),xh=Xt("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),Th=Xt("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),Rh=(0,j.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,j.createElement)(Ah,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})})),kh=Rh;function Oh(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...o}=e;return t?n?(0,j.createElement)(en,{as:"label",htmlFor:r},t):(0,j.createElement)(Sh,Y({htmlFor:r},o),t):null}const Mh=(0,j.forwardRef)((function e(t,n){let{__unstableInputWidth:r,children:o,className:a,disabled:i=!1,hideLabelFromVision:s=!1,labelPosition:d,id:l,isFocused:c=!1,label:u,prefix:p,size:m="default",suffix:f,...h}=t;const y=function(t){const n=(0,Or.useInstanceId)(e);return t||`input-base-control-${n}`}(l),g=s||!u;return(0,j.createElement)(vh,Y({},h,function(e){const t={};switch(e){case"top":t.direction="column",t.gap=0;break;case"bottom":t.direction="column-reverse",t.gap=0;break;case"edge":t.justify="space-between"}return t}(d),{className:a,isFocused:c,labelPosition:d,ref:n}),(0,j.createElement)(Ch,null,(0,j.createElement)(Oh,{className:"components-input-control__label",hideLabelFromVision:s,labelPosition:d,htmlFor:y,size:m},u)),(0,j.createElement)(bh,{__unstableInputWidth:r,className:"components-input-control__container",disabled:i,hideLabel:g,labelPosition:d},p&&(0,j.createElement)(xh,{className:"components-input-control__prefix"},p),o,f&&(0,j.createElement)(Th,{className:"components-input-control__suffix"},f),(0,j.createElement)(kh,{disabled:i,isFocused:c})))})),Ph=Xt("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",qn.black,";display:block;font-family:inherit;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?an({color:qn.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?an("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24},"__unstable-large":{height:40,lineHeight:1,minHeight:40}};return an(n[t]||n.default,"","")}),";",(e=>{let{selectSize:t="default"}=e;return Yu({default:{paddingLeft:8,paddingRight:24},small:{paddingLeft:8,paddingRight:24},"__unstable-large":{paddingLeft:16,paddingRight:32}}[t])}),";}"),Ih=Xt("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Yu({right:0})," svg{display:block;}");const Nh=(0,j.forwardRef)((function e(t,n){let{className:r,disabled:o=!1,help:a,hideLabelFromVision:i,id:s,label:d,multiple:l=!1,onBlur:c=J.noop,onChange:u=J.noop,onFocus:p=J.noop,options:m=[],size:f="default",value:h,labelPosition:y="top",children:g,prefix:v,suffix:_,...$}=t;const[b,w]=(0,j.useState)(!1),E=function(t){const n=(0,Or.useInstanceId)(e);return t||`inspector-select-control-${n}`}(s),S=a?`${E}__help`:void 0;if((0,J.isEmpty)(m)&&!g)return null;const C=X()("components-select-control",r);return(0,j.createElement)(Gr,{help:a,id:E},(0,j.createElement)(Mh,{className:C,disabled:o,hideLabelFromVision:i,id:E,isFocused:b,label:d,size:f,suffix:_||(0,j.createElement)(Ih,null,(0,j.createElement)(tn,{icon:Gf,size:18})),prefix:v,labelPosition:y},(0,j.createElement)(Ph,Y({},$,{"aria-describedby":S,className:"components-select-control__input",disabled:o,id:E,multiple:l,onBlur:e=>{c(e),w(!1)},onChange:e=>{if(l){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})),n=t.map((e=>{let{value:t}=e;return t}));u(n)}else u(e.target.value,{event:e})},onFocus:e=>{p(e),w(!0)},ref:n,selectSize:f,value:h}),g||m.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,j.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),Lh=()=>{const[e,t]=(()=>{const{updateExportLanguage:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getExportLanguage())),e]})();return V().createElement("div",{className:"reporting-export-language"},V().createElement(Nh,{label:(0,Q.__)("Language","woocommerce-payments"),value:e,onChange:e=>{t(e)},options:[{label:(0,Q.__)("English (United States)","woocommerce-payments"),value:"en_US"},{label:(0,Q.__)("Site Language - ","woocommerce-payments")+wcpaySettings.locale.native_name,value:wcpaySettings.locale.code}]}),V().createElement("p",{className:"reporting-settings__text--help-text"},Sc({mixedString:(0,Q.__)("You can change your global site language preferences in {{learnMoreLink}}General Settings{{/learnMoreLink}}.","woocommerce-payments"),components:{learnMoreLink:V().createElement(rn,{href:(0,_o.addQueryArgs)("options-general.php")})}})))},Dh=()=>V().createElement(V().Fragment,null,V().createElement(kr,{className:"reporting-settings"},V().createElement(Nc,null,V().createElement("h4",null,V().createElement("span",{id:"reporting-card-title"},(0,Q.__)("Report exporting default language","woocommerce-payments"))),V().createElement(Lh,null))));var Fh=n(2722);const Bh=e=>(0,j.createElement)("img",Y({src:Fh,width:"241",height:"64",alt:"WooPayments logo"},e)),Uh=e=>{let t,n,r,{style:o}=e,a="woocommerce-payments-banner";return"account-page"===o?(t=196,n=65,r=!0,a+=" account-page"):(t=257,n=70,r=!1),(0,j.createElement)(kr,{size:"large",className:a},(0,j.createElement)(Ic,null,(0,j.createElement)(Bh,{width:t,height:n,className:"woocommerce-payments-banner-logo"}),r&&(0,j.createElement)("div",{className:"woocommerce-payments-banner-pill"},(0,j.createElement)("div",null,(0,Q.__)("Recommended","woocommerce-payments")))))},jh=e=>{let{children:t,displayBanner:n=!0}=e;return(0,j.createElement)("div",{className:"wcpay-settings-layout"},n&&(0,j.createElement)(Uh,null),t)};var Hh=n(4116);const Vh=e=>{let{onRequestClose:t}=e;const[n,r]=(0,H.useState)(!0);return(0,j.createElement)(Xp,{title:(0,j.createElement)("img",{src:Hh,alt:(0,Q.__)("WooPay Logo","woocommerce-payments"),className:"woopay-disable-feedback-logo"}),isDismissible:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!0,onRequestClose:t,className:"woopay-disable-feedback"},(0,j.createElement)(tm,{isLoading:n},(0,j.createElement)("iframe",{title:(0,Q.__)("WooPay Disable Feedback","woocommerce-payments"),src:"https://woocommerce.survey.fm/woopay-disabled-merchants-feedback-triggered",className:"woopay-disable-feedback-iframe",onLoad:()=>{r(!1)}})))},Gh=e=>{let{disabled:t=!1}=e;const{saveSettings:n,isSaving:r,isLoading:o}=_d(),a=(0,zr.useSelect)((e=>e(Yr).getSettings())),[i,s]=(0,H.useState)(null),[d,l]=(0,H.useState)(null),[c,u]=(0,H.useState)(!1);return null===i&&a&&void 0!==a.is_payment_request_enabled&&s(a.is_payment_request_enabled),null===d&&a&&void 0!==a.is_woopay_enabled&&l(a.is_woopay_enabled),(0,j.createElement)(Df,{className:"save-settings-section"},(0,j.createElement)(Iu,{isPrimary:!0,isBusy:r,disabled:r||o||t,onClick:async()=>{if(await n()&&(i!==a.is_payment_request_enabled&&(jd("wcpay_payment_request_settings_change",{enabled:a.is_payment_request_enabled?"yes":"no"}),s(a.is_payment_request_enabled)),d&&!a.is_woopay_enabled)){const{woopayLastDisableDate:e}=wcpaySettings;if(e){const t=new Date(e),n=new Date,r=Math.abs(n-t);if(Math.ceil(r/864e5)<7)return}u(!0),s(!0),wcpaySettings.woopayLastDisableDate=new Date}}},(0,Q.__)("Save changes","woocommerce-payments")),c?(0,j.createElement)(Vh,{onRequestClose:()=>u(!1)}):null)},Zh=(0,j.forwardRef)((function e(t,n){let{label:r,hideLabelFromVision:o,value:a,help:i,className:s,onChange:d,type:l="text",...c}=t;const u=`inspector-text-control-${(0,Or.useInstanceId)(e)}`;return(0,j.createElement)(Gr,{label:r,hideLabelFromVision:o,id:u,help:i,className:s},(0,j.createElement)("input",Y({className:"components-text-control__input",type:l,id:u,value:a,onChange:e=>d(e.target.value),"aria-describedby":i?u+"__help":void 0,ref:n},c)))})),zh=()=>{const[e,t]=yd(),[n]=(()=>{const{updateIsCardPresentEligible:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsCardPresentEligible())),e]})(),[r,o]=(0,j.useState)(!1),a=()=>{o(!1)};return V().createElement(V().Fragment,null,V().createElement(Zr,{checked:e,onChange:e=>{e?o(!0):t(e)},"data-testid":"capture-later-checkbox",label:(0,Q.__)("Issue an authorization on checkout, and capture later","woocommerce-payments"),help:V().createElement("span",null,(0,Q.__)("Charge must be captured on the order details screen within 7 days of authorization, otherwise the authorization and order will be canceled.","woocommerce-payments"),n?Sc({mixedString:(0,Q.__)(" The setting is not applied to {{a}}In-Person Payments{{/a}} (please note that In-Person Payments should be captured within 2 days of authorization).","woocommerce-payments"),components:{a:V().createElement(rn,{href:"https://woo.com/in-person-payments/"})}}):"")}),r&&V().createElement(Jp,{title:(0,Q.__)("Enable manual capture","woocommerce-payments"),actions:V().createElement(V().Fragment,null,V().createElement(Iu,{onClick:a,isSecondary:!0},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Iu,{onClick:()=>{t(!0),o(!1)},isPrimary:!0},(0,Q.__)("Enable","woocommerce-payments"))),onRequestClose:a},V().createElement("strong",null,(0,Q.__)("Are you sure you want to enable manual capture of payments?","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("Only cards support manual capture. When enabled, all other payment methods will be hidden from checkout.","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("You must capture the payment on the order details screen within 7 days of authorization, otherwise the money will return to the shopper.","woocommerce-payments"))))};var Wh=n(8699),Kh=n.n(Wh),Yh=n(1553),qh=n.n(Yh);const Xh=e=>{var{onValueChange:t,value:n,onValidationChange:r=(e=>e),onCountryDropdownClick:o,inputProps:a={label:"",ariaLabel:"",name:""},isBlocksCheckout:i}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["onValueChange","value","onValidationChange","onCountryDropdownClick","inputProps","isBlocksCheckout"]);const[d,l]=(0,H.useState)(null),c=(0,H.useRef)(null);return(0,H.useEffect)((()=>{var e,n,a;let i=null;const s=c.current,d=()=>{i&&(t(i.getNumber()),r(i.isValidNumber()))};let u={initialCountry:"US",onlyCountries:[]};if("undefined"!=typeof wcpaySettings&&"JP"===(null!==(n=null===(e=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountStatus)||void 0===e?void 0:e.country)&&void 0!==n?n:"")&&(u={initialCountry:"JP",onlyCountries:["JP"]}),s){i=Kh()(s,Object.assign({customPlaceholder:()=>"",separateDialCode:!0,hiddenInput:"full",utilsScript:qh(),dropdownContainer:document.body},u)),l(i),s.addEventListener("countrychange",d);const e=null===(a=s.closest(".iti"))||void 0===a?void 0:a.querySelector(".iti__flag-container");e&&o&&e.addEventListener("click",o)}return()=>{var e;if(i){i.destroy(),s&&s.removeEventListener("countrychange",d);const t=null===(e=null==s?void 0:s.closest(".iti"))||void 0===e?void 0:e.querySelector(".iti__flag-container");t&&o&&t.removeEventListener("click",o)}}}),[t,r,o]),(0,H.useEffect)((()=>{d&&c.current&&r(d.isValidNumber())}),[n,d,c,r]),V().createElement("div",{className:i?"wc-block-components-text-input":""},V().createElement("input",Object.assign({type:"tel",ref:c,value:(u=n,d?u.replace("+"+d.getSelectedCountryData().dialCode,""):u),onChange:()=>{d&&(t(d.getNumber()),r(d.isValidNumber()))},"aria-label":a.ariaLabel||(0,Q.__)("Mobile phone number","woocommerce-payments"),name:a.name,className:d&&!d.isValidNumber()?"phone-input input-text has-error":"phone-input input-text"},s)));var u},Jh=e=>{var t,n,r,o;let{setInputVallid:a}=e;const[i,s]=(()=>{const{updateAccountBusinessSupportPhone:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAccountBusinessSupportPhone())),e]})();let d=null===(t=Sd())||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.details)||void 0===r||null===(o=r.account_business_support_phone)||void 0===o?void 0:o.message;const l=(0,H.useRef)(i).current,c=""===i&&""===l,u=hd(),p=u&&"+10000000000"===i,[m,f]=(0,H.useState)(!0);p||m||c||(d=(0,Q.__)("Please enter a valid phone number.","woocommerce-payments")),""===i&&""!==l&&(d=(0,Q.__)("Support phone number cannot be empty once it has been set before, please specify.","woocommerce-payments")),(0,H.useEffect)((()=>{a&&a(!d)}),[d,a]);let h=(0,Q.__)("Support phone number","woocommerce-payments");return u&&(h+=(0,Q.__)(" (+1 0000000000 can be used in sandbox mode)","woocommerce-payments")),(0,j.createElement)(j.Fragment,null,d&&(0,j.createElement)(Du,{status:"error",isDismissible:!1},(0,j.createElement)("span",null,d)),(0,j.createElement)(Gr,{className:"settings__account-business-support-phone-input no-top-margin",help:(0,Q.__)("This may be visible on receipts, invoices, and automated emails from your store.","woocommerce-payments"),label:h,id:"account-business-support-phone-input"},(0,j.createElement)(Xh,{onValueChange:s,value:i,onValidationChange:f,inputProps:{ariaLabel:h}})))},Qh=e=>{var t,n,r,o;let{setInputVallid:a}=e;const[i,s]=(()=>{const{updateAccountBusinessSupportEmail:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAccountBusinessSupportEmail())),e]})();let d=null===(t=Sd())||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.details)||void 0===r||null===(o=r.account_business_support_email)||void 0===o?void 0:o.message;const l=(0,H.useRef)(i).current;return""===i&&""!==l&&(d=(0,Q.__)("Support email cannot be empty once it has been set before, please specify.","woocommerce-payments")),(0,H.useEffect)((()=>{a&&a(!d)}),[d,a]),(0,j.createElement)(j.Fragment,null,d&&(0,j.createElement)(Du,{status:"error",isDismissible:!1},(0,j.createElement)("span",null,d)),(0,j.createElement)(Zh,{className:"settings__account-business-support-email-input",help:(0,Q.__)("This may be visible on receipts, invoices, and automated emails from your store.","woocommerce-payments"),label:(0,Q.__)("Support email","woocommerce-payments"),value:i,onChange:s,"data-testid":"account-business-support-email-input"}))},ey=e=>{var t,n,r,o;let{setTransactionInputsValid:a}=e;const[i,s]=(()=>{const{updateIsSavedCardsEnabled:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getIsSavedCardsEnabled())),e]})(),[d,l]=(()=>{const{updateAccountStatementDescriptor:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAccountStatementDescriptor())),e]})(),[c,u]=(()=>{const{updateAccountStatementDescriptorKanji:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAccountStatementDescriptorKanji())),e]})(),[p,m]=(()=>{const{updateAccountStatementDescriptorKana:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAccountStatementDescriptorKana())),e]})(),f=null===(t=Sd())||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.details)||void 0===r||null===(o=r.account_statement_descriptor)||void 0===o?void 0:o.message,[h,y]=(0,H.useState)(!0),[g,v]=(0,H.useState)(!0),_=(0,zr.select)(Yr).getSettings();return(0,H.useEffect)((()=>{a&&a(h&&g)}),[h,g,a]),(0,j.createElement)(kr,{className:"transactions"},(0,j.createElement)(Nc,null,(0,j.createElement)("h4",null,(0,Q.__)("Transaction preferences","woocommerce-payments")),(0,j.createElement)(Zr,{checked:i,onChange:s,label:(0,Q.__)("Enable payments via saved cards","woocommerce-payments"),help:(0,Q.__)("When enabled, users will be able to pay with a saved card during checkout. Card details are stored in our platform, not on your store.","woocommerce-payments")}),(0,j.createElement)(zh,null),(0,j.createElement)("h4",null,(0,Q.__)("Customer statements","woocommerce-payments")),(0,j.createElement)("p",{className:"transactions-customer-details"},(0,Q.__)("Edit the way your store name appears on your customers' bank statements.","woocommerce-payments")),(0,j.createElement)("div",{className:"transactions__customer-statements"},f&&(0,j.createElement)(Du,{status:"error",isDismissible:!1},(0,j.createElement)("span",{dangerouslySetInnerHTML:{__html:f}})),(0,j.createElement)(Zh,{className:"transactions__account-statement-input",help:"JP"===_.account_country&&(0,Q.__)("Use only latin characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement","woocommerce-payments"),value:d,onChange:l,maxLength:22,"data-testid":"store-name-bank-statement"}),(0,j.createElement)("span",{className:"input-help-text","aria-hidden":"true"},`${d.length} / 22`),"JP"===_.account_country&&(0,j.createElement)(j.Fragment,null,(0,j.createElement)("div",{className:"transactions__customer-support"},(0,j.createElement)(Zh,{className:"transactions__account-statement-input",help:(0,Q.__)("Use only kanji characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement (kanji)","woocommerce-payments"),value:c,onChange:u,maxLength:17,"data-testid":"store-name-bank-statement-kanji"}),(0,j.createElement)("span",{className:"input-help-text","aria-hidden":"true"},`${c.length} / 17`)),(0,j.createElement)("div",{className:"transactions__customer-support"},(0,j.createElement)(Zh,{className:"transactions__account-statement-input",help:(0,Q.__)("Use only kana characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement (kana)","woocommerce-payments"),value:p,onChange:m,maxLength:22,"data-testid":"store-name-bank-statement-kana"}),(0,j.createElement)("span",{className:"input-help-text","aria-hidden":"true"},`${p.length} / 22`)))),(0,j.createElement)("h4",null,(0,Q.__)("Customer support","woocommerce-payments")),(0,j.createElement)("p",{className:"transactions-customer-details"},(0,Q.__)("Provide contact information where customers can reach you for support.","woocommerce-payments")),(0,j.createElement)("div",{className:"transactions__customer-support"},(0,j.createElement)(Qh,{setInputVallid:y}),(0,j.createElement)(Jh,{setInputVallid:v}))))},ty=e=>{let{monthlyAnchor:t,capitalize:n=!0}=e;const r=bo().locale().startsWith("en")?"en":bo().locale();let o=bo()().locale(r).date(t).format("Do");return 31===t&&(o=(0,Q.__)("Last day of the month","woocommerce-payments")),n||(o=o.toLowerCase()),o},ny=[{label:(0,Q.__)("Monday","woocommerce-payments"),value:"monday"},{label:(0,Q.__)("Tuesday","woocommerce-payments"),value:"tuesday"},{label:(0,Q.__)("Wednesday","woocommerce-payments"),value:"wednesday"},{label:(0,Q.__)("Thursday","woocommerce-payments"),value:"thursday"},{label:(0,Q.__)("Friday","woocommerce-payments"),value:"friday"}],ry=[...Array.from({length:28},((e,t)=>t+1)),31].map((e=>({value:e,label:ty({monthlyAnchor:e})}))),oy=()=>{const[e,t]=(()=>{const{updateDepositScheduleInterval:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getDepositScheduleInterval())),e]})(),[n,r]=(()=>{const{updateDepositScheduleWeeklyAnchor:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getDepositScheduleWeeklyAnchor())),e]})(),[o,a]=(()=>{const{updateDepositScheduleMonthlyAnchor:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getDepositScheduleMonthlyAnchor())),e]})(),i=(0,zr.select)(Yr).getSettings();let s=[{value:"daily",label:(0,Q.__)("Daily","woocommerce-payments")},{value:"weekly",label:(0,Q.__)("Weekly","woocommerce-payments")},{value:"monthly",label:(0,Q.__)("Monthly","woocommerce-payments")}];return"JP"===i.account_country&&(s=s.slice(1)),(0,j.createElement)(j.Fragment,null,(0,j.createElement)("div",{className:"schedule-controls"},(0,j.createElement)(Nh,{label:(0,Q.__)("Frequency","woocommerce-payments"),value:e,onChange:e=>{switch(e){case"weekly":r(n||"monday");break;case"monthly":a(o||"1")}t(e)},options:s}),"monthly"===e&&(0,j.createElement)(Nh,{label:(0,Q.__)("Date","woocommerce-payments"),value:o,onChange:a,options:ry}),"weekly"===e&&(0,j.createElement)(Nh,{label:(0,Q.__)("Day","woocommerce-payments"),value:n,onChange:r,options:ny})),(0,j.createElement)("p",{className:"help-text"},"monthly"===e&&(0,Q.__)("Deposits scheduled on a weekend will be sent on the next business day.","woocommerce-payments"),"weekly"===e&&(0,Q.__)("Deposits that fall on a holiday will initiate on the next business day.","woocommerce-payments"),"daily"===e&&(0,Q.__)("Deposits will occur every business day.","woocommerce-payments")))},ay=()=>{const e=(0,zr.useSelect)((e=>e(Yr).getDepositStatus()),[]),t=(0,zr.useSelect)((e=>e(Yr).getDepositRestrictions())),n=(0,zr.useSelect)((e=>e(Yr).getCompletedWaitingPeriod()));return"enabled"!==e||"schedule_restricted"===t?(0,j.createElement)(rp,{status:"warning",isDismissible:!1,icon:!0},Sc({mixedString:(0,Q.__)("Deposit scheduling is currently unavailable for your store. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,j.createElement)("a",{href:"https://woo.com/document/woopayments/deposits/deposit-schedule/",target:"_blank",rel:"noreferrer noopener"})}})):!0!==n?(0,j.createElement)(rp,{status:"warning",isDismissible:!1,icon:!0},Sc({mixedString:(0,Q.__)("Your first deposit will be held for 7-14 days. Deposit scheduling will be available after this period. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,j.createElement)("a",{href:"https://woo.com/document/woopayments/deposits/deposit-schedule/",target:"_blank",rel:"noreferrer noopener"})}})):(0,j.createElement)(oy,null)},iy=()=>{const{accountStatus:{accountLink:e}}=(0,H.useContext)(gm);return(0,j.createElement)(kr,{className:"deposits"},(0,j.createElement)(Nc,null,(0,j.createElement)("h4",null,(0,Q.__)("Deposit schedule","woocommerce-payments")),(0,j.createElement)(ay,null),(0,j.createElement)("div",{className:"deposits__bank-information"},(0,j.createElement)("h4",null,(0,Q.__)("Deposit bank account","woocommerce-payments")),(0,j.createElement)("p",{className:"deposits__bank-information-help"},(0,Q.__)("Manage and update your deposit account information to receive payments and deposits.","woocommerce-payments")," ",(0,j.createElement)(rn,{href:e,onClick:()=>jd("wcpay_settings_deposits_manage_in_stripe_click")},(0,Q.__)("Manage in Stripe","woocommerce-payments"))))))},sy=e=>{let{children:t,numLines:n}=e;const{isLoading:r}=_d();return(0,j.createElement)(em,{isLoading:r,numLines:n},t)};class dy extends j.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){return this.state.error?(0,j.createElement)(rp,{icon:!0,status:"error",isDismissible:!1},(0,Q.__)("There was an error rendering this view. Please contact support for assistance if the problem persists.","woocommerce-payments"),(0,j.createElement)("br",null),this.state.error.toString()):this.props.children}}const ly=dy,cy=e=>(0,j.createElement)(ee.SVG,Y({width:"24",height:"24",viewBox:"0 0 24 24"},e),(0,j.createElement)(ee.Path,{d:["M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 ","6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"].join(" ")})),uy=e=>{let{level:t}=e;const n={[pi]:(0,Q.__)("Provides basic anti-fraud protection only.","woocommerce-payments"),[fi]:(0,Q.__)("Provides a standard level of filtering that's suitable for most business.","woocommerce-payments"),[hi]:(0,Q.__)("Offers the highest level of filtering for stores, but may catch some legitimate transactions.","woocommerce-payments")};return V().createElement(Du,{className:"component-notice--is-info",status:"info",isDismissible:!1},V().createElement("div",{className:"component-notice__content--flex"},V().createElement(cy,{className:"component-notice__icon"}),V().createElement("p",null,n[t])))},py=e=>{let{level:t}=e;return V().createElement("p",{className:"fraud-protection__text--help-text"},function(e){switch(e){case hi:return(0,Q.__)("Offers the highest level of filtering for stores, but may catch some legitimate transactions.","woocommerce-payments");case mi:return(0,Q.__)("Allows you to fine-tune the level of filtering according to your business needs.","woocommerce-payments");case fi:return(0,Q.__)("Provides a standard level of filtering that's suitable for most businesses.","woocommerce-payments");case pi:return(0,Q.__)("Provides the base level of platform protection.","woocommerce-payments");default:return""}}(t))};var my=n(7719);const fy=()=>{const[e,t]=(0,j.useState)(!1),[n,r]=(()=>{const{updateProtectionLevel:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getCurrentProtectionLevel())),e]})(),[o]=(()=>{const{updateAdvancedFraudProtectionSettings:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getAdvancedFraudProtectionSettings())),e]})(),a=Array.isArray(o)&&0<o.length,i=e=>()=>{jd("wcpay_fraud_protection_risk_level_preset_enabled",{preset:e}),r(e)};return V().createElement(V().Fragment,null,"error"===o&&V().createElement(rp,{icon:!0,status:"error",isDismissible:!1,className:""},(0,Q.__)("There was an error retrieving your fraud protection settings. Please refresh the page to try again.","woocommerce-payments")),V().createElement("fieldset",{disabled:"error"===o},V().createElement("ul",null,V().createElement("li",null,V().createElement("div",{className:"fraud-protection-radio-wrapper"},V().createElement("input",{name:"fraud-protection-level-select",id:"fraud-protection__basic-level",value:pi,type:"radio",className:"fraud-protection-radio-wrapper__item",checked:pi===n,onChange:i(pi)}),V().createElement("label",{className:"fraud-protection-radio-wrapper__item",htmlFor:"fraud-protection__basic-level"},(0,Q.__)("Basic","woocommerce-payments")),V().createElement(my.Z,{size:18,title:"Basic level help icon",className:"fraud-protection__help-icon",onClick:()=>{jd("wcpay_fraud_protection_basic_modal_viewed"),t(!0)}}),V().createElement(hy,{level:pi,isBasicModalOpen:e,setBasicModalOpen:t})),V().createElement(py,{level:pi})),V().createElement("hr",{className:"fraud-protection__list-divider"}),V().createElement("li",{className:"fraud-protection__advanced-level-container"},V().createElement("label",{htmlFor:"fraud-protection-level-select_advanced-level"},V().createElement("div",{className:"fraud-protection-radio-wrapper"},V().createElement("input",{name:"fraud-protection-level-select",id:"fraud-protection-level-select_advanced-level",value:mi,type:"radio",checked:mi===n,onChange:i(mi)}),V().createElement("p",{className:"fraud-protection-radio-wrapper__item"},(0,Q.__)("Advanced","woocommerce-payments"))),V().createElement(py,{level:mi})),V().createElement(Iu,{href:Eo({page:"wc-admin",path:"/payments/fraud-protection"}),isSecondary:!0,disabled:mi!==n},a?(0,Q.__)("Edit","woocommerce-payments"):(0,Q.__)("Configure","woocommerce-payments"))))))},hy=e=>{let{level:t,isBasicModalOpen:n,setBasicModalOpen:r}=e;var o,a;const{declineOnAVSFailure:i,declineOnCVCFailure:s}=null!==(a=null===(o=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountStatus)||void 0===o?void 0:o.fraudProtection)&&void 0!==a?a:{declineOnAVSFailure:!0,declineOnCVCFailure:!0},d=i||s;return V().createElement(V().Fragment,null,n&&V().createElement(Xp,{title:(0,Q.__)("Basic filter level","woocommerce-payments"),isDismissible:!0,shouldCloseOnClickOutside:!0,shouldCloseOnEsc:!0,onRequestClose:()=>r(!1),className:"fraud-protection-level-modal"},V().createElement("div",{className:"components-modal__body--fraud-protection"},V().createElement(uy,{level:t}),d&&V().createElement(V().Fragment,null,V().createElement("p",null,Sc({mixedString:(0,Q.__)("Payments will be {{blocked}}blocked{{/blocked}} if:","woocommerce-payments"),components:{blocked:V().createElement("span",{className:"component-modal__text--blocked"})}})),V().createElement("ul",null,i&&V().createElement("li",null,(0,Q.__)("The billing address does not match what is on file with the card issuer.","woocommerce-payments")),s&&V().createElement("li",null,(0,Q.__)("The card's issuing bank cannot verify the CVV.","woocommerce-payments")))),V().createElement(Iu,{className:"component-modal__button--confirm",onClick:()=>r(!1),isTertiary:!0},(0,Q.__)("Got it","woocommerce-payments")))))},yy=[{referenceElements:{desktop:"#fraud-protection-welcome-tour-first-step"},meta:{name:"enhanced-fraud-protection",heading:(0,Q.__)("Enhanced fraud protection is here 🔒","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("You can now choose a level of protection for screening incoming transactions. Screened transactions will be automatically blocked by your customized fraud filters.","woocommerce-payments")},primaryButton:{text:(0,Q.__)("See what's new","woocommerce-payments")}}},{referenceElements:{desktop:"#fraud-protection-card-title"},meta:{name:"choose-your-filter-level",heading:(0,Q.__)("Choose your filter level 🚦","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("Choose how you'd like to screen incoming transactions using our Basic or Advanced options.","woocommerce-payments")}}},{referenceElements:{desktop:"#fraud-protection-level-select_advanced-level"},meta:{name:"take-more-control",heading:(0,Q.__)("Take more control 🎚️","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("Choose Advanced settings for full control over each filter. You can enable and configure filters to block risky transactions.","woocommerce-payments")}}},{referenceElements:{desktop:"#toplevel_page_wc-admin-path--payments-overview"},meta:{name:"review-blocked-transactions",heading:(0,Q.__)("Review blocked transactions 📥️","woocommerce-payments"),descriptions:{desktop:Sc({mixedString:(0,Q.__)("Payments that have been blocked by a risk filter will appear under the blocked tab in {{strong}}Payments > Transactions{{/strong}}. We'll let you know why each payment was blocked so you can determine if you need to adjust your risk filters.","woocommerce-payments"),components:{strong:V().createElement("strong",null)}})},primaryButton:{text:(0,Q.__)("Got it","woocommerce-payments")}}}],[gy]=yy,{desktop:vy}=gy.referenceElements,_y={effects:{overlay:!0,autoScroll:{behavior:"smooth"}},popperModifiers:[{name:"applyArrowHide",enabled:!0,phase:"write",fn(e){let{state:t}=e;const{arrow:n,reference:r}=t.elements;n&&(`#${r.id}`===vy?n.setAttribute("data-hide",""):n.removeAttribute("data-hide"))}}]},$y=()=>{const{isWelcomeTourDismissed:e}=wcpaySettings.fraudProtection,t="#fp-settings"===new URLSearchParams(window.location.search).get("anchor"),{isLoading:n}=_d(),{updateOptions:r}=(0,zr.useDispatch)("wc/admin/options"),[o,a]=(0,H.useState)(!1);return(0,H.useEffect)((()=>{n||e||!t||a(!0)}),[n,e,t]),o?V().createElement(V().Fragment,null,V().createElement("div",{id:"fraud-protection-welcome-tour-first-step"}),V().createElement(bm.TourKit,{config:{steps:yy,options:_y,placement:"top",closeHandler:(e,t,n)=>{r({wcpay_fraud_protection_welcome_tour_dismissed:!0}),wcpaySettings.fraudProtection.isWelcomeTourDismissed=!0,a(!1),jd("done-btn"===n?"wcpay_fraud_protection_tour_clicked_through":"wcpay_fraud_protection_tour_abandoned")}}})):null},by=()=>V().createElement(V().Fragment,null,V().createElement(kr,{className:"fraud-protection"},V().createElement(Nc,null,V().createElement("h4",null,V().createElement("span",{id:"fraud-protection-card-title"},(0,Q.__)("Set your payment risk level","woocommerce-payments"))),V().createElement(fy,null))),V().createElement($y,null)),wy=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Payments accepted on checkout","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Add and edit payments available to customers at checkout. Based on their device type, location, and purchase history, your customers will only see the most relevant payment methods.","woocommerce-payments"))),Ey=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Express checkouts","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Let your customers use their favorite express payment methods and digital wallets for faster, more secure checkouts across different parts of your store.","woocommerce-payments")),(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/settings-guide/#express-checkouts"},(0,Q.__)("Learn more","woocommerce-payments"))),Sy=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("General","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.sprintf)((0,Q.__)("Enable or disable %s on your store and turn on test mode to simulate transactions.","woocommerce-payments"),"WooPayments"))),Cy=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Transactions","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Update your store's configuration to ensure smooth transactions.","woocommerce-payments")),(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/"},(0,Q.__)("View our documentation","woocommerce-payments"))),Ay=()=>{const e=(0,zr.useSelect)((e=>e(Yr).getDepositDelayDays()),[]);return(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Deposits","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.sprintf)((0,Q.__)("Funds are available for deposit %s business days after they’re received.","woocommerce-payments"),e)),(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/deposits/deposit-schedule/"},(0,Q.__)("Learn more about pending schedules","woocommerce-payments")))},xy=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Fraud protection","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Help avoid unauthorized transactions and disputes by setting your fraud protection level.","woocommerce-payments")),(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/fraud-and-disputes/fraud-protection/"},(0,Q.__)("Learn more about fraud protection","woocommerce-payments"))),Ty=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Reporting","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Adjust your report exporting language preferences.","woocommerce-payments"))),Ry=()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Advanced settings","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("More options for specific payment needs.","woocommerce-payments")),(0,j.createElement)(rn,{href:"https://woo.com/document/woopayments/settings-guide/#advanced-settings"},(0,Q.__)("View our documentation","woocommerce-payments")));var ky=n(6664),Oy="https://js.stripe.com/v3",My=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Py="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Iy=null,Ny=Promise.resolve().then((function(){return e=null,null!==Iy||(Iy=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Py),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Oy,'"]')),t=0;t<e.length;t++){var n=e[t];if(My.test(n.src))return n}return null}();r&&e?console.warn(Py):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Oy).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))),Iy;var e})),Ly=!1;Ny.catch((function(e){Ly||console.warn(e)}));const Dy=e=>(0,j.createElement)("svg",Y({width:"62",height:"22",viewBox:"0 0 62 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,j.createElement)("path",{d:"M42.0633 3.53594C43.2337 3.53594 44.1719 3.81454 44.8778 4.37194C45.5837 4.92924 45.9367 5.66304 45.9367 6.57334C45.9367 7.53004 45.5744 8.28244 44.8592 8.82114C44.144 9.35994 43.1501 9.63864 41.8775 9.63864H41.4131V13.3819H38.7287V3.53594H42.0633ZM41.4224 5.42154V7.74374C42.0262 7.73444 42.472 7.64154 42.7507 7.45574C43.0386 7.26994 43.178 6.98204 43.178 6.59194C43.178 6.16464 43.0386 5.86734 42.76 5.70014C42.4906 5.52374 42.0447 5.43084 41.4224 5.42154Z",fill:"white"}),(0,j.createElement)("path",{d:"M54.2687 13.3726H51.4821L51.0269 11.7285H48.1939L47.7294 13.3726H44.9985L48.1288 3.52664H51.1384L54.2687 13.3726ZM50.516 9.96374C50.1166 8.49604 49.8101 7.10274 49.615 5.78374H49.5779C49.3642 7.14924 49.067 8.54254 48.6862 9.96374H50.516Z",fill:"white"}),(0,j.createElement)("path",{d:"M52.6617 3.53594H55.6712C56.34 4.94774 56.823 6.04384 57.1203 6.80554H57.1574C57.4547 6.01604 57.9377 4.92924 58.5879 3.53594H61.6625L58.495 8.92334V13.3726H55.7827V8.92334L52.6617 3.53594Z",fill:"white"}),(0,j.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.7879 0.116043H4.20652C2.39522 0.116043 0.92762 1.58364 0.92762 3.38574V14.2906C0.92762 16.0926 2.39522 17.5602 4.19732 17.5602H17.7402L23.9357 21.0063L22.5331 17.5602H32.7879C34.5899 17.5602 36.0575 16.0926 36.0575 14.2906V3.38574C36.0575 1.58364 34.5899 0.116043 32.7879 0.116043ZM3.60282 2.63334C3.24982 2.64264 2.92472 2.80984 2.70182 3.07914C2.48812 3.35784 2.40452 3.71084 2.47892 4.06374C3.32412 9.45124 4.11372 13.0831 4.84752 14.9594C5.11682 15.6467 5.45122 15.9718 5.84142 15.944C6.43582 15.8975 7.16042 15.0708 8.00562 13.4453C8.19362 13.0694 8.42272 12.6128 8.69172 12.0766L8.69352 12.073C9.07562 11.3114 9.53802 10.3898 10.077 9.31184C10.8573 12.0149 11.9162 14.0491 13.2537 15.4145C13.6346 15.7954 14.0061 15.9718 14.387 15.944C14.7121 15.9254 15.0093 15.721 15.1486 15.4238C15.288 15.1359 15.353 14.8108 15.3158 14.4857C15.2229 13.1759 15.3623 11.3461 15.7152 9.01464C16.0775 6.59964 16.5419 4.87194 17.0993 3.83154C17.2107 3.62724 17.2572 3.38574 17.2386 3.14424C17.22 2.81914 17.0621 2.51254 16.802 2.31754C16.5512 2.10384 16.2261 2.00164 15.901 2.02954C15.4923 2.04814 15.1301 2.28964 14.9536 2.66114C14.0711 4.28674 13.4395 6.92474 13.0587 10.5658C12.4549 8.97754 11.9998 7.33344 11.7025 5.66144C11.5446 4.80684 11.1545 4.40744 10.5229 4.45394C10.0863 4.48174 9.73332 4.76974 9.44542 5.30844L6.29652 11.2903C5.78562 9.20044 5.30262 6.65534 4.85682 3.66434C4.74532 2.93054 4.32732 2.58684 3.60282 2.63334ZM24.5582 5.33634C24.0751 4.47244 23.2392 3.85944 22.2639 3.67364C22.0038 3.61794 21.7437 3.59004 21.4836 3.59004C20.1089 3.59004 18.9849 4.30524 18.1118 5.73574C17.3687 6.95254 16.9786 8.35514 16.9972 9.77634C16.9972 10.8816 17.2294 11.8291 17.6845 12.6186C18.1675 13.4825 19.0035 14.0955 19.9788 14.2813C20.2389 14.337 20.499 14.3649 20.7591 14.3649C22.1431 14.3649 23.267 13.6497 24.1309 12.2192C24.874 10.9931 25.2641 9.59054 25.2455 8.15084C25.2455 7.04544 25.0133 6.10724 24.5582 5.33634ZM22.7469 9.32114C22.5518 10.2593 22.1895 10.9652 21.6508 11.4482C21.2328 11.8291 20.8427 11.9777 20.4897 11.9127C20.1367 11.8477 19.8581 11.5318 19.6444 10.9838C19.4865 10.5658 19.3936 10.1292 19.3936 9.67414C19.3936 9.32114 19.4308 8.96824 19.4958 8.62454C19.6352 8.01144 19.8859 7.43554 20.2575 6.91544C20.7312 6.21874 21.2328 5.92154 21.753 6.03294C22.1059 6.10724 22.3846 6.41384 22.5982 6.96184C22.7562 7.37984 22.849 7.81644 22.849 8.26224C22.849 8.61524 22.8212 8.96824 22.7469 9.32114ZM31.2552 3.67364C32.2305 3.85944 33.0665 4.47244 33.5495 5.33634C34.0047 6.10724 34.2369 7.04544 34.2369 8.15084C34.2555 9.59054 33.8654 10.9931 33.1223 12.2192C32.2584 13.6497 31.1345 14.3649 29.7505 14.3649C29.4904 14.3649 29.2303 14.337 28.9702 14.2813C27.9949 14.0955 27.1589 13.4825 26.6759 12.6186C26.2208 11.8291 25.9885 10.8816 25.9885 9.77634C25.97 8.35514 26.3601 6.95254 27.1032 5.73574C27.9763 4.30524 29.1003 3.59004 30.475 3.59004C30.7351 3.59004 30.9951 3.61794 31.2552 3.67364ZM30.6422 11.4482C31.1809 10.9652 31.5432 10.2593 31.7382 9.32114C31.8126 8.96824 31.8404 8.61524 31.8404 8.26224C31.8404 7.81644 31.7475 7.37984 31.5896 6.96184C31.376 6.41384 31.0973 6.10724 30.7444 6.03294C30.2242 5.92154 29.7226 6.21874 29.2489 6.91544C28.8773 7.43554 28.6265 8.01144 28.4872 8.62454C28.4222 8.96824 28.385 9.32114 28.385 9.67414C28.385 10.1292 28.4779 10.5658 28.6358 10.9838C28.8495 11.5318 29.1281 11.8477 29.4811 11.9127C29.8341 11.9777 30.2242 11.8291 30.6422 11.4482Z",fill:"white"})),Fy=e=>(0,j.createElement)("svg",Y({width:"62",height:"22",viewBox:"0 0 62 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,j.createElement)("path",{d:"M41.7108 4.7031C42.8812 4.7031 43.8194 4.9817 44.5253 5.539C45.2312 6.0964 45.5842 6.8302 45.5842 7.7405C45.5842 8.6972 45.2219 9.4496 44.5067 9.9883C43.7915 10.5271 42.7976 10.8057 41.525 10.8057H41.0606V14.5491H38.3762V4.7031H41.7108ZM41.0699 6.5887V8.9108C41.6737 8.9016 42.1195 8.8087 42.3982 8.6229C42.6861 8.4371 42.8255 8.1492 42.8255 7.759C42.8255 7.3318 42.6861 7.0345 42.4075 6.8673C42.1381 6.6908 41.6922 6.598 41.0699 6.5887Z",fill:"black"}),(0,j.createElement)("path",{d:"M53.9162 14.5398H51.1296L50.6744 12.8957H47.8414L47.3769 14.5398H44.646L47.7763 4.6938H50.7859L53.9162 14.5398ZM50.1635 11.1308C49.7641 9.6632 49.4576 8.2699 49.2625 6.9509H49.2254C49.0117 8.3164 48.7145 9.7097 48.3337 11.1308H50.1635Z",fill:"black"}),(0,j.createElement)("path",{d:"M52.3092 4.7031H55.3187C55.9875 6.1149 56.4705 7.211 56.7678 7.9727H56.8049C57.1022 7.1832 57.5852 6.0964 58.2354 4.7031H61.31L58.1425 10.0905V14.5398H55.4302V10.0905L52.3092 4.7031Z",fill:"black"}),(0,j.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5621 0.783203H32.1435C33.9455 0.783203 35.4131 2.2508 35.4131 4.0529V14.9578C35.4131 16.7598 33.9455 18.2274 32.1435 18.2274H21.8887L23.2913 21.6735L17.0958 18.2274H3.5529C1.7508 18.2274 0.283203 16.7598 0.283203 14.9578V4.0529C0.283203 2.2508 1.7508 0.783203 3.5621 0.783203Z",fill:"#7F54B3"}),(0,j.createElement)("path",{d:"M2.0574 3.74629C2.2803 3.47699 2.6054 3.30979 2.9584 3.30049C3.6829 3.25399 4.1009 3.59769 4.2124 4.33149C4.6582 7.32249 5.1412 9.8676 5.6521 11.9575L8.801 5.9756C9.0889 5.4369 9.4419 5.1489 9.8785 5.1211C10.5101 5.0746 10.9002 5.47399 11.0581 6.32859C11.3554 8.00049 11.8105 9.6446 12.4143 11.233C12.7951 7.59179 13.4267 4.9539 14.3092 3.3283C14.4857 2.9568 14.8479 2.7153 15.2566 2.6967C15.5817 2.6688 15.9068 2.771 16.1576 2.9847C16.4177 3.1797 16.5756 3.4862 16.5942 3.8113C16.6128 4.0529 16.5663 4.2944 16.4549 4.4987C15.8975 5.539 15.4331 7.2667 15.0708 9.6818C14.7179 12.0133 14.5785 13.8431 14.6714 15.1528C14.7086 15.4779 14.6436 15.803 14.5042 16.091C14.3649 16.3882 14.0677 16.5926 13.7426 16.6112C13.3617 16.639 12.9902 16.4625 12.6093 16.0817C11.2718 14.7163 10.2129 12.682 9.4326 9.97899C8.513 11.8182 7.8164 13.2022 7.3612 14.1125C6.516 15.738 5.7914 16.5647 5.197 16.6112C4.8068 16.639 4.4724 16.3139 4.2031 15.6266C3.4693 13.7502 2.6797 10.1184 1.8344 4.73089C1.7601 4.37799 1.8437 4.02499 2.0574 3.74629Z",fill:"white"}),(0,j.createElement)("path",{d:"M23.9138 6.0035C23.4308 5.1396 22.5948 4.5266 21.6195 4.3408C21.3594 4.2851 21.0993 4.2572 20.8392 4.2572C19.4645 4.2572 18.3405 4.9724 17.4674 6.4029C16.7243 7.6197 16.3342 9.0223 16.3528 10.4435C16.3528 11.5488 16.585 12.4963 17.0401 13.2858C17.5231 14.1497 18.3591 14.7627 19.3344 14.9485C19.5945 15.0042 19.8546 15.0321 20.1147 15.0321C21.4987 15.0321 22.6226 14.3169 23.4865 12.8864C24.2296 11.6603 24.6197 10.2577 24.6011 8.818C24.6011 7.7126 24.3689 6.7744 23.9138 6.0035ZM22.1025 9.9883C21.9074 10.9265 21.5451 11.6324 21.0064 12.1154C20.5884 12.4963 20.1983 12.6449 19.8453 12.5799C19.4923 12.5149 19.2137 12.199 19 11.651C18.8421 11.233 18.7492 10.7964 18.7492 10.3413C18.7492 9.9883 18.7864 9.6354 18.8514 9.2917C18.9908 8.6786 19.2415 8.1027 19.6131 7.5826C20.0868 6.8859 20.5884 6.5887 21.1086 6.7001C21.4615 6.7744 21.7402 7.081 21.9538 7.629C22.1118 8.047 22.2046 8.4836 22.2046 8.9294C22.2046 9.2824 22.1768 9.6354 22.1025 9.9883Z",fill:"white"}),(0,j.createElement)("path",{d:"M32.9051 6.0035C32.4221 5.1396 31.5861 4.5266 30.6108 4.3408C30.3507 4.2851 30.0907 4.2572 29.8306 4.2572C28.4559 4.2572 27.3319 4.9724 26.4588 6.4029C25.7157 7.6197 25.3256 9.0223 25.3441 10.4435C25.3441 11.5488 25.5764 12.4963 26.0315 13.2858C26.5145 14.1497 27.3505 14.7627 28.3258 14.9485C28.5859 15.0042 28.846 15.0321 29.1061 15.0321C30.4901 15.0321 31.614 14.3169 32.4779 12.8864C33.221 11.6603 33.6111 10.2577 33.5925 8.818C33.5925 7.7126 33.3603 6.7744 32.9051 6.0035ZM31.0938 9.9883C30.8988 10.9265 30.5365 11.6324 29.9978 12.1154C29.5798 12.4963 29.1897 12.6449 28.8367 12.5799C28.4837 12.5149 28.2051 12.199 27.9914 11.651C27.8335 11.233 27.7406 10.7964 27.7406 10.3413C27.7406 9.9883 27.7778 9.6354 27.8428 9.2917C27.9821 8.6786 28.2329 8.1027 28.6045 7.5826C29.0782 6.8859 29.5798 6.5887 30.1 6.7001C30.4529 6.7744 30.7316 7.081 30.9452 7.629C31.1031 8.047 31.196 8.4836 31.196 8.9294C31.196 9.2824 31.1682 9.6354 31.0938 9.9883Z",fill:"white"}));function By(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;for(const r in e){const o=e[r],a=t?t+"["+r+"]":r;"string"==typeof o||"number"==typeof o?n.append(a,o):"object"==typeof o&&By(o,a,n)}return n}async function Uy(e,t,n){const r=By(t,"",new FormData),o=await fetch(e,{method:"POST",body:r,...n});return await o.json()}const jy=(e,t)=>{var n;wcSettings.wcBlocksConfig&&"product"!==e?null===(n=wp.data.dispatch("core/notices"))||void 0===n||n.createNotice("error",t,{context:`wc/${e}`}):fetch(Fd("ajaxUrl"),{method:"POST",body:new URLSearchParams({action:"woopay_express_checkout_button_show_error_notice",_ajax_nonce:Fd("woopayButtonNonce"),context:e,message:t})}).then((e=>e.json())).then((e=>{if(e.success){const t=document.querySelector(".woocommerce-notices-wrapper"),n=document.createElement("div");n.innerHTML=e.data.notice,t.insertBefore(n,null),t.scrollIntoView({behavior:"smooth",block:"center"})}}))},Hy=e=>{const t=window.wcpayConfig.pay_for_order,n=window.wcpayConfig.order_id,r=window.wcpayConfig.key,o=window.wcpayConfig.billing_email;if(!t||!n||!r)return e;const a=new URL(e);return a.searchParams.append("pay_for_order",t),a.searchParams.append("order_id",n),a.searchParams.append("key",r),a.searchParams.append("billing_email",o),a.href},Vy=async(e,t,n)=>{const r=await(o=n,o?new Promise((e=>{if(document.querySelector(o))return e(document.querySelector(o));const t=document.querySelector('[data-block-name="woocommerce/checkout"]');if(!t)return e(null);new MutationObserver(((t,n)=>{document.querySelector(o)&&(e(document.querySelector(o)),n.disconnect())})).observe(t,{childList:!0,subtree:!0})})):null);var o;let a="";const i=document.body,s=document.createElement("div");s.setAttribute("role","dialog"),s.setAttribute("aria-modal","true"),s.classList.add("woopay-otp-iframe-wrapper");const d=document.createElement("iframe");d.title=(0,Q.__)("WooPay SMS code verification","woocommerce-payments"),d.classList.add("woopay-otp-iframe"),d.classList.add("intrinsic-ignore");const l=768;let c=!0;const u=()=>{(l<=window.innerWidth&&c||l>window.innerWidth&&!c)&&(c=!c,d.contentWindow.postMessage({action:"setHeader",value:c},Fd("woopayHost"))),document.body.style.overflow="hidden"},p=()=>{if(!d)return;if(l>window.innerWidth)return d.style.left="0",d.style.right="",void(d.style.top="0");const e=d.getBoundingClientRect();d.style.top=Math.floor(window.innerHeight/2-e.height/2)+"px",d.style.left=Math.floor(window.innerWidth/2-e.width/2)+"px"};d.addEventListener("load",(()=>{c=!0,Fd("isWoopayFirstPartyAuthEnabled")&&Uy(Ud(Fd("wcAjaxUrl"),"get_woopay_session"),{_ajax_nonce:Fd("woopaySessionNonce"),order_id:Fd("order_id"),key:Fd("key"),billing_email:Fd("billing_email")}).then((e=>{var t;null!=e&&null!==(t=e.data)&&void 0!==t&&t.session&&d.contentWindow.postMessage({action:"setSessionData",value:e},Fd("woopayHost"))})),u(),window.addEventListener("resize",u),p(),window.addEventListener("resize",p),d.classList.add("open")})),s.insertBefore(d,null);const m=()=>{window.removeEventListener("resize",u),window.removeEventListener("resize",p),window.removeEventListener("pageshow",h),window.removeEventListener("message",f),document.removeEventListener("keyup",y),s.remove(),d.classList.remove("open"),document.body.style.overflow=""};function f(n){if(Fd("woopayHost").startsWith(n.origin))switch(n.data.action){case"otp_email_submitted":a=n.data.userEmail;break;case"redirect_to_woopay_skip_session_init":n.data.redirectUrl&&(window.location=Hy(n.data.redirectUrl));break;case"redirect_to_platform_checkout":case"redirect_to_woopay":e.initWooPay(a||n.data.userEmail,n.data.platformCheckoutUserSession).then((e=>{if(document.querySelector(".woopay-otp-iframe"))if("success"===e.result)window.location=Hy(e.url);else{const e=(0,Q.__)("WooPay is unavailable at this time. Sorry for the inconvenience.","woocommerce-payments");jy(t,e),m()}}));break;case"otp_validation_failed":break;case"close_modal":m();break;case"iframe_height":n.data.height>300&&(l<=window.innerWidth?(d.style.height=n.data.height+"px",d.style.top=Math.floor(window.innerHeight/2-n.data.height/2)+"px"):(d.style.height="",d.style.top=""))}}function h(e){e.persisted&&m()}function y(e){"Escape"===e.key&&m()&&e.stopPropagation()}s.addEventListener("click",m),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(document.querySelector(".woopay-otp-iframe"))return;window.addEventListener("pageshow",h),window.addEventListener("message",f),document.addEventListener("keyup",y);const n=window.document.documentElement.clientWidth,r=window.document.documentElement.clientHeight,o=new URLSearchParams;var c;o.append("testMode",Fd("testMode")),o.append("needsHeader",l>window.innerWidth),o.append("wcpayVersion",Fd("wcpayVersionNumber")),e&&(c=e,new RegExp(/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]){2,}\.?$/i).test(c))&&(a=e,o.append("email",e)),o.append("is_blocks",!!wcSettings.wcBlocksConfig),o.append("is_express","true"),o.append("express_context",t),o.append("source_url",window.location.href),o.append("viewport",`${n}x${r}`),o.append("tracksUserIdentity",JSON.stringify(Fd("tracksUserIdentity"))),d.src=`${Fd("woopayHost")}/otp/?${o.toString()}`,i.insertBefore(s,null),p(),d.focus()}(null==r?void 0:r.value)};var Gy=n(8966),Zy=n.n(Gy);const zy={default:(0,Q.__)("WooPay","woocommerce-payments"),buy:(0,Q.__)("Buy with WooPay","woocommerce-payments"),donate:(0,Q.__)("Donate with WooPay","woocommerce-payments"),book:(0,Q.__)("Book with WooPay","woocommerce-payments")},Wy=e=>{var t;let{listenForCartChanges:n={},isPreview:r=!1,buttonSettings:o,api:a,isProductPage:i=!1,emailSelector:s="#email"}=e;const d="narrow",l="wide",c=(0,H.useRef)(null),u=(0,H.useRef)(null),p=(0,H.useRef)(null),m=(0,H.useRef)(!1),{type:f,height:h,size:y,theme:g,context:v}=o,[_,$]=(0,H.useState)(!1),[b,w]=(0,H.useState)(l),E=null!==(t=zy[f||"default"])&&void 0!==t?t:zy.default,S="dark"===g?Dy:Fy,{addToCart:C,getProductData:A}=(e=>({addToCart:t=>e.expressCheckoutAddToCart(t),getProductData:()=>{const e=document.querySelector(".single_add_to_cart_button").value,t=document.querySelector(".bundle_form"),n=document.querySelector(".single_variation_wrap");let r={product_id:e,quantity:document.querySelector(".quantity .qty").value};if(n&&!t)r.product_id=n.querySelector('input[name="product_id"]').value,r.attributes=document.querySelector(".variations_form")?(()=>{var e;const t=null===(e=document.querySelector(".variations_form"))||void 0===e?void 0:e.querySelectorAll(".variations select"),n={};return t&&t.forEach((e=>{const t=e.name,r=e.value||"";n[t]=r})),n})():[];else{const e=new FormData(document.querySelector("form.cart"));e.delete("add-to-cart");const t={};for(const n of e.entries())t[n[0]]=n[1];r={...r,...t}}const o=document.querySelector("form.cart");return!(o&&(new FormData(o).forEach(((e,t)=>{if(/^addon-/.test(t)||/^wc_gc_giftcard_/.test(t))if(/\[\]$/.test(t)){const n=t.substring(0,t.length-2);r[n]?r[n].push(e):r[n]=[e]}else r[t]=e})),!(e=>{const t=["wc_gc_giftcard_to","wc_gc_giftcard_from","wc_gc_giftcard_to_multiple"];for(const n of t)if(e.hasOwnProperty(n)&&!e[n])return alert("Please fill out all required fields"),!1;return e.hasOwnProperty("wc_gc_giftcard_to_multiple")&&!e.wc_gc_giftcard_to_multiple.split(",").every((e=>Zy().isEmail(e.trim())))?(alert("Please type only valid emails"),!1):!(e.hasOwnProperty("wc_gc_giftcard_to")&&!Zy().isEmail(e.wc_gc_giftcard_to)&&(alert("Please type only valid emails"),1))})(r)))&&r}}))(a),x=(0,H.useRef)(A),T=(0,H.useRef)(C);(0,H.useEffect)((()=>{if(!u.current)return;const e=u.current.getBoundingClientRect().width;w(e>140?l:d)}),[d,l]),(0,H.useEffect)((()=>{r||Hd("woopay_button_load",{source:v})}),[r,v]);const R=(0,H.useCallback)((()=>{if(!i)return!0;const e=document.querySelector(".single_add_to_cart_button");var t,n;return!e||!e.disabled&&!e.classList.contains("disabled")||(e.classList.contains("wc-variation-is-unavailable")?window.alert((null===(t=window)||void 0===t||null===(n=t.wc_add_to_cart_variation_params)||void 0===n?void 0:n.i18n_unavailable_text)||(0,Q.__)("Sorry, this product is unavailable. Please choose a different combination.","woocommerce-payments")):window.alert((0,Q.__)("Please select your product options before proceeding.","woocommerce-payments")),!1)}),[i]),k=(0,H.useCallback)((e=>{null==e||e.preventDefault(),R()&&(p.current=e,m.current=!0,$(!0))}),[R]),O=(0,H.useCallback)((e=>{if(null==e||e.preventDefault(),!r&&(Hd("woopay_button_click",{source:v}),R()))if(i){const e=x.current();if(!e)return;T.current(e).then((e=>{e.error?e.submit&&document.querySelector("form.cart").submit():Vy(a,v,s)}))}else Vy(a,v,s)}),[a,v,s,r,i,R]),M=(0,H.useCallback)((()=>{if(!Fd("isWoopayFirstPartyAuthEnabled"))return;const e=document.createElement("iframe");return e.src=(()=>{const e=JSON.stringify(Fd("tracksUserIdentity")),t=new URLSearchParams;return t.append("testMode",Fd("testMode")),t.append("source_url",window.location.href),t.append("tracksUserIdentity",e),Fd("woopayHost")+"/connect/?"+t.toString()})(),e.height=0,e.style.visibility="hidden",e.style.position="absolute",e.style.top="0",e.addEventListener("error",(()=>{c.current=O})),e.addEventListener("load",(()=>{c.current=t=>{if(t.preventDefault(),!(r||m.current&&!p.current)&&(Hd("woopay_button_click",{source:v}),R()))if(m.current=!0,$(!0),i){const t=x.current();if(!t)return;"function"==typeof n.stop&&n.stop(),T.current(t).then((()=>{"function"==typeof n.start&&n.start(),Uy(Ud(Fd("wcAjaxUrl"),"get_woopay_session"),{_ajax_nonce:Fd("woopaySessionNonce")}).then((t=>{var n;if(null==t||!t.blog_id||null==t||null===(n=t.data)||void 0===n||!n.session)throw c.current=O,new Error(null==t?void 0:t.data);e.contentWindow.postMessage({action:"setPreemptiveSessionData",value:t},Fd("woopayHost"))})).catch((()=>{const e=(0,Q.__)("Something went wrong. Please try again.","woocommerce-payments");jy(v,e),m.current=!1,$(!1)}))}))}else{var o;null===(o=Uy(Ud(Fd("wcAjaxUrl"),"get_woopay_session"),{_ajax_nonce:Fd("woopaySessionNonce"),order_id:Fd("order_id"),key:Fd("key"),billing_email:Fd("billing_email")}).then((t=>{var n;if(null==t||!t.blog_id||null==t||null===(n=t.data)||void 0===n||!n.session)throw c.current=O,new Error(null==t?void 0:t.data);e.contentWindow.postMessage({action:"setPreemptiveSessionData",value:t},Fd("woopayHost"))})))||void 0===o||o.catch((()=>{const e=(0,Q.__)("Something went wrong. Please try again.","woocommerce-payments");jy(v,e),m.current=!1,$(!1)}))}},p.current&&c.current(p.current)})),e}),[i,v,r,n,O,R]);return(0,H.useEffect)((()=>{if(r||!Fd("isWoopayFirstPartyAuthEnabled"))return;u.current.parentElement.style.position="relative",u.current.parentElement.appendChild(M());const e=e=>{const t=Fd("woopayHost").startsWith(e.origin),n="set_preemptive_session_data_success"===e.data.action,r="set_preemptive_session_data_error"===e.data.action;t&&(n||r)&&(n?window.location.href=Hy(e.data.value.redirect_url):r&&(O(null),c.current=O,m.current=!1,$(!1)))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[v,O,r,i,M]),(0,H.useEffect)((()=>{Fd("isWoopayFirstPartyAuthEnabled")?c.current=k:c.current=O}),[k,O]),(0,H.useEffect)((()=>{const e=e=>{null!=e&&e.persisted&&(m.current=!1,$(!1))};return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}}),[]),(0,j.createElement)("button",{ref:u,key:`${f}-${g}-${y}`,"aria-label":E,onClick:e=>c.current(e),className:X()("woopay-express-button",{"is-loading":_}),"data-type":f,"data-size":y,"data-theme":g,"data-width-type":b,style:{height:`${h}px`},disabled:_},_?(0,j.createElement)("span",{className:"wc-block-components-spinner"}):(0,j.createElement)(j.Fragment,null,Sc({mixedString:E.replace(zy.default,"{{wooPayLogo /}}"),components:{wooPayLogo:(0,j.createElement)(S,null)}})))},Ky=()=>{let e="Google Chrome",t="Google Pay";return(()=>{const e=window.navigator.userAgent.toLowerCase(),t=/chrome/.test(e)&&!/edge|edg|opr|brave\//.test(e)&&"Google Inc."===window.navigator.vendor,n=t&&window.navigator.brave;return t&&!n})()&&(e="Safari",t="Apple Pay"),(0,j.createElement)("p",{className:"payment-method-settings__preview-help-text"},(0,Q.sprintf)((0,Q.__)("To preview the %1$s button, view this page in the %2$s browser.","woocommerce-payments"),t,e))},Yy={small:40,medium:48,large:56},qy=()=>{const e=(0,ky.useStripe)(),[t,n]=(0,H.useState)(),[r,o]=(0,H.useState)(!0),[a]=bd(),[i]=wd(),[s]=Ed(),[d]=Cd(),[l]=$d();return(0,H.useEffect)((()=>{if(!e)return;const t=e.paymentRequest({country:"US",currency:"usd",total:{label:(0,Q.__)("Total","woocommerce-payments"),amount:99},requestPayerName:!0,requestPayerEmail:!0});t.canMakePayment().then((e=>{e&&n(t),o(!1)}))}),[e,n,o]),(0,j.createElement)(j.Fragment,null,(d||l&&t)&&(0,j.createElement)("div",{className:"payment-method-settings__preview","data-theme":s},d&&(0,j.createElement)(Wy,{isPreview:!0,buttonSettings:{type:a,text:"Buy",theme:s,height:`${Yy[i]||Yy.medium}px`,size:i}}),l&&!r&&t&&(0,j.createElement)(ky.PaymentRequestButtonElement,{key:`${a}-${s}-${i}`,onClick:e=>{e.preventDefault()},options:{paymentRequest:t,style:{paymentRequestButton:{type:a,theme:s,height:`${Yy[i]||Yy.medium}px`}}}})),!d&&!l&&(0,j.createElement)(rp,{icon:!0,status:"info",isDismissible:!1},(0,Q.__)("To preview the express checkout buttons, activate at least one express checkout.","woocommerce-payments")),l&&!r&&!t&&(0,j.createElement)(rp,{icon:!0,status:"info",isDismissible:!1},(0,Q.__)("To preview the Apple Pay and Google Pay buttons, ensure your device is configured to accept Apple Pay or Google Pay, and view this page using the Safari or Chrome browsers.","woocommerce-payments")),(0,j.createElement)(Ky,null))},Xy=e=>Sc({mixedString:e,components:{helpText:(0,j.createElement)("span",{className:"payment-method-settings__option-muted-text"})}}),Jy=[{label:Xy((0,Q.__)("Small {{helpText}}(40 px){{/helpText}}","woocommerce-payments")),value:"small"},{label:Xy((0,Q.__)("Medium {{helpText}}(48 px){{/helpText}}","woocommerce-payments")),value:"medium"},{label:Xy((0,Q.__)("Large {{helpText}}(56 px){{/helpText}}","woocommerce-payments")),value:"large"}],Qy=[{label:(0,Q.__)("Only icon","woocommerce-payments"),value:"default"},{label:(0,Q.__)("Buy with","woocommerce-payments"),value:"buy"},{label:(0,Q.__)("Donate with","woocommerce-payments"),value:"donate"},{label:(0,Q.__)("Book with","woocommerce-payments"),value:"book"}],eg=e=>Sc({mixedString:e,components:{br:(0,j.createElement)("br",null),helpText:(0,j.createElement)("span",{className:"payment-method-settings__option-help-text"})}}),tg=[{label:eg((0,Q.__)("Dark {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with high contrast.{{/helpText}}","woocommerce-payments")),value:"dark"},{label:eg((0,Q.__)("Light {{br/}}{{helpText}}Recommended for dark or colored backgrounds with high contrast.{{/helpText}}","woocommerce-payments")),value:"light"},{label:eg((0,Q.__)("Outline {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with insufficient contrast.{{/helpText}}","woocommerce-payments")),value:"light-outline"}],ng=e=>{let{type:t}=e;const[n,r]=bd(),[o,a]=wd(),[i,s]=Ed(),[d]=Cd(),[l]=$d(),{featureFlags:{woopay:c}}=(0,j.useContext)(gm),u=(0,H.useMemo)((()=>{const e=Bd("stripe");return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ly=!0;var r=Date.now();return Ny.then((function(e){return function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:t})}(r,n),r}(e,t,r)}))}(e.publishableKey,{stripeAccount:e.accountId,locale:e.locale})}),[]),p="woopay"===t?(0,Q.__)("Apple Pay / Google Pay buttons","woocommerce-payments"):(0,Q.__)("WooPay button","woocommerce-payments"),m=d&&l&&c;return(0,j.createElement)(Nc,null,m&&(0,j.createElement)(Du,{status:"warning",isDismissible:!1,className:"express-checkout__notice"},(0,j.createElement)("span",null,(0,j.createElement)(tp.Z,{style:{color:"#F0B849",fill:"currentColor",marginBottom:"-5px",marginRight:"10px"},size:20})),(0,j.createElement)("span",null,(0,Q.sprintf)((0,Q.__)("These settings will also apply to the %s on your store.","woocommerce-payments"),p))),(0,j.createElement)("h4",null,(0,Q.__)("Call to action","woocommerce-payments")),(0,j.createElement)(Up,{className:"payment-method-settings__cta-selection",hideLabelFromVision:!0,selected:n,options:Qy,onChange:r}),(0,j.createElement)("h4",null,(0,Q.__)("Button size","woocommerce-payments")),(0,j.createElement)(Up,{selected:o,options:Jy,onChange:a}),(0,j.createElement)("h4",null,(0,Q.__)("Theme","woocommerce-payments")),(0,j.createElement)(Up,{selected:i,options:tg,onChange:s}),(0,j.createElement)("h4",null,(0,Q.__)("Preview","woocommerce-payments")),(0,j.createElement)("div",{className:"payment-method-settings__option-help-text"},(0,Q.__)("See the preview of enabled express payment buttons.","woocommerce-payments")),(0,j.createElement)(ky.Elements,{stripe:u},(0,j.createElement)(qy,null)))},rg=e=>{let{section:t}=e;const[n,r]=$d(),[o,a]=(()=>{const{updatePaymentRequestLocations:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getPaymentRequestLocations())),e]})(),i=e=>t=>{a(t?[...o,e]:o.filter((t=>t!==e)))};return(0,j.createElement)(kr,null,"enable"===t&&(0,j.createElement)(Nc,null,(0,j.createElement)(Zr,{checked:n,onChange:r,label:(0,Q.__)("Enable Apple Pay / Google Pay","woocommerce-payments"),help:(0,Q.__)("When enabled, customers who have configured Apple Pay or Google Pay enabled devices will be able to pay with their respective choice of Wallet.","woocommerce-payments")}),(0,j.createElement)("h4",null,(0,Q.__)("Enable Apple Pay and Google Pay on selected pages","woocommerce-payments")),(0,j.createElement)("ul",{className:"payment-request-settings__location"},(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!n,checked:n&&o.includes("checkout"),onChange:i("checkout"),label:(0,Q.__)("Checkout Page","woocommerce-payments")})),(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!n,checked:n&&o.includes("product"),onChange:i("product"),label:(0,Q.__)("Product Page","woocommerce-payments")})),(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!n,checked:n&&o.includes("cart"),onChange:i("cart"),label:(0,Q.__)("Cart Page","woocommerce-payments")})))),"general"===t&&(0,j.createElement)(ng,{type:"google/apple"}))};var og=n(4109);const ag=(0,j.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,j.createElement)(ee.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));var ig=function(e,t){return ig=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ig(e,t)};function sg(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ig(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var dg=function(){return dg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dg.apply(this,arguments)};function lg(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function cg(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function ug(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var pg=n(4155),mg=(void 0===pg||pg.env,"production"),fg=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},hg={measureLayout:fg(["layout","layoutId","drag"]),animation:fg(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:fg(["exit"]),drag:fg(["drag","dragControls"]),focus:fg(["whileFocus"]),hover:fg(["whileHover","onHoverStart","onHoverEnd"]),tap:fg(["whileTap","onTap","onTapStart","onTapCancel"]),pan:fg(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:fg(["whileInView","onViewportEnter","onViewportLeave"])},yg=function(){},gg=function(){},vg=(0,H.createContext)({strict:!1}),_g=Object.keys(hg),$g=_g.length,bg=(0,H.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),wg=(0,H.createContext)({}),Eg=(0,H.createContext)(null),Sg="undefined"!=typeof document,Cg=Sg?H.useLayoutEffect:H.useEffect,Ag={current:null},xg=!1;function Tg(e,t,n,r){var o,a,i=(0,H.useContext)(vg),s=(0,H.useContext)(wg).visualElement,d=(0,H.useContext)(Eg),l=(!xg&&function(){if(xg=!0,Sg)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Ag.current=e.matches};e.addListener(t),t()}else Ag.current=!1}(),o=cg((0,H.useState)(Ag.current),1)[0],"never"!==(a=(0,H.useContext)(bg).reducedMotion)&&("always"===a||o)),c=(0,H.useRef)(void 0);r||(r=i.renderer),!c.current&&r&&(c.current=r(e,{visualState:t,parent:s,props:n,presenceId:null==d?void 0:d.id,blockInitialAnimation:!1===(null==d?void 0:d.initial),shouldReduceMotion:l}));var u=c.current;return Cg((function(){null==u||u.syncRender()})),(0,H.useEffect)((function(){var e;null===(e=null==u?void 0:u.animationState)||void 0===e||e.animateChanges()})),Cg((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}function Rg(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function kg(e){return Array.isArray(e)}function Og(e){return"string"==typeof e||kg(e)}function Mg(e,t,n,r,o){var a;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function Pg(e,t,n){var r=e.getProps();return Mg(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function Ig(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Og(e.initial)||Og(e.animate)||Og(e.whileHover)||Og(e.whileDrag)||Og(e.whileTap)||Og(e.whileFocus)||Og(e.exit)}function Ng(e){return Boolean(Ig(e)||e.variants)}function Lg(e){return Array.isArray(e)?e.join(" "):e}function Dg(e){var t=(0,H.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Fg={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Bg=1,Ug=(0,H.createContext)({}),jg=(0,H.createContext)({}),Hg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return sg(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(H.Component);function Vg(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,a=e.useVisualState,i=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?hg.projectionNodeConstructor=e[t]:hg[t].Component=e[t])}(t),(0,H.forwardRef)((function(e,s){var d=function(e){var t,n=e.layoutId,r=null===(t=(0,H.useContext)(Ug))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=dg(dg({},e),{layoutId:d});var l=(0,H.useContext)(bg),c=null,u=function(e){var t=function(e,t){if(Ig(e)){var n=e.initial,r=e.animate;return{initial:!1===n||Og(n)?n:void 0,animate:Og(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,H.useContext)(wg)),n=t.initial,r=t.animate;return(0,H.useMemo)((function(){return{initial:n,animate:r}}),[Lg(n),Lg(r)])}(e),p=l.isStatic?void 0:Dg((function(){if(Fg.hasEverUpdated)return Bg++})),m=a(e,l.isStatic);return!l.isStatic&&Sg&&(u.visualElement=Tg(i,m,dg(dg({},l),e),n),function(e,t,n,r){var o,a=t.layoutId,i=t.layout,s=t.drag,d=t.dragConstraints,l=t.layoutScroll,c=(0,H.useContext)(jg);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:Boolean(s)||d&&Rg(d),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof i?i:"both",initialPromotionConfig:c,layoutScroll:l}))}(p,e,u.visualElement,r||hg.projectionNodeConstructor),c=function(e,t,n){var r=[],o=(0,H.useContext)(vg);if(!t)return null;"production"!==mg&&n&&o.strict&&gg(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var a=0;a<$g;a++){var i=_g[a],s=hg[i],d=s.isEnabled,l=s.Component;d(e)&&l&&r.push(H.createElement(l,dg({key:i},e,{visualElement:t})))}return r}(e,u.visualElement,t)),H.createElement(Hg,{visualElement:u.visualElement,props:dg(dg({},l),e)},c,H.createElement(wg.Provider,{value:u},o(i,e,p,function(e,t,n){return(0,H.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Rg(n)&&(n.current=r))}),[t])}(m,u.visualElement,s),m,l.isStatic,u.visualElement)))}))}function Gg(e){function t(t,n){return void 0===n&&(n={}),Vg(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var Zg=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function zg(e){return"string"==typeof e&&!e.includes("-")&&!!(Zg.indexOf(e)>-1||/[A-Z]/.test(e))}var Wg={},Kg=["","X","Y","Z"],Yg=["transformPerspective","x","y","z"];function qg(e,t){return Yg.indexOf(e)-Yg.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Kg.forEach((function(t){return Yg.push(e+t)}))}));var Xg=new Set(Yg);function Jg(e){return Xg.has(e)}var Qg=new Set(["originX","originY","originZ"]);function ev(e){return Qg.has(e)}function tv(e,t){var n=t.layout,r=t.layoutId;return Jg(e)||ev(e)||(n||void 0!==r)&&(!!Wg[e]||"opacity"===e)}var nv=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},rv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function ov(e){return e.startsWith("--")}var av=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const iv=(e,t)=>n=>Math.max(Math.min(n,t),e),sv=e=>e%1?Number(e.toFixed(5)):e,dv=/(-)?([\d]*\.?[\d])+/g,lv=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,cv=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function uv(e){return"string"==typeof e}const pv=e=>({test:t=>uv(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),mv=pv("deg"),fv=pv("%"),hv=pv("px"),yv=pv("vh"),gv=pv("vw"),vv=Object.assign(Object.assign({},fv),{parse:e=>fv.parse(e)/100,transform:e=>fv.transform(100*e)}),_v={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},$v=Object.assign(Object.assign({},_v),{transform:iv(0,1)}),bv=Object.assign(Object.assign({},_v),{default:1});var wv=dg(dg({},_v),{transform:Math.round}),Ev={borderWidth:hv,borderTopWidth:hv,borderRightWidth:hv,borderBottomWidth:hv,borderLeftWidth:hv,borderRadius:hv,radius:hv,borderTopLeftRadius:hv,borderTopRightRadius:hv,borderBottomRightRadius:hv,borderBottomLeftRadius:hv,width:hv,maxWidth:hv,height:hv,maxHeight:hv,size:hv,top:hv,right:hv,bottom:hv,left:hv,padding:hv,paddingTop:hv,paddingRight:hv,paddingBottom:hv,paddingLeft:hv,margin:hv,marginTop:hv,marginRight:hv,marginBottom:hv,marginLeft:hv,rotate:mv,rotateX:mv,rotateY:mv,rotateZ:mv,scale:bv,scaleX:bv,scaleY:bv,scaleZ:bv,skew:mv,skewX:mv,skewY:mv,distance:hv,translateX:hv,translateY:hv,translateZ:hv,x:hv,y:hv,z:hv,perspective:hv,transformPerspective:hv,opacity:$v,originX:vv,originY:vv,originZ:hv,zIndex:wv,fillOpacity:$v,strokeOpacity:$v,numOctaves:wv};function Sv(e,t,n,r){var o,a=e.style,i=e.vars,s=e.transform,d=e.transformKeys,l=e.transformOrigin;d.length=0;var c=!1,u=!1,p=!0;for(var m in t){var f=t[m];if(ov(m))i[m]=f;else{var h=Ev[m],y=av(f,h);if(Jg(m)){if(c=!0,s[m]=y,d.push(m),!p)continue;f!==(null!==(o=h.default)&&void 0!==o?o:0)&&(p=!1)}else ev(m)?(l[m]=y,u=!0):a[m]=y}}c?a.transform=function(e,t,n,r){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,s=void 0===i||i,d=t.allowTransformNone,l=void 0===d||d,c="";a.sort(qg);for(var u=!1,p=a.length,m=0;m<p;m++){var f=a[m];c+="".concat(rv[f]||f,"(").concat(o[f],") "),"z"===f&&(u=!0)}return!u&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):l&&n&&(c="none"),c}(e,n,p,r):r?a.transform=r({},""):!t.transform&&a.transform&&(a.transform="none"),u&&(a.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,a=e.originZ,i=void 0===a?0:a;return"".concat(n," ").concat(o," ").concat(i)}(l))}var Cv=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Av(e,t,n){for(var r in t)nv(t[r])||tv(r,n)||(e[r]=t[r])}function xv(e,t,n){var r={},o=function(e,t,n){var r={};return Av(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return(0,H.useMemo)((function(){var e=Cv();Sv(e,t,{enableHardwareAcceleration:!n},r);var o=e.vars,a=e.style;return dg(dg({},o),a)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var Tv=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Rv(e){return Tv.has(e)}var kv,Ov=function(e){return!Rv(e)};try{(kv=require("@emotion/is-prop-valid").default)&&(Ov=function(e){return e.startsWith("on")?!Rv(e):kv(e)})}catch(ff){}function Mv(e,t,n){return"string"==typeof e?e:hv.transform(t+n*e)}var Pv={offset:"stroke-dashoffset",array:"stroke-dasharray"},Iv={offset:"strokeDashoffset",array:"strokeDasharray"};function Nv(e,t,n,r){var o=t.attrX,a=t.attrY,i=t.originX,s=t.originY,d=t.pathLength,l=t.pathSpacing,c=void 0===l?1:l,u=t.pathOffset,p=void 0===u?0:u;Sv(e,lg(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var m=e.attrs,f=e.style,h=e.dimensions;m.transform&&(h&&(f.transform=m.transform),delete m.transform),h&&(void 0!==i||void 0!==s||f.transform)&&(f.transformOrigin=function(e,t,n){var r=Mv(t,e.x,e.width),o=Mv(n,e.y,e.height);return"".concat(r," ").concat(o)}(h,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==o&&(m.x=o),void 0!==a&&(m.y=a),void 0!==d&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var a=o?Pv:Iv;e[a.offset]=hv.transform(-r);var i=hv.transform(t),s=hv.transform(n);e[a.array]="".concat(i," ").concat(s)}(m,d,c,p,!1)}var Lv=function(){return dg(dg({},Cv()),{attrs:{}})};function Dv(e,t){var n=(0,H.useMemo)((function(){var n=Lv();return Nv(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),dg(dg({},n.attrs),{style:dg({},n.style)})}),[t]);if(e.style){var r={};Av(r,e.style,e),n.style=dg(dg({},r),n.style)}return n}function Fv(e){return void 0===e&&(e=!1),function(t,n,r,o,a,i){var s=a.latestValues,d=(zg(t)?Dv:xv)(n,s,i),l=function(e,t,n){var r={};for(var o in e)(Ov(o)||!0===n&&Rv(o)||!t&&!Rv(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=dg(dg(dg({},l),d),{ref:o});return r&&(c["data-projection-id"]=r),(0,H.createElement)(t,c)}}var Bv=/([a-z])([A-Z])/g,Uv=function(e){return e.replace(Bv,"$1-$2").toLowerCase()};function jv(e,t,n,r){var o=t.style,a=t.vars;for(var i in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),a)e.style.setProperty(i,a[i])}var Hv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Vv(e,t,n,r){for(var o in jv(e,t,void 0,r),t.attrs)e.setAttribute(Hv.has(o)?o:Uv(o),t.attrs[o])}function Gv(e){var t=e.style,n={};for(var r in t)(nv(t[r])||tv(r,e))&&(n[r]=t[r]);return n}function Zv(e){var t=Gv(e);for(var n in e)nv(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function zv(e){return"object"==typeof e&&"function"==typeof e.start}var Wv=function(e){return Array.isArray(e)},Kv=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},Yv=function(e){return Wv(e)?e[e.length-1]||0:e};function qv(e){var t=nv(e)?e.get():e;return Kv(t)?t.toValue():t}function Xv(e,t,n,r){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,s={latestValues:Qv(t,n,r,o),renderState:a()};return i&&(s.mount=function(e){return i(t,e,s)}),s}var Jv=function(e){return function(t,n){var r=(0,H.useContext)(wg),o=(0,H.useContext)(Eg);return n?Xv(e,t,r,o):Dg((function(){return Xv(e,t,r,o)}))}};function Qv(e,t,n,r){var o={},a=!1===(null==n?void 0:n.initial),i=r(e);for(var s in i)o[s]=qv(i[s]);var d=e.initial,l=e.animate,c=Ig(e),u=Ng(e);t&&u&&!c&&!1!==e.inherit&&(null!=d||(d=t.initial),null!=l||(l=t.animate));var p=a||!1===d,m=p?l:d;return m&&"boolean"!=typeof m&&!zv(m)&&(Array.isArray(m)?m:[m]).forEach((function(t){var n=Mg(e,t);if(n){var r=n.transitionEnd;n.transition;var a=lg(n,["transitionEnd","transition"]);for(var i in a){var s=a[i];Array.isArray(s)&&(s=s[p?s.length-1:0]),null!==s&&(o[i]=s)}for(var i in r)o[i]=r[i]}})),o}var e_,t_={useVisualState:Jv({scrapeMotionValuesFromProps:Zv,createRenderState:Lv,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Nv(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),Vv(t,r)}})},n_={useVisualState:Jv({scrapeMotionValuesFromProps:Gv,createRenderState:Cv})};function r_(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function o_(e,t,n,r){(0,H.useEffect)((function(){var o=e.current;if(n&&o)return r_(o,t,n,r)}),[e,t,n,r])}function a_(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function i_(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(e_||(e_={}));var s_={pageX:0,pageY:0};function d_(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||s_;return{x:n[t+"X"],y:n[t+"Y"]}}function l_(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function c_(e,t){return void 0===t&&(t="page"),{point:i_(e)?d_(e,t):l_(e,t)}}var u_=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,c_(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},p_=function(){return Sg&&null===window.onpointerdown},m_=function(){return Sg&&null===window.ontouchstart},f_=function(){return Sg&&null===window.onmousedown},h_={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},y_={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function g_(e){return p_()?e:m_()?y_[e]:f_()?h_[e]:e}function v_(e,t,n,r){return r_(e,g_(t),u_(n,"pointerdown"===t),r)}function __(e,t,n,r){return o_(e,g_(t),n&&u_(n,"pointerdown"===t),r)}function $_(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var b_=$_("dragHorizontal"),w_=$_("dragVertical");function E_(e){var t=!1;if("y"===e)t=w_();else if("x"===e)t=b_();else{var n=b_(),r=w_();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function S_(){var e=E_(!0);return!e||(e(),!1)}function C_(e,t,n){return function(r,o){var a;a_(r)&&!S_()&&(null===(a=e.animationState)||void 0===a||a.setActive(e_.Hover,t),null==n||n(r,o))}}var A_=function(e,t){return!!t&&(e===t||A_(e,t.parentElement))};function x_(e){return(0,H.useEffect)((function(){return function(){return e()}}),[])}const T_=(e,t)=>n=>t(e(n)),R_=(...e)=>e.reduce(T_);var k_=new Set,O_=new WeakMap,M_=new WeakMap,P_=function(e){var t;null===(t=O_.get(e.target))||void 0===t||t(e)},I_=function(e){e.forEach(P_)};var N_={some:0,all:1};function L_(e,t,n,r){var o=r.root,a=r.margin,i=r.amount,s=void 0===i?"some":i,d=r.once;(0,H.useEffect)((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:a,threshold:"number"==typeof s?s:N_[s]};return function(e,t,n){var r=function(e){var t=e.root,n=lg(e,["root"]),r=t||document;M_.has(r)||M_.set(r,{});var o=M_.get(r),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(I_,dg({root:t},n))),o[a]}(t);return O_.set(e,n),r.observe(e),function(){O_.delete(e),r.unobserve(e)}}(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!d||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(e_.InView,o);var a=n.getProps(),i=o?a.onViewportEnter:a.onViewportLeave;null==i||i(e)}}))}}),[e,o,a,s])}function D_(e,t,n,r){var o=r.fallback,a=void 0===o||o;(0,H.useEffect)((function(){var r;e&&a&&("production"!==mg&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",k_.has(r)||(console.warn(r),k_.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(e_.InView,!0)})))}),[e])}var F_=function(e){return function(t){return e(t),null}},B_={inView:F_((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,a=e.viewport,i=void 0===a?{}:a,s=(0,H.useRef)({hasEnteredView:!1,isInView:!1}),d=Boolean(n||r||o);i.once&&s.current.hasEnteredView&&(d=!1),("undefined"==typeof IntersectionObserver?D_:L_)(d,s.current,t,i)})),tap:F_((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||n||r||o,s=(0,H.useRef)(!1),d=(0,H.useRef)(null),l={passive:!(n||t||r||f)};function c(){var e;null===(e=d.current)||void 0===e||e.call(d),d.current=null}function u(){var e;return c(),s.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(e_.Tap,!1),!S_()}function p(e,n){u()&&(A_(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function m(e,t){u()&&(null==r||r(e,t))}function f(e,t){var r;c(),s.current||(s.current=!0,d.current=R_(v_(window,"pointerup",p,l),v_(window,"pointercancel",m,l)),null===(r=a.animationState)||void 0===r||r.setActive(e_.Tap,!0),null==n||n(e,t))}__(a,"pointerdown",i?f:void 0,l),x_(c)})),focus:F_((function(e){var t=e.whileFocus,n=e.visualElement;o_(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(e_.Focus,!0)}:void 0),o_(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(e_.Focus,!1)}:void 0)})),hover:F_((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;__(o,"pointerenter",t||r?C_(o,!0,t):void 0,{passive:!t}),__(o,"pointerleave",n||r?C_(o,!1,n):void 0,{passive:!n})}))},U_=0,j_=function(){return U_++},H_=function(){return Dg(j_)};function V_(){var e=(0,H.useContext)(Eg);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=H_();return(0,H.useEffect)((function(){return r(o)}),[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function G_(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Z_=(e,t,n)=>Math.min(Math.max(n,e),t),z_=.001,W_=.01,K_=10,Y_=.05,q_=1;const X_=12;function J_(e,t){return e*Math.sqrt(1-t*t)}const Q_=["duration","bounce"],e$=["stiffness","damping","mass"];function t$(e,t){return t.some((t=>void 0!==e[t]))}function n$(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,a=lg(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:s,damping:d,mass:l,velocity:c,duration:u,isResolvedFromDuration:p}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!t$(e,e$)&&t$(e,Q_)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;yg(e<=1e3*K_,"Spring duration must be 10 seconds or less");let i=1-t;i=Z_(Y_,q_,i),e=Z_(W_,K_,e/1e3),i<1?(o=t=>{const r=t*i,o=r*e,a=r-n,s=J_(t,i),d=Math.exp(-o);return z_-a/s*d},a=t=>{const r=t*i*e,a=r*n+n,s=Math.pow(i,2)*Math.pow(t,2)*e,d=Math.exp(-r),l=J_(Math.pow(t,2),i);return(-o(t)+z_>0?-1:1)*((a-s)*d)/l}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-z_,a=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<X_;n++)r-=e(r)/t(r);return r}(o,a,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*i*Math.sqrt(r*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),m=r$,f=r$;function h(){const e=c?-c/1e3:0,r=n-t,a=d/(2*Math.sqrt(s*l)),i=Math.sqrt(s/l)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),a<1){const t=J_(i,a);m=o=>{const s=Math.exp(-a*i*o);return n-s*((e+a*i*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},f=n=>{const o=Math.exp(-a*i*n);return a*i*o*(Math.sin(t*n)*(e+a*i*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+a*i*r)-t*r*Math.sin(t*n))}}else if(1===a)m=t=>n-Math.exp(-i*t)*(r+(e+i*r)*t);else{const t=i*Math.sqrt(a*a-1);m=o=>{const s=Math.exp(-a*i*o),d=Math.min(t*o,300);return n-s*((e+a*i*r)*Math.sinh(d)+t*r*Math.cosh(d))/t}}}return h(),{next:e=>{const t=m(e);if(p)i.done=e>=u;else{const a=1e3*f(e),s=Math.abs(a)<=r,d=Math.abs(n-t)<=o;i.done=s&&d}return i.value=i.done?n:t,i},flipTarget:()=>{c=-c,[t,n]=[n,t],h()}}}n$.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const r$=e=>0,o$=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},a$=(e,t,n)=>-n*e+n*t+e,i$=(e,t)=>n=>Boolean(uv(n)&&cv.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),s$=(e,t,n)=>r=>{if(!uv(r))return r;const[o,a,i,s]=r.match(dv);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},d$=iv(0,255),l$=Object.assign(Object.assign({},_v),{transform:e=>Math.round(d$(e))}),c$={test:i$("rgb","red"),parse:s$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l$.transform(e)+", "+l$.transform(t)+", "+l$.transform(n)+", "+sv($v.transform(r))+")"},u$={test:i$("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:c$.transform},p$={test:i$("hsl","hue"),parse:s$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+fv.transform(sv(t))+", "+fv.transform(sv(n))+", "+sv($v.transform(r))+")"};function m$(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function f$({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,a=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=m$(s,r,e+1/3),a=m$(s,r,e),i=m$(s,r,e-1/3)}else o=a=i=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:r}}const h$=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},y$=[u$,c$,p$],g$=e=>y$.find((t=>t.test(e))),v$=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,_$=(e,t)=>{let n=g$(e),r=g$(t);gg(!!n,v$(e)),gg(!!r,v$(t));let o=n.parse(e),a=r.parse(t);n===p$&&(o=f$(o),n=c$),r===p$&&(a=f$(a),r=c$);const i=Object.assign({},o);return e=>{for(const t in i)"alpha"!==t&&(i[t]=h$(o[t],a[t],e));return i.alpha=a$(o.alpha,a.alpha,e),n.transform(i)}},$$={test:e=>c$.test(e)||u$.test(e)||p$.test(e),parse:e=>c$.test(e)?c$.parse(e):p$.test(e)?p$.parse(e):u$.parse(e),transform:e=>uv(e)?e:e.hasOwnProperty("red")?c$.transform(e):p$.transform(e)},b$="${c}",w$="${n}";function E$(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(lv);r&&(n=r.length,e=e.replace(lv,b$),t.push(...r.map($$.parse)));const o=e.match(dv);return o&&(e=e.replace(dv,w$),t.push(...o.map(_v.parse))),{values:t,numColors:n,tokenised:e}}function S$(e){return E$(e).values}function C$(e){const{values:t,numColors:n,tokenised:r}=E$(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?b$:w$,r<n?$$.transform(e[r]):sv(e[r]));return t}}const A$=e=>"number"==typeof e?0:e,x$={test:function(e){var t,n,r,o;return isNaN(e)&&uv(e)&&(null!==(n=null===(t=e.match(dv))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(lv))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:S$,createTransformer:C$,getAnimatableNone:function(e){const t=S$(e);return C$(e)(t.map(A$))}},T$=e=>"number"==typeof e;function R$(e,t){return T$(e)?n=>a$(e,t,n):$$.test(e)?_$(e,t):P$(e,t)}const k$=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>R$(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},O$=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=R$(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function M$(e){const t=x$.parse(e),n=t.length;let r=0,o=0,a=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}const P$=(e,t)=>{const n=x$.createTransformer(t),r=M$(e),o=M$(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?R_(k$(r.parsed,o.parsed),n):(yg(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},I$=(e,t)=>n=>a$(e,t,n);function N$(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;gg(a===t.length,"Both input and output ranges must be the same length"),gg(!r||!Array.isArray(r)||r.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=function(e,t,n){const r=[],o=n||function(e){return"number"==typeof e?I$:"string"==typeof e?$$.test(e)?_$:P$:Array.isArray(e)?k$:"object"==typeof e?O$:void 0}(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;a=R_(e,a)}r.push(a)}return r}(t,r,o),s=2===a?function([e,t],[n]){return r=>n(o$(e,t,r))}(e,i):function(e,t){const n=e.length,r=n-1;return o=>{let a=0,i=!1;if(o<=e[0]?i=!0:o>=e[r]&&(a=r-1,i=!0),!i){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);a=t-1}const s=o$(e[a],e[a+1],o);return t[a](s)}}(e,i);return n?t=>s(Z_(e[0],e[a-1],t)):s}const L$=e=>t=>1-e(1-t),D$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,F$=e=>t=>t*t*((e+1)*t-e),B$=e=>e,U$=(2,e=>Math.pow(e,2));const j$=L$(U$),H$=D$(U$),V$=e=>1-Math.sin(Math.acos(e)),G$=L$(V$),Z$=D$(G$),z$=F$(1.525),W$=L$(z$),K$=D$(z$),Y$=(e=>{const t=F$(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(),q$=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},X$=L$(q$);function J$(e,t){return e.map((()=>t||H$)).splice(0,e.length-1)}function Q$({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===i.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(i),o);function d(){return N$(s,i,{ease:Array.isArray(n)?n:J$(i,n)})}let l=d();return{next:e=>(a.value=l(e),a.done=e>=o,a),flipTarget:()=>{i.reverse(),l=d()}}}const eb={keyframes:Q$,spring:n$,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:t};let s=n*e;const d=t+s,l=void 0===a?d:a(d);return l!==d&&(s=l-t),{next:e=>{const t=-s*Math.exp(-e/r);return i.done=!(t>o||t<-o),i.value=i.done?l:l+t,i},flipTarget:()=>{}}}},tb=1/60*1e3,nb="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),rb="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(nb())),tb);let ob=!0,ab=!1,ib=!1;const sb={delta:0,timestamp:0},db=["read","update","preRender","render","postRender"],lb=db.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{const d=s&&o,l=d?t:n;return a&&i.add(e),-1===l.indexOf(e)&&(l.push(e),d&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:d=>{if(o)a=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(d),i.has(r)&&(s.schedule(r),e())}o=!1,a&&(a=!1,s.process(d))}}};return s}((()=>ab=!0)),e)),{}),cb=db.reduce(((e,t)=>{const n=lb[t];return e[t]=(e,t=!1,r=!1)=>(ab||hb(),n.schedule(e,t,r)),e}),{}),ub=db.reduce(((e,t)=>(e[t]=lb[t].cancel,e)),{}),pb=db.reduce(((e,t)=>(e[t]=()=>lb[t].process(sb),e)),{}),mb=e=>lb[e].process(sb),fb=e=>{ab=!1,sb.delta=ob?tb:Math.max(Math.min(e-sb.timestamp,40),1),sb.timestamp=e,ib=!0,db.forEach(mb),ib=!1,ab&&(ob=!1,rb(fb))},hb=()=>{ab=!0,ob=!0,ib||rb(fb)},yb=()=>sb,gb=cb;function vb(e,t,n=0){return e-t-n}const _b=e=>{const t=({delta:t})=>e(t);return{start:()=>gb.update(t,!0),stop:()=>ub.update(t)}};function $b(e){var t,n,{from:r,autoplay:o=!0,driver:a=_b,elapsed:i=0,repeat:s=0,repeatType:d="loop",repeatDelay:l=0,onPlay:c,onStop:u,onComplete:p,onRepeat:m,onUpdate:f}=e,h=lg(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,g,v,{to:_}=h,$=0,b=h.duration,w=!1,E=!0;const S=function(e){if(Array.isArray(e.to))return Q$;if(eb[e.type])return eb[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Q$:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?n$:Q$}(h);(null===(n=(t=S).needsInterpolation)||void 0===n?void 0:n.call(t,r,_))&&(v=N$([0,100],[r,_],{clamp:!1}),r=0,_=100);const C=S(Object.assign(Object.assign({},h),{from:r,to:_}));return o&&(null==c||c(),y=a((function(e){if(E||(e=-e),i+=e,!w){const e=C.next(Math.max(0,i));g=e.value,v&&(g=v(g)),w=E?e.done:i<=0}null==f||f(g),w&&(0===$&&(null!=b||(b=i)),$<s?function(e,t,n,r){return r?e>=t+n:e<=-n}(i,b,l,E)&&($++,"reverse"===d?(E=$%2==0,i=function(e,t,n=0,r=!0){return r?vb(t+-e,t,n):t-(e-t)+n}(i,b,l,E)):(i=vb(i,b,l),"mirror"===d&&C.flipTarget()),w=!1,m&&m()):(y.stop(),p&&p()))})),y.start()),{stop:()=>{null==u||u(),y.stop()}}}function bb(e,t){return t?e*(1e3/t):0}var wb=function(e){return 1e3*e};const Eb=(e,t)=>1-3*t+3*e,Sb=(e,t)=>3*t-6*e,Cb=e=>3*e,Ab=(e,t,n)=>((Eb(t,n)*e+Sb(t,n))*e+Cb(t))*e,xb=(e,t,n)=>3*Eb(t,n)*e*e+2*Sb(t,n)*e+Cb(t),Tb=.1;function Rb(e,t,n,r){if(e===t&&n===r)return B$;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=Ab(t*Tb,e,n);return a=>0===a||1===a?a:Ab(function(t){let r=0,a=1;for(;10!==a&&o[a]<=t;++a)r+=Tb;--a;const i=r+(t-o[a])/(o[a+1]-o[a])*Tb,s=xb(i,e,n);return s>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=xb(t,n,r);if(0===o)return t;t-=(Ab(t,n,r)-e)/o}return t}(t,i,e,n):0===s?i:function(e,t,n,r,o){let a,i,s=0;do{i=t+(n-t)/2,a=Ab(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>1e-7&&++s<10);return i}(t,r,r+Tb,e,n)}(a),t,r)}var kb={linear:B$,easeIn:U$,easeInOut:H$,easeOut:j$,circIn:V$,circInOut:Z$,circOut:G$,backIn:z$,backInOut:K$,backOut:W$,anticipate:Y$,bounceIn:X$,bounceInOut:e=>e<.5?.5*(1-q$(1-2*e)):.5*q$(2*e-1)+.5,bounceOut:q$},Ob=function(e){if(Array.isArray(e)){gg(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=cg(e,4);return Rb(t[0],t[1],t[2],t[3])}return"string"==typeof e?(gg(void 0!==kb[e],"Invalid easing type '".concat(e,"'")),kb[e]):e},Mb=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},Pb=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!x$.test(t)||t.startsWith("url(")))},Ib=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Nb=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Lb=function(){return{type:"keyframes",ease:"linear",duration:.3}},Db=function(e){return{type:"keyframes",duration:.8,values:e}},Fb={x:Ib,y:Ib,z:Ib,rotate:Ib,rotateX:Ib,rotateY:Ib,rotateZ:Ib,scaleX:Nb,scaleY:Nb,scale:Nb,opacity:Lb,backgroundColor:Lb,color:Lb,default:Nb},Bb=function(e,t){var n;return n=Wv(t)?Db:Fb[e]||Fb.default,dg({to:t},n(t))};const Ub=new Set(["brightness","contrast","saturate","opacity"]);function jb(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(dv)||[];if(!r)return e;const o=n.replace(r,"");let a=Ub.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const Hb=/([a-z-]*)\(.*?\)/g,Vb=Object.assign(Object.assign({},x$),{getAnimatableNone:e=>{const t=e.match(Hb);return t?t.map(jb).join(" "):e}});var Gb=dg(dg({},Ev),{color:$$,backgroundColor:$$,outlineColor:$$,fill:$$,stroke:$$,borderColor:$$,borderTopColor:$$,borderRightColor:$$,borderBottomColor:$$,borderLeftColor:$$,filter:Vb,WebkitFilter:Vb}),Zb=function(e){return Gb[e]};function zb(e,t){var n,r=Zb(e);return r!==Vb&&(r=x$),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Wb={current:!1},Kb=!1;function Yb(e,t,n,r,o){var a,i=Jb(r,e),s=null!==(a=i.from)&&void 0!==a?a:t.get(),d=Pb(e,n);"none"===s&&d&&"string"==typeof n?s=zb(e,n):qb(s)&&"string"==typeof n?s=Xb(n):!Array.isArray(n)&&qb(n)&&"string"==typeof s&&(n=Xb(s));var l=Pb(e,s);return yg(l===d,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property.")),l&&d&&!1!==i.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:s=10,restDelta:d=1,modifyTarget:l,driver:c,onUpdate:u,onComplete:p,onStop:m}){let f;function h(e){return void 0!==n&&e<n||void 0!==r&&e>r}function y(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function g(e){null==f||f.stop(),f=$b(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var n;null==u||u(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:p,onStop:m}))}function v(e){g(Object.assign({type:"spring",stiffness:i,damping:s,restDelta:d},e))}if(h(e))v({from:e,velocity:t,to:y(e)});else{let r=o*t+e;void 0!==l&&(r=l(r));const i=y(r),s=i===n?-1:1;let c,u;const p=e=>{c=u,u=e,t=bb(e-c,yb().delta),(1===s&&e>i||-1===s&&e<i)&&v({from:e,to:i,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:a,power:o,restDelta:d,modifyTarget:l,onUpdate:h(r)?p:void 0})}return{stop:()=>null==f?void 0:f.stop()}}(dg(dg({},r),i)):$b(dg(dg({},function(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=ug([],cg(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=lg(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=dg(dg({},e),Bb(n,t.to))),dg(dg({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=lg(e,["ease","times","yoyo","flip","loop"]),s=dg({},i);return n&&(s.offset=n),i.duration&&(s.duration=wb(i.duration)),i.repeatDelay&&(s.repeatDelay=wb(i.repeatDelay)),t&&(s.ease=Mb(t)?t.map(Ob):Ob(t)),"tween"===i.type&&(s.type="keyframes"),(r||a||o)&&(yg(!Kb,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Kb=!0,r?s.repeatType="reverse":a?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=a||r||o||i.repeat),"spring"!==i.type&&(s.type="keyframes"),s}(e))}(i,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;r.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e,r,a=Yv(n);return t.set(a),o(),null===(e=null==i?void 0:i.onUpdate)||void 0===e||e.call(i,a),null===(r=null==i?void 0:i.onComplete)||void 0===r||r.call(i),{stop:function(){}}}}function qb(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Xb(e){return"number"==typeof e?0:zb("",e)}function Jb(e,t){return e[t]||e.default||e}function Qb(e,t,n,r){return void 0===r&&(r={}),Wb.current&&(r={type:!1}),t.start((function(o){var a,i,s=Yb(e,t,n,r,o),d=function(e,t){var n,r;return null!==(r=null!==(n=(Jb(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),l=function(){return i=s()};return d?a=window.setTimeout(l,wb(d)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}var ew=function(e){return/^\-?\d*\.?\d+$/.test(e)},tw=function(e){return/^0[^.\s]+$/.test(e)};function nw(e,t){-1===e.indexOf(t)&&e.push(t)}function rw(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ow=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return nw(this.subscriptions,e),function(){return rw(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var a=this.subscriptions[o];a&&a(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),aw=function(){function e(e){var t,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ow,this.velocityUpdateSubscribers=new ow,this.renderSubscribers=new ow,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=yb(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,gb.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return gb.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?bb(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function iw(e){return new aw(e)}var sw=function(e){return function(t){return t.test(e)}},dw=[_v,hv,fv,mv,gv,yv,{test:function(e){return"auto"===e},parse:function(e){return e}}],lw=function(e){return dw.find(sw(e))},cw=ug(ug([],cg(dw),!1),[$$,x$],!1),uw=function(e){return cw.find(sw(e))};function pw(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,iw(n))}function mw(e,t){if(t)return(t[e]||t.default||t).from}function fw(e,t,n){var r;void 0===n&&(n={});var o=Pg(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var s=o?function(){return hw(e,o,n)}:function(){return Promise.resolve()},d=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=i.delayChildren,a=void 0===o?0:o,s=i.staggerChildren,d=i.staggerDirection;return function(e,t,n,r,o,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var i=[],s=(e.variantChildren.size-1)*r,d=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),s-e*r};return Array.from(e.variantChildren).sort(yw).forEach((function(e,r){i.push(fw(e,t,dg(dg({},a),{delay:n+d(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+r,s,d,n)}:function(){return Promise.resolve()},l=i.when;if(l){var c=cg("beforeChildren"===l?[s,d]:[d,s],2),u=c[0],p=c[1];return u().then(p)}return Promise.all([s(),d(n.delay)])}function hw(e,t,n){var r,o=void 0===n?{}:n,a=o.delay,i=void 0===a?0:a,s=o.transitionOverride,d=o.type,l=e.makeTargetAnimatable(t),c=l.transition,u=void 0===c?e.getDefaultTransition():c,p=l.transitionEnd,m=lg(l,["transition","transitionEnd"]);s&&(u=s);var f=[],h=d&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[d]);for(var y in m){var g=e.getValue(y),v=m[y];if(!(!g||void 0===v||h&&gw(h,y))){var _=dg({delay:i},u);e.shouldReduceMotion&&Jg(y)&&(_=dg(dg({},_),{type:!1,delay:0}));var $=Qb(y,g,v,_);f.push($)}}return Promise.all(f).then((function(){p&&function(e,t){var n=Pg(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i=lg(r,["transitionEnd","transition"]);for(var s in i=dg(dg({},i),a))pw(e,s,Yv(i[s]))}(e,p)}))}function yw(e,t){return e.sortNodePosition(t)}function gw(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var vw=[e_.Animate,e_.InView,e_.Focus,e_.Hover,e_.Tap,e_.Drag,e_.Exit],_w=ug([],cg(vw),!1).reverse(),$w=vw.length;function bw(e){var t=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return fw(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=fw(e,t,n);else{var a="function"==typeof t?Pg(e,t,n.custom):t;r=hw(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),n=function(){var e;return(e={})[e_.Animate]=ww(!0),e[e_.InView]=ww(),e[e_.Hover]=ww(),e[e_.Tap]=ww(),e[e_.Drag]=ww(),e[e_.Focus]=ww(),e[e_.Exit]=ww(),e}(),r={},o=!0,a=function(t,n){var r=Pg(e,n);if(r){r.transition;var o=r.transitionEnd,a=lg(r,["transition","transitionEnd"]);t=dg(dg(dg({},t),a),o)}return t};function i(i,s){for(var d,l=e.getProps(),c=e.getVariantContext(!0)||{},u=[],p=new Set,m={},f=1/0,h=function(t){var r=_w[t],h=n[r],y=null!==(d=l[r])&&void 0!==d?d:c[r],g=Og(y),v=r===s?h.isActive:null;!1===v&&(f=t);var _=y===c[r]&&y!==l[r]&&g;if(_&&o&&e.manuallyAnimateOnMount&&(_=!1),h.protectedKeys=dg({},m),!h.isActive&&null===v||!y&&!h.prevProp||zv(y)||"boolean"==typeof y)return"continue";var $=function(e,t){return"string"==typeof t?t!==e:!!kg(t)&&!G_(t,e)}(h.prevProp,y),b=$||r===s&&h.isActive&&!_&&g||t>f&&g,w=Array.isArray(y)?y:[y],E=w.reduce(a,{});!1===v&&(E={});var S=h.prevResolvedValues,C=void 0===S?{}:S,A=dg(dg({},C),E),x=function(e){b=!0,p.delete(e),h.needsAnimating[e]=!0};for(var T in A){var R=E[T],k=C[T];m.hasOwnProperty(T)||(R!==k?Wv(R)&&Wv(k)?!G_(R,k)||$?x(T):h.protectedKeys[T]=!0:void 0!==R?x(T):p.add(T):void 0!==R&&p.has(T)?x(T):h.protectedKeys[T]=!0)}h.prevProp=y,h.prevResolvedValues=E,h.isActive&&(m=dg(dg({},m),E)),o&&e.blockInitialAnimation&&(b=!1),b&&!_&&u.push.apply(u,ug([],cg(w.map((function(e){return{animation:e,options:dg({type:r},i)}}))),!1))},y=0;y<$w;y++)h(y);if(r=dg({},m),p.size){var g={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),u.push({animation:g})}var v=Boolean(u.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(v=!1),o=!1,v?t(u):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=i(o,t);for(var d in n)n[d].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function ww(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Ew={animation:F_((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=bw(t)),zv(n)&&(0,H.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:F_((function(e){var t=e.custom,n=e.visualElement,r=cg(V_(),2),o=r[0],a=r[1],i=(0,H.useContext)(Eg);(0,H.useEffect)((function(){var e,r;n.isPresent=o;var s=null===(e=n.animationState)||void 0===e?void 0:e.setActive(e_.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==s||s.then(a))}),[o])}))};const Sw=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Cw=e=>Sw(e)&&e.hasOwnProperty("z"),Aw=(e,t)=>Math.abs(e-t);function xw(e,t){if(T$(e)&&T$(t))return Aw(e,t);if(Sw(e)&&Sw(t)){const n=Aw(e.x,t.x),r=Aw(e.y,t.y),o=Cw(e)&&Cw(t)?Aw(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Tw=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Ow(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=xw(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=yb().timestamp;r.history.push(dg(dg({},o),{timestamp:a}));var i=r.handlers,s=i.onStart,d=i.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),d&&d(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=Rw(t,r.transformPagePoint),a_(e)&&0===e.buttons?r.handlePointerUp(e,t):gb.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,a=n.onSessionEnd,i=Ow(Rw(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,i),a&&a(e,i)},!(i_(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=Rw(c_(e),this.transformPagePoint),i=a.point,s=yb().timestamp;this.history=[dg(dg({},i),{timestamp:s})];var d=t.onSessionStart;d&&d(e,Ow(a,this.history)),this.removeListeners=R_(v_(window,"pointermove",this.handlePointerMove),v_(window,"pointerup",this.handlePointerUp),v_(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ub.update(this.updatePoint)},e}();function Rw(e,t){return t?{point:t(e.point)}:e}function kw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ow(e,t){var n=e.point;return{point:n,delta:kw(n,Pw(t)),offset:kw(n,Mw(t)),velocity:Iw(t,.1)}}function Mw(e){return e[0]}function Pw(e){return e[e.length-1]}function Iw(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Pw(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>wb(t)));)n--;if(!r)return{x:0,y:0};var a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Nw(e){return e.max-e.min}function Lw(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),xw(e,t)<n}function Dw(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=a$(t.min,t.max,e.origin),e.scale=Nw(n)/Nw(t),(Lw(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=a$(n.min,n.max,e.origin)-e.originPoint,(Lw(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Fw(e,t,n,r){Dw(e.x,t.x,n.x,null==r?void 0:r.originX),Dw(e.y,t.y,n.y,null==r?void 0:r.originY)}function Bw(e,t,n){e.min=n.min+t.min,e.max=e.min+Nw(t)}function Uw(e,t,n){e.min=t.min-n.min,e.max=e.min+Nw(t)}function jw(e,t,n){Uw(e.x,t.x,n.x),Uw(e.y,t.y,n.y)}function Hw(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Vw(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=cg([o,r],2))[0],o=n[1]),{min:r,max:o}}var Gw=.35;function Zw(e,t,n){return{min:zw(e,t),max:zw(e,n)}}function zw(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}var Ww=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},Kw=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function Yw(e){return[e("x"),e("y")]}function qw(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Xw(e){return void 0===e||1===e}function Jw(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!Xw(t)||!Xw(n)||!Xw(r)}function Qw(e){return Jw(e)||eE(e.x)||eE(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function eE(e){return e&&"0%"!==e}function tE(e,t,n){return n+t*(e-n)}function nE(e,t,n,r,o){return void 0!==o&&(e=tE(e,o,r)),tE(e,n,r)+t}function rE(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=nE(e.min,t,n,r,o),e.max=nE(e.max,t,n,r,o)}function oE(e,t){var n=t.x,r=t.y;rE(e.x,n.translate,n.scale,n.originPoint),rE(e.y,r.translate,r.scale,r.originPoint)}function aE(e,t){e.min=e.min+t,e.max=e.max+t}function iE(e,t,n){var r=cg(n,3),o=r[0],a=r[1],i=r[2],s=void 0!==t[i]?t[i]:.5,d=a$(e.min,e.max,s);rE(e,t[o],t[a],d,t.scale)}var sE=["x","scaleX","originX"],dE=["y","scaleY","originY"];function lE(e,t){iE(e.x,t,sE),iE(e.y,t,dE)}function cE(e,t){return qw(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var uE=new WeakMap,pE=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Kw(),this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new Tw(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(c_(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),a=o.drag,i=o.dragPropagation,s=o.onDragStart;(!a||i||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=E_(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Yw((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(fv.test(o)){var a=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];a&&(o=Nw(a)*(parseFloat(o)/100))}n.originPoint[e]=o})),null==s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(e_.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,a=r.dragDirectionLock,i=r.onDirectionLock,s=r.onDrag;if(o||n.openGlobalLock){var d=t.offset;if(a&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(d),void(null!==n.currentDirection&&(null==i||i(n.currentDirection)));n.updateAxis("x",t.point,d),n.updateAxis("y",t.point,d),n.visualElement.syncRender(),null==s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(e_.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&mE(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?a$(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?a$(o,e,n.max):Math.min(e,o)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&Rg(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:Hw(e.x,r,a),y:Hw(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=Gw),!1===e?e=0:!0===e&&(e=Gw),{x:Zw(e,"left","right"),y:Zw(e,"top","bottom")}}(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Yw((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!Rg(t))return!1;var r=t.current;gg(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=function(e,t,n){var r=cE(e,n),o=t.scroll;return o&&(aE(r.x,o.x),aE(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),i=function(e,t){return{x:Vw(e.x,t.x),y:Vw(e.y,t.y)}}(o.layout.actual,a);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(i));this.hasMutatedConstraints=!!s,s&&(i=qw(s))}return i},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,a=n.dragElastic,i=n.dragTransition,s=n.dragSnapToOrigin,d=n.onDragTransitionEnd,l=this.constraints||{},c=Yw((function(n){var d;if(mE(n,r,t.currentDirection)){var c=null!==(d=null==l?void 0:l[n])&&void 0!==d?d:{};s&&(c={min:0,max:0});var u=a?200:1e6,p=a?40:1e7,m=dg(dg({type:"inertia",velocity:o?e[n]:0,bounceStiffness:u,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),c);return t.startAxisValueAnimation(n,m)}}));return Promise.all(c).then(d)},e.prototype.startAxisValueAnimation=function(e,t){return Qb(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Yw((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;Yw((function(n){if(mE(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var a=r.layout.actual[n],i=a.min,s=a.max;o.set(e[n]-a$(i,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(Rg(o)&&a&&this.constraints){this.stopAnimation();var i={x:0,y:0};Yw((function(e){var n,r,o,a,s,d=t.getAxisMotionValue(e);if(d){var l=d.get();i[e]=(n={min:l,max:l},r=t.constraints[e],o=.5,a=Nw(n),(s=Nw(r))>a?o=o$(r.min,r.max-a,n.min):a>s&&(o=o$(n.min,n.max-s,r.min)),Z_(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),Yw((function(e){if(mE(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],a=o.min,s=o.max;n.set(a$(a,s,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;uE.set(this.visualElement,this);var n=v_(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){Rg(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,a=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var i=r_(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Yw((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){i(),n(),a()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,a=e.dragPropagation,i=void 0!==a&&a,s=e.dragConstraints,d=void 0!==s&&s,l=e.dragElastic,c=void 0===l?Gw:l,u=e.dragMomentum,p=void 0===u||u;return dg(dg({},e),{drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:d,dragElastic:c,dragMomentum:p})},e}();function mE(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var fE={pan:F_((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||n||r||o,s=(0,H.useRef)(null),d=(0,H.useContext)(bg).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){s.current=null,r&&r(e,t)}};(0,H.useEffect)((function(){null!==s.current&&s.current.updateHandlers(l)})),__(a,"pointerdown",i&&function(e){s.current=new Tw(e,l,{transformPagePoint:d})}),x_((function(){return s.current&&s.current.end()}))})),drag:F_((function(e){var t=e.dragControls,n=e.visualElement,r=Dg((function(){return new pE(n)}));(0,H.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,H.useEffect)((function(){return r.addListeners()}),[r])}))},hE=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],yE=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,s=e.render,d=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,u=e.scrapeMotionValuesFromProps;return function(e,t){var p=e.parent,m=e.props,f=e.presenceId,h=e.blockInitialAnimation,y=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var v,_,$=!1,b=y.latestValues,w=y.renderState,E=function(){var e=hE.map((function(){return new ow})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){hE.forEach((function(r){var o,a="on"+r,i=e[a];null===(o=t[r])||void 0===o||o.call(t),i&&(t[r]=n[a](i))}))}};return e.forEach((function(e,t){n["on"+hE[t]]=function(t){return e.add(t)},n["notify"+hE[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,ug([],cg(t),!1))}})),n}(),S=new Map,C=new Map,A={},x=dg({},b);function T(){v&&$&&(R(),s(v,w,m.style,D.projection))}function R(){r(D,w,b,t,m)}function k(){E.notifyUpdate(b)}function O(e,t){var n=t.onChange((function(t){b[e]=t,m.onUpdate&&gb.update(k,!1,!0)})),r=t.onRenderRequest(D.scheduleRender);C.set(e,(function(){n(),r()}))}var M=u(m);for(var P in M){var I=M[P];void 0!==b[P]&&nv(I)&&I.set(b[P],!1)}var N=Ig(m),L=Ng(m),D=dg(dg({treeType:n,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:f,shouldReduceMotion:g,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(v)},mount:function(e){$=!0,v=D.current=e,D.projection&&D.projection.mount(e),L&&p&&!N&&(_=null==p?void 0:p.addVariantChild(D)),S.forEach((function(e,t){return O(t,e)})),null==p||p.children.add(D),D.setProps(m)},unmount:function(){var e;null===(e=D.projection)||void 0===e||e.unmount(),ub.update(k),ub.render(T),C.forEach((function(e){return e()})),null==_||_(),null==p||p.children.delete(D),E.clearAllListeners(),v=void 0,$=!1},addVariantChild:function(e){var t,n=D.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(D.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return L?D:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return v},getStaticValue:function(e){return b[e]},setStaticValue:function(e,t){return b[e]=t},getLatestValues:function(){return b},setVisibility:function(e){D.isVisible!==e&&(D.isVisible=e,D.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(D,e,m,t)},measureViewportBox:function(){return i(v,m)},addValue:function(e,t){D.hasValue(e)&&D.removeValue(e),S.set(e,t),b[e]=t.get(),O(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete b[e],l(e,w)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var n=S.get(e);return void 0===n&&void 0!==t&&(n=iw(t),D.addValue(e,n)),n},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var n;return null!==(n=b[e])&&void 0!==n?n:d(v,e,t)},setBaseTarget:function(e,t){x[e]=t},getBaseTarget:function(e){if(o){var t=o(m,e);if(void 0!==t&&!nv(t))return t}return x[e]}},E),{build:function(){return R(),w},scheduleRender:function(){gb.render(T,!1,!0)},syncRender:T,setProps:function(e){(e.transformTemplate||m.transformTemplate)&&D.scheduleRender(),m=e,E.updatePropListeners(e),A=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(nv(a))e.addValue(o,a);else if(nv(i))e.addValue(o,iw(a));else if(i!==a)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(a)}else e.addValue(o,iw(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(D,u(m),A)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==p?void 0:p.getVariantContext();if(!N){var t=(null==p?void 0:p.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var n={},r=0;r<vE;r++){var o=gE[r],a=m[o];(Og(a)||!1===a)&&(n[o]=a)}return n}});return D}},gE=ug(["initial"],cg(vw),!1),vE=gE.length;function _E(e){return"string"==typeof e&&e.startsWith("var(--")}var $E=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bE(e,t,n){void 0===n&&(n=1),gg(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var r=cg(function(e){var t=$E.exec(e);if(!t)return[,];var n=cg(t,3);return[n[1],n[2]]}(e),2),o=r[0],a=r[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():_E(a)?bE(a,t,n+1):a}}var wE,EE=new Set(["width","height","top","left","right","bottom","x","y"]),SE=function(e){return EE.has(e)},CE=function(e,t){e.set(t,!1),e.set(t)},AE=function(e){return e===_v||e===hv};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(wE||(wE={}));var xE=function(e,t){return parseFloat(e.split(", ")[t])},TE=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return xE(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?xE(i[1],e):0}},RE=new Set(["x","y","z"]),kE=Yg.filter((function(e){return!RE.has(e)})),OE={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,a=t.paddingRight,i=void 0===a?"0":a;return n.max-n.min-parseFloat(o)-parseFloat(i)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,a=t.paddingBottom,i=void 0===a?"0":a;return n.max-n.min-parseFloat(o)-parseFloat(i)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:TE(4,13),y:TE(5,14)};function ME(e,t,n,r){return function(e){return Object.keys(e).some(SE)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=dg({},t),r=dg({},r);var o=Object.keys(t).filter(SE),a=[],i=!1,s=[];if(o.forEach((function(o){var d=e.getValue(o);if(e.hasValue(o)){var l,c=n[o],u=lw(c),p=t[o];if(Wv(p)){var m=p.length,f=null===p[0]?1:0;c=p[f],u=lw(c);for(var h=f;h<m;h++)l?gg(lw(p[h])===l,"All keyframes must be of the same type"):(l=lw(p[h]),gg(l===u||AE(u)&&AE(l),"Keyframes must be of the same dimension as the current value"))}else l=lw(p);if(u!==l)if(AE(u)&&AE(l)){var y=d.get();"string"==typeof y&&d.set(parseFloat(y)),"string"==typeof p?t[o]=parseFloat(p):Array.isArray(p)&&l===hv&&(t[o]=p.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==l?void 0:l.transform)&&(0===c||0===p)?0===c?d.set(l.transform(c)):t[o]=u.transform(p):(i||(a=function(e){var t=[];return kE.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],CE(d,p))}})),s.length){var d=s.indexOf("height")>=0?window.pageYOffset:null,l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,s={};"none"===i&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=OE[e](r,a)})),t.syncRender();var d=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);CE(r,s[n]),e[n]=OE[n](d,a)})),e}(t,e,s);return a.length&&a.forEach((function(t){var n=cg(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),null!==d&&window.scrollTo({top:d}),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var PE={treeType:"dom",readValueFromInstance:function(e,t){if(Jg(t)){var n=Zb(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(ov(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return cE(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var a=t.transition,i=t.transitionEnd,s=lg(t,["transition","transitionEnd"]),d=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=mw(i,t))&&void 0!==r?r:null===(o=n.getValue(i))||void 0===o?void 0:o.get();return a}(s,a||{},e);if(o&&(i&&(i=o(i)),s&&(s=o(s)),d&&(d=o(d))),r){!function(e,t,n){var r,o,a,i,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),d=s.length;if(d)for(var l=0;l<d;l++){var c=s[l],u=t[c],p=null;Array.isArray(u)&&(p=u[0]),null===p&&(p=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=p&&("string"==typeof p&&(ew(p)||tw(p))?p=parseFloat(p):!uw(p)&&x$.test(u)&&(p=zb(c,u)),e.addValue(c,iw(p)),null!==(a=(i=n)[c])&&void 0!==a||(i[c]=p),e.setBaseTarget(c,p))}}(e,s,d);var l=function(e,t,n,r){var o=function(e,t,n){var r,o=lg(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:o,transitionEnd:n};for(var i in n&&(n=dg({},n)),e.forEachValue((function(e){var t=e.get();if(_E(t)){var n=bE(t,a);n&&e.set(n)}})),o){var s=o[i];if(_E(s)){var d=bE(s,a);d&&(o[i]=d,n&&(null!==(r=n[i])&&void 0!==r||(n[i]=s)))}}return{target:o,transitionEnd:n}}(e,t,r);return ME(e,t=o.target,n,r=o.transitionEnd)}(e,s,d,i);i=l.transitionEnd,s=l.target}return dg({transition:a,transitionEnd:i},s)},scrapeMotionValuesFromProps:Gv,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Sv(t,n,r,o.transformTemplate)},render:jv},IE=yE(PE),NE=yE(dg(dg({},PE),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Jg(t)?(null===(n=Zb(t))||void 0===n?void 0:n.default)||0:(t=Hv.has(t)?t:Uv(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Zv,build:function(e,t,n,r,o){Nv(t,n,r,o.transformTemplate)},render:Vv})),LE=function(e,t){return zg(e)?NE(t,{enableHardwareAcceleration:!1}):IE(t,{enableHardwareAcceleration:!0})};function DE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var FE={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!hv.test(e))return e;e=parseFloat(e)}var n=DE(e,t.target.x),r=DE(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},BE="_$css",UE={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,a=e.includes("var("),i=[];a&&(e=e.replace($E,(function(e){return i.push(e),BE})));var s=x$.parse(e);if(s.length>5)return o;var d=x$.createTransformer(e),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,u=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=u;var p=a$(c,u,.5);"number"==typeof s[2+l]&&(s[2+l]/=p),"number"==typeof s[3+l]&&(s[3+l]/=p);var m=d(s);if(a){var f=0;m=m.replace(BE,(function(){var e=i[f];return f++,e}))}return m}},jE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return sg(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,i=n.layoutId,s=r.projection;e=HE,Object.assign(Wg,e),s&&((null==o?void 0:o.group)&&o.group.add(s),(null==a?void 0:a.register)&&i&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(dg(dg({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),Fg.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,a=n.drag,i=n.isPresent,s=o.projection;return s?(s.isPresent=i,a||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||gb.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(H.Component),HE={borderRadius:dg(dg({},FE),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:FE,borderTopRightRadius:FE,borderBottomLeftRadius:FE,borderBottomRightRadius:FE,boxShadow:UE},VE={measureLayout:function(e){var t=cg(V_(),2),n=t[0],r=t[1],o=(0,H.useContext)(Ug);return H.createElement(jE,dg({},e,{layoutGroup:o,switchLayoutGroup:(0,H.useContext)(jg),isPresent:n,safeToRemove:r}))}},GE=["TopLeft","TopRight","BottomLeft","BottomRight"],ZE=GE.length,zE=function(e){return"string"==typeof e?parseFloat(e):e},WE=function(e){return"number"==typeof e||hv.test(e)};function KE(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var YE=XE(0,.5,G$),qE=XE(.5,.95,B$);function XE(e,t,n){return function(r){return r<e?0:r>t?1:n(o$(e,t,r))}}function JE(e,t){e.min=t.min,e.max=t.max}function QE(e,t){JE(e.x,t.x),JE(e.y,t.y)}function eS(e,t,n,r,o){return e=tE(e-=t,1/n,r),void 0!==o&&(e=tE(e,1/o,r)),e}function tS(e,t,n,r,o){var a=cg(n,3),i=a[0],s=a[1],d=a[2];!function(e,t,n,r,o,a,i){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===a&&(a=e),void 0===i&&(i=e),fv.test(t)&&(t=parseFloat(t),t=a$(i.min,i.max,t/100)-i.min),"number"==typeof t){var s=a$(a.min,a.max,r);e===a&&(s-=t),e.min=eS(e.min,t,n,s,o),e.max=eS(e.max,t,n,s,o)}}(e,t[i],t[s],t[d],t.scale,r,o)}var nS=["x","scaleX","originX"],rS=["y","scaleY","originY"];function oS(e,t,n,r){tS(e.x,t,nS,null==n?void 0:n.x,null==r?void 0:r.x),tS(e.y,t,rS,null==n?void 0:n.y,null==r?void 0:r.y)}function aS(e){return 0===e.translate&&1===e.scale}function iS(e){return aS(e.x)&&aS(e.y)}function sS(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var dS=function(){function e(){this.members=[]}return e.prototype.add=function(e){nw(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(rw(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,a;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(a=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===a||a.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),lS="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function cS(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,a="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(a+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var i=n.rotate,s=n.rotateX,d=n.rotateY;i&&(a+="rotate(".concat(i,"deg) ")),s&&(a+="rotateX(".concat(s,"deg) ")),d&&(a+="rotateY(".concat(d,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return(a+="scale(".concat(l,", ").concat(c,")"))===lS?"none":a}var uS=function(e,t){return e.depth-t.depth},pS=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){nw(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){rw(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(uS),this.isDirty=!1,this.children.forEach(e)},e}();function mS(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,a=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach($S),o.nodes.forEach(bS)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?ug(ug([],cg(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new pS)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ow),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,ug([],cg(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,i=a.layoutId,s=a.layout,d=a.visualElement;if(d&&!d.getInstance()&&d.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||i)&&(this.isLayoutDirty=!0),t){var l,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(c,250),Fg.hasAnimatedSinceResize&&(Fg.hasAnimatedSinceResize=!1,o.nodes.forEach(_S))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&d&&(i||s)&&this.addEventListener("didUpdate",(function(e){var t,n,r,a,i,s=e.delta,l=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,u=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var p=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:d.getDefaultTransition())&&void 0!==n?n:xS,m=d.getProps(),f=m.onLayoutAnimationStart,h=m.onLayoutAnimationComplete,y=!o.targetLayout||!sS(o.targetLayout,u)||c,g=!l&&c;if((null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||g||l&&(y||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(s,g);var v=dg(dg({},Jb(p,"layout")),{onPlay:f,onComplete:h});d.shouldReduceMotion&&(v.delay=0,v.type=!1),o.startAnimation(v)}else l||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(i=(a=o.options).onExitComplete)||void 0===i||i.call(a));o.targetLayout=u}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,ub.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(wS))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var a=this.path[o];a.shouldResetTransform=!0,a.updateScroll()}var i=this.options,s=i.layoutId,d=i.layout;if(void 0!==s||d){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(gS);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(TS),this.potentialNodes.clear()),this.nodes.forEach(vS),this.nodes.forEach(fS),this.nodes.forEach(hS),this.clearAllSnapshots(),pb.update(),pb.preRender(),pb.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(yS),this.sharedNodes.forEach(ES)},e.prototype.scheduleUpdateProjection=function(){gb.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;gb.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));kS(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var n=this.measure();kS(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=Kw(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(a){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!iS(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),i=o!==this.prevTransformTemplateValue;t&&(n||Qw(this.latestValues)||i)&&(a(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return Kw();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(aE(t.x,n.x),aE(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t=Kw();QE(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,a=r.options,i=r.isScrollRoot;if(r!==this.root&&o&&a.layoutScroll){if(i){QE(t,e);var s=this.root.scroll;s&&(aE(t.x,-s.x),aE(t.y,-s.y))}aE(t.x,o.x),aE(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n=Kw();QE(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&lE(n,{x:-o.scroll.x,y:-o.scroll.y}),Qw(o.latestValues)&&lE(n,o.latestValues)}return Qw(this.latestValues)&&lE(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n=Kw();QE(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&Qw(o.latestValues)){Jw(o.latestValues)&&o.updateSnapshot();var a=Kw();QE(a,o.measure()),oS(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,a)}}return Qw(this.latestValues)&&oS(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=dg(dg(dg({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,a=o.layout,i=o.layoutId;this.layout&&(a||i)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=Kw(),this.relativeTargetOrigin=Kw(),jw(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),QE(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=Kw(),this.targetWithTransforms=Kw()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,Bw(t.x,n.x,r.x),Bw(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):QE(this.target,this.layout.actual),oE(this.target,this.targetDelta)):QE(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=Kw(),this.relativeTargetOrigin=Kw(),jw(this.relativeTargetOrigin,this.target,this.relativeParent.target),QE(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!Qw(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();QE(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,a;void 0===r&&(r=!1);var i=n.length;if(i){var s,d;t.x=t.y=1;for(var l=0;l<i;l++)d=(s=n[l]).projectionDelta,"contents"!==(null===(a=null===(o=s.instance)||void 0===o?void 0:o.style)||void 0===a?void 0:a.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&lE(e,{x:-s.scroll.x,y:-s.scroll.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,oE(e,d)),r&&Qw(s.latestValues)&&lE(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var a=o.target;if(a){this.projectionDelta||(this.projectionDelta=Ww(),this.projectionDeltaWithTransform=Ww());var i=this.treeScale.x,s=this.treeScale.y,d=this.projectionTransform;Fw(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=cS(this.projectionDelta,this.treeScale),this.projectionTransform===d&&this.treeScale.x===i&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,a=(null==o?void 0:o.latestValues)||{},i=dg({},this.latestValues),s=Ww();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var d=Kw(),l=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(AS));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o=t/1e3;SS(s.x,e.x,o),SS(s.y,e.y,o),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(jw(d,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){CS(e.x,t.x,n.x,r),CS(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,d,o)),l&&(r.animationValues=i,function(e,t,n,r,o,a){var i,s,d,l;o?(e.opacity=a$(0,null!==(i=n.opacity)&&void 0!==i?i:1,YE(r)),e.opacityExit=a$(null!==(s=t.opacity)&&void 0!==s?s:1,0,qE(r))):a&&(e.opacity=a$(null!==(d=t.opacity)&&void 0!==d?d:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<ZE;c++){var u="border".concat(GE[c],"Radius"),p=KE(t,u),m=KE(n,u);void 0===p&&void 0===m||(p||(p=0),m||(m=0),0===p||0===m||WE(p)===WE(m)?(e[u]=Math.max(a$(zE(p),zE(m),r),0),(fv.test(m)||fv.test(p))&&(e[u]+="%")):e[u]=m)}(t.rotate||n.rotate)&&(e.rotate=a$(t.rotate||0,n.rotate||0,r))}(i,a,r.latestValues,o,u,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(ub.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=gb.update((function(){Fg.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=nv(0)?0:iw(0);return Qb("",r,1e3,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,0,dg(dg({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(QE(t,n),lE(t,o),Fw(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new dS),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<Kg.length;r++){var o="rotate"+Kg[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,a,i;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var d=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=qv(e.pointerEvents)||"",s.transform=d?d(this.latestValues,""):"none",s;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=qv(e.pointerEvents)||""),this.hasProjected&&!Qw(this.latestValues)&&(c.transform=d?d({},""):"none",this.hasProjected=!1),c}var u=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=cS(this.projectionDeltaWithTransform,this.treeScale,u),d&&(s.transform=d(u,s.transform));var p=this.projectionDelta,m=p.x,f=p.y;for(var h in s.transformOrigin="".concat(100*m.origin,"% ").concat(100*f.origin,"% 0"),l.animationValues?s.opacity=l===this?null!==(o=null!==(r=u.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=l===this?null!==(a=u.opacity)&&void 0!==a?a:"":null!==(i=u.opacityExit)&&void 0!==i?i:0,Wg)if(void 0!==u[h]){var y=Wg[h],g=y.correct,v=y.applyTo,_=g(u[h],l);if(v)for(var $=v.length,b=0;b<$;b++)s[v[b]]=_;else s[h]=_}return this.options.layoutId&&(s.pointerEvents=l===this?qv(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(gS),this.root.sharedNodes.clear()},e}()}function fS(e){e.updateLayout()}function hS(e){var t,n,r,o,a=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var i=e.layout,s=i.actual,d=i.measured;"size"===e.options.animationType?Yw((function(e){var t=a.isShared?a.measured[e]:a.layout[e],n=Nw(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&Yw((function(e){var t=a.isShared?a.measured[e]:a.layout[e],n=Nw(s[e]);t.max=t.min+n}));var l=Ww();Fw(l,s,a.layout);var c=Ww();a.isShared?Fw(c,e.applyTransform(d,!0),a.measured):Fw(c,s,a.layout);var u=!iS(l),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var m=e.relativeParent,f=m.snapshot,h=m.layout;if(f&&h){var y=Kw();jw(y,a.layout,f.layout);var g=Kw();jw(g,s,h.actual),sS(y,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function yS(e){e.clearSnapshot()}function gS(e){e.clearMeasurements()}function vS(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function _S(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function $S(e){e.resolveTargetDelta()}function bS(e){e.calcProjection()}function wS(e){e.resetRotation()}function ES(e){e.removeLeadSnapshot()}function SS(e,t,n){e.translate=a$(t.translate,0,n),e.scale=a$(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function CS(e,t,n,r){e.min=a$(t.min,n.min,r),e.max=a$(t.max,n.max,r)}function AS(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var xS={duration:.45,ease:[.4,0,.1,1]};function TS(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function RS(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function kS(e){RS(e.x),RS(e.y)}var OS=mS({attachResizeListener:function(e,t){return r_(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),MS={current:void 0},PS=mS({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!MS.current){var e=new OS(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),MS.current=e}return MS.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),IS=dg(dg(dg(dg({},Ew),B_),fE),VE),NS=Gg((function(e,t){return function(e,t,n,r,o){var a=t.forwardMotionProps,i=void 0!==a&&a,s=zg(e)?t_:n_;return dg(dg({},s),{preloadedFeatures:n,useRender:Fv(i),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,IS,LE,PS)}));function LS(){var e=(0,H.useRef)(!1);return Cg((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var DS=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,a=e.custom,i=e.presenceAffectsLayout,s=Dg(FS),d=H_(),l=(0,H.useMemo)((function(){return{id:d,initial:n,isPresent:r,custom:a,onExitComplete:function(e){var t,n;s.set(e,!0);try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(s.values()),a=r.next();!a.done;a=r.next())if(!a.value)return}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return s.set(e,!1),function(){return s.delete(e)}}}}),i?void 0:[r]);return(0,H.useMemo)((function(){s.forEach((function(e,t){return s.set(t,!1)}))}),[r]),H.useEffect((function(){!r&&!s.size&&(null==o||o())}),[r]),H.createElement(Eg.Provider,{value:l},t)};function FS(){return new Map}var BS=function(e){return e.key||""},US=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,a=e.onExitComplete,i=e.exitBeforeEnter,s=e.presenceAffectsLayout,d=void 0===s||s,l=cg(function(){var e=LS(),t=cg((0,H.useState)(0),2),n=t[0],r=t[1],o=(0,H.useCallback)((function(){e.current&&r(n+1)}),[n]);return[(0,H.useCallback)((function(){return gb.postRender(o)}),[o]),n]}(),1),c=l[0],u=(0,H.useContext)(Ug).forceRender;u&&(c=u);var p=LS(),m=function(e){var t=[];return H.Children.forEach(e,(function(e){(0,H.isValidElement)(e)&&t.push(e)})),t}(t),f=m,h=new Set,y=(0,H.useRef)(f),g=(0,H.useRef)(new Map).current,v=(0,H.useRef)(!0);if(Cg((function(){v.current=!1,function(e,t){e.forEach((function(e){var n=BS(e);t.set(n,e)}))}(m,g),y.current=f})),x_((function(){v.current=!0,g.clear(),h.clear()})),v.current)return H.createElement(H.Fragment,null,f.map((function(e){return H.createElement(DS,{key:BS(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:d},e)})));f=ug([],cg(f),!1);for(var _=y.current.map(BS),$=m.map(BS),b=_.length,w=0;w<b;w++){var E=_[w];-1===$.indexOf(E)&&h.add(E)}return i&&h.size&&(f=[]),h.forEach((function(e){if(-1===$.indexOf(e)){var t=g.get(e);if(t){var r=_.indexOf(e);f.splice(r,0,H.createElement(DS,{key:BS(t),isPresent:!1,onExitComplete:function(){g.delete(e),h.delete(e);var t=y.current.findIndex((function(t){return t.key===e}));if(y.current.splice(t,1),!h.size){if(y.current=m,!1===p.current)return;c(),a&&a()}},custom:n,presenceAffectsLayout:d},t))}}})),f=f.map((function(e){var t=e.key;return h.has(t)?e:H.createElement(DS,{key:BS(e),isPresent:!0,presenceAffectsLayout:d},e)})),"production"!==mg&&i&&f.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),H.createElement(H.Fragment,null,h.size?f:f.map((function(e){return(0,H.cloneElement)(e)})))};function jS(e){let{className:t,label:n,onFilesDrop:r,onHTMLDrop:o,onDrop:a}=e;const[i,s]=(0,j.useState)(),[d,l]=(0,j.useState)(),[c,u]=(0,j.useState)(),p=(0,Or.__experimentalUseDropZone)({onDrop(e){const t=(0,Fc.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");n&&o?o(n):t.length&&r?r(t):a&&a(e)},onDragStart(e){s(!0);let t="default";(0,J.includes)(e.dataTransfer.types,"text/html")?t="html":((0,J.includes)(e.dataTransfer.types,"Files")||(0,Fc.getFilesFromDataTransfer)(e.dataTransfer).length>0)&&(t="file"),u(t)},onDragEnd(){s(!1),u()},onDragEnter(){l(!0)},onDragLeave(){l(!1)}}),m=(0,Or.useReducedMotion)();let f;d&&(f=(0,j.createElement)(NS.div,{variants:{hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{type:"tween",duration:.2,delay:.1,delayChildren:.2}},exit:{scaleY:1,opacity:0,transition:{duration:.3,delayChildren:0}}},initial:m?"show":"hidden",animate:"show",exit:m?"show":"exit",className:"components-drop-zone__content"},(0,j.createElement)(NS.div,{variants:{hidden:{opacity:0,scale:.75},show:{opacity:1,scale:1},exit:{opacity:0,scale:.9}}},(0,j.createElement)(tn,{icon:ag,className:"components-drop-zone__content-icon"}),(0,j.createElement)("span",{className:"components-drop-zone__content-text"},n||(0,Q.__)("Drop files to upload")))));const h=X()("components-drop-zone",t,{"is-active":(i||d)&&("file"===c&&r||"html"===c&&o||"default"===c&&a),"is-dragging-over-document":i,"is-dragging-over-element":d,[`is-dragging-${c}`]:!!c});return(0,j.createElement)("div",{ref:p,className:h},m?f:(0,j.createElement)(US,null,f))}const HS=function(e){let{accept:t,children:n,multiple:r=!1,onChange:o,onClick:a,render:i,...s}=e;const d=(0,j.useRef)(),l=()=>{d.current.click()},c=i?i({openFileDialog:l}):(0,j.createElement)(Iu,Y({onClick:l},s),n);return(0,j.createElement)("div",{className:"components-form-file-upload"},c,(0,j.createElement)("input",{type:"file",ref:d,multiple:r,style:{display:"none"},accept:t,onChange:o,onClick:a,"data-testid":"form-file-upload-input"}))};var VS=n(4514),GS=n(8607);const ZS=e=>{let{error:t}=e;return H.createElement("span",{className:"upload-message is-destructive"},t)},zS=e=>{let{fileName:t,showPreview:n}=e;const r=wcpaySettings.restUrl+Kr.substring(1)+"/file/"+t;return H.createElement(H.Fragment,null,n&&t&&H.createElement("img",{src:r,style:{maxWidth:100,marginTop:12},alt:t}),!n&&t&&H.createElement("span",{className:"upload-message"},t))},WS=e=>{let{field:t,fileName:n,disabled:r,isDone:o,isLoading:a,accept:i,error:s,onFileChange:d,onFileRemove:l,help:c,showPreview:u,uploadButtonLabel:p,type:m="file"}=e;const f=s&&0<s.length||!1,h="image"===m?VS.Z:GS.Z,y=o&&!f?ep.Z:h;return H.createElement(Gr,{id:`form-file-upload-base-control-${t.key}`,label:t.label,help:c},H.createElement(jS,{onFilesDrop:e=>d(t.key,e[0])}),H.createElement("div",{className:"file-upload"},H.createElement(HS,{accept:i,onChange:e=>{d(t.key,(e.target.files||new FileList)[0])},render:e=>{let{openFileDialog:n}=e;return H.createElement(Iu,{id:`form-file-upload-${t.key}`,className:o&&!f?"is-success":"",isSecondary:!0,isDestructive:f,isBusy:a,disabled:r||a,icon:H.createElement(y,{size:18}),onClick:e=>((e,t)=>{var n;const r=null===(n=e.target.closest(".components-form-file-upload"))||void 0===n?void 0:n.querySelector('input[type="file"]');r&&(r.value=""),t()})(e,n)},p||(0,Q.__)("Upload file","woocommerce-payments"))}}),f?H.createElement(ZS,{error:s}):H.createElement(zS,{fileName:n,showPreview:u}),o&&!r?H.createElement(Iu,{className:"delete-uploaded-file-button","aria-label":(0,Q.__)("Remove file","woocommerce-payments"),icon:H.createElement(og.Z,{size:18}),onClick:()=>l(t.key)}):null))};const KS=e=>{const{fieldKey:t,label:n,accept:r,disabled:o,help:a,purpose:i,fileID:s,updateFileID:d}=e,[l,c]=(0,j.useState)(!1),[u,p]=(0,j.useState)(!1),{createErrorNotice:m}=(0,zr.useDispatch)("core/notices"),f=()=>{d(""),c(!1),p(!1)},h=!l&&s&&0<s.length,y=u||"";return V().createElement("div",{className:"wcpay-branding-upload-field__wrapper"},V().createElement("div",{className:X()("woopay-settings__update-store-logo",s&&"has-file")},V().createElement(WS,{field:{key:t,label:n},fileName:s,isLoading:l,accept:r,disabled:o,isDone:!1,error:y,onFileChange:(e,t)=>{return n=void 0,r=void 0,a=function*(){if(!t)return;if((e=>{if(51e4<e)return m((0,Q.__)("The file you have attached is exceeding the maximum limit.","woocommerce-payments")),!0})(t.size))return;c(!0),jd("wcpay_merchant_settings_file_upload_started",{type:e});const n=new FormData;n.append("file",t),n.append("purpose",i);try{const t=yield Tp()({path:"/wc/v3/payments/file",method:"post",body:n});t&&d(t.id),c(!1),p(!1),jd("wcpay_merchant_settings_file_upload_success",{type:e})}catch({err:e}){jd("wcpay_merchant_settings_upload_failed",{message:e.message}),d(""),c(!1),p(e.message||""),m(e.message)}},new((o=void 0)||(o=Promise))((function(e,t){function i(e){try{d(a.next(e))}catch(e){t(e)}}function s(e){try{d(a.throw(e))}catch(e){t(e)}}function d(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(i,s)}d((a=a.apply(n,r||[])).next())}));var n,r,o,a},onFileRemove:f,showPreview:!0,type:"image",uploadButtonLabel:(0,Q.__)("Upload custom logo","woocommerce-payments")}),V().createElement("div",{style:{display:"flex",alignItems:"center"}},h&&V().createElement(V().Fragment,null,V().createElement(Iu,{onClick:e=>{var t;const n=null===(t=e.target.closest(".woopay-settings__update-store-logo"))||void 0===t?void 0:t.querySelector('input[type="file"]');null==n||n.click()},isLink:!0},(0,Q.__)("Replace","woocommerce-payments")),V().createElement(Iu,{className:"delete-uploaded-file-button","aria-label":(0,Q.__)("Remove file","woocommerce-payments"),icon:V().createElement(og.Z,{size:18}),onClick:f})))),V().createElement(Gr,{id:"test",help:a}," "))},YS=e=>{let{color:t="#00BA37",...n}=e;return(0,j.createElement)("svg",Y({xmlns:"http://www.w3.org/2000/svg",role:"presentation",fill:"none","aria-hidden":"true"},n),(0,j.createElement)("mask",{id:"lock-icon-heading-mask",width:"12",height:"14",x:"2",y:"1",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},(0,j.createElement)("path",{fill:"#fff",fillRule:"evenodd",d:"M12 5.333h-.667v-.666A3.337 3.337 0 0 0 8 1.333a3.337 3.337 0 0 0-3.333 3.334v.666H4c-.737 0-1.333.597-1.333 1.334v6.666c0 .737.596 1.334 1.333 1.334h8c.736 0 1.333-.597 1.333-1.334V6.667c0-.737-.597-1.334-1.333-1.334Zm-6-.666c0-1.103.897-2 2-2 1.102 0 2 .897 2 2v.666H6v-.666ZM8.666 12v-1.518A1.33 1.33 0 0 0 8 8c-.737 0-1.333.597-1.333 1.333 0 .493.27.918.666 1.149V12h1.333Z",clipRule:"evenodd"})),(0,j.createElement)("g",{mask:"url(#lock-icon-heading-mask)"},(0,j.createElement)("path",{fill:t,d:"M0 0h16v16H0z"})))},qS=e=>{let{height:t}=e;return(0,j.createElement)("div",{className:"preview-layout__v-spacer",style:{height:t}})},XS=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__container",style:{height:t}},n)},JS=e=>{let{height:t,variant:n="test",children:r}=e;return(0,j.createElement)("div",{className:"preview-layout__store-header",variant:n,style:{height:t}},r)},QS=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__body",style:{height:t}},n)},eC=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__checkout-row",style:{height:t}},n)},tC=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__columns-container",style:{height:t}},n)},nC=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__left-column",style:{height:t}},n)},rC=e=>{let{height:t,children:n}=e;return(0,j.createElement)("div",{className:"preview-layout__right-column",style:{height:t}},n)},oC=e=>{let{children:t,height:n,isDropdownIncluded:r=!1}=e;return(0,j.createElement)("div",{className:"preview-layout__section-header",style:{height:n}},t,r&&(0,j.createElement)(tn,{icon:Gf,size:12}))},aC=e=>{let{height:t}=e;return(0,j.createElement)("div",{className:"preview-layout__loading-box",style:{height:t}})},iC=e=>{let{children:t,maxHeight:n}=e;return(0,j.createElement)("div",{className:"preview-layout__text-box",style:{maxHeight:n},dangerouslySetInnerHTML:{__html:t}})},sC=e=>{let{height:t}=e;return(0,j.createElement)("div",{className:"preview-layout__checkout-button",style:{height:t}},"Place order")},dC=e=>{let{storeName:t,storeLogo:n,customMessage:r,...o}=e;const{style:a,...i}=o,s=(0,H.useMemo)((()=>{let e=(r||"").trim();return e&&(e=e.replace(/<\/?([a-zA-Z]+)[^>]*>/g,(function(e,t){return t=t.toLowerCase(),["a","em","strong","b","i"].includes(t)?"a"===t?e.startsWith("</")?"</span>":'<span class="preview-layout__shortcode-link">':e.startsWith("</")?`</${t}>`:`<${t}>`:""})),e=e.replace(/\[(terms|terms_of_service_link)\]/g,'<span class="preview-layout__shortcode-link">Terms of Service</span>'),e=e.replace(/\[(privacy_policy|privacy_policy_link)\]/g,'<span class="preview-layout__shortcode-link">Privacy Policy</span>')),e}),[r]);let d;if(n){const e=wcpaySettings.restUrl+Kr.substring(1)+"/file/"+n;d=(0,j.createElement)("img",{src:e,alt:"Store logo"})}else d=(0,j.createElement)("span",{className:"header-text"},(0,Op.decodeEntities)(t));return(0,j.createElement)("div",Y({className:"preview-layout",style:a},i),(0,j.createElement)(qS,{height:"1.5rem"}),(0,j.createElement)(XS,null,(0,j.createElement)(JS,{className:"preview-layout__store-header",variant:n?"logo":"text",height:n?"2rem":"1.5rem"},d),(0,j.createElement)(qS,{height:n?"0.5rem":"1rem"}),(0,j.createElement)(QS,null,(0,j.createElement)(eC,{height:"1.25rem"},(0,j.createElement)("div",{className:"checkout-text"},"Checkout"),(0,j.createElement)("div",{className:"secure-block"},(0,j.createElement)(YS,{width:"8",height:"8",viewBox:"0 0 16 16"}),(0,j.createElement)("span",{className:"secure-block__text"},"Secure and encrypted with AES-256"))),(0,j.createElement)(qS,{height:"0.747rem"}),(0,j.createElement)("hr",{className:"preview-layout__hr"}),(0,j.createElement)(qS,{height:"0.747rem"}),(0,j.createElement)(tC,null,(0,j.createElement)(nC,null,(0,j.createElement)(oC,{height:"0.75rem"},"Contact"),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"1.5rem"}),(0,j.createElement)(qS,{height:"1.12rem"}),(0,j.createElement)(oC,{isDropdownIncluded:!0,height:"0.75rem"},"Ship to"),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"3.813rem"}),(0,j.createElement)(qS,{height:"1.244rem"}),(0,j.createElement)(oC,{isDropdownIncluded:!0,height:"0.75rem"},"Shipping method"),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"2.313rem"}),(0,j.createElement)(qS,{height:"1.244rem"}),(0,j.createElement)(oC,{isDropdownIncluded:!0,height:"0.75rem"},"Pay with"),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"1.5rem"})),(0,j.createElement)(rC,null,(0,j.createElement)(oC,{height:"0.75rem"},"Summary"),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"1.5rem"}),(0,j.createElement)(qS,{height:"0.373rem"}),(0,j.createElement)(aC,{height:"9.438rem"}),(0,j.createElement)(qS,{height:"0.498rem"}),(0,j.createElement)(aC,{height:"2rem"}),(0,j.createElement)(qS,{height:"0.747rem"}),s&&(0,j.createElement)(j.Fragment,null,(0,j.createElement)(iC,{maxHeight:"2.5rem"},s),(0,j.createElement)(qS,{height:"0.747rem"})),(0,j.createElement)(sC,{height:"1.493rem"}))))),(0,j.createElement)(qS,{height:"1.5rem"}))},lC=e=>{var t,n,r,o,a,i;let{section:s}=e;const[d,l]=Cd(),[c,u]=(()=>{const{updateWooPayCustomMessage:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getWooPayCustomMessage())),e]})(),[p,m]=(()=>{const{updateWooPayStoreLogo:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getWooPayStoreLogo())),e]})(),[f,h]=(()=>{const{updateWooPayLocations:e}=(0,zr.useDispatch)(Yr);return[(0,zr.useSelect)((e=>e(Yr).getWooPayLocations())),e]})(),y=e=>t=>{h(t?[...f,e]:f.filter((t=>t!==e)))},g=Ad();return(0,j.createElement)(kr,{className:X()({"woopay-settings":!0,"woopay-settings--appearance":"appearance"===s})},"enable"===s&&(0,j.createElement)(Nc,null,g&&(0,j.createElement)(Mf,null),(0,j.createElement)(Zr,{checked:d,onChange:l,label:(0,Q.__)("Enable WooPay","woocommerce-payments"),help:d?(0,Q.__)("When enabled, customers will be able to checkout using WooPay.","woocommerce-payments"):Sc({mixedString:(0,Q.__)("When enabled, customers will be able to checkout using WooPay. In order to use {{wooPayLink}}WooPay{{/wooPayLink}}, you must agree to our {{tosLink}}WooCommerce Terms of Service{{/tosLink}} and {{privacyLink}}Privacy Policy{{/privacyLink}}. {{trackingLink}}Click here{{/trackingLink}} to learn more about the data you will be sharing and opt-out options.","woocommerce-payments"),components:{wooPayLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/document/woopay-merchant-documentation/"}),tosLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://wordpress.com/tos/"}),privacyLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://automattic.com/privacy/"}),trackingLink:(0,j.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woo.com/usage-tracking/"})}})}),(0,j.createElement)("h4",null,(0,Q.__)("Enable WooPay button on selected pages","woocommerce-payments")),(0,j.createElement)("ul",{className:"payment-request-settings__location"},(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!d,checked:d&&f.includes("checkout"),onChange:y("checkout"),label:(0,Q.__)("Checkout Page","woocommerce-payments")})),(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!d,checked:d&&f.includes("product"),onChange:y("product"),label:(0,Q.__)("Product Page","woocommerce-payments")})),(0,j.createElement)("li",null,(0,j.createElement)(Zr,{disabled:!d,checked:d&&f.includes("cart"),onChange:y("cart"),label:(0,Q.__)("Cart Page","woocommerce-payments")})))),"appearance"===s&&(0,j.createElement)(Nc,{className:"woopay-settings__appearance-card-settings"},(0,j.createElement)("div",{className:"woopay-settings__custom-message-wrapper"},(0,j.createElement)("h4",null,(0,Q.__)("Checkout logo","woocommerce-payments")),(0,j.createElement)(KS,{fieldKey:"woopay-store-logo",accept:"image/png, image/jpeg",disabled:!1,help:(0,Q.__)("Upload a custom logo. Upload a horizontal image with a white or transparent background for best results. Use a PNG or JPG image format. Recommended width: 512 pixels minimum.","woocommerce-payments"),purpose:"business_logo",fileID:p,updateFileID:m})),(0,j.createElement)("div",{className:"woopay-settings__custom-message-wrapper"},(0,j.createElement)("h4",null,(0,Q.__)("Policies and custom text","woocommerce-payments")),(0,j.createElement)(Zp,{help:Sc({mixedString:(0,Q.__)("Override the default {{privacyLink}}privacy policy{{/privacyLink}} and {{termsLink}}terms of service{{/termsLink}}, or add custom text to WooPay checkout. {{learnMoreLink}}Learn more{{/learnMoreLink}}.","woocommerce-payments"),components:{privacyLink:null!==(t=window.wcSettings)&&void 0!==t&&null!==(n=t.storePages)&&void 0!==n&&null!==(r=n.privacy)&&void 0!==r&&r.permalink?(0,j.createElement)(bm.Link,{href:window.wcSettings.storePages.privacy.permalink,type:"external"}):(0,j.createElement)("span",null),termsLink:null!==(o=window.wcSettings)&&void 0!==o&&null!==(a=o.storePages)&&void 0!==a&&null!==(i=a.terms)&&void 0!==i&&i.permalink?(0,j.createElement)(bm.Link,{href:window.wcSettings.storePages.terms.permalink,type:"external"}):(0,j.createElement)("span",null),learnMoreLink:(0,j.createElement)(rn,{href:"https://woo.com/document/woopay-merchant-documentation/#checkout-appearance"})}}),value:c,onChange:u}))),"appearance"===s&&(0,j.createElement)(Nc,{className:"woopay-settings__appearance-card-preview"},(0,j.createElement)("div",{className:"woopay-settings__preview"},(0,j.createElement)("h4",null,(0,Q.__)("Preview of checkout","woocommerce-payments")),(0,j.createElement)(dC,{storeName:wcSettings.siteTitle,storeLogo:p,customMessage:c}))),"general"===s&&(0,j.createElement)(ng,{type:"woopay"}))},cC={woopay:{title:"WooPay",sections:[{section:"enable",description:()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("div",{className:"express-checkout-settings__icon"},(0,j.createElement)(mf,null)),(0,j.createElement)("p",null,(0,Q.__)("Allow your customers to collect payments via WooPay.","woocommerce-payments")))},{section:"appearance",description:()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("div",null,(0,j.createElement)("h2",null,(0,Q.__)("Checkout appearance"))))},{section:"general",description:()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Settings","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Configure the display of WooPay buttons on your store.","woocommerce-payments")))}],controls:e=>(0,j.createElement)(lC,e)},payment_request:{title:"Apple Pay / Google Pay",sections:[{section:"enable",description:()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("div",{className:"express-checkout-settings__icons"},(0,j.createElement)("div",{className:"express-checkout-settings__icon"},(0,j.createElement)(Jm,null)),(0,j.createElement)("div",{className:"express-checkout-settings__icon"},(0,j.createElement)(of,null))),(0,j.createElement)("p",null,(0,Q.__)("Allow your customers to collect payments via Apple Pay and Google Pay.","woocommerce-payments")))},{section:"general",description:()=>(0,j.createElement)(j.Fragment,null,(0,j.createElement)("h2",null,(0,Q.__)("Settings","woocommerce-payments")),(0,j.createElement)("p",null,(0,Q.__)("Configure the display of Apple Pay and Google Pay buttons on your store.","woocommerce-payments")))}],controls:e=>(0,j.createElement)(rg,e)}},uC=e=>{let{methodId:t}=e;const n=cC[t];if(!n)return(0,j.createElement)("p",null,(0,Q.__)("Invalid express checkout method ID specified.","woocommerce-payments"));"WooPay"!==n.title||wcpaySettings.featureFlags.woopayExpressCheckout||(n.sections=n.sections.filter((e=>"general"!==e.section)));const{title:r,sections:o,controls:a}=n;return(0,j.createElement)(jh,null,(0,j.createElement)("h2",{className:"express-checkout-settings__breadcrumbs"},(0,j.createElement)("a",{href:Eo({page:"wc-settings",tab:"checkout",section:"woocommerce_payments"})},"WooPayments")," >"," ",(0,j.createElement)("span",null,r)),o.map((e=>{let{section:t,description:n}=e;return(0,j.createElement)(Df,{key:t,description:n},(0,j.createElement)(sy,{numLines:30},(0,j.createElement)(ly,null,(0,j.createElement)(a,{section:t}))))})),(0,j.createElement)(Gh,null))};window.addEventListener("load",(()=>{(e=>{for(const t in e){const n=K[t];n&&e[t]&&n(e[t])}})(wcpaySettings.fraudServices)}));const pC=document.getElementById("wcpay-account-settings-container");pC&&Z().render((0,j.createElement)(gm.Provider,{value:wcpaySettings},(0,j.createElement)(ly,null,(0,j.createElement)((()=>{const[e,t]=(0,H.useState)(!0),{isLoading:n}=_d();return(0,H.useLayoutEffect)((()=>{const{anchor:e}=(0,on.getQuery)(),{hash:t}=window.location,r=e||t;if(!n&&r){const e=document.querySelector(r);if(!e)return;const t=document.querySelector(".woocommerce-layout__header"),n=(t?t.clientHeight:60)+50,o=e.getBoundingClientRect().top+window.pageYOffset-n;window.scrollTo({top:o,behavior:"smooth"})}}),[n]),(0,j.createElement)(jh,null,(0,j.createElement)(Df,{description:Sy,id:"general"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(Vf,null)))),(0,j.createElement)(Df,{description:wy,id:"payment-methods"},(0,j.createElement)(sy,{numLines:60},(0,j.createElement)(ly,null,(0,j.createElement)(Of,null)))),(0,j.createElement)(Df,{id:"express-checkouts",description:Ey},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(Lf,null)))),(0,j.createElement)(Df,{description:Cy,id:"transactions"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(ey,{setTransactionInputsValid:t})))),(0,j.createElement)(Df,{description:Ay,id:"deposits"},(0,j.createElement)("div",{id:"deposit-schedule"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(iy,null))))),(0,j.createElement)(Df,{description:xy,id:"fp-settings"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(by,null)))),!("undefined"==typeof wcpaySettings||"en_US"===(null===(r=wcpaySettings.locale)||void 0===r?void 0:r.code))&&(0,j.createElement)(Df,{description:Ty,id:"fp-settings"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(Dh,null)))),(0,j.createElement)(Df,{description:Ry,id:"advanced-settings"},(0,j.createElement)(sy,{numLines:20},(0,j.createElement)(ly,null,(0,j.createElement)(up,null)))),(0,j.createElement)(Gh,{disabled:!e}));var r}),null))),pC);const mC=document.getElementById("wcpay-express-checkout-settings-container");if(mC){const e=mC.dataset.methodId;Z().render((0,j.createElement)(gm.Provider,{value:wcpaySettings},(0,j.createElement)(ly,null,(0,j.createElement)(uC,{methodId:e}))),mC)}})()})();