mui-tel-input 2.0.4 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mui-tel-input.es.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled as
|
|
3
|
-
import { jsx as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
1
|
+
import g from "react";
|
|
2
|
+
import { styled as G } from "@mui/material/styles";
|
|
3
|
+
import { jsx as z, jsxs as j, Fragment as b3 } from "react/jsx-runtime";
|
|
4
|
+
import B3 from "@mui/material/IconButton";
|
|
5
|
+
import { grey as c2 } from "@mui/material/colors";
|
|
6
|
+
import F1 from "@mui/material/Typography";
|
|
7
|
+
import h2 from "@mui/material/MenuItem";
|
|
8
|
+
import s2 from "@mui/material/ListItemIcon";
|
|
9
|
+
import o2 from "@mui/material/ListItemText";
|
|
10
|
+
import v2 from "@mui/material/Menu";
|
|
11
|
+
import f2 from "@mui/material/InputAdornment";
|
|
12
|
+
import u2 from "@mui/material/TextField";
|
|
13
|
+
const g2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAeCAYAAABXNvynAAAMeGlDQ1BEaXNwbGF5AABIiZVXd1ST9xp+vpGEhBFGQEBG2EsQ2UNmmIKCbBBHSAIEQoghQcU9ahWtWxw40bqLViuodaJWrRbBbR1FLSqVWtQ6Ubl/JKD13nvuue85ye89z+95n3d838nJC3DfCBUKGWkIlMlVyrT4aH5Obh6f9RAU2ODAAG5CUYUiKjU1GQB6z8+MAF5dAwEAlz2FCoUM/58ZiyUVIoDIB1AgrhCVAcRxgF4jUihVADMfgMM4lUIFMKcB4ClzcvMA5jIAvCKNvw0Ar0DjHwbAU2akCQBmC6CjJxQqiwCD2wD4laIiFWDwHoC3XCyVA9wBAMJFxUIxwJUBGFBWVi4GuCsBuFaKihQA9ziAoILPNIv+oV/Qpy8UFvX5mr4AADox0gqFTDjh/xzN/7Yymbo3hzMAvWJlQhoAHkDcKC1PSgOgBxCd8oJhKQCMAeKNVKyZO0ByitUJmRo+aSWqEOQBMANIb7EwJgmAFUDGyWXDkrV4QaE0LhGAIUCOl6oSMwCYA+QcSUVsupazQVmeps1FNhQqBVFa/KxQCWhz3VWXZkZp9Z8XSxK1+pRBVXFGNgAOQDlWSrOGATAAKK+K0vQkLWdwVbFgWC9HqU7LBOAIUGkSeXy0Rp+qLFTGpWn51WUVvf1SG4qlicO0/l5VcUaCZj7UKZEwNl3TC9UikUdl9upIKnKSe3sRS2JiNb1TjyXyzHStzhuFKjpNE0tzFLJULZ+2l8ji0wDYA7RfRWW6NpbOUikztM+ILlSoUjM0ddJVJcIhqZp66EVIhgAx4EMNPgpQjhJImzsbO8HX3sRBCCWKIIGnFumNyIYQSsghRDqq8CfkkKCiLy4aQighQSXk+NCHar49UQghlKiEBBUoxUMoUYYkyCCBGkpIIO/LloXfoYT037ILwYcI5ZChHEpI/wvei35CoiBAshZR92bkc3uZzFhmDDOBGcd0oy3pcDqUTqbD6Ug6nPahg+jg3j4+8RkPGa2M+4yrjDbGzdHSGcovqhyKNqi1M5Sg4PNZ0M60D+1PR9NhdDgdDD5tRlvCk/ajg+goOoIOpf3pYAi0dauh/GKGX3Tw2dPQ8tjebJLdjx3Jdv0y0sDdwL9PRQL5P+ajqbWgb96Cvpsv8ws+m74Y5Uj6kknNofZRZ6gT1DnqMNUIPnWMOkBdoI5QjZ+9Xb9DiaK+bGmQQI5SyCD9t3xCbU4lJKjw3und4f1ec6eSjFcBgKBcMUEpLSpW8aMUCpmEnygXeQ3g+3j7+AA5uXl8zc/Xi+EgABBmFz5hM38Dwo719PT8+Akbcgz4PhDgHPyEuQYBRrrA2YMitbJSg9EAwAAHXPBgARs4wBWe8EEAQhGJWAxBCjKQi1EQoRhlUGIcJmE6ZmMeFmE5VmM9NmEbvsNeNOIwTuAnnEcLruIW2tCOJ+jCK3QTBMEi9AkTwoKwJZwID8KHCCLCiVgimUgjcokxRBEhJ9TEJGImMY9YQqwmNhLbie+Jg8QJ4hzRStwk7hEdxHPiHUmReiSPtCadyYFkEBlFJpEZ5EiyiBxLVpGzyAXkSrKO3EU2kCfI8+RVso18Qr6kQOlSZpQd5UkFUQIqhcqjCiklNYWqpmqoOqqeOkSdoS5TbVQn9ZZm0iY0n/akQ+kEOpMW0WPpKfR8ejW9jW6gT9GX6Xt0F/2Roc+wYngwQhiJjBxGEWMcYzajhrGFsZ9xmnGV0c54xWQyzZguzEBmAjOXWcKcyJzPXMvczTzObGU+YL5ksVgWLA9WGCuFJWSpWLNZq1i7WMdYl1jtrDc6ujq2Oj46cTp5OnKdGTo1Ojt0jupc0nmk0802ZDuxQ9gpbDF7AnshezP7EPsiu53dzTHiuHDCOBmcEs50zkpOPec05zbnha6urr1usO5wXanuNN2Vunt0z+re032rZ6znrifQy9dT6y3Q26p3XO+m3gt9fX1n/Uj9PH2V/gL97fon9e/qvzEwMfAySDQQG0w1qDVoMLhk8JTL5jpxo7ijuFXcGu4+7kVupyHb0NlQYCg0nGJYa3jQ8LrhSyMTo0FGKUZlRvONdhidM3pszDJ2No41FhvPMt5kfNL4gQll4mAiMBGZzDTZbHLapJ3H5LnwEnklvHm873jNvC5TY1M/0yzT8aa1pkdM28woM2ezRDOZ2UKzvWbXzN71s+4X1U/Sb26/+n6X+r02728eaS4xrzbfbX7V/J0F3yLWotRisUWjxR1L2tLdcrjlOMt1lqctO/vz+of2F/Wv7r+3/69WpJW7VZrVRKtNVhesXlrbWMdbK6xXWZ+07rQxs4m0KbFZZnPUpsPWxDbcVmq7zPaY7R98U34UX8ZfyT/F77KzskuwU9tttGu267Z3sc+0n2G/2/6OA8chyKHQYZlDk0OXo63jUMdJjjsdf3ViOwU5FTutcDrj9NrZxTnb+WvnRufHLuYuiS5VLjtdbrvqu0a4jnWtc73ixnQLcit1W+vW4k66+7sXu9e6X/QgPQI8pB5rPVoHMAYED5APqBtw3VPPM8qz0nOn5z0vM69krxlejV5PBzoOzBu4eOCZgR+9/b1l3pu9bw0yHjRk0IxBhwY993H3EfnU+lzx1feN853qe8D3mZ+Hn8Rvnd8NfxP/of5f+zf5fwgIDFAG1Ad0BDoGjglcE3g9iBeUGjQ/6GwwIzg6eGrw4eC3IQEhqpC9IX+FeoaWhu4IfTzYZbBk8ObBD8Lsw4RhG8PawvnhY8I3hLdF2EUII+oi7kc6RIojt0Q+inKLKonaFfU02jtaGb0/+rUgRDBZcDyGiomPqY5pjjWOzYxdHXs3zj6uKG5nXFe8f/zE+OMJjISkhMUJ1xOtE0WJ2xO7hgQOmTzkVJJeUnrS6qT7ye7JyuRDQ8mhQ4YuHXp7mNMw+bDGFKQkpixNuZPqkjo29cfhzOGpw2uHP0wblDYp7Uy6Sfro9B3przKiMxZm3Mp0zVRnNmVxs/Kztme9zo7JXpLdljMwZ3LO+VzLXGnugTxWXlbelryXI2JHLB/Rnu+fPzv/2kiXkeNHnhtlOUo26sho7mjh6H1jGGOyx+wY816YIqwTvixILFhT0CUSiFaInogjxcvEHZIwyRLJo8KwwiWFj4vCipYWdRRHFNcUd0oF0tXSZyUJJetLXpemlG4t7ZFly3aX6ZSNKTsoN5aXyk+V25SPL29VeChmK9rGhoxdPrZLmaTcUkFUjKw4oOKpFKoLalf1V+p7leGVtZVvxmWN2zfeaLx8/IUJ7hPmTnhUFVf17UR6omhi0yS7SdMn3ZscNXnjFGJKwZSmqQ5TZ01tnxY/bdt0zvTS6b/M8J6xZMbfM7NnHpplPWvarAdfxX+1c7bBbOXs61+Hfr1+Dj1HOqd5ru/cVXM/Vourf57nPa9m3vv5ovk/fzPom5Xf9CwoXNC8MGDhukXMRfJF1xZHLN62xGhJ1ZIHS4cubVjGX1a97O/lo5efq/GrWb+Cs0K9om1l8soDqxxXLVr1fnXx6qu10bW711itmbvm9Vrx2kvrItfVr7deP2/9uw3SDTc2xm9sqHOuq9nE3FS56eHmrM1nvg36dvsWyy3ztnzYKt/ati1t26ntgdu377DasXAnuVO9s2NX/q6W72K+O1DvWb9xt9nueXuwR73nj+/HfH9tb9Lepn1B++p/cPphzX6T/dUNRMOEhq7G4sa2A7kHWg8OOdh0KPTQ/h+9ftx62O5w7RHTIwuPco7OOtpzrOrYy+OK450nik48aBrddOtkzskrp4afaj6ddPrsT3E/nTwTdebY2bCzh8+FnDv4c9DPjecDzjdc8L+w/xf/X/Y3BzQ3XAy8eKAluOVQ6+DWo5ciLp24HHP5pyuJV85fHXa19VrmtRvX86+33RDfeHxTdvPZr5W/dt+adptxu/qO4Z2au1Z3635z+213W0DbkXsx9y7cT79/64HowZPfK35/3z7rof7Dmke2j7Y/9nl8uCOuo+WPEX+0P1E86e6c/afRn2ueuj794a/Ivy505XS1P1M+63k+/4XFi61/+/3d9DL15d1XZa+6X1e/sXiz7W3Q2zPvst896h73nvV+5Qe3D4c+Jn283VPW06MQKoUAAAoAWVgIPN8K6OcCJi0AZ4RmFwQAEJr9FdD8B/nPvmZfBAAEAPU8YHgnILgO7NkMOBcC3HwgVR/ICAbp69v30VpFoa+PRksvGmDc7el54QywlgIfFvX0dNf19HzYBFC3geNyzQ4KAExDYEPih4KyAvwH0+ynn/X45QmQvr5++PL8F6mCkLerjl90AAAACXBIWXMAAAsTAAALEwEAmpwYAAAE92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHN0RXZ0OndoZW49IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChNYWNpbnRvc2gpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjHOcacAAAMOSURBVFiFzZixa1NBHMe/FxOIryWNNUkjJCYQkhJKU2oXsdJowU7t6KZroYNDB7eOgn+Dg0t10MmhrhUUEelm2hDaUmibQBtbQxuaI5JHn4O8cHe59/LuRY3fJbnj97vf5373vSOEzC8t4+W9mcUNzfcc/6mSw9H38U9rzx4d1ndJ9e27xa3Q0It+QznR1MbHjEfsbL1Bu35XjZflqtYBgPLMwgpZX/9gWEbYqN6gCAxofzVPjKWU1jyU0pos0MnYSddFBQa0rh1nY1lpmjbskSWJgbKOpBJJgy3OFmTjZcedSiQNuxyrDVBKaxxwt6R6g6LeoEglksZ4bozcvnO3PW91zOa8uVY6k8Z4boykM2lpvKxpLIenI8NmAwAwNTmB8dwYAQDN78Pcgznp5mQQU5MTiMdiAIB4LIbpfL4jT1bTnOMsIR6t1edZ7Zy7pCa06E0xbzqfb8OaOt4/4NbqVptSWlN+Jczjn529z83TZgtfv3zm7MHChgODXPxmoWjsHewT1ZeGFL5tXSplADg5/U7CoYhhWsOU3tJRKm1zDYgmE0SELVcq2N3ZRTgUUX5SXQGzsoNOZTJE8/s6YEVbqcj20rEyRjxENr9ZKHLFvT4vUpkMiSYTfxwWkACzYOx3Ur20LLRZKBp6S2+PNb+vw7PdYMWGWDWoZ0uwkllA5ute5NgSweEhaed7FbuubCxKCixLYo9TZg9Zd4HfnhYvptW6srHYHCmw6sXIZkc5WL2lgzZbXIwI7fSUxOY4toSVstlR4vV5ublSadvY29nhLiLAQ9tdYjvZAlu9GFawektHuVLhwGWd7uZTu+6Tw3LZ1U7F3wUAOFhWN0aiEE/BKrabXFlCBRYAjqrHEO0Rj8XgDwSVaysDXw+NdMw56ZYM+tpVv2p5deAfp1Wc1C/aY5WjZaFps4Wj6rFqefce9geCaNbP3KT2lOv6WXNbsNfcnt/hfy1POBJd7TeEU50fVlevPB3wFH/mbj3pN4wTRdbePCTzS8t4fTOQLs8srBiD/sf9hpKJXDRfmX8G/gKUwMkA3my/NwAAAABJRU5ErkJggg==", P3 = {
|
|
13
14
|
AC: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 513 342'%3e%3cpath fill='%230052B4' d='M0 0h513v342H0z'/%3e%3cpath fill='white' d='M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z'/%3e%3cpath fill='%2329DBFF' d='M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9'/%3e%3cpath fill='white' d='M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4'/%3e%3cpath fill='%2329DBFF' d='M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53'/%3e%3cpath fill='white' d='M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1'/%3e%3cpath fill='%2329DBFF' d='M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5'/%3e%3cpath fill='%235CC85C' d='M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z'/%3e%3cellipse transform='rotate(-82.3 291.431 225.686)' fill='%23F7A226' cx='291.4' cy='225.7' rx='48.7' ry='15.7'/%3e%3cellipse transform='rotate(-68.099 303.087 164.67)' fill='%23DDC7AB' cx='303.1' cy='164.7' rx='11.7' ry='7.2'/%3e%3cellipse transform='rotate(-81.738 291.697 271.697)' fill='%23DDC7AB' cx='291.7' cy='271.7' rx='11.4' ry='3.3'/%3e%3cellipse transform='matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)' fill='%23DDC7AB' cx='299.6' cy='269.4' rx='3.3' ry='11'/%3e%3cellipse transform='rotate(-21.518 314.54 201.06)' fill='%23DDC7AB' cx='314.5' cy='201.1' rx='4.1' ry='13.7'/%3e%3cellipse transform='rotate(-21.518 317.511 178.077)' fill='%23DDC7AB' cx='317.5' cy='178.1' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-7.7 473.781 225.857)' fill='%23F7A226' cx='473.6' cy='225.9' rx='15.7' ry='48.7'/%3e%3cellipse transform='rotate(-21.901 462.057 164.866)' fill='%23DDC7AB' cx='462' cy='164.9' rx='7.2' ry='11.7'/%3e%3cellipse transform='rotate(-8.27 473.27 271.908)' fill='%23DDC7AB' cx='473.4' cy='271.9' rx='3.3' ry='11.4'/%3e%3cellipse transform='matrix(.05353 -.9986 .9986 .05353 171.34 719.998)' fill='%23DDC7AB' cx='465.5' cy='269.6' rx='11' ry='3.3'/%3e%3cellipse transform='rotate(-68.482 450.552 201.247)' fill='%23DDC7AB' cx='450.6' cy='201.2' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-68.482 447.58 178.265)' fill='%23DDC7AB' cx='447.6' cy='178.3' rx='4.1' ry='13.7'/%3e%3cpath fill='%23B0C6CC' d='M373.3 130.3L356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z'/%3e%3cpath fill='white' d='M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z'/%3e%3cpath fill='%23D80027' d='M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z'/%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath fill='%23D80027' d='M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6l-77.8-53.3h22.6l62.5 42.3v11z'/%3e%3c/svg%3e",
|
|
14
15
|
AD: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 513 342'%3e%3cstyle/%3e%3cpath fill='%23FFDA44' d='M0 0h513v342H0z'/%3e%3cpath fill='%230052B4' d='M0 0h171v342H0z'/%3e%3cpath fill='%23D80027' d='M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z'/%3e%3cpath d='M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7' stroke='%23D80027' stroke-width='7'/%3e%3cpath d='M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1' stroke='%23D80027' stroke-width='5'/%3e%3cpath fill='%23FFDA44' d='M199.9 146l27.6-32.4 28.5 32.3-28.1 32.4z'/%3e%3cpath fill='%23BC8B00' d='M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z'/%3e%3cpath fill='%23D80027' d='M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z'/%3e%3c/svg%3e",
|
|
15
16
|
AE: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 513 342'%3e%3cpath fill='white' d='M0 0h513v342H0z'/%3e%3cpath fill='%23009e49' d='M0 0h513v114H0z'/%3e%3cpath d='M0 228h513v114H0z'/%3e%3cpath fill='%23ce1126' d='M0 0h171v342H0z'/%3e%3c/svg%3e",
|
|
@@ -255,15 +256,15 @@ const s2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAeCAYAAABXNvynAA
|
|
|
255
256
|
ZA: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 85.333 512 341.333'%3e%3cpath fill='white' d='M0 85.337h512v341.326H0z'/%3e%3cpath d='M114.024 256.001L0 141.926v228.17z'/%3e%3cpath fill='%23ffb915' d='M161.192 256L0 94.7v47.226l114.024 114.075L0 370.096v47.138z'/%3e%3cpath fill='%23007847' d='M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z'/%3e%3cpath fill='%23000c8a' d='M503.181 322.783H236.433l-103.881 103.88H512v-103.88z'/%3e%3cpath fill='%23e1392d' d='M503.181 189.217H512V85.337H132.552l103.881 103.88z'/%3e%3c/svg%3e",
|
|
256
257
|
ZM: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 85.333 512 341.333'%3e%3cpath fill='%23496E2D' d='M0 85.331h512v341.337H0z'/%3e%3cpath fill='%23FF9811' d='M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z'/%3e%3cpath fill='%23D80027' d='M341.337 255.994h56.888v170.663h-56.888z'/%3e%3cpath fill='%23FF9811' d='M455.112 255.994H512v170.663h-56.888z'/%3e%3cpath d='M398.225 255.994h56.888v170.663h-56.888z'/%3e%3c/svg%3e",
|
|
257
258
|
ZW: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 85.333 512 341.333'%3e%3cpath d='M0 85.333h512V426.67H0z'/%3e%3cpath d='M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z' fill='%23FFDA44'/%3e%3cpath fill='%23057f44' d='M0 85.333h512v48.868H0z'/%3e%3cpath d='M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z' fill='%23D80027'/%3e%3cpath fill='%23057f44' d='M0 378.542h512v48.128H0z'/%3e%3cpath fill='white' d='M276.992 255.996L106.329 426.659H0V85.333h106.329z'/%3e%3cpath d='M256 255.996L85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z'/%3e%3cpath fill='%23D80027' d='M102.465 202.57l13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z'/%3e%3cpath fill='%23FFDA44' d='M138.94 259.335l-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 001.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z'/%3e%3c/svg%3e"
|
|
258
|
-
},
|
|
259
|
-
Flag:
|
|
259
|
+
}, E3 = {
|
|
260
|
+
Flag: G("span")(() => ({
|
|
260
261
|
display: "inline-block",
|
|
261
262
|
backgroundSize: "cover",
|
|
262
263
|
"--mui-tel-input-flag-height": "0.8em",
|
|
263
264
|
height: "var(--mui-tel-input-flag-height)",
|
|
264
265
|
width: "calc(var(--mui-tel-input-flag-height)*3/2)"
|
|
265
266
|
})),
|
|
266
|
-
Span:
|
|
267
|
+
Span: G("span")(() => ({
|
|
267
268
|
width: "1px",
|
|
268
269
|
clip: "rect(0 0 0 0)",
|
|
269
270
|
clipPath: "inset(100%)",
|
|
@@ -272,96 +273,21 @@ const s2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAeCAYAAABXNvynAA
|
|
|
272
273
|
position: "absolute",
|
|
273
274
|
whiteSpace: "nowrap"
|
|
274
275
|
}))
|
|
275
|
-
},
|
|
276
|
+
}, $3 = (t) => {
|
|
276
277
|
const {
|
|
277
278
|
isoCode: l
|
|
278
|
-
} = t, e = l && l in
|
|
279
|
-
return /* @__PURE__ */
|
|
279
|
+
} = t, e = l && l in P3 ? `"${P3[l]}"` : g2;
|
|
280
|
+
return /* @__PURE__ */ z(E3.Flag, {
|
|
280
281
|
"data-testid": l,
|
|
281
282
|
className: "MuiTelInput-Flag",
|
|
282
283
|
style: {
|
|
283
284
|
backgroundImage: `url(${e})`
|
|
284
285
|
},
|
|
285
|
-
children: l ? /* @__PURE__ */
|
|
286
|
+
children: l ? /* @__PURE__ */ z(E3.Span, {
|
|
286
287
|
children: l
|
|
287
288
|
}) : null
|
|
288
289
|
});
|
|
289
|
-
},
|
|
290
|
-
const {
|
|
291
|
-
isoCode: l,
|
|
292
|
-
isFlagsMenuOpened: e,
|
|
293
|
-
disableDropdown: i,
|
|
294
|
-
...a
|
|
295
|
-
} = t;
|
|
296
|
-
return i ? /* @__PURE__ */ p(C3, {
|
|
297
|
-
tabIndex: -1,
|
|
298
|
-
className: "MuiTelInput-IconButton",
|
|
299
|
-
role: "",
|
|
300
|
-
disableRipple: !0,
|
|
301
|
-
sx: {
|
|
302
|
-
pointerEvents: "none"
|
|
303
|
-
},
|
|
304
|
-
component: "span",
|
|
305
|
-
children: /* @__PURE__ */ p(v3, {
|
|
306
|
-
isoCode: l
|
|
307
|
-
})
|
|
308
|
-
}) : /* @__PURE__ */ p(C3, {
|
|
309
|
-
...a,
|
|
310
|
-
"aria-label": "Select country",
|
|
311
|
-
className: "MuiTelInput-IconButton",
|
|
312
|
-
"aria-haspopup": "listbox",
|
|
313
|
-
"aria-controls": e ? "select-country" : void 0,
|
|
314
|
-
"aria-expanded": e ? "true" : "false",
|
|
315
|
-
children: /* @__PURE__ */ p(v3, {
|
|
316
|
-
isoCode: l
|
|
317
|
-
})
|
|
318
|
-
});
|
|
319
|
-
};
|
|
320
|
-
y1.defaultProps = {
|
|
321
|
-
disableDropdown: !1
|
|
322
|
-
};
|
|
323
|
-
const M3 = { version: 4, country_calling_codes: { 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"], 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"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 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"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\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"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\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"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([457]\\d{6})$", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2457]\\d{6})$", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\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"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\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"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\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", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\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", 0, "$1 $2 $3-$4"]], "0", 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"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "1|([267]\\d{6})$", "684$1", 0, "684"], AT: ["43", "00", "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], [["(\\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"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], [["(\\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)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "0|(183[12])", 0, 0, 0, [["(?:(?: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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "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], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [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"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 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"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "246$1", 0, "246"], BD: ["880", "00", "[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], [["(\\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"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\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"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9], [["(\\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"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[047]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:[25689]\\d|40)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|5[12]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\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)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([3-8]\\d{6})$", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\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"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], BY: ["375", "810", "(?:[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], [["(\\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"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["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[125-7]|33|44|66|77|88)|622)[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], 0, "0", 0, "0|([59]\\d{7})$", "8$1", 0, 0, [["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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "[189]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\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"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9], [["(\\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"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\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"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\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-36]"], "($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"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\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"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "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], [["(\\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"], ["(\\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"], ["(\\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", 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", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "0|(1(?:[12]\\d|79)\\d\\d)", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["[39]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0(4(?:[14]4|56)|[579])?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}", [6, 7, 8, 10], [["(\\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"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], 0, "0", 0, "0|([59]\\d{7})$", "8$1", 0, 0, [["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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9], [["(\\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"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|[23]1|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\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"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\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"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\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"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [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]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[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], [["(\\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"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\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"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\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", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\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"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[01359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-79]))|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-26-9])))|(?: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}", [9, 10]], ["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}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\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"]], "0"], GF: ["594", "00", "(?:[56]94|80\\d|976)\\d{6}", [9], [["(\\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"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "0|([25-9]\\d{5})$", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d\\d|606)\\d{5}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\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]"]]]], GP: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], [["(\\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"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-289]|7[08]|8[0-689]|9\\d)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\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"]]]], GT: ["502", "00", "(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "1|([3-9]\\d{6})$", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\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"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\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"]], "0"], HT: ["509", "00", "[2-489]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-489]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\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"]], "06"], ID: ["62", "00[89]", "(?:(?: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], [["(\\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"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\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"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\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"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "0|([25-8]\\d{5})$", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\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)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 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)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\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"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\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"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\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])|[378]"]], ["(\\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"]]], 0, 0, 0, 0, 0, 0, [["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}"], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [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}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 0, 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "0|([0-24-8]\\d{5})$", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?: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}"], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\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"]], "0"], JP: ["81", "010", "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], [["(\\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(?: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(?: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(?: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"]], "0"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\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"]], "0"], KG: ["996", "00", "8\\d{9}|(?:[235-8]\\d|99)\\d{7}", [9, 10], [["(\\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"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\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"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "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], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\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"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\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]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "0|(1001)"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\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"]], "0"], LR: ["231", "00", "(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}", [7, 8, 9], [["(\\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"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\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]], "8", 0, "[08]"], LU: ["352", "00", "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], [["(\\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])"]], ["(\\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])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\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]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{5})(\\d{4})", "$1-$2", ["5(?:29|38)", "5(?:29[89]|389)", "5(?:29[89]|389)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"]], "0", 0, 0, 0, 0, 0, [["5(?:29(?:[189][05]|2[29]|3[01])|389[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]|8[08]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]))\\d{6}"], ["80\\d{7}"], ["89\\d{7}"], 0, 0, 0, 0, ["592(?:4[0-2]|93)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\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"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\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"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "0|([24-9]\\d{6})$", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "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"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "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], [["(\\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"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-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"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "670$1", 0, "670"], MQ: ["596", "00", "(?:69|80)\\d{7}|(?:59|97)6\\d{6}", [9], [["(\\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"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "1|([34]\\d{6})$", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["5"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[3467]|9[13-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[129]\\d|31|77|88)\\d{7}|1\\d{6}", [7, 9], [["(\\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"]], "0"], MX: ["52", "0[09]", "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], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\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]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-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(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\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"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\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]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\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"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\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-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\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]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[47]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[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], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\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"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\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"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\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"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\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"]]], "0"], PK: ["92", "00", "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], [["(\\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)"]], "0"], PL: ["48", "00", "6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?", [6, 7, 8, 9, 10], [["(\\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"]]]], PM: ["508", "00", "(?:[45]|80\\d\\d)\\d{5}", [6, 9], [["(\\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"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\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"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\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"]]], "0"], QA: ["974", "00", "[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}", [7, 8, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["2[126]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]]]], RE: ["262", "00", "976\\d{6}|(?:26|[68]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, "26[23]|69|[89]"], RO: ["40", "00", "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "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], [["(\\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"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\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)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\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"]]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\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"]]], "0"], SB: ["677", "0[01]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[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], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\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", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\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", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\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", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-5]|[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"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\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)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|[57]9)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\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"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\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]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\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]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\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]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|(5\\d{6})$", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\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]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "1|([2-479]\\d{6})$", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\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"]]], "0"], TJ: ["992", "810", "(?:00|[1-57-9]\\d)\\d{7}", [9], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "[1-6]\\d{7}", [8], [["(\\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"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\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]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\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]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-46-8]\\d{6})$", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[26-8]\\d|41|90)\\d{7}", [9], [["(\\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"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\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{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\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"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|22|33)|4(?:00|4[24]|65|82)|5(?:00|29|58|83)|6(?:00|66|82)|7(?:58|77)|8(?:00|42|5[25]|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[349]|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[01679]|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[068]|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[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["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[125-7]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [7, 8, 10], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:33|55|[679]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[35-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], VA: ["39", "00", "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], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-578]\\d{6})$", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 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]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\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"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\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"]], "0"], YT: ["262", "00", "80\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, "269|63"], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\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"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "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], [["(\\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"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "[0-36-9]\\d{8}", [9], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-36-9]"]]], 0, 0, 0, 0, 0, 0, [0, ["[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}", [7, 8, 9, 10, 11, 12], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, 0, 0, 0, ["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}"]]], 883: ["883", 0, "(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?", [9, 10, 12], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
324
|
-
function o2(t) {
|
|
325
|
-
return typeof t == "object" && !Array.isArray(t) && t !== null;
|
|
326
|
-
}
|
|
327
|
-
const v2 = Object.keys, j = M3.countries, f2 = v2(j), N3 = {
|
|
328
|
-
ListItemIcon: Z(d2)({
|
|
329
|
-
marginRight: "10px"
|
|
330
|
-
}),
|
|
331
|
-
ListItemText: Z(r2)({
|
|
332
|
-
marginRight: "10px"
|
|
333
|
-
})
|
|
334
|
-
}, u2 = (t) => {
|
|
335
|
-
const {
|
|
336
|
-
isoCode: l,
|
|
337
|
-
onSelectCountry: e,
|
|
338
|
-
displayNames: i,
|
|
339
|
-
...a
|
|
340
|
-
} = t, d = (n) => {
|
|
341
|
-
n.preventDefault(), e(l);
|
|
342
|
-
}, r = i.of(l);
|
|
343
|
-
return /* @__PURE__ */ o3(i2, {
|
|
344
|
-
...a,
|
|
345
|
-
onClick: d,
|
|
346
|
-
role: "option",
|
|
347
|
-
"data-testid": `option-${l}`,
|
|
348
|
-
className: "MuiTelInput-MenuItem",
|
|
349
|
-
children: [/* @__PURE__ */ p(N3.ListItemIcon, {
|
|
350
|
-
className: "MuiTelInput-ListItemIcon-flag",
|
|
351
|
-
children: /* @__PURE__ */ p(v3, {
|
|
352
|
-
isoCode: l
|
|
353
|
-
})
|
|
354
|
-
}), /* @__PURE__ */ p(N3.ListItemText, {
|
|
355
|
-
className: "MuiTelInput-ListItemText-country",
|
|
356
|
-
children: r
|
|
357
|
-
}), /* @__PURE__ */ o3(a2, {
|
|
358
|
-
variant: "body2",
|
|
359
|
-
color: "text.secondary",
|
|
360
|
-
className: "MuiTelInput-Typography-calling-code",
|
|
361
|
-
children: ["+", j[l]?.[0]]
|
|
362
|
-
})]
|
|
363
|
-
});
|
|
364
|
-
}, g2 = $.memo(u2), Y = "en", x3 = {
|
|
290
|
+
}, C3 = {
|
|
365
291
|
EU: [
|
|
366
292
|
"AD",
|
|
367
293
|
"AL",
|
|
@@ -617,62 +543,151 @@ const v2 = Object.keys, j = M3.countries, f2 = v2(j), N3 = {
|
|
|
617
543
|
"ZM",
|
|
618
544
|
"ZW"
|
|
619
545
|
]
|
|
620
|
-
};
|
|
621
|
-
function
|
|
546
|
+
}, A3 = { version: 4, country_calling_codes: { 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"], 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"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 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"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\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"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\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"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([457]\\d{6})$", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2457]\\d{6})$", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\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"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\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"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\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", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\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", 0, "$1 $2 $3-$4"]], "0", 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"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "1|([267]\\d{6})$", "684$1", 0, "684"], AT: ["43", "00", "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], [["(\\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"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], [["(\\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)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "0|(183[12])", 0, 0, 0, [["(?:(?: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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "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], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [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"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 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"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "246$1", 0, "246"], BD: ["880", "00", "[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], [["(\\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"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\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"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9], [["(\\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"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[047]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:[25689]\\d|40)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|5[12]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\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)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([3-8]\\d{6})$", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\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"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], BY: ["375", "810", "(?:[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], [["(\\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"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["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[125-7]|33|44|66|77|88)|622)[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], 0, "0", 0, "0|([59]\\d{7})$", "8$1", 0, 0, [["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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "[189]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\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"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9], [["(\\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"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\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"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\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-36]"], "($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"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\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"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "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], [["(\\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"], ["(\\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"], ["(\\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", 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", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "0|(1(?:[12]\\d|79)\\d\\d)", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["[39]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0(4(?:[14]4|56)|[579])?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}", [6, 7, 8, 10], [["(\\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"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], 0, "0", 0, "0|([59]\\d{7})$", "8$1", 0, 0, [["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}", [9]], ["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}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9], [["(\\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"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|[23]1|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\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"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\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"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\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"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [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]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[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], [["(\\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"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\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"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\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", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\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"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[01359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-79]))|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-26-9])))|(?: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}", [9, 10]], ["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}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\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"]], "0"], GF: ["594", "00", "(?:[56]94|80\\d|976)\\d{6}", [9], [["(\\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"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "0|([25-9]\\d{5})$", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d\\d|606)\\d{5}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\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]"]]]], GP: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], [["(\\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"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-289]|7[08]|8[0-689]|9\\d)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\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"]]]], GT: ["502", "00", "(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "1|([3-9]\\d{6})$", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\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"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\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"]], "0"], HT: ["509", "00", "[2-489]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-489]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\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"]], "06"], ID: ["62", "00[89]", "(?:(?: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], [["(\\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"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\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"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\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"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "0|([25-8]\\d{5})$", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\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)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 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)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\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"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\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"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\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])|[378]"]], ["(\\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"]]], 0, 0, 0, 0, 0, 0, [["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}"], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [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}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 0, 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "0|([0-24-8]\\d{5})$", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?: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}"], ["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\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"]], "0"], JP: ["81", "010", "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], [["(\\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(?: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(?: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(?: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"]], "0"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\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"]], "0"], KG: ["996", "00", "8\\d{9}|(?:[235-8]\\d|99)\\d{7}", [9, 10], [["(\\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"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\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"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "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], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\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"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\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]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "0|(1001)"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\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"]], "0"], LR: ["231", "00", "(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}", [7, 8, 9], [["(\\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"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\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]], "8", 0, "[08]"], LU: ["352", "00", "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], [["(\\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])"]], ["(\\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])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\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]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{5})(\\d{4})", "$1-$2", ["5(?:29|38)", "5(?:29[89]|389)", "5(?:29[89]|389)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"]], "0", 0, 0, 0, 0, 0, [["5(?:29(?:[189][05]|2[29]|3[01])|389[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]|8[08]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]))\\d{6}"], ["80\\d{7}"], ["89\\d{7}"], 0, 0, 0, 0, ["592(?:4[0-2]|93)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\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"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\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"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["976[01]\\d{5}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "0|([24-9]\\d{6})$", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "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"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "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], [["(\\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"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-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"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "670$1", 0, "670"], MQ: ["596", "00", "(?:69|80)\\d{7}|(?:59|97)6\\d{6}", [9], [["(\\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"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "1|([34]\\d{6})$", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["5"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[3467]|9[13-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[129]\\d|31|77|88)\\d{7}|1\\d{6}", [7, 9], [["(\\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"]], "0"], MX: ["52", "0[09]", "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], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\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]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-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(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\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"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\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]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\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"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\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-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\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]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[47]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[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], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\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"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\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"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\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"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\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"]]], "0"], PK: ["92", "00", "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], [["(\\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)"]], "0"], PL: ["48", "00", "6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?", [6, 7, 8, 9, 10], [["(\\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"]]]], PM: ["508", "00", "(?:[45]|80\\d\\d)\\d{5}", [6, 9], [["(\\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"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\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"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\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"]]], "0"], QA: ["974", "00", "[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}", [7, 8, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["2[126]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]]]], RE: ["262", "00", "976\\d{6}|(?:26|[68]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, "26[23]|69|[89]"], RO: ["40", "00", "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "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], [["(\\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"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\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)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\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"]]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\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"]]], "0"], SB: ["677", "0[01]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[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], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\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", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\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", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\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", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-5]|[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"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\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)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|[57]9)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\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"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\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]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\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]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\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]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|(5\\d{6})$", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\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]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "1|([2-479]\\d{6})$", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\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"]]], "0"], TJ: ["992", "810", "(?:00|[1-57-9]\\d)\\d{7}", [9], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "[1-6]\\d{7}", [8], [["(\\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"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\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]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\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]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-46-8]\\d{6})$", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[26-8]\\d|41|90)\\d{7}", [9], [["(\\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"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\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{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\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"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|22|33)|4(?:00|4[24]|65|82)|5(?:00|29|58|83)|6(?:00|66|82)|7(?:58|77)|8(?:00|42|5[25]|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[349]|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[01679]|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[068]|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[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["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[125-7]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [7, 8, 10], [["(\\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"]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:33|55|[679]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[35-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], VA: ["39", "00", "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], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "1|([2-7]\\d{6})$", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-578]\\d{6})$", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 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]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\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"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\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"]], "0"], YT: ["262", "00", "80\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, "269|63"], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\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"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "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], [["(\\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"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "[0-36-9]\\d{8}", [9], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-36-9]"]]], 0, 0, 0, 0, 0, 0, [0, ["[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}", [7, 8, 9, 10, 11, 12], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, 0, 0, 0, ["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}"]]], 883: ["883", 0, "(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?", [9, 10, 12], [["(\\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]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
547
|
+
function $2(t) {
|
|
548
|
+
return typeof t == "object" && !Array.isArray(t) && t !== null;
|
|
549
|
+
}
|
|
550
|
+
const m2 = Object.keys, Z = A3.countries, p2 = m2(Z), w2 = "US";
|
|
551
|
+
function B(t, l) {
|
|
622
552
|
const e = Array.isArray(t);
|
|
623
553
|
return l ? e && t.length > 0 : e;
|
|
624
554
|
}
|
|
625
|
-
function
|
|
555
|
+
function z2(t, l) {
|
|
626
556
|
return t.find((e) => l.includes(e)) || null;
|
|
627
557
|
}
|
|
628
|
-
function
|
|
629
|
-
return
|
|
558
|
+
function _(t) {
|
|
559
|
+
return Z[t]?.[0];
|
|
630
560
|
}
|
|
631
|
-
function
|
|
561
|
+
function I3(t, l) {
|
|
632
562
|
return [...new Set(l.concat(t))];
|
|
633
563
|
}
|
|
634
|
-
function
|
|
635
|
-
return t.flatMap((l) =>
|
|
564
|
+
function M2(t) {
|
|
565
|
+
return t.flatMap((l) => C3[l]);
|
|
636
566
|
}
|
|
637
|
-
function
|
|
567
|
+
function x2(t, l) {
|
|
638
568
|
return t.filter((e) => l.includes(e));
|
|
639
569
|
}
|
|
640
|
-
function
|
|
641
|
-
return
|
|
570
|
+
function H2(t, l) {
|
|
571
|
+
return B(l, !0) ? t.filter((e) => !l.includes(e)) : t;
|
|
642
572
|
}
|
|
643
|
-
function
|
|
573
|
+
function y2(t, l) {
|
|
644
574
|
const { onlyCountries: e, excludedCountries: i, continents: a, preferredCountries: d } = l;
|
|
645
|
-
if (
|
|
646
|
-
const c =
|
|
647
|
-
return
|
|
575
|
+
if (B(e, !0)) {
|
|
576
|
+
const c = x2(t, e);
|
|
577
|
+
return B(d, !0) ? I3(c, d) : c;
|
|
648
578
|
}
|
|
649
|
-
const r =
|
|
650
|
-
return
|
|
579
|
+
const r = B(a, !0) ? M2(a) : t, n = B(d, !0) ? I3(r, d) : r;
|
|
580
|
+
return B(i, !0) ? H2(n, i) : n;
|
|
651
581
|
}
|
|
652
|
-
function
|
|
653
|
-
return t.some((e) =>
|
|
582
|
+
function b2(t, l) {
|
|
583
|
+
return t.some((e) => C3[e].includes(l));
|
|
654
584
|
}
|
|
655
|
-
function
|
|
585
|
+
function C2(t, l) {
|
|
656
586
|
return [...t].sort((e, i) => {
|
|
657
587
|
const a = l.of(e), d = l.of(i);
|
|
658
588
|
return a.localeCompare(d);
|
|
659
589
|
});
|
|
660
590
|
}
|
|
661
|
-
|
|
591
|
+
const A2 = {
|
|
592
|
+
CallingCodeSplitted: G(F1)({
|
|
593
|
+
borderRight: `1px solid ${c2[300]}`,
|
|
594
|
+
paddingRight: 10,
|
|
595
|
+
cursor: "default",
|
|
596
|
+
pointerEvents: "none"
|
|
597
|
+
})
|
|
598
|
+
}, D1 = (t) => {
|
|
599
|
+
const {
|
|
600
|
+
isoCode: l,
|
|
601
|
+
isFlagsMenuOpened: e,
|
|
602
|
+
disableDropdown: i,
|
|
603
|
+
splitCallingCode: a,
|
|
604
|
+
...d
|
|
605
|
+
} = t;
|
|
606
|
+
return /* @__PURE__ */ j(b3, {
|
|
607
|
+
children: [i ? /* @__PURE__ */ z(B3, {
|
|
608
|
+
tabIndex: -1,
|
|
609
|
+
className: "MuiTelInput-IconButton",
|
|
610
|
+
role: "",
|
|
611
|
+
disableRipple: !0,
|
|
612
|
+
sx: {
|
|
613
|
+
pointerEvents: "none"
|
|
614
|
+
},
|
|
615
|
+
component: "span",
|
|
616
|
+
children: /* @__PURE__ */ z($3, {
|
|
617
|
+
isoCode: l
|
|
618
|
+
})
|
|
619
|
+
}) : /* @__PURE__ */ z(B3, {
|
|
620
|
+
...d,
|
|
621
|
+
"aria-label": "Select country",
|
|
622
|
+
className: "MuiTelInput-IconButton",
|
|
623
|
+
"aria-haspopup": "listbox",
|
|
624
|
+
"aria-controls": e ? "select-country" : void 0,
|
|
625
|
+
"aria-expanded": e ? "true" : "false",
|
|
626
|
+
children: /* @__PURE__ */ z($3, {
|
|
627
|
+
isoCode: l
|
|
628
|
+
})
|
|
629
|
+
}), a && l ? /* @__PURE__ */ j(A2.CallingCodeSplitted, {
|
|
630
|
+
children: ["+", _(l)]
|
|
631
|
+
}) : null]
|
|
632
|
+
});
|
|
633
|
+
};
|
|
634
|
+
D1.defaultProps = {
|
|
635
|
+
disableDropdown: !1,
|
|
636
|
+
splitCallingCode: !1
|
|
637
|
+
};
|
|
638
|
+
const S3 = {
|
|
639
|
+
ListItemIcon: G(s2)({
|
|
640
|
+
marginRight: "10px"
|
|
641
|
+
}),
|
|
642
|
+
ListItemText: G(o2)({
|
|
643
|
+
marginRight: "10px"
|
|
644
|
+
})
|
|
645
|
+
}, F2 = (t) => {
|
|
646
|
+
const {
|
|
647
|
+
isoCode: l,
|
|
648
|
+
onSelectCountry: e,
|
|
649
|
+
displayNames: i,
|
|
650
|
+
...a
|
|
651
|
+
} = t, d = (n) => {
|
|
652
|
+
n.preventDefault(), e(l);
|
|
653
|
+
}, r = i.of(l);
|
|
654
|
+
return /* @__PURE__ */ j(h2, {
|
|
655
|
+
...a,
|
|
656
|
+
onClick: d,
|
|
657
|
+
role: "option",
|
|
658
|
+
"data-testid": `option-${l}`,
|
|
659
|
+
className: "MuiTelInput-MenuItem",
|
|
660
|
+
children: [/* @__PURE__ */ z(S3.ListItemIcon, {
|
|
661
|
+
className: "MuiTelInput-ListItemIcon-flag",
|
|
662
|
+
children: /* @__PURE__ */ z($3, {
|
|
663
|
+
isoCode: l
|
|
664
|
+
})
|
|
665
|
+
}), /* @__PURE__ */ z(S3.ListItemText, {
|
|
666
|
+
className: "MuiTelInput-ListItemText-country",
|
|
667
|
+
children: r
|
|
668
|
+
}), /* @__PURE__ */ j(F1, {
|
|
669
|
+
variant: "body2",
|
|
670
|
+
color: "text.secondary",
|
|
671
|
+
className: "MuiTelInput-Typography-calling-code",
|
|
672
|
+
children: ["+", Z[l]?.[0]]
|
|
673
|
+
})]
|
|
674
|
+
});
|
|
675
|
+
}, D2 = g.memo(F2), X = "en";
|
|
676
|
+
function T(...t) {
|
|
662
677
|
process.env.NODE_ENV !== "production" && console.error(...t);
|
|
663
678
|
}
|
|
664
|
-
function
|
|
679
|
+
function N2(t = X) {
|
|
665
680
|
try {
|
|
666
681
|
return new Intl.DisplayNames(t, {
|
|
667
682
|
type: "region"
|
|
668
683
|
});
|
|
669
684
|
} catch (l) {
|
|
670
|
-
return
|
|
685
|
+
return T(l), new Intl.DisplayNames(X, {
|
|
671
686
|
type: "region"
|
|
672
687
|
});
|
|
673
688
|
}
|
|
674
689
|
}
|
|
675
|
-
const
|
|
690
|
+
const N1 = (t) => {
|
|
676
691
|
const {
|
|
677
692
|
isoCode: l,
|
|
678
693
|
onSelectCountry: e,
|
|
@@ -681,17 +696,17 @@ const b1 = (t) => {
|
|
|
681
696
|
langOfCountryName: d,
|
|
682
697
|
continents: r,
|
|
683
698
|
preferredCountries: n
|
|
684
|
-
} = t, [c] =
|
|
685
|
-
const o =
|
|
686
|
-
return
|
|
699
|
+
} = t, [c] = g.useState(() => N2(d)), [h] = g.useState(() => {
|
|
700
|
+
const o = C2(p2, c);
|
|
701
|
+
return y2(o, {
|
|
687
702
|
onlyCountries: a,
|
|
688
703
|
excludedCountries: i,
|
|
689
704
|
continents: r,
|
|
690
705
|
preferredCountries: n
|
|
691
706
|
});
|
|
692
|
-
}), [s] =
|
|
693
|
-
return /* @__PURE__ */
|
|
694
|
-
children: h.map((o) => /* @__PURE__ */
|
|
707
|
+
}), [s] = g.useState(() => e);
|
|
708
|
+
return /* @__PURE__ */ z(b3, {
|
|
709
|
+
children: h.map((o) => /* @__PURE__ */ z(D2, {
|
|
695
710
|
onSelectCountry: s,
|
|
696
711
|
isoCode: o,
|
|
697
712
|
displayNames: c,
|
|
@@ -700,14 +715,14 @@ const b1 = (t) => {
|
|
|
700
715
|
}, o))
|
|
701
716
|
});
|
|
702
717
|
};
|
|
703
|
-
|
|
718
|
+
N1.defaultProps = {
|
|
704
719
|
onlyCountries: [],
|
|
705
720
|
excludedCountries: [],
|
|
706
721
|
continents: [],
|
|
707
722
|
preferredCountries: [],
|
|
708
|
-
langOfCountryName:
|
|
723
|
+
langOfCountryName: X
|
|
709
724
|
};
|
|
710
|
-
const
|
|
725
|
+
const L1 = (t) => {
|
|
711
726
|
const {
|
|
712
727
|
anchorEl: l,
|
|
713
728
|
isoCode: e,
|
|
@@ -720,7 +735,7 @@ const A1 = (t) => {
|
|
|
720
735
|
className: h,
|
|
721
736
|
...s
|
|
722
737
|
} = t;
|
|
723
|
-
return /* @__PURE__ */
|
|
738
|
+
return /* @__PURE__ */ z(v2, {
|
|
724
739
|
anchorEl: l,
|
|
725
740
|
open: Boolean(l),
|
|
726
741
|
id: "select-country",
|
|
@@ -731,7 +746,7 @@ const A1 = (t) => {
|
|
|
731
746
|
"aria-labelledby": "select-country"
|
|
732
747
|
},
|
|
733
748
|
...s,
|
|
734
|
-
children: /* @__PURE__ */
|
|
749
|
+
children: /* @__PURE__ */ z(N1, {
|
|
735
750
|
onlyCountries: d,
|
|
736
751
|
excludedCountries: a,
|
|
737
752
|
preferredCountries: c,
|
|
@@ -742,104 +757,114 @@ const A1 = (t) => {
|
|
|
742
757
|
})
|
|
743
758
|
});
|
|
744
759
|
};
|
|
745
|
-
|
|
760
|
+
L1.defaultProps = {
|
|
746
761
|
onlyCountries: [],
|
|
747
762
|
excludedCountries: [],
|
|
748
763
|
continents: [],
|
|
749
764
|
preferredCountries: [],
|
|
750
|
-
langOfCountryName:
|
|
765
|
+
langOfCountryName: X
|
|
751
766
|
};
|
|
752
|
-
function
|
|
767
|
+
function L2(t) {
|
|
753
768
|
t.focus();
|
|
754
769
|
const { length: l } = t.value;
|
|
755
770
|
t.setSelectionRange(l, l);
|
|
756
771
|
}
|
|
757
|
-
function
|
|
758
|
-
typeof l == "function" ? l(t) : l &&
|
|
772
|
+
function c3(t, l) {
|
|
773
|
+
typeof l == "function" ? l(t) : l && $2(l) && "current" in l && (l.current = t);
|
|
759
774
|
}
|
|
760
|
-
function
|
|
761
|
-
const {
|
|
762
|
-
|
|
775
|
+
function B2(t) {
|
|
776
|
+
const {
|
|
777
|
+
defaultCountry: l,
|
|
778
|
+
onlyCountries: e,
|
|
779
|
+
excludedCountries: i,
|
|
780
|
+
continents: a,
|
|
781
|
+
splitCallingCode: d
|
|
782
|
+
} = t;
|
|
783
|
+
g.useEffect(() => {
|
|
763
784
|
if (e && i) {
|
|
764
|
-
const
|
|
785
|
+
const r = z2(
|
|
765
786
|
e,
|
|
766
787
|
i
|
|
767
788
|
);
|
|
768
|
-
|
|
769
|
-
`[mui-tel-input] Not expected to have the country ${
|
|
789
|
+
r && T(
|
|
790
|
+
`[mui-tel-input] Not expected to have the country ${r} to be included in the 'onlyCountries' AND 'excludedCountries' props`
|
|
770
791
|
);
|
|
771
792
|
}
|
|
772
|
-
}, [e, i]),
|
|
773
|
-
l && i && i.includes(l) &&
|
|
793
|
+
}, [e, i]), g.useEffect(() => {
|
|
794
|
+
l && i && i.includes(l) && T(
|
|
774
795
|
`[mui-tel-input] Not expected to have the 'defaultCountry' (${l}) prop excluded by the 'excludedCountries' prop`
|
|
775
796
|
);
|
|
776
|
-
}, [l, i]),
|
|
777
|
-
l && e && !e.includes(l) &&
|
|
797
|
+
}, [l, i]), g.useEffect(() => {
|
|
798
|
+
l && e && !e.includes(l) && T(
|
|
778
799
|
`[mui-tel-input] Not expected to have a 'defaultCountry' prop (${l}) and a 'onlyCountries' prop but without included the 'defaultCountry' (${l})`
|
|
779
800
|
);
|
|
780
|
-
}, [l, e]),
|
|
781
|
-
l && a && a.length > 0 && (a.some((
|
|
801
|
+
}, [l, e]), g.useEffect(() => {
|
|
802
|
+
l && a && a.length > 0 && (a.some((n) => C3[n].includes(l)) || T(
|
|
782
803
|
`[mui-tel-input] Not expected to have a 'defaultCountry' prop (${l}) and a 'continents' prop that are not contain the country (${l})`
|
|
783
804
|
));
|
|
784
|
-
}, [l, a])
|
|
805
|
+
}, [l, a]), g.useEffect(() => {
|
|
806
|
+
d && !l && T(
|
|
807
|
+
"[mui-tel-input] 'splitCallingCode' needs 'defaultCountry' defined. Will default to US."
|
|
808
|
+
);
|
|
809
|
+
}, [l, d]);
|
|
785
810
|
}
|
|
786
|
-
function
|
|
811
|
+
function P2(t, l) {
|
|
787
812
|
var e = Array.prototype.slice.call(l);
|
|
788
|
-
return e.push(
|
|
813
|
+
return e.push(A3), t.apply(this, e);
|
|
789
814
|
}
|
|
790
|
-
function
|
|
791
|
-
return
|
|
815
|
+
function m3(t) {
|
|
816
|
+
return m3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
792
817
|
return typeof l;
|
|
793
818
|
} : function(l) {
|
|
794
819
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
795
|
-
},
|
|
820
|
+
}, m3(t);
|
|
796
821
|
}
|
|
797
|
-
function
|
|
822
|
+
function O3(t, l) {
|
|
798
823
|
for (var e = 0; e < l.length; e++) {
|
|
799
824
|
var i = l[e];
|
|
800
825
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
801
826
|
}
|
|
802
827
|
}
|
|
803
|
-
function
|
|
804
|
-
return l &&
|
|
828
|
+
function E2(t, l, e) {
|
|
829
|
+
return l && O3(t.prototype, l), e && O3(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
805
830
|
}
|
|
806
|
-
function
|
|
831
|
+
function I2(t, l) {
|
|
807
832
|
if (!(t instanceof l))
|
|
808
833
|
throw new TypeError("Cannot call a class as a function");
|
|
809
834
|
}
|
|
810
|
-
function
|
|
835
|
+
function S2(t, l) {
|
|
811
836
|
if (typeof l != "function" && l !== null)
|
|
812
837
|
throw new TypeError("Super expression must either be null or a function");
|
|
813
|
-
t.prototype = Object.create(l && l.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), l &&
|
|
838
|
+
t.prototype = Object.create(l && l.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), l && U(t, l);
|
|
814
839
|
}
|
|
815
|
-
function
|
|
816
|
-
var l =
|
|
840
|
+
function O2(t) {
|
|
841
|
+
var l = P1();
|
|
817
842
|
return function() {
|
|
818
|
-
var i =
|
|
843
|
+
var i = W(t), a;
|
|
819
844
|
if (l) {
|
|
820
|
-
var d =
|
|
845
|
+
var d = W(this).constructor;
|
|
821
846
|
a = Reflect.construct(i, arguments, d);
|
|
822
847
|
} else
|
|
823
848
|
a = i.apply(this, arguments);
|
|
824
|
-
return
|
|
849
|
+
return T2(this, a);
|
|
825
850
|
};
|
|
826
851
|
}
|
|
827
|
-
function
|
|
828
|
-
if (l && (
|
|
852
|
+
function T2(t, l) {
|
|
853
|
+
if (l && (m3(l) === "object" || typeof l == "function"))
|
|
829
854
|
return l;
|
|
830
855
|
if (l !== void 0)
|
|
831
856
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
832
|
-
return
|
|
857
|
+
return B1(t);
|
|
833
858
|
}
|
|
834
|
-
function
|
|
859
|
+
function B1(t) {
|
|
835
860
|
if (t === void 0)
|
|
836
861
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
837
862
|
return t;
|
|
838
863
|
}
|
|
839
|
-
function
|
|
864
|
+
function p3(t) {
|
|
840
865
|
var l = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
841
|
-
return
|
|
842
|
-
if (i === null || !
|
|
866
|
+
return p3 = function(i) {
|
|
867
|
+
if (i === null || !V2(i))
|
|
843
868
|
return i;
|
|
844
869
|
if (typeof i != "function")
|
|
845
870
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -849,20 +874,20 @@ function u3(t) {
|
|
|
849
874
|
l.set(i, a);
|
|
850
875
|
}
|
|
851
876
|
function a() {
|
|
852
|
-
return
|
|
877
|
+
return Y(i, arguments, W(this).constructor);
|
|
853
878
|
}
|
|
854
|
-
return a.prototype = Object.create(i.prototype, { constructor: { value: a, enumerable: !1, writable: !0, configurable: !0 } }),
|
|
855
|
-
},
|
|
879
|
+
return a.prototype = Object.create(i.prototype, { constructor: { value: a, enumerable: !1, writable: !0, configurable: !0 } }), U(a, i);
|
|
880
|
+
}, p3(t);
|
|
856
881
|
}
|
|
857
|
-
function
|
|
858
|
-
return
|
|
882
|
+
function Y(t, l, e) {
|
|
883
|
+
return P1() ? Y = Reflect.construct : Y = function(a, d, r) {
|
|
859
884
|
var n = [null];
|
|
860
885
|
n.push.apply(n, d);
|
|
861
886
|
var c = Function.bind.apply(a, n), h = new c();
|
|
862
|
-
return r &&
|
|
863
|
-
},
|
|
887
|
+
return r && U(h, r.prototype), h;
|
|
888
|
+
}, Y.apply(null, arguments);
|
|
864
889
|
}
|
|
865
|
-
function
|
|
890
|
+
function P1() {
|
|
866
891
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
867
892
|
return !1;
|
|
868
893
|
if (typeof Proxy == "function")
|
|
@@ -874,29 +899,29 @@ function F1() {
|
|
|
874
899
|
return !1;
|
|
875
900
|
}
|
|
876
901
|
}
|
|
877
|
-
function
|
|
902
|
+
function V2(t) {
|
|
878
903
|
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
879
904
|
}
|
|
880
|
-
function
|
|
881
|
-
return
|
|
905
|
+
function U(t, l) {
|
|
906
|
+
return U = Object.setPrototypeOf || function(i, a) {
|
|
882
907
|
return i.__proto__ = a, i;
|
|
883
|
-
},
|
|
908
|
+
}, U(t, l);
|
|
884
909
|
}
|
|
885
|
-
function
|
|
886
|
-
return
|
|
910
|
+
function W(t) {
|
|
911
|
+
return W = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
|
|
887
912
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
888
|
-
},
|
|
913
|
+
}, W(t);
|
|
889
914
|
}
|
|
890
|
-
var
|
|
891
|
-
|
|
892
|
-
var l =
|
|
915
|
+
var E = /* @__PURE__ */ function(t) {
|
|
916
|
+
S2(e, t);
|
|
917
|
+
var l = O2(e);
|
|
893
918
|
function e(i) {
|
|
894
919
|
var a;
|
|
895
|
-
return
|
|
920
|
+
return I2(this, e), a = l.call(this, i), Object.setPrototypeOf(B1(a), e.prototype), a.name = a.constructor.name, a;
|
|
896
921
|
}
|
|
897
|
-
return
|
|
898
|
-
}(/* @__PURE__ */
|
|
899
|
-
function
|
|
922
|
+
return E2(e);
|
|
923
|
+
}(/* @__PURE__ */ p3(Error)), F3 = 2, R2 = 17, k2 = 3, b = "0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9", _2 = "-\u2010-\u2015\u2212\u30FC\uFF0D", G2 = "\uFF0F/", j2 = "\uFF0E.", U2 = " \xA0\xAD\u200B\u2060\u3000", W2 = "()\uFF08\uFF09\uFF3B\uFF3D\\[\\]", Z2 = "~\u2053\u223C\uFF5E", N = "".concat(_2).concat(G2).concat(j2).concat(U2).concat(W2).concat(Z2), e3 = "+\uFF0B";
|
|
924
|
+
function T3(t, l) {
|
|
900
925
|
t = t.split("-"), l = l.split("-");
|
|
901
926
|
for (var e = t[0].split("."), i = l[0].split("."), a = 0; a < 3; a++) {
|
|
902
927
|
var d = Number(e[a]), r = Number(i[a]);
|
|
@@ -911,31 +936,31 @@ function P3(t, l) {
|
|
|
911
936
|
}
|
|
912
937
|
return t[1] && l[1] ? t[1] > l[1] ? 1 : t[1] < l[1] ? -1 : 0 : !t[1] && l[1] ? 1 : t[1] && !l[1] ? -1 : 0;
|
|
913
938
|
}
|
|
914
|
-
function
|
|
915
|
-
return
|
|
939
|
+
function J(t) {
|
|
940
|
+
return J = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
916
941
|
return typeof l;
|
|
917
942
|
} : function(l) {
|
|
918
943
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
919
|
-
},
|
|
944
|
+
}, J(t);
|
|
920
945
|
}
|
|
921
|
-
function
|
|
946
|
+
function t3(t, l) {
|
|
922
947
|
if (!(t instanceof l))
|
|
923
948
|
throw new TypeError("Cannot call a class as a function");
|
|
924
949
|
}
|
|
925
|
-
function
|
|
950
|
+
function V3(t, l) {
|
|
926
951
|
for (var e = 0; e < l.length; e++) {
|
|
927
952
|
var i = l[e];
|
|
928
953
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
929
954
|
}
|
|
930
955
|
}
|
|
931
|
-
function
|
|
932
|
-
return l &&
|
|
956
|
+
function l3(t, l, e) {
|
|
957
|
+
return l && V3(t.prototype, l), e && V3(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
933
958
|
}
|
|
934
|
-
var
|
|
959
|
+
var Y2 = "1.2.0", K2 = "1.7.35", R3 = " ext. ", X2 = /^\d+$/, H = /* @__PURE__ */ function() {
|
|
935
960
|
function t(l) {
|
|
936
|
-
|
|
961
|
+
t3(this, t), e0(l), this.metadata = l, E1.call(this, l);
|
|
937
962
|
}
|
|
938
|
-
return
|
|
963
|
+
return l3(t, [{
|
|
939
964
|
key: "getCountries",
|
|
940
965
|
value: function() {
|
|
941
966
|
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
@@ -985,14 +1010,14 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
985
1010
|
}, {
|
|
986
1011
|
key: "selectNumberingPlan",
|
|
987
1012
|
value: function(e, i) {
|
|
988
|
-
if (e &&
|
|
1013
|
+
if (e && X2.test(e) && (i = e, e = null), e && e !== "001") {
|
|
989
1014
|
if (!this.hasCountry(e))
|
|
990
1015
|
throw new Error("Unknown country: ".concat(e));
|
|
991
|
-
this.numberingPlan = new
|
|
1016
|
+
this.numberingPlan = new k3(this.getCountryMetadata(e), this);
|
|
992
1017
|
} else if (i) {
|
|
993
1018
|
if (!this.hasCallingCode(i))
|
|
994
1019
|
throw new Error("Unknown calling code: ".concat(i));
|
|
995
|
-
this.numberingPlan = new
|
|
1020
|
+
this.numberingPlan = new k3(this.getNumberingPlanMetadata(i), this);
|
|
996
1021
|
} else
|
|
997
1022
|
this.numberingPlan = void 0;
|
|
998
1023
|
return this;
|
|
@@ -1103,11 +1128,11 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1103
1128
|
return this.numberingPlan !== void 0;
|
|
1104
1129
|
}
|
|
1105
1130
|
}]), t;
|
|
1106
|
-
}(),
|
|
1131
|
+
}(), k3 = /* @__PURE__ */ function() {
|
|
1107
1132
|
function t(l, e) {
|
|
1108
|
-
|
|
1133
|
+
t3(this, t), this.globalMetadataObject = e, this.metadata = l, E1.call(this, e.metadata);
|
|
1109
1134
|
}
|
|
1110
|
-
return
|
|
1135
|
+
return l3(t, [{
|
|
1111
1136
|
key: "callingCode",
|
|
1112
1137
|
value: function() {
|
|
1113
1138
|
return this.metadata[0];
|
|
@@ -1150,7 +1175,7 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1150
1175
|
value: function() {
|
|
1151
1176
|
var e = this, i = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
1152
1177
|
return i.map(function(a) {
|
|
1153
|
-
return new
|
|
1178
|
+
return new J2(a, e);
|
|
1154
1179
|
});
|
|
1155
1180
|
}
|
|
1156
1181
|
}, {
|
|
@@ -1211,20 +1236,20 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1211
1236
|
}, {
|
|
1212
1237
|
key: "type",
|
|
1213
1238
|
value: function(e) {
|
|
1214
|
-
if (this.hasTypes() &&
|
|
1215
|
-
return new
|
|
1239
|
+
if (this.hasTypes() && _3(this.types(), e))
|
|
1240
|
+
return new q2(_3(this.types(), e), this);
|
|
1216
1241
|
}
|
|
1217
1242
|
}, {
|
|
1218
1243
|
key: "ext",
|
|
1219
1244
|
value: function() {
|
|
1220
|
-
return this.v1 || this.v2 ?
|
|
1245
|
+
return this.v1 || this.v2 ? R3 : this.metadata[13] || R3;
|
|
1221
1246
|
}
|
|
1222
1247
|
}]), t;
|
|
1223
|
-
}(),
|
|
1248
|
+
}(), J2 = /* @__PURE__ */ function() {
|
|
1224
1249
|
function t(l, e) {
|
|
1225
|
-
|
|
1250
|
+
t3(this, t), this._format = l, this.metadata = e;
|
|
1226
1251
|
}
|
|
1227
|
-
return
|
|
1252
|
+
return l3(t, [{
|
|
1228
1253
|
key: "pattern",
|
|
1229
1254
|
value: function() {
|
|
1230
1255
|
return this._format[0];
|
|
@@ -1257,7 +1282,7 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1257
1282
|
}, {
|
|
1258
1283
|
key: "usesNationalPrefix",
|
|
1259
1284
|
value: function() {
|
|
1260
|
-
return !!(this.nationalPrefixFormattingRule() && !
|
|
1285
|
+
return !!(this.nationalPrefixFormattingRule() && !Q2.test(this.nationalPrefixFormattingRule()));
|
|
1261
1286
|
}
|
|
1262
1287
|
}, {
|
|
1263
1288
|
key: "internationalFormat",
|
|
@@ -1265,11 +1290,11 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1265
1290
|
return this._format[5] || this.format();
|
|
1266
1291
|
}
|
|
1267
1292
|
}]), t;
|
|
1268
|
-
}(),
|
|
1293
|
+
}(), Q2 = /^\(?\$1\)?$/, q2 = /* @__PURE__ */ function() {
|
|
1269
1294
|
function t(l, e) {
|
|
1270
|
-
|
|
1295
|
+
t3(this, t), this.type = l, this.metadata = e;
|
|
1271
1296
|
}
|
|
1272
|
-
return
|
|
1297
|
+
return l3(t, [{
|
|
1273
1298
|
key: "pattern",
|
|
1274
1299
|
value: function() {
|
|
1275
1300
|
return this.metadata.v1 ? this.type : this.type[0];
|
|
@@ -1282,7 +1307,7 @@ var _2 = "1.2.0", G2 = "1.7.35", I3 = " ext. ", j2 = /^\d+$/, x = /* @__PURE__ *
|
|
|
1282
1307
|
}
|
|
1283
1308
|
}]), t;
|
|
1284
1309
|
}();
|
|
1285
|
-
function
|
|
1310
|
+
function _3(t, l) {
|
|
1286
1311
|
switch (l) {
|
|
1287
1312
|
case "FIXED_LINE":
|
|
1288
1313
|
return t[0];
|
|
@@ -1306,52 +1331,52 @@ function O3(t, l) {
|
|
|
1306
1331
|
return t[9];
|
|
1307
1332
|
}
|
|
1308
1333
|
}
|
|
1309
|
-
function
|
|
1334
|
+
function e0(t) {
|
|
1310
1335
|
if (!t)
|
|
1311
1336
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
1312
|
-
if (!
|
|
1313
|
-
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(
|
|
1337
|
+
if (!h3(t) || !h3(t.countries))
|
|
1338
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(h3(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + t0(t) + ": " + t, "."));
|
|
1314
1339
|
}
|
|
1315
|
-
var
|
|
1316
|
-
return
|
|
1317
|
-
},
|
|
1318
|
-
return
|
|
1340
|
+
var h3 = function(l) {
|
|
1341
|
+
return J(l) === "object";
|
|
1342
|
+
}, t0 = function(l) {
|
|
1343
|
+
return J(l);
|
|
1319
1344
|
};
|
|
1320
|
-
function
|
|
1321
|
-
if (l = new
|
|
1345
|
+
function D3(t, l) {
|
|
1346
|
+
if (l = new H(l), l.hasCountry(t))
|
|
1322
1347
|
return l.country(t).countryCallingCode();
|
|
1323
1348
|
throw new Error("Unknown country: ".concat(t));
|
|
1324
1349
|
}
|
|
1325
|
-
function
|
|
1350
|
+
function l0(t, l) {
|
|
1326
1351
|
return l.countries[t] !== void 0;
|
|
1327
1352
|
}
|
|
1328
|
-
function
|
|
1353
|
+
function E1(t) {
|
|
1329
1354
|
var l = t.version;
|
|
1330
|
-
typeof l == "number" ? (this.v1 = l === 1, this.v2 = l === 2, this.v3 = l === 3, this.v4 = l === 4) : l ?
|
|
1355
|
+
typeof l == "number" ? (this.v1 = l === 1, this.v2 = l === 2, this.v3 = l === 3, this.v4 = l === 4) : l ? T3(l, Y2) === -1 ? this.v2 = !0 : T3(l, K2) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
1331
1356
|
}
|
|
1332
|
-
var
|
|
1333
|
-
return "([".concat(
|
|
1357
|
+
var i0 = ";ext=", O = function(l) {
|
|
1358
|
+
return "([".concat(b, "]{1,").concat(l, "})");
|
|
1334
1359
|
};
|
|
1335
|
-
function
|
|
1336
|
-
var l = "20", e = "15", i = "9", a = "6", d = "[ \xA0\\t,]*", r = "[:\\.\uFF0E]?[ \xA0\\t,-]*", n = "#?", c = "(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)", h = "(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)", s = "[- ]+", o = "[ \xA0\\t]*", v = "(?:,{2}|;)",
|
|
1337
|
-
return
|
|
1360
|
+
function I1(t) {
|
|
1361
|
+
var l = "20", e = "15", i = "9", a = "6", d = "[ \xA0\\t,]*", r = "[:\\.\uFF0E]?[ \xA0\\t,-]*", n = "#?", c = "(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)", h = "(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)", s = "[- ]+", o = "[ \xA0\\t]*", v = "(?:,{2}|;)", x = i0 + O(l), u = d + c + r + O(l) + n, $ = d + h + r + O(i) + n, M = s + O(a) + "#", y = o + v + r + O(e) + n, C = o + "(?:,)+" + r + O(i) + n;
|
|
1362
|
+
return x + "|" + u + "|" + $ + "|" + M + "|" + y + "|" + C;
|
|
1338
1363
|
}
|
|
1339
|
-
var
|
|
1340
|
-
"^" +
|
|
1364
|
+
var a0 = "[" + b + "]{" + F3 + "}", d0 = "[" + e3 + "]{0,1}(?:[" + N + "]*[" + b + "]){3,}[" + N + b + "]*", r0 = new RegExp("^[" + e3 + "]{0,1}(?:[" + N + "]*[" + b + "]){1,2}$", "i"), n0 = d0 + "(?:" + I1() + ")?", c0 = new RegExp(
|
|
1365
|
+
"^" + a0 + "$|^" + n0 + "$",
|
|
1341
1366
|
"i"
|
|
1342
1367
|
);
|
|
1343
|
-
function
|
|
1344
|
-
return t.length >=
|
|
1368
|
+
function S1(t) {
|
|
1369
|
+
return t.length >= F3 && c0.test(t);
|
|
1345
1370
|
}
|
|
1346
|
-
function
|
|
1347
|
-
return
|
|
1371
|
+
function h0(t) {
|
|
1372
|
+
return r0.test(t);
|
|
1348
1373
|
}
|
|
1349
|
-
var
|
|
1350
|
-
function
|
|
1351
|
-
var l = t.search(
|
|
1374
|
+
var G3 = new RegExp("(?:" + I1() + ")$", "i");
|
|
1375
|
+
function s0(t) {
|
|
1376
|
+
var l = t.search(G3);
|
|
1352
1377
|
if (l < 0)
|
|
1353
1378
|
return {};
|
|
1354
|
-
for (var e = t.slice(0, l), i = t.match(
|
|
1379
|
+
for (var e = t.slice(0, l), i = t.match(G3), a = 1; a < i.length; ) {
|
|
1355
1380
|
if (i[a])
|
|
1356
1381
|
return {
|
|
1357
1382
|
number: e,
|
|
@@ -1360,11 +1385,11 @@ function a0(t) {
|
|
|
1360
1385
|
a++;
|
|
1361
1386
|
}
|
|
1362
1387
|
}
|
|
1363
|
-
function
|
|
1388
|
+
function o0(t, l) {
|
|
1364
1389
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1365
1390
|
if (e)
|
|
1366
1391
|
return (e = e.call(t)).next.bind(e);
|
|
1367
|
-
if (Array.isArray(t) || (e =
|
|
1392
|
+
if (Array.isArray(t) || (e = v0(t)) || l && t && typeof t.length == "number") {
|
|
1368
1393
|
e && (t = e);
|
|
1369
1394
|
var i = 0;
|
|
1370
1395
|
return function() {
|
|
@@ -1374,24 +1399,24 @@ function d0(t, l) {
|
|
|
1374
1399
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1375
1400
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1376
1401
|
}
|
|
1377
|
-
function
|
|
1402
|
+
function v0(t, l) {
|
|
1378
1403
|
if (!!t) {
|
|
1379
1404
|
if (typeof t == "string")
|
|
1380
|
-
return
|
|
1405
|
+
return j3(t, l);
|
|
1381
1406
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1382
1407
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1383
1408
|
return Array.from(t);
|
|
1384
1409
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1385
|
-
return
|
|
1410
|
+
return j3(t, l);
|
|
1386
1411
|
}
|
|
1387
1412
|
}
|
|
1388
|
-
function
|
|
1413
|
+
function j3(t, l) {
|
|
1389
1414
|
(l == null || l > t.length) && (l = t.length);
|
|
1390
1415
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1391
1416
|
i[e] = t[e];
|
|
1392
1417
|
return i;
|
|
1393
1418
|
}
|
|
1394
|
-
var
|
|
1419
|
+
var f0 = {
|
|
1395
1420
|
0: "0",
|
|
1396
1421
|
1: "1",
|
|
1397
1422
|
2: "2",
|
|
@@ -1433,21 +1458,21 @@ var n0 = {
|
|
|
1433
1458
|
"\u06F8": "8",
|
|
1434
1459
|
"\u06F9": "9"
|
|
1435
1460
|
};
|
|
1436
|
-
function
|
|
1437
|
-
return
|
|
1461
|
+
function O1(t) {
|
|
1462
|
+
return f0[t];
|
|
1438
1463
|
}
|
|
1439
|
-
function
|
|
1440
|
-
for (var l = "", e =
|
|
1441
|
-
var a = i.value, d =
|
|
1464
|
+
function Q(t) {
|
|
1465
|
+
for (var l = "", e = o0(t.split("")), i; !(i = e()).done; ) {
|
|
1466
|
+
var a = i.value, d = O1(a);
|
|
1442
1467
|
d && (l += d);
|
|
1443
1468
|
}
|
|
1444
1469
|
return l;
|
|
1445
1470
|
}
|
|
1446
|
-
function
|
|
1471
|
+
function u0(t, l) {
|
|
1447
1472
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1448
1473
|
if (e)
|
|
1449
1474
|
return (e = e.call(t)).next.bind(e);
|
|
1450
|
-
if (Array.isArray(t) || (e =
|
|
1475
|
+
if (Array.isArray(t) || (e = g0(t)) || l && t && typeof t.length == "number") {
|
|
1451
1476
|
e && (t = e);
|
|
1452
1477
|
var i = 0;
|
|
1453
1478
|
return function() {
|
|
@@ -1457,38 +1482,38 @@ function c0(t, l) {
|
|
|
1457
1482
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1458
1483
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1459
1484
|
}
|
|
1460
|
-
function
|
|
1485
|
+
function g0(t, l) {
|
|
1461
1486
|
if (!!t) {
|
|
1462
1487
|
if (typeof t == "string")
|
|
1463
|
-
return
|
|
1488
|
+
return U3(t, l);
|
|
1464
1489
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1465
1490
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1466
1491
|
return Array.from(t);
|
|
1467
1492
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1468
|
-
return
|
|
1493
|
+
return U3(t, l);
|
|
1469
1494
|
}
|
|
1470
1495
|
}
|
|
1471
|
-
function
|
|
1496
|
+
function U3(t, l) {
|
|
1472
1497
|
(l == null || l > t.length) && (l = t.length);
|
|
1473
1498
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1474
1499
|
i[e] = t[e];
|
|
1475
1500
|
return i;
|
|
1476
1501
|
}
|
|
1477
|
-
function
|
|
1478
|
-
for (var l = "", e =
|
|
1502
|
+
function W3(t) {
|
|
1503
|
+
for (var l = "", e = u0(t.split("")), i; !(i = e()).done; ) {
|
|
1479
1504
|
var a = i.value;
|
|
1480
|
-
l +=
|
|
1505
|
+
l += $0(a, l) || "";
|
|
1481
1506
|
}
|
|
1482
1507
|
return l;
|
|
1483
1508
|
}
|
|
1484
|
-
function
|
|
1485
|
-
return t === "+" ? l ? void 0 : "+" :
|
|
1509
|
+
function $0(t, l) {
|
|
1510
|
+
return t === "+" ? l ? void 0 : "+" : O1(t);
|
|
1486
1511
|
}
|
|
1487
|
-
function
|
|
1512
|
+
function m0(t, l) {
|
|
1488
1513
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1489
1514
|
if (e)
|
|
1490
1515
|
return (e = e.call(t)).next.bind(e);
|
|
1491
|
-
if (Array.isArray(t) || (e =
|
|
1516
|
+
if (Array.isArray(t) || (e = p0(t)) || l && t && typeof t.length == "number") {
|
|
1492
1517
|
e && (t = e);
|
|
1493
1518
|
var i = 0;
|
|
1494
1519
|
return function() {
|
|
@@ -1498,25 +1523,25 @@ function o0(t, l) {
|
|
|
1498
1523
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1499
1524
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1500
1525
|
}
|
|
1501
|
-
function
|
|
1526
|
+
function p0(t, l) {
|
|
1502
1527
|
if (!!t) {
|
|
1503
1528
|
if (typeof t == "string")
|
|
1504
|
-
return
|
|
1529
|
+
return Z3(t, l);
|
|
1505
1530
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1506
1531
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1507
1532
|
return Array.from(t);
|
|
1508
1533
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1509
|
-
return
|
|
1534
|
+
return Z3(t, l);
|
|
1510
1535
|
}
|
|
1511
1536
|
}
|
|
1512
|
-
function
|
|
1537
|
+
function Z3(t, l) {
|
|
1513
1538
|
(l == null || l > t.length) && (l = t.length);
|
|
1514
1539
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1515
1540
|
i[e] = t[e];
|
|
1516
1541
|
return i;
|
|
1517
1542
|
}
|
|
1518
|
-
function
|
|
1519
|
-
for (var e = t.slice(), i =
|
|
1543
|
+
function w0(t, l) {
|
|
1544
|
+
for (var e = t.slice(), i = m0(l), a; !(a = i()).done; ) {
|
|
1520
1545
|
var d = a.value;
|
|
1521
1546
|
t.indexOf(d) < 0 && e.push(d);
|
|
1522
1547
|
}
|
|
@@ -1524,25 +1549,25 @@ function f0(t, l) {
|
|
|
1524
1549
|
return r - n;
|
|
1525
1550
|
});
|
|
1526
1551
|
}
|
|
1527
|
-
function
|
|
1528
|
-
return
|
|
1552
|
+
function i3(t, l) {
|
|
1553
|
+
return T1(t, void 0, l);
|
|
1529
1554
|
}
|
|
1530
|
-
function
|
|
1555
|
+
function T1(t, l, e) {
|
|
1531
1556
|
var i = e.type(l), a = i && i.possibleLengths() || e.possibleLengths();
|
|
1532
1557
|
if (!a)
|
|
1533
1558
|
return "IS_POSSIBLE";
|
|
1534
1559
|
if (l === "FIXED_LINE_OR_MOBILE") {
|
|
1535
1560
|
if (!e.type("FIXED_LINE"))
|
|
1536
|
-
return
|
|
1561
|
+
return T1(t, "MOBILE", e);
|
|
1537
1562
|
var d = e.type("MOBILE");
|
|
1538
|
-
d && (a =
|
|
1563
|
+
d && (a = w0(a, d.possibleLengths()));
|
|
1539
1564
|
} else if (l && !i)
|
|
1540
1565
|
return "INVALID_LENGTH";
|
|
1541
1566
|
var r = t.length, n = a[0];
|
|
1542
1567
|
return n === r ? "IS_POSSIBLE" : n > r ? "TOO_SHORT" : a[a.length - 1] < r ? "TOO_LONG" : a.indexOf(r, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
1543
1568
|
}
|
|
1544
|
-
function
|
|
1545
|
-
if (l === void 0 && (l = {}), e = new
|
|
1569
|
+
function z0(t, l, e) {
|
|
1570
|
+
if (l === void 0 && (l = {}), e = new H(e), l.v2) {
|
|
1546
1571
|
if (!t.countryCallingCode)
|
|
1547
1572
|
throw new Error("Invalid phone number object passed");
|
|
1548
1573
|
e.selectNumberingPlan(t.countryCallingCode);
|
|
@@ -1560,27 +1585,27 @@ function u0(t, l, e) {
|
|
|
1560
1585
|
}
|
|
1561
1586
|
}
|
|
1562
1587
|
if (e.possibleLengths())
|
|
1563
|
-
return
|
|
1588
|
+
return V1(t.phone || t.nationalNumber, e);
|
|
1564
1589
|
if (t.countryCallingCode && e.isNonGeographicCallingCode(t.countryCallingCode))
|
|
1565
1590
|
return !0;
|
|
1566
1591
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
1567
1592
|
}
|
|
1568
|
-
function
|
|
1569
|
-
switch (
|
|
1593
|
+
function V1(t, l) {
|
|
1594
|
+
switch (i3(t, l)) {
|
|
1570
1595
|
case "IS_POSSIBLE":
|
|
1571
1596
|
return !0;
|
|
1572
1597
|
default:
|
|
1573
1598
|
return !1;
|
|
1574
1599
|
}
|
|
1575
1600
|
}
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1601
|
+
function M0(t, l) {
|
|
1602
|
+
return y0(t) || H0(t, l) || R1(t, l) || x0();
|
|
1578
1603
|
}
|
|
1579
|
-
function
|
|
1604
|
+
function x0() {
|
|
1580
1605
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1581
1606
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1582
1607
|
}
|
|
1583
|
-
function
|
|
1608
|
+
function H0(t, l) {
|
|
1584
1609
|
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1585
1610
|
if (e != null) {
|
|
1586
1611
|
var i = [], a = !0, d = !1, r, n;
|
|
@@ -1600,15 +1625,15 @@ function m0(t, l) {
|
|
|
1600
1625
|
return i;
|
|
1601
1626
|
}
|
|
1602
1627
|
}
|
|
1603
|
-
function
|
|
1628
|
+
function y0(t) {
|
|
1604
1629
|
if (Array.isArray(t))
|
|
1605
1630
|
return t;
|
|
1606
1631
|
}
|
|
1607
|
-
function
|
|
1632
|
+
function b0(t, l) {
|
|
1608
1633
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1609
1634
|
if (e)
|
|
1610
1635
|
return (e = e.call(t)).next.bind(e);
|
|
1611
|
-
if (Array.isArray(t) || (e =
|
|
1636
|
+
if (Array.isArray(t) || (e = R1(t)) || l && t && typeof t.length == "number") {
|
|
1612
1637
|
e && (t = e);
|
|
1613
1638
|
var i = 0;
|
|
1614
1639
|
return function() {
|
|
@@ -1618,28 +1643,28 @@ function w0(t, l) {
|
|
|
1618
1643
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1619
1644
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1620
1645
|
}
|
|
1621
|
-
function
|
|
1646
|
+
function R1(t, l) {
|
|
1622
1647
|
if (!!t) {
|
|
1623
1648
|
if (typeof t == "string")
|
|
1624
|
-
return
|
|
1649
|
+
return Y3(t, l);
|
|
1625
1650
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1626
1651
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1627
1652
|
return Array.from(t);
|
|
1628
1653
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1629
|
-
return
|
|
1654
|
+
return Y3(t, l);
|
|
1630
1655
|
}
|
|
1631
1656
|
}
|
|
1632
|
-
function
|
|
1657
|
+
function Y3(t, l) {
|
|
1633
1658
|
(l == null || l > t.length) && (l = t.length);
|
|
1634
1659
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1635
1660
|
i[e] = t[e];
|
|
1636
1661
|
return i;
|
|
1637
1662
|
}
|
|
1638
|
-
function
|
|
1663
|
+
function C0(t) {
|
|
1639
1664
|
var l, e;
|
|
1640
1665
|
t = t.replace(/^tel:/, "tel=");
|
|
1641
|
-
for (var i =
|
|
1642
|
-
var d = a.value, r = d.split("="), n =
|
|
1666
|
+
for (var i = b0(t.split(";")), a; !(a = i()).done; ) {
|
|
1667
|
+
var d = a.value, r = d.split("="), n = M0(r, 2), c = n[0], h = n[1];
|
|
1643
1668
|
switch (c) {
|
|
1644
1669
|
case "tel":
|
|
1645
1670
|
l = h;
|
|
@@ -1652,14 +1677,14 @@ function z0(t) {
|
|
|
1652
1677
|
break;
|
|
1653
1678
|
}
|
|
1654
1679
|
}
|
|
1655
|
-
if (!
|
|
1680
|
+
if (!S1(l))
|
|
1656
1681
|
return {};
|
|
1657
1682
|
var s = {
|
|
1658
1683
|
number: l
|
|
1659
1684
|
};
|
|
1660
1685
|
return e && (s.ext = e), s;
|
|
1661
1686
|
}
|
|
1662
|
-
function
|
|
1687
|
+
function A0(t) {
|
|
1663
1688
|
var l = t.number, e = t.ext;
|
|
1664
1689
|
if (!l)
|
|
1665
1690
|
return "";
|
|
@@ -1667,14 +1692,14 @@ function M0(t) {
|
|
|
1667
1692
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
1668
1693
|
return "tel:".concat(l).concat(e ? ";ext=" + e : "");
|
|
1669
1694
|
}
|
|
1670
|
-
function
|
|
1695
|
+
function P(t, l) {
|
|
1671
1696
|
return t = t || "", new RegExp("^(?:" + l + ")$").test(t);
|
|
1672
1697
|
}
|
|
1673
|
-
function
|
|
1698
|
+
function F0(t, l) {
|
|
1674
1699
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1675
1700
|
if (e)
|
|
1676
1701
|
return (e = e.call(t)).next.bind(e);
|
|
1677
|
-
if (Array.isArray(t) || (e =
|
|
1702
|
+
if (Array.isArray(t) || (e = D0(t)) || l && t && typeof t.length == "number") {
|
|
1678
1703
|
e && (t = e);
|
|
1679
1704
|
var i = 0;
|
|
1680
1705
|
return function() {
|
|
@@ -1684,73 +1709,73 @@ function x0(t, l) {
|
|
|
1684
1709
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1685
1710
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1686
1711
|
}
|
|
1687
|
-
function
|
|
1712
|
+
function D0(t, l) {
|
|
1688
1713
|
if (!!t) {
|
|
1689
1714
|
if (typeof t == "string")
|
|
1690
|
-
return
|
|
1715
|
+
return K3(t, l);
|
|
1691
1716
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1692
1717
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1693
1718
|
return Array.from(t);
|
|
1694
1719
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1695
|
-
return
|
|
1720
|
+
return K3(t, l);
|
|
1696
1721
|
}
|
|
1697
1722
|
}
|
|
1698
|
-
function
|
|
1723
|
+
function K3(t, l) {
|
|
1699
1724
|
(l == null || l > t.length) && (l = t.length);
|
|
1700
1725
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1701
1726
|
i[e] = t[e];
|
|
1702
1727
|
return i;
|
|
1703
1728
|
}
|
|
1704
|
-
var
|
|
1705
|
-
function
|
|
1729
|
+
var N0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
1730
|
+
function N3(t, l, e) {
|
|
1706
1731
|
if (l = l || {}, !!t.country) {
|
|
1707
|
-
e = new
|
|
1732
|
+
e = new H(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
|
|
1708
1733
|
var i = l.v2 ? t.nationalNumber : t.phone;
|
|
1709
|
-
if (!!
|
|
1710
|
-
if (
|
|
1711
|
-
return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") ||
|
|
1712
|
-
for (var a =
|
|
1734
|
+
if (!!P(i, e.nationalNumberPattern())) {
|
|
1735
|
+
if (s3(i, "FIXED_LINE", e))
|
|
1736
|
+
return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || s3(i, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
1737
|
+
for (var a = F0(N0), d; !(d = a()).done; ) {
|
|
1713
1738
|
var r = d.value;
|
|
1714
|
-
if (
|
|
1739
|
+
if (s3(i, r, e))
|
|
1715
1740
|
return r;
|
|
1716
1741
|
}
|
|
1717
1742
|
}
|
|
1718
1743
|
}
|
|
1719
1744
|
}
|
|
1720
|
-
function
|
|
1721
|
-
return l = e.type(l), !l || !l.pattern() || l.possibleLengths() && l.possibleLengths().indexOf(t.length) < 0 ? !1 :
|
|
1745
|
+
function s3(t, l, e) {
|
|
1746
|
+
return l = e.type(l), !l || !l.pattern() || l.possibleLengths() && l.possibleLengths().indexOf(t.length) < 0 ? !1 : P(t, l.pattern());
|
|
1722
1747
|
}
|
|
1723
|
-
function
|
|
1724
|
-
if (l = l || {}, e = new
|
|
1748
|
+
function L0(t, l, e) {
|
|
1749
|
+
if (l = l || {}, e = new H(e), !t.country)
|
|
1725
1750
|
return !1;
|
|
1726
1751
|
if (e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
|
|
1727
|
-
return
|
|
1752
|
+
return N3(t, l, e.metadata) !== void 0;
|
|
1728
1753
|
var i = l.v2 ? t.nationalNumber : t.phone;
|
|
1729
|
-
return
|
|
1754
|
+
return P(i, e.nationalNumberPattern());
|
|
1730
1755
|
}
|
|
1731
|
-
function
|
|
1732
|
-
return t.replace(new RegExp("[".concat(
|
|
1756
|
+
function k1(t) {
|
|
1757
|
+
return t.replace(new RegExp("[".concat(N, "]+"), "g"), " ").trim();
|
|
1733
1758
|
}
|
|
1734
|
-
var
|
|
1735
|
-
function
|
|
1759
|
+
var _1 = /(\$\d)/;
|
|
1760
|
+
function G1(t, l, e) {
|
|
1736
1761
|
var i = e.useInternationalFormat, a = e.withNationalPrefix;
|
|
1737
1762
|
e.carrierCode, e.metadata;
|
|
1738
|
-
var d = t.replace(new RegExp(l.pattern()), i ? l.internationalFormat() : a && l.nationalPrefixFormattingRule() ? l.format().replace(
|
|
1739
|
-
return i ?
|
|
1763
|
+
var d = t.replace(new RegExp(l.pattern()), i ? l.internationalFormat() : a && l.nationalPrefixFormattingRule() ? l.format().replace(_1, l.nationalPrefixFormattingRule()) : l.format());
|
|
1764
|
+
return i ? k1(d) : d;
|
|
1740
1765
|
}
|
|
1741
|
-
var
|
|
1742
|
-
function
|
|
1743
|
-
var i = new
|
|
1766
|
+
var B0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
1767
|
+
function P0(t, l, e) {
|
|
1768
|
+
var i = new H(e);
|
|
1744
1769
|
if (i.selectNumberingPlan(t, l), i.defaultIDDPrefix())
|
|
1745
1770
|
return i.defaultIDDPrefix();
|
|
1746
|
-
if (
|
|
1771
|
+
if (B0.test(i.IDDPrefix()))
|
|
1747
1772
|
return i.IDDPrefix();
|
|
1748
1773
|
}
|
|
1749
|
-
function
|
|
1774
|
+
function E0(t, l) {
|
|
1750
1775
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1751
1776
|
if (e)
|
|
1752
1777
|
return (e = e.call(t)).next.bind(e);
|
|
1753
|
-
if (Array.isArray(t) || (e =
|
|
1778
|
+
if (Array.isArray(t) || (e = I0(t)) || l && t && typeof t.length == "number") {
|
|
1754
1779
|
e && (t = e);
|
|
1755
1780
|
var i = 0;
|
|
1756
1781
|
return function() {
|
|
@@ -1760,24 +1785,24 @@ function F0(t, l) {
|
|
|
1760
1785
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1761
1786
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1762
1787
|
}
|
|
1763
|
-
function
|
|
1788
|
+
function I0(t, l) {
|
|
1764
1789
|
if (!!t) {
|
|
1765
1790
|
if (typeof t == "string")
|
|
1766
|
-
return
|
|
1791
|
+
return X3(t, l);
|
|
1767
1792
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1768
1793
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1769
1794
|
return Array.from(t);
|
|
1770
1795
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1771
|
-
return
|
|
1796
|
+
return X3(t, l);
|
|
1772
1797
|
}
|
|
1773
1798
|
}
|
|
1774
|
-
function
|
|
1799
|
+
function X3(t, l) {
|
|
1775
1800
|
(l == null || l > t.length) && (l = t.length);
|
|
1776
1801
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
1777
1802
|
i[e] = t[e];
|
|
1778
1803
|
return i;
|
|
1779
1804
|
}
|
|
1780
|
-
function
|
|
1805
|
+
function J3(t, l) {
|
|
1781
1806
|
var e = Object.keys(t);
|
|
1782
1807
|
if (Object.getOwnPropertySymbols) {
|
|
1783
1808
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -1787,27 +1812,27 @@ function W3(t, l) {
|
|
|
1787
1812
|
}
|
|
1788
1813
|
return e;
|
|
1789
1814
|
}
|
|
1790
|
-
function
|
|
1815
|
+
function Q3(t) {
|
|
1791
1816
|
for (var l = 1; l < arguments.length; l++) {
|
|
1792
1817
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
1793
|
-
l % 2 ?
|
|
1794
|
-
|
|
1795
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
1818
|
+
l % 2 ? J3(Object(e), !0).forEach(function(i) {
|
|
1819
|
+
S0(t, i, e[i]);
|
|
1820
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : J3(Object(e)).forEach(function(i) {
|
|
1796
1821
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
1797
1822
|
});
|
|
1798
1823
|
}
|
|
1799
1824
|
return t;
|
|
1800
1825
|
}
|
|
1801
|
-
function
|
|
1826
|
+
function S0(t, l, e) {
|
|
1802
1827
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
1803
1828
|
}
|
|
1804
|
-
var
|
|
1829
|
+
var q3 = {
|
|
1805
1830
|
formatExtension: function(l, e, i) {
|
|
1806
1831
|
return "".concat(l).concat(i.ext()).concat(e);
|
|
1807
1832
|
}
|
|
1808
1833
|
};
|
|
1809
|
-
function
|
|
1810
|
-
if (e ? e =
|
|
1834
|
+
function O0(t, l, e, i) {
|
|
1835
|
+
if (e ? e = Q3(Q3({}, q3), e) : e = q3, i = new H(i), t.country && t.country !== "001") {
|
|
1811
1836
|
if (!i.hasCountry(t.country))
|
|
1812
1837
|
throw new Error("Unknown country: ".concat(t.country));
|
|
1813
1838
|
i.country(t.country);
|
|
@@ -1818,60 +1843,60 @@ function L0(t, l, e, i) {
|
|
|
1818
1843
|
var a = i.countryCallingCode(), d = e.v2 ? t.nationalNumber : t.phone, r;
|
|
1819
1844
|
switch (l) {
|
|
1820
1845
|
case "NATIONAL":
|
|
1821
|
-
return d ? (r =
|
|
1846
|
+
return d ? (r = q(d, t.carrierCode, "NATIONAL", i, e), o3(r, t.ext, i, e.formatExtension)) : "";
|
|
1822
1847
|
case "INTERNATIONAL":
|
|
1823
|
-
return d ? (r =
|
|
1848
|
+
return d ? (r = q(d, null, "INTERNATIONAL", i, e), r = "+".concat(a, " ").concat(r), o3(r, t.ext, i, e.formatExtension)) : "+".concat(a);
|
|
1824
1849
|
case "E.164":
|
|
1825
1850
|
return "+".concat(a).concat(d);
|
|
1826
1851
|
case "RFC3966":
|
|
1827
|
-
return
|
|
1852
|
+
return A0({
|
|
1828
1853
|
number: "+".concat(a).concat(d),
|
|
1829
1854
|
ext: t.ext
|
|
1830
1855
|
});
|
|
1831
1856
|
case "IDD":
|
|
1832
1857
|
if (!e.fromCountry)
|
|
1833
1858
|
return;
|
|
1834
|
-
var n =
|
|
1835
|
-
return
|
|
1859
|
+
var n = V0(d, t.carrierCode, a, e.fromCountry, i);
|
|
1860
|
+
return o3(n, t.ext, i, e.formatExtension);
|
|
1836
1861
|
default:
|
|
1837
1862
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(l, '"'));
|
|
1838
1863
|
}
|
|
1839
1864
|
}
|
|
1840
|
-
function
|
|
1841
|
-
var d =
|
|
1842
|
-
return d ?
|
|
1865
|
+
function q(t, l, e, i, a) {
|
|
1866
|
+
var d = T0(i.formats(), t);
|
|
1867
|
+
return d ? G1(t, d, {
|
|
1843
1868
|
useInternationalFormat: e === "INTERNATIONAL",
|
|
1844
1869
|
withNationalPrefix: !(d.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && a && a.nationalPrefix === !1),
|
|
1845
1870
|
carrierCode: l,
|
|
1846
1871
|
metadata: i
|
|
1847
1872
|
}) : t;
|
|
1848
1873
|
}
|
|
1849
|
-
function
|
|
1850
|
-
for (var e =
|
|
1874
|
+
function T0(t, l) {
|
|
1875
|
+
for (var e = E0(t), i; !(i = e()).done; ) {
|
|
1851
1876
|
var a = i.value;
|
|
1852
1877
|
if (a.leadingDigitsPatterns().length > 0) {
|
|
1853
1878
|
var d = a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length - 1];
|
|
1854
1879
|
if (l.search(d) !== 0)
|
|
1855
1880
|
continue;
|
|
1856
1881
|
}
|
|
1857
|
-
if (
|
|
1882
|
+
if (P(l, a.pattern()))
|
|
1858
1883
|
return a;
|
|
1859
1884
|
}
|
|
1860
1885
|
}
|
|
1861
|
-
function
|
|
1886
|
+
function o3(t, l, e, i) {
|
|
1862
1887
|
return l ? i(t, l, e) : t;
|
|
1863
1888
|
}
|
|
1864
|
-
function
|
|
1865
|
-
var d =
|
|
1889
|
+
function V0(t, l, e, i, a) {
|
|
1890
|
+
var d = D3(i, a.metadata);
|
|
1866
1891
|
if (d === e) {
|
|
1867
|
-
var r =
|
|
1892
|
+
var r = q(t, l, "NATIONAL", a);
|
|
1868
1893
|
return e === "1" ? e + " " + r : r;
|
|
1869
1894
|
}
|
|
1870
|
-
var n =
|
|
1895
|
+
var n = P0(i, void 0, a.metadata);
|
|
1871
1896
|
if (n)
|
|
1872
|
-
return "".concat(n, " ").concat(e, " ").concat(
|
|
1897
|
+
return "".concat(n, " ").concat(e, " ").concat(q(t, null, "INTERNATIONAL", a));
|
|
1873
1898
|
}
|
|
1874
|
-
function
|
|
1899
|
+
function e1(t, l) {
|
|
1875
1900
|
var e = Object.keys(t);
|
|
1876
1901
|
if (Object.getOwnPropertySymbols) {
|
|
1877
1902
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -1881,45 +1906,45 @@ function K3(t, l) {
|
|
|
1881
1906
|
}
|
|
1882
1907
|
return e;
|
|
1883
1908
|
}
|
|
1884
|
-
function
|
|
1909
|
+
function t1(t) {
|
|
1885
1910
|
for (var l = 1; l < arguments.length; l++) {
|
|
1886
1911
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
1887
|
-
l % 2 ?
|
|
1888
|
-
|
|
1889
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
1912
|
+
l % 2 ? e1(Object(e), !0).forEach(function(i) {
|
|
1913
|
+
R0(t, i, e[i]);
|
|
1914
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : e1(Object(e)).forEach(function(i) {
|
|
1890
1915
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
1891
1916
|
});
|
|
1892
1917
|
}
|
|
1893
1918
|
return t;
|
|
1894
1919
|
}
|
|
1895
|
-
function
|
|
1920
|
+
function R0(t, l, e) {
|
|
1896
1921
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
1897
1922
|
}
|
|
1898
|
-
function
|
|
1923
|
+
function k0(t, l) {
|
|
1899
1924
|
if (!(t instanceof l))
|
|
1900
1925
|
throw new TypeError("Cannot call a class as a function");
|
|
1901
1926
|
}
|
|
1902
|
-
function
|
|
1927
|
+
function l1(t, l) {
|
|
1903
1928
|
for (var e = 0; e < l.length; e++) {
|
|
1904
1929
|
var i = l[e];
|
|
1905
1930
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
1906
1931
|
}
|
|
1907
1932
|
}
|
|
1908
|
-
function
|
|
1909
|
-
return l &&
|
|
1933
|
+
function _0(t, l, e) {
|
|
1934
|
+
return l && l1(t.prototype, l), e && l1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1910
1935
|
}
|
|
1911
|
-
var
|
|
1936
|
+
var j1 = /* @__PURE__ */ function() {
|
|
1912
1937
|
function t(l, e, i) {
|
|
1913
|
-
if (
|
|
1938
|
+
if (k0(this, t), !l)
|
|
1914
1939
|
throw new TypeError("`country` or `countryCallingCode` not passed");
|
|
1915
1940
|
if (!e)
|
|
1916
1941
|
throw new TypeError("`nationalNumber` not passed");
|
|
1917
1942
|
if (!i)
|
|
1918
1943
|
throw new TypeError("`metadata` not passed");
|
|
1919
|
-
var a = new
|
|
1920
|
-
|
|
1944
|
+
var a = new H(i);
|
|
1945
|
+
G0(l) && (this.country = l, a.country(l), l = a.countryCallingCode()), this.countryCallingCode = l, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.metadata = i;
|
|
1921
1946
|
}
|
|
1922
|
-
return
|
|
1947
|
+
return _0(t, [{
|
|
1923
1948
|
key: "setExt",
|
|
1924
1949
|
value: function(e) {
|
|
1925
1950
|
this.ext = e;
|
|
@@ -1927,21 +1952,21 @@ var V1 = /* @__PURE__ */ function() {
|
|
|
1927
1952
|
}, {
|
|
1928
1953
|
key: "isPossible",
|
|
1929
1954
|
value: function() {
|
|
1930
|
-
return
|
|
1955
|
+
return z0(this, {
|
|
1931
1956
|
v2: !0
|
|
1932
1957
|
}, this.metadata);
|
|
1933
1958
|
}
|
|
1934
1959
|
}, {
|
|
1935
1960
|
key: "isValid",
|
|
1936
1961
|
value: function() {
|
|
1937
|
-
return
|
|
1962
|
+
return L0(this, {
|
|
1938
1963
|
v2: !0
|
|
1939
1964
|
}, this.metadata);
|
|
1940
1965
|
}
|
|
1941
1966
|
}, {
|
|
1942
1967
|
key: "isNonGeographic",
|
|
1943
1968
|
value: function() {
|
|
1944
|
-
var e = new
|
|
1969
|
+
var e = new H(this.metadata);
|
|
1945
1970
|
return e.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1946
1971
|
}
|
|
1947
1972
|
}, {
|
|
@@ -1952,14 +1977,14 @@ var V1 = /* @__PURE__ */ function() {
|
|
|
1952
1977
|
}, {
|
|
1953
1978
|
key: "getType",
|
|
1954
1979
|
value: function() {
|
|
1955
|
-
return
|
|
1980
|
+
return N3(this, {
|
|
1956
1981
|
v2: !0
|
|
1957
1982
|
}, this.metadata);
|
|
1958
1983
|
}
|
|
1959
1984
|
}, {
|
|
1960
1985
|
key: "format",
|
|
1961
1986
|
value: function(e, i) {
|
|
1962
|
-
return
|
|
1987
|
+
return O0(this, e, i ? t1(t1({}, i), {}, {
|
|
1963
1988
|
v2: !0
|
|
1964
1989
|
}) : {
|
|
1965
1990
|
v2: !0
|
|
@@ -1981,23 +2006,23 @@ var V1 = /* @__PURE__ */ function() {
|
|
|
1981
2006
|
return this.format("RFC3966", e);
|
|
1982
2007
|
}
|
|
1983
2008
|
}]), t;
|
|
1984
|
-
}(),
|
|
2009
|
+
}(), G0 = function(l) {
|
|
1985
2010
|
return /^[A-Z]{2}$/.test(l);
|
|
1986
|
-
},
|
|
1987
|
-
function
|
|
2011
|
+
}, j0 = new RegExp("([" + b + "])");
|
|
2012
|
+
function U1(t, l, e, i) {
|
|
1988
2013
|
if (!!l) {
|
|
1989
|
-
var a = new
|
|
2014
|
+
var a = new H(i);
|
|
1990
2015
|
a.selectNumberingPlan(l, e);
|
|
1991
2016
|
var d = new RegExp(a.IDDPrefix());
|
|
1992
2017
|
if (t.search(d) === 0) {
|
|
1993
2018
|
t = t.slice(t.match(d)[0].length);
|
|
1994
|
-
var r = t.match(
|
|
2019
|
+
var r = t.match(j0);
|
|
1995
2020
|
if (!(r && r[1] != null && r[1].length > 0 && r[1] === "0"))
|
|
1996
2021
|
return t;
|
|
1997
2022
|
}
|
|
1998
2023
|
}
|
|
1999
2024
|
}
|
|
2000
|
-
function
|
|
2025
|
+
function w3(t, l) {
|
|
2001
2026
|
if (t && l.numberingPlan.nationalPrefixForParsing()) {
|
|
2002
2027
|
var e = new RegExp("^(?:" + l.numberingPlan.nationalPrefixForParsing() + ")"), i = e.exec(t);
|
|
2003
2028
|
if (i) {
|
|
@@ -2025,14 +2050,14 @@ function g3(t, l) {
|
|
|
2025
2050
|
nationalNumber: t
|
|
2026
2051
|
};
|
|
2027
2052
|
}
|
|
2028
|
-
function
|
|
2029
|
-
var e =
|
|
2053
|
+
function z3(t, l) {
|
|
2054
|
+
var e = w3(t, l), i = e.carrierCode, a = e.nationalNumber;
|
|
2030
2055
|
if (a !== t) {
|
|
2031
|
-
if (!
|
|
2056
|
+
if (!U0(t, a, l))
|
|
2032
2057
|
return {
|
|
2033
2058
|
nationalNumber: t
|
|
2034
2059
|
};
|
|
2035
|
-
if (l.possibleLengths() && !
|
|
2060
|
+
if (l.possibleLengths() && !W0(a, l))
|
|
2036
2061
|
return {
|
|
2037
2062
|
nationalNumber: t
|
|
2038
2063
|
};
|
|
@@ -2042,11 +2067,11 @@ function $3(t, l) {
|
|
|
2042
2067
|
carrierCode: i
|
|
2043
2068
|
};
|
|
2044
2069
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return !(
|
|
2070
|
+
function U0(t, l, e) {
|
|
2071
|
+
return !(P(t, e.nationalNumberPattern()) && !P(l, e.nationalNumberPattern()));
|
|
2047
2072
|
}
|
|
2048
|
-
function
|
|
2049
|
-
switch (
|
|
2073
|
+
function W0(t, l) {
|
|
2074
|
+
switch (i3(t, l)) {
|
|
2050
2075
|
case "TOO_SHORT":
|
|
2051
2076
|
case "INVALID_LENGTH":
|
|
2052
2077
|
return !1;
|
|
@@ -2054,12 +2079,12 @@ function R0(t, l) {
|
|
|
2054
2079
|
return !0;
|
|
2055
2080
|
}
|
|
2056
2081
|
}
|
|
2057
|
-
function
|
|
2058
|
-
var a = l ?
|
|
2082
|
+
function W1(t, l, e, i) {
|
|
2083
|
+
var a = l ? D3(l, i) : e;
|
|
2059
2084
|
if (t.indexOf(a) === 0) {
|
|
2060
|
-
i = new
|
|
2061
|
-
var d = t.slice(a.length), r =
|
|
2062
|
-
if (!
|
|
2085
|
+
i = new H(i), i.selectNumberingPlan(l, e);
|
|
2086
|
+
var d = t.slice(a.length), r = z3(d, i), n = r.nationalNumber, c = z3(t, i), h = c.nationalNumber;
|
|
2087
|
+
if (!P(h, i.nationalNumberPattern()) && P(n, i.nationalNumberPattern()) || i3(h, i) === "TOO_LONG")
|
|
2063
2088
|
return {
|
|
2064
2089
|
countryCallingCode: a,
|
|
2065
2090
|
number: d
|
|
@@ -2069,16 +2094,16 @@ function k1(t, l, e, i) {
|
|
|
2069
2094
|
number: t
|
|
2070
2095
|
};
|
|
2071
2096
|
}
|
|
2072
|
-
function
|
|
2097
|
+
function Z1(t, l, e, i) {
|
|
2073
2098
|
if (!t)
|
|
2074
2099
|
return {};
|
|
2075
2100
|
if (t[0] !== "+") {
|
|
2076
|
-
var a =
|
|
2101
|
+
var a = U1(t, l, e, i);
|
|
2077
2102
|
if (a && a !== t)
|
|
2078
2103
|
t = "+" + a;
|
|
2079
2104
|
else {
|
|
2080
2105
|
if (l || e) {
|
|
2081
|
-
var d =
|
|
2106
|
+
var d = W1(t, l, e, i), r = d.countryCallingCode, n = d.number;
|
|
2082
2107
|
if (r)
|
|
2083
2108
|
return {
|
|
2084
2109
|
countryCallingCode: r,
|
|
@@ -2092,8 +2117,8 @@ function _1(t, l, e, i) {
|
|
|
2092
2117
|
}
|
|
2093
2118
|
if (t[1] === "0")
|
|
2094
2119
|
return {};
|
|
2095
|
-
i = new
|
|
2096
|
-
for (var c = 2; c - 1 <=
|
|
2120
|
+
i = new H(i);
|
|
2121
|
+
for (var c = 2; c - 1 <= k2 && c <= t.length; ) {
|
|
2097
2122
|
var h = t.slice(1, c);
|
|
2098
2123
|
if (i.hasCallingCode(h))
|
|
2099
2124
|
return i.selectNumberingPlan(h), {
|
|
@@ -2104,11 +2129,11 @@ function _1(t, l, e, i) {
|
|
|
2104
2129
|
}
|
|
2105
2130
|
return {};
|
|
2106
2131
|
}
|
|
2107
|
-
function
|
|
2132
|
+
function Z0(t, l) {
|
|
2108
2133
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2109
2134
|
if (e)
|
|
2110
2135
|
return (e = e.call(t)).next.bind(e);
|
|
2111
|
-
if (Array.isArray(t) || (e =
|
|
2136
|
+
if (Array.isArray(t) || (e = Y0(t)) || l && t && typeof t.length == "number") {
|
|
2112
2137
|
e && (t = e);
|
|
2113
2138
|
var i = 0;
|
|
2114
2139
|
return function() {
|
|
@@ -2118,135 +2143,135 @@ function k0(t, l) {
|
|
|
2118
2143
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2119
2144
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2120
2145
|
}
|
|
2121
|
-
function
|
|
2146
|
+
function Y0(t, l) {
|
|
2122
2147
|
if (!!t) {
|
|
2123
2148
|
if (typeof t == "string")
|
|
2124
|
-
return
|
|
2149
|
+
return i1(t, l);
|
|
2125
2150
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2126
2151
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2127
2152
|
return Array.from(t);
|
|
2128
2153
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2129
|
-
return
|
|
2154
|
+
return i1(t, l);
|
|
2130
2155
|
}
|
|
2131
2156
|
}
|
|
2132
|
-
function
|
|
2157
|
+
function i1(t, l) {
|
|
2133
2158
|
(l == null || l > t.length) && (l = t.length);
|
|
2134
2159
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
2135
2160
|
i[e] = t[e];
|
|
2136
2161
|
return i;
|
|
2137
2162
|
}
|
|
2138
|
-
var
|
|
2139
|
-
function
|
|
2140
|
-
if (
|
|
2163
|
+
var K0 = !1;
|
|
2164
|
+
function Y1(t, l, e) {
|
|
2165
|
+
if (K0 && e.isNonGeographicCallingCode(t))
|
|
2141
2166
|
return "001";
|
|
2142
2167
|
var i = e.getCountryCodesForCallingCode(t);
|
|
2143
2168
|
if (!!i)
|
|
2144
|
-
return i.length === 1 ? i[0] :
|
|
2169
|
+
return i.length === 1 ? i[0] : X0(i, l, e.metadata);
|
|
2145
2170
|
}
|
|
2146
|
-
function
|
|
2147
|
-
e = new
|
|
2148
|
-
for (var i =
|
|
2171
|
+
function X0(t, l, e) {
|
|
2172
|
+
e = new H(e);
|
|
2173
|
+
for (var i = Z0(t), a; !(a = i()).done; ) {
|
|
2149
2174
|
var d = a.value;
|
|
2150
2175
|
if (e.country(d), e.leadingDigits()) {
|
|
2151
2176
|
if (l && l.search(e.leadingDigits()) === 0)
|
|
2152
2177
|
return d;
|
|
2153
|
-
} else if (
|
|
2178
|
+
} else if (N3({
|
|
2154
2179
|
phone: l,
|
|
2155
2180
|
country: d
|
|
2156
2181
|
}, void 0, e.metadata))
|
|
2157
2182
|
return d;
|
|
2158
2183
|
}
|
|
2159
2184
|
}
|
|
2160
|
-
var
|
|
2161
|
-
function
|
|
2162
|
-
if (l = l || {}, e = new
|
|
2163
|
-
throw l.v2 ? new
|
|
2164
|
-
var i =
|
|
2185
|
+
var J0 = 250, Q0 = new RegExp("[" + e3 + b + "]"), q0 = new RegExp("[^" + b + "#]+$");
|
|
2186
|
+
function e4(t, l, e) {
|
|
2187
|
+
if (l = l || {}, e = new H(e), l.defaultCountry && !e.hasCountry(l.defaultCountry))
|
|
2188
|
+
throw l.v2 ? new E("INVALID_COUNTRY") : new Error("Unknown country: ".concat(l.defaultCountry));
|
|
2189
|
+
var i = l4(t, l.v2, l.extract), a = i.number, d = i.ext, r = i.error;
|
|
2165
2190
|
if (!a) {
|
|
2166
2191
|
if (l.v2)
|
|
2167
|
-
throw r === "TOO_SHORT" ? new
|
|
2192
|
+
throw r === "TOO_SHORT" ? new E("TOO_SHORT") : new E("NOT_A_NUMBER");
|
|
2168
2193
|
return {};
|
|
2169
2194
|
}
|
|
2170
|
-
var n =
|
|
2195
|
+
var n = a4(a, l.defaultCountry, l.defaultCallingCode, e), c = n.country, h = n.nationalNumber, s = n.countryCallingCode, o = n.carrierCode;
|
|
2171
2196
|
if (!e.hasSelectedNumberingPlan()) {
|
|
2172
2197
|
if (l.v2)
|
|
2173
|
-
throw new
|
|
2198
|
+
throw new E("INVALID_COUNTRY");
|
|
2174
2199
|
return {};
|
|
2175
2200
|
}
|
|
2176
|
-
if (!h || h.length <
|
|
2201
|
+
if (!h || h.length < F3) {
|
|
2177
2202
|
if (l.v2)
|
|
2178
|
-
throw new
|
|
2203
|
+
throw new E("TOO_SHORT");
|
|
2179
2204
|
return {};
|
|
2180
2205
|
}
|
|
2181
|
-
if (h.length >
|
|
2206
|
+
if (h.length > R2) {
|
|
2182
2207
|
if (l.v2)
|
|
2183
|
-
throw new
|
|
2208
|
+
throw new E("TOO_LONG");
|
|
2184
2209
|
return {};
|
|
2185
2210
|
}
|
|
2186
2211
|
if (l.v2) {
|
|
2187
|
-
var v = new
|
|
2212
|
+
var v = new j1(s, h, e.metadata);
|
|
2188
2213
|
return c && (v.country = c), o && (v.carrierCode = o), d && (v.ext = d), v;
|
|
2189
2214
|
}
|
|
2190
|
-
var
|
|
2215
|
+
var x = (l.extended ? e.hasSelectedNumberingPlan() : c) ? P(h, e.nationalNumberPattern()) : !1;
|
|
2191
2216
|
return l.extended ? {
|
|
2192
2217
|
country: c,
|
|
2193
2218
|
countryCallingCode: s,
|
|
2194
2219
|
carrierCode: o,
|
|
2195
|
-
valid:
|
|
2196
|
-
possible:
|
|
2220
|
+
valid: x,
|
|
2221
|
+
possible: x ? !0 : !!(l.extended === !0 && e.possibleLengths() && V1(h, e)),
|
|
2197
2222
|
phone: h,
|
|
2198
2223
|
ext: d
|
|
2199
|
-
} :
|
|
2224
|
+
} : x ? i4(c, h, d) : {};
|
|
2200
2225
|
}
|
|
2201
|
-
function
|
|
2226
|
+
function t4(t, l, e) {
|
|
2202
2227
|
if (!!t) {
|
|
2203
|
-
if (t.length >
|
|
2228
|
+
if (t.length > J0) {
|
|
2204
2229
|
if (e)
|
|
2205
|
-
throw new
|
|
2230
|
+
throw new E("TOO_LONG");
|
|
2206
2231
|
return;
|
|
2207
2232
|
}
|
|
2208
2233
|
if (l === !1)
|
|
2209
2234
|
return t;
|
|
2210
|
-
var i = t.search(
|
|
2235
|
+
var i = t.search(Q0);
|
|
2211
2236
|
if (!(i < 0))
|
|
2212
|
-
return t.slice(i).replace(
|
|
2237
|
+
return t.slice(i).replace(q0, "");
|
|
2213
2238
|
}
|
|
2214
2239
|
}
|
|
2215
|
-
function
|
|
2240
|
+
function l4(t, l, e) {
|
|
2216
2241
|
if (t && t.indexOf("tel:") === 0)
|
|
2217
|
-
return
|
|
2218
|
-
var i =
|
|
2242
|
+
return C0(t);
|
|
2243
|
+
var i = t4(t, e, l);
|
|
2219
2244
|
if (!i)
|
|
2220
2245
|
return {};
|
|
2221
|
-
if (!
|
|
2222
|
-
return
|
|
2246
|
+
if (!S1(i))
|
|
2247
|
+
return h0(i) ? {
|
|
2223
2248
|
error: "TOO_SHORT"
|
|
2224
2249
|
} : {};
|
|
2225
|
-
var a =
|
|
2250
|
+
var a = s0(i);
|
|
2226
2251
|
return a.ext ? a : {
|
|
2227
2252
|
number: i
|
|
2228
2253
|
};
|
|
2229
2254
|
}
|
|
2230
|
-
function
|
|
2255
|
+
function i4(t, l, e) {
|
|
2231
2256
|
var i = {
|
|
2232
2257
|
country: t,
|
|
2233
2258
|
phone: l
|
|
2234
2259
|
};
|
|
2235
2260
|
return e && (i.ext = e), i;
|
|
2236
2261
|
}
|
|
2237
|
-
function
|
|
2238
|
-
var a =
|
|
2262
|
+
function a4(t, l, e, i) {
|
|
2263
|
+
var a = Z1(W3(t), l, e, i.metadata), d = a.countryCallingCode, r = a.number, n;
|
|
2239
2264
|
if (d)
|
|
2240
2265
|
i.selectNumberingPlan(d);
|
|
2241
2266
|
else if (r && (l || e))
|
|
2242
|
-
i.selectNumberingPlan(l, e), l && (n = l), d = e ||
|
|
2267
|
+
i.selectNumberingPlan(l, e), l && (n = l), d = e || D3(l, i.metadata);
|
|
2243
2268
|
else
|
|
2244
2269
|
return {};
|
|
2245
2270
|
if (!r)
|
|
2246
2271
|
return {
|
|
2247
2272
|
countryCallingCode: d
|
|
2248
2273
|
};
|
|
2249
|
-
var c =
|
|
2274
|
+
var c = z3(W3(r), i), h = c.nationalNumber, s = c.carrierCode, o = Y1(d, h, i);
|
|
2250
2275
|
return o && (n = o, o === "001" || i.country(n)), {
|
|
2251
2276
|
country: n,
|
|
2252
2277
|
countryCallingCode: d,
|
|
@@ -2254,7 +2279,7 @@ function Q0(t, l, e, i) {
|
|
|
2254
2279
|
carrierCode: s
|
|
2255
2280
|
};
|
|
2256
2281
|
}
|
|
2257
|
-
function
|
|
2282
|
+
function a1(t, l) {
|
|
2258
2283
|
var e = Object.keys(t);
|
|
2259
2284
|
if (Object.getOwnPropertySymbols) {
|
|
2260
2285
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -2264,33 +2289,33 @@ function q3(t, l) {
|
|
|
2264
2289
|
}
|
|
2265
2290
|
return e;
|
|
2266
2291
|
}
|
|
2267
|
-
function
|
|
2292
|
+
function d1(t) {
|
|
2268
2293
|
for (var l = 1; l < arguments.length; l++) {
|
|
2269
2294
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
2270
|
-
l % 2 ?
|
|
2271
|
-
|
|
2272
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
2295
|
+
l % 2 ? a1(Object(e), !0).forEach(function(i) {
|
|
2296
|
+
d4(t, i, e[i]);
|
|
2297
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : a1(Object(e)).forEach(function(i) {
|
|
2273
2298
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
2274
2299
|
});
|
|
2275
2300
|
}
|
|
2276
2301
|
return t;
|
|
2277
2302
|
}
|
|
2278
|
-
function
|
|
2303
|
+
function d4(t, l, e) {
|
|
2279
2304
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
2280
2305
|
}
|
|
2281
|
-
function
|
|
2282
|
-
return
|
|
2306
|
+
function r4(t, l, e) {
|
|
2307
|
+
return e4(t, d1(d1({}, l), {}, {
|
|
2283
2308
|
v2: !0
|
|
2284
2309
|
}), e);
|
|
2285
2310
|
}
|
|
2286
|
-
function
|
|
2287
|
-
return
|
|
2311
|
+
function M3(t) {
|
|
2312
|
+
return M3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
2288
2313
|
return typeof l;
|
|
2289
2314
|
} : function(l) {
|
|
2290
2315
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
2291
|
-
},
|
|
2316
|
+
}, M3(t);
|
|
2292
2317
|
}
|
|
2293
|
-
function
|
|
2318
|
+
function r1(t, l) {
|
|
2294
2319
|
var e = Object.keys(t);
|
|
2295
2320
|
if (Object.getOwnPropertySymbols) {
|
|
2296
2321
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -2300,45 +2325,45 @@ function t1(t, l) {
|
|
|
2300
2325
|
}
|
|
2301
2326
|
return e;
|
|
2302
2327
|
}
|
|
2303
|
-
function
|
|
2328
|
+
function n4(t) {
|
|
2304
2329
|
for (var l = 1; l < arguments.length; l++) {
|
|
2305
2330
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
2306
|
-
l % 2 ?
|
|
2307
|
-
|
|
2308
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
2331
|
+
l % 2 ? r1(Object(e), !0).forEach(function(i) {
|
|
2332
|
+
c4(t, i, e[i]);
|
|
2333
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : r1(Object(e)).forEach(function(i) {
|
|
2309
2334
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
2310
2335
|
});
|
|
2311
2336
|
}
|
|
2312
2337
|
return t;
|
|
2313
2338
|
}
|
|
2314
|
-
function
|
|
2339
|
+
function c4(t, l, e) {
|
|
2315
2340
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
2316
2341
|
}
|
|
2317
|
-
function
|
|
2318
|
-
return
|
|
2342
|
+
function h4(t, l) {
|
|
2343
|
+
return f4(t) || v4(t, l) || o4(t, l) || s4();
|
|
2319
2344
|
}
|
|
2320
|
-
function
|
|
2345
|
+
function s4() {
|
|
2321
2346
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2322
2347
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2323
2348
|
}
|
|
2324
|
-
function
|
|
2349
|
+
function o4(t, l) {
|
|
2325
2350
|
if (!!t) {
|
|
2326
2351
|
if (typeof t == "string")
|
|
2327
|
-
return
|
|
2352
|
+
return n1(t, l);
|
|
2328
2353
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2329
2354
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2330
2355
|
return Array.from(t);
|
|
2331
2356
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2332
|
-
return
|
|
2357
|
+
return n1(t, l);
|
|
2333
2358
|
}
|
|
2334
2359
|
}
|
|
2335
|
-
function
|
|
2360
|
+
function n1(t, l) {
|
|
2336
2361
|
(l == null || l > t.length) && (l = t.length);
|
|
2337
2362
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
2338
2363
|
i[e] = t[e];
|
|
2339
2364
|
return i;
|
|
2340
2365
|
}
|
|
2341
|
-
function
|
|
2366
|
+
function v4(t, l) {
|
|
2342
2367
|
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2343
2368
|
if (e != null) {
|
|
2344
2369
|
var i = [], a = !0, d = !1, r, n;
|
|
@@ -2358,21 +2383,21 @@ function r4(t, l) {
|
|
|
2358
2383
|
return i;
|
|
2359
2384
|
}
|
|
2360
2385
|
}
|
|
2361
|
-
function
|
|
2386
|
+
function f4(t) {
|
|
2362
2387
|
if (Array.isArray(t))
|
|
2363
2388
|
return t;
|
|
2364
2389
|
}
|
|
2365
|
-
function
|
|
2366
|
-
var l = Array.prototype.slice.call(t), e =
|
|
2390
|
+
function u4(t) {
|
|
2391
|
+
var l = Array.prototype.slice.call(t), e = h4(l, 4), i = e[0], a = e[1], d = e[2], r = e[3], n, c, h;
|
|
2367
2392
|
if (typeof i == "string")
|
|
2368
2393
|
n = i;
|
|
2369
2394
|
else
|
|
2370
2395
|
throw new TypeError("A text for parsing must be a string.");
|
|
2371
2396
|
if (!a || typeof a == "string")
|
|
2372
|
-
r ? (c = d, h = r) : (c = void 0, h = d), a && (c =
|
|
2397
|
+
r ? (c = d, h = r) : (c = void 0, h = d), a && (c = n4({
|
|
2373
2398
|
defaultCountry: a
|
|
2374
2399
|
}, c));
|
|
2375
|
-
else if (
|
|
2400
|
+
else if (g4(a))
|
|
2376
2401
|
d ? (c = a, h = d) : h = a;
|
|
2377
2402
|
else
|
|
2378
2403
|
throw new Error("Invalid second argument: ".concat(a));
|
|
@@ -2382,10 +2407,10 @@ function c4(t) {
|
|
|
2382
2407
|
metadata: h
|
|
2383
2408
|
};
|
|
2384
2409
|
}
|
|
2385
|
-
var
|
|
2386
|
-
return
|
|
2410
|
+
var g4 = function(l) {
|
|
2411
|
+
return M3(l) === "object";
|
|
2387
2412
|
};
|
|
2388
|
-
function
|
|
2413
|
+
function c1(t, l) {
|
|
2389
2414
|
var e = Object.keys(t);
|
|
2390
2415
|
if (Object.getOwnPropertySymbols) {
|
|
2391
2416
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -2395,32 +2420,32 @@ function i1(t, l) {
|
|
|
2395
2420
|
}
|
|
2396
2421
|
return e;
|
|
2397
2422
|
}
|
|
2398
|
-
function
|
|
2423
|
+
function h1(t) {
|
|
2399
2424
|
for (var l = 1; l < arguments.length; l++) {
|
|
2400
2425
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
2401
|
-
l % 2 ?
|
|
2402
|
-
|
|
2403
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
2426
|
+
l % 2 ? c1(Object(e), !0).forEach(function(i) {
|
|
2427
|
+
$4(t, i, e[i]);
|
|
2428
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : c1(Object(e)).forEach(function(i) {
|
|
2404
2429
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
2405
2430
|
});
|
|
2406
2431
|
}
|
|
2407
2432
|
return t;
|
|
2408
2433
|
}
|
|
2409
|
-
function
|
|
2434
|
+
function $4(t, l, e) {
|
|
2410
2435
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
2411
2436
|
}
|
|
2412
|
-
function
|
|
2413
|
-
l && l.defaultCountry && !
|
|
2437
|
+
function m4(t, l, e) {
|
|
2438
|
+
l && l.defaultCountry && !l0(l.defaultCountry, e) && (l = h1(h1({}, l), {}, {
|
|
2414
2439
|
defaultCountry: void 0
|
|
2415
2440
|
}));
|
|
2416
2441
|
try {
|
|
2417
|
-
return
|
|
2442
|
+
return r4(t, l, e);
|
|
2418
2443
|
} catch (i) {
|
|
2419
|
-
if (!(i instanceof
|
|
2444
|
+
if (!(i instanceof E))
|
|
2420
2445
|
throw i;
|
|
2421
2446
|
}
|
|
2422
2447
|
}
|
|
2423
|
-
function
|
|
2448
|
+
function s1(t, l) {
|
|
2424
2449
|
var e = Object.keys(t);
|
|
2425
2450
|
if (Object.getOwnPropertySymbols) {
|
|
2426
2451
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -2430,47 +2455,47 @@ function d1(t, l) {
|
|
|
2430
2455
|
}
|
|
2431
2456
|
return e;
|
|
2432
2457
|
}
|
|
2433
|
-
function
|
|
2458
|
+
function o1(t) {
|
|
2434
2459
|
for (var l = 1; l < arguments.length; l++) {
|
|
2435
2460
|
var e = arguments[l] != null ? arguments[l] : {};
|
|
2436
|
-
l % 2 ?
|
|
2437
|
-
|
|
2438
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
2461
|
+
l % 2 ? s1(Object(e), !0).forEach(function(i) {
|
|
2462
|
+
p4(t, i, e[i]);
|
|
2463
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : s1(Object(e)).forEach(function(i) {
|
|
2439
2464
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(e, i));
|
|
2440
2465
|
});
|
|
2441
2466
|
}
|
|
2442
2467
|
return t;
|
|
2443
2468
|
}
|
|
2444
|
-
function
|
|
2469
|
+
function p4(t, l, e) {
|
|
2445
2470
|
return l in t ? Object.defineProperty(t, l, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[l] = e, t;
|
|
2446
2471
|
}
|
|
2447
|
-
function
|
|
2448
|
-
var t =
|
|
2449
|
-
e =
|
|
2472
|
+
function w4() {
|
|
2473
|
+
var t = u4(arguments), l = t.text, e = t.options, i = t.metadata;
|
|
2474
|
+
e = o1(o1({}, e), {}, {
|
|
2450
2475
|
extract: !1
|
|
2451
2476
|
});
|
|
2452
|
-
var a =
|
|
2477
|
+
var a = m4(l, e, i);
|
|
2453
2478
|
return a && a.isValid() || !1;
|
|
2454
2479
|
}
|
|
2455
|
-
function
|
|
2480
|
+
function z4(t, l) {
|
|
2456
2481
|
if (!(t instanceof l))
|
|
2457
2482
|
throw new TypeError("Cannot call a class as a function");
|
|
2458
2483
|
}
|
|
2459
|
-
function
|
|
2484
|
+
function v1(t, l) {
|
|
2460
2485
|
for (var e = 0; e < l.length; e++) {
|
|
2461
2486
|
var i = l[e];
|
|
2462
2487
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
2463
2488
|
}
|
|
2464
2489
|
}
|
|
2465
|
-
function
|
|
2466
|
-
return l &&
|
|
2490
|
+
function M4(t, l, e) {
|
|
2491
|
+
return l && v1(t.prototype, l), e && v1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2467
2492
|
}
|
|
2468
|
-
var
|
|
2493
|
+
var x4 = /* @__PURE__ */ function() {
|
|
2469
2494
|
function t(l) {
|
|
2470
2495
|
var e = l.onCountryChange, i = l.onCallingCodeChange;
|
|
2471
|
-
|
|
2496
|
+
z4(this, t), this.onCountryChange = e, this.onCallingCodeChange = i;
|
|
2472
2497
|
}
|
|
2473
|
-
return
|
|
2498
|
+
return M4(t, [{
|
|
2474
2499
|
key: "reset",
|
|
2475
2500
|
value: function(e, i) {
|
|
2476
2501
|
this.international = !1, this.IDDPrefix = void 0, this.missingPlus = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(e, i);
|
|
@@ -2530,11 +2555,11 @@ var $4 = /* @__PURE__ */ function() {
|
|
|
2530
2555
|
}
|
|
2531
2556
|
}]), t;
|
|
2532
2557
|
}();
|
|
2533
|
-
function
|
|
2558
|
+
function H4(t, l) {
|
|
2534
2559
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2535
2560
|
if (e)
|
|
2536
2561
|
return (e = e.call(t)).next.bind(e);
|
|
2537
|
-
if (Array.isArray(t) || (e =
|
|
2562
|
+
if (Array.isArray(t) || (e = y4(t)) || l && t && typeof t.length == "number") {
|
|
2538
2563
|
e && (t = e);
|
|
2539
2564
|
var i = 0;
|
|
2540
2565
|
return function() {
|
|
@@ -2544,35 +2569,35 @@ function m4(t, l) {
|
|
|
2544
2569
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2545
2570
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2546
2571
|
}
|
|
2547
|
-
function
|
|
2572
|
+
function y4(t, l) {
|
|
2548
2573
|
if (!!t) {
|
|
2549
2574
|
if (typeof t == "string")
|
|
2550
|
-
return
|
|
2575
|
+
return f1(t, l);
|
|
2551
2576
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2552
2577
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2553
2578
|
return Array.from(t);
|
|
2554
2579
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2555
|
-
return
|
|
2580
|
+
return f1(t, l);
|
|
2556
2581
|
}
|
|
2557
2582
|
}
|
|
2558
|
-
function
|
|
2583
|
+
function f1(t, l) {
|
|
2559
2584
|
(l == null || l > t.length) && (l = t.length);
|
|
2560
2585
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
2561
2586
|
i[e] = t[e];
|
|
2562
2587
|
return i;
|
|
2563
2588
|
}
|
|
2564
|
-
var
|
|
2565
|
-
function
|
|
2589
|
+
var D = "x", v3 = new RegExp(D);
|
|
2590
|
+
function K(t, l) {
|
|
2566
2591
|
if (l < 1)
|
|
2567
2592
|
return "";
|
|
2568
2593
|
for (var e = ""; l > 1; )
|
|
2569
2594
|
l & 1 && (e += t), l >>= 1, t += t;
|
|
2570
2595
|
return e + t;
|
|
2571
2596
|
}
|
|
2572
|
-
function
|
|
2573
|
-
return t[l] === ")" && l++,
|
|
2597
|
+
function u1(t, l) {
|
|
2598
|
+
return t[l] === ")" && l++, b4(t.slice(0, l));
|
|
2574
2599
|
}
|
|
2575
|
-
function
|
|
2600
|
+
function b4(t) {
|
|
2576
2601
|
for (var l = [], e = 0; e < t.length; )
|
|
2577
2602
|
t[e] === "(" ? l.push(e) : t[e] === ")" && l.pop(), e++;
|
|
2578
2603
|
var i = 0, a = "";
|
|
@@ -2583,31 +2608,31 @@ function w4(t) {
|
|
|
2583
2608
|
}
|
|
2584
2609
|
return a;
|
|
2585
2610
|
}
|
|
2586
|
-
function
|
|
2587
|
-
for (var i =
|
|
2611
|
+
function C4(t, l, e) {
|
|
2612
|
+
for (var i = H4(e.split("")), a; !(a = i()).done; ) {
|
|
2588
2613
|
var d = a.value;
|
|
2589
|
-
if (t.slice(l + 1).search(
|
|
2614
|
+
if (t.slice(l + 1).search(v3) < 0)
|
|
2590
2615
|
return;
|
|
2591
|
-
l = t.search(
|
|
2616
|
+
l = t.search(v3), t = t.replace(v3, d);
|
|
2592
2617
|
}
|
|
2593
2618
|
return [t, l];
|
|
2594
2619
|
}
|
|
2595
|
-
function
|
|
2620
|
+
function A4(t, l, e) {
|
|
2596
2621
|
var i = e.metadata, a = e.shouldTryNationalPrefixFormattingRule, d = e.getSeparatorAfterNationalPrefix, r = new RegExp("^(?:".concat(l.pattern(), ")$"));
|
|
2597
2622
|
if (r.test(t.nationalSignificantNumber))
|
|
2598
|
-
return
|
|
2623
|
+
return D4(t, l, {
|
|
2599
2624
|
metadata: i,
|
|
2600
2625
|
shouldTryNationalPrefixFormattingRule: a,
|
|
2601
2626
|
getSeparatorAfterNationalPrefix: d
|
|
2602
2627
|
});
|
|
2603
2628
|
}
|
|
2604
|
-
function
|
|
2605
|
-
return
|
|
2629
|
+
function F4(t, l) {
|
|
2630
|
+
return i3(t, l) === "IS_POSSIBLE";
|
|
2606
2631
|
}
|
|
2607
|
-
function
|
|
2632
|
+
function D4(t, l, e) {
|
|
2608
2633
|
var i = e.metadata, a = e.shouldTryNationalPrefixFormattingRule, d = e.getSeparatorAfterNationalPrefix;
|
|
2609
2634
|
if (t.nationalSignificantNumber, t.international, t.nationalPrefix, t.carrierCode, a(l)) {
|
|
2610
|
-
var r =
|
|
2635
|
+
var r = g1(t, l, {
|
|
2611
2636
|
useNationalPrefixFormattingRule: !0,
|
|
2612
2637
|
getSeparatorAfterNationalPrefix: d,
|
|
2613
2638
|
metadata: i
|
|
@@ -2615,43 +2640,43 @@ function H4(t, l, e) {
|
|
|
2615
2640
|
if (r)
|
|
2616
2641
|
return r;
|
|
2617
2642
|
}
|
|
2618
|
-
return
|
|
2643
|
+
return g1(t, l, {
|
|
2619
2644
|
useNationalPrefixFormattingRule: !1,
|
|
2620
2645
|
getSeparatorAfterNationalPrefix: d,
|
|
2621
2646
|
metadata: i
|
|
2622
2647
|
});
|
|
2623
2648
|
}
|
|
2624
|
-
function
|
|
2625
|
-
var i = e.metadata, a = e.useNationalPrefixFormattingRule, d = e.getSeparatorAfterNationalPrefix, r =
|
|
2649
|
+
function g1(t, l, e) {
|
|
2650
|
+
var i = e.metadata, a = e.useNationalPrefixFormattingRule, d = e.getSeparatorAfterNationalPrefix, r = G1(t.nationalSignificantNumber, l, {
|
|
2626
2651
|
carrierCode: t.carrierCode,
|
|
2627
2652
|
useInternationalFormat: t.international,
|
|
2628
2653
|
withNationalPrefix: a,
|
|
2629
2654
|
metadata: i
|
|
2630
2655
|
});
|
|
2631
|
-
if (a || (t.nationalPrefix ? r = t.nationalPrefix + d(l) + r : t.complexPrefixBeforeNationalSignificantNumber && (r = t.complexPrefixBeforeNationalSignificantNumber + " " + r)),
|
|
2656
|
+
if (a || (t.nationalPrefix ? r = t.nationalPrefix + d(l) + r : t.complexPrefixBeforeNationalSignificantNumber && (r = t.complexPrefixBeforeNationalSignificantNumber + " " + r)), N4(r, t))
|
|
2632
2657
|
return r;
|
|
2633
2658
|
}
|
|
2634
|
-
function
|
|
2635
|
-
return
|
|
2659
|
+
function N4(t, l) {
|
|
2660
|
+
return Q(t) === l.getNationalDigits();
|
|
2636
2661
|
}
|
|
2637
|
-
function
|
|
2662
|
+
function L4(t, l) {
|
|
2638
2663
|
if (!(t instanceof l))
|
|
2639
2664
|
throw new TypeError("Cannot call a class as a function");
|
|
2640
2665
|
}
|
|
2641
|
-
function
|
|
2666
|
+
function $1(t, l) {
|
|
2642
2667
|
for (var e = 0; e < l.length; e++) {
|
|
2643
2668
|
var i = l[e];
|
|
2644
2669
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
2645
2670
|
}
|
|
2646
2671
|
}
|
|
2647
|
-
function
|
|
2648
|
-
return l &&
|
|
2672
|
+
function B4(t, l, e) {
|
|
2673
|
+
return l && $1(t.prototype, l), e && $1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2649
2674
|
}
|
|
2650
|
-
var
|
|
2675
|
+
var P4 = /* @__PURE__ */ function() {
|
|
2651
2676
|
function t() {
|
|
2652
|
-
|
|
2677
|
+
L4(this, t);
|
|
2653
2678
|
}
|
|
2654
|
-
return
|
|
2679
|
+
return B4(t, [{
|
|
2655
2680
|
key: "parse",
|
|
2656
2681
|
value: function(e) {
|
|
2657
2682
|
if (this.context = [{
|
|
@@ -2663,7 +2688,7 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2663
2688
|
if (a)
|
|
2664
2689
|
return {
|
|
2665
2690
|
op: "|",
|
|
2666
|
-
args: a.concat([
|
|
2691
|
+
args: a.concat([f3(d)])
|
|
2667
2692
|
};
|
|
2668
2693
|
if (d.length === 0)
|
|
2669
2694
|
throw new Error("Pattern is required");
|
|
@@ -2689,9 +2714,9 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2689
2714
|
value: function(e) {
|
|
2690
2715
|
if (!e)
|
|
2691
2716
|
throw new Error("Pattern is required");
|
|
2692
|
-
var i = e.match(
|
|
2717
|
+
var i = e.match(S4);
|
|
2693
2718
|
if (!i) {
|
|
2694
|
-
if (
|
|
2719
|
+
if (I4.test(e))
|
|
2695
2720
|
throw new Error("Illegal characters found in a pattern: ".concat(e));
|
|
2696
2721
|
this.getContext().instructions = this.getContext().instructions.concat(e.split(""));
|
|
2697
2722
|
return;
|
|
@@ -2711,7 +2736,7 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2711
2736
|
if (d && this.parsePattern(d), this.getContext().instructions.length === 0)
|
|
2712
2737
|
throw new Error('No instructions found after "|" operator in an "or" group');
|
|
2713
2738
|
var n = this.getContext(), c = n.branches;
|
|
2714
|
-
c.push(
|
|
2739
|
+
c.push(f3(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
|
|
2715
2740
|
op: "|",
|
|
2716
2741
|
args: c
|
|
2717
2742
|
});
|
|
@@ -2724,7 +2749,7 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2724
2749
|
this.getContext().branches = [];
|
|
2725
2750
|
else
|
|
2726
2751
|
throw new Error('"branches" not found in an "or" group context');
|
|
2727
|
-
this.getContext().branches.push(
|
|
2752
|
+
this.getContext().branches.push(f3(this.getContext().instructions)), this.getContext().instructions = [];
|
|
2728
2753
|
break;
|
|
2729
2754
|
case "[":
|
|
2730
2755
|
d && this.parsePattern(d), this.startContext({
|
|
@@ -2736,7 +2761,7 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2736
2761
|
throw new Error('"]" operator must be preceded by "[" operator');
|
|
2737
2762
|
this.endContext(), this.getContext().instructions.push({
|
|
2738
2763
|
op: "[]",
|
|
2739
|
-
args:
|
|
2764
|
+
args: E4(d)
|
|
2740
2765
|
});
|
|
2741
2766
|
break;
|
|
2742
2767
|
default:
|
|
@@ -2746,7 +2771,7 @@ var C4 = /* @__PURE__ */ function() {
|
|
|
2746
2771
|
}
|
|
2747
2772
|
}]), t;
|
|
2748
2773
|
}();
|
|
2749
|
-
function
|
|
2774
|
+
function E4(t) {
|
|
2750
2775
|
for (var l = [], e = 0; e < t.length; ) {
|
|
2751
2776
|
if (t[e] === "-") {
|
|
2752
2777
|
if (e === 0 || e === t.length - 1)
|
|
@@ -2759,17 +2784,17 @@ function F4(t) {
|
|
|
2759
2784
|
}
|
|
2760
2785
|
return l;
|
|
2761
2786
|
}
|
|
2762
|
-
var
|
|
2787
|
+
var I4 = /[\(\)\[\]\?\:\|]/, S4 = new RegExp(
|
|
2763
2788
|
"(\\||\\(\\?\\:|\\)|\\[|\\])"
|
|
2764
2789
|
);
|
|
2765
|
-
function
|
|
2790
|
+
function f3(t) {
|
|
2766
2791
|
return t.length === 1 ? t[0] : t;
|
|
2767
2792
|
}
|
|
2768
|
-
function
|
|
2793
|
+
function m1(t, l) {
|
|
2769
2794
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2770
2795
|
if (e)
|
|
2771
2796
|
return (e = e.call(t)).next.bind(e);
|
|
2772
|
-
if (Array.isArray(t) || (e =
|
|
2797
|
+
if (Array.isArray(t) || (e = O4(t)) || l && t && typeof t.length == "number") {
|
|
2773
2798
|
e && (t = e);
|
|
2774
2799
|
var i = 0;
|
|
2775
2800
|
return function() {
|
|
@@ -2779,53 +2804,53 @@ function v1(t, l) {
|
|
|
2779
2804
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2780
2805
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2781
2806
|
}
|
|
2782
|
-
function
|
|
2807
|
+
function O4(t, l) {
|
|
2783
2808
|
if (!!t) {
|
|
2784
2809
|
if (typeof t == "string")
|
|
2785
|
-
return
|
|
2810
|
+
return p1(t, l);
|
|
2786
2811
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2787
2812
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2788
2813
|
return Array.from(t);
|
|
2789
2814
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2790
|
-
return
|
|
2815
|
+
return p1(t, l);
|
|
2791
2816
|
}
|
|
2792
2817
|
}
|
|
2793
|
-
function
|
|
2818
|
+
function p1(t, l) {
|
|
2794
2819
|
(l == null || l > t.length) && (l = t.length);
|
|
2795
2820
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
2796
2821
|
i[e] = t[e];
|
|
2797
2822
|
return i;
|
|
2798
2823
|
}
|
|
2799
|
-
function
|
|
2824
|
+
function T4(t, l) {
|
|
2800
2825
|
if (!(t instanceof l))
|
|
2801
2826
|
throw new TypeError("Cannot call a class as a function");
|
|
2802
2827
|
}
|
|
2803
|
-
function
|
|
2828
|
+
function w1(t, l) {
|
|
2804
2829
|
for (var e = 0; e < l.length; e++) {
|
|
2805
2830
|
var i = l[e];
|
|
2806
2831
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
2807
2832
|
}
|
|
2808
2833
|
}
|
|
2809
|
-
function
|
|
2810
|
-
return l &&
|
|
2834
|
+
function V4(t, l, e) {
|
|
2835
|
+
return l && w1(t.prototype, l), e && w1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2811
2836
|
}
|
|
2812
|
-
var
|
|
2837
|
+
var R4 = /* @__PURE__ */ function() {
|
|
2813
2838
|
function t(l) {
|
|
2814
|
-
|
|
2839
|
+
T4(this, t), this.matchTree = new P4().parse(l);
|
|
2815
2840
|
}
|
|
2816
|
-
return
|
|
2841
|
+
return V4(t, [{
|
|
2817
2842
|
key: "match",
|
|
2818
2843
|
value: function(e) {
|
|
2819
2844
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = i.allowOverflow;
|
|
2820
2845
|
if (!e)
|
|
2821
2846
|
throw new Error("String is required");
|
|
2822
|
-
var d =
|
|
2847
|
+
var d = x3(e.split(""), this.matchTree, !0);
|
|
2823
2848
|
if (d && d.match && delete d.matchedChars, !(d && d.overflow && !a))
|
|
2824
2849
|
return d;
|
|
2825
2850
|
}
|
|
2826
2851
|
}]), t;
|
|
2827
2852
|
}();
|
|
2828
|
-
function
|
|
2853
|
+
function x3(t, l, e) {
|
|
2829
2854
|
if (typeof l == "string") {
|
|
2830
2855
|
var i = t.join("");
|
|
2831
2856
|
return l.indexOf(i) === 0 ? t.length === l.length ? {
|
|
@@ -2842,7 +2867,7 @@ function p3(t, l, e) {
|
|
|
2842
2867
|
}
|
|
2843
2868
|
if (Array.isArray(l)) {
|
|
2844
2869
|
for (var a = t.slice(), d = 0; d < l.length; ) {
|
|
2845
|
-
var r = l[d], n =
|
|
2870
|
+
var r = l[d], n = x3(a, r, e && d === l.length - 1);
|
|
2846
2871
|
if (n) {
|
|
2847
2872
|
if (n.overflow)
|
|
2848
2873
|
return n;
|
|
@@ -2875,8 +2900,8 @@ function p3(t, l, e) {
|
|
|
2875
2900
|
}
|
|
2876
2901
|
switch (l.op) {
|
|
2877
2902
|
case "|":
|
|
2878
|
-
for (var c, h =
|
|
2879
|
-
var o = s.value, v =
|
|
2903
|
+
for (var c, h = m1(l.args), s; !(s = h()).done; ) {
|
|
2904
|
+
var o = s.value, v = x3(t, o, e);
|
|
2880
2905
|
if (v) {
|
|
2881
2906
|
if (v.overflow)
|
|
2882
2907
|
return v;
|
|
@@ -2896,9 +2921,9 @@ function p3(t, l, e) {
|
|
|
2896
2921
|
partialMatch: !0
|
|
2897
2922
|
} : void 0;
|
|
2898
2923
|
case "[]":
|
|
2899
|
-
for (var
|
|
2900
|
-
var
|
|
2901
|
-
if (t[0] ===
|
|
2924
|
+
for (var x = m1(l.args), u; !(u = x()).done; ) {
|
|
2925
|
+
var $ = u.value;
|
|
2926
|
+
if (t[0] === $)
|
|
2902
2927
|
return t.length === 1 ? {
|
|
2903
2928
|
match: !0,
|
|
2904
2929
|
matchedChars: t
|
|
@@ -2906,7 +2931,7 @@ function p3(t, l, e) {
|
|
|
2906
2931
|
overflow: !0
|
|
2907
2932
|
} : {
|
|
2908
2933
|
match: !0,
|
|
2909
|
-
matchedChars: [
|
|
2934
|
+
matchedChars: [$]
|
|
2910
2935
|
};
|
|
2911
2936
|
}
|
|
2912
2937
|
return;
|
|
@@ -2914,11 +2939,11 @@ function p3(t, l, e) {
|
|
|
2914
2939
|
throw new Error("Unsupported instruction tree: ".concat(l));
|
|
2915
2940
|
}
|
|
2916
2941
|
}
|
|
2917
|
-
function
|
|
2942
|
+
function z1(t, l) {
|
|
2918
2943
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2919
2944
|
if (e)
|
|
2920
2945
|
return (e = e.call(t)).next.bind(e);
|
|
2921
|
-
if (Array.isArray(t) || (e =
|
|
2946
|
+
if (Array.isArray(t) || (e = k4(t)) || l && t && typeof t.length == "number") {
|
|
2922
2947
|
e && (t = e);
|
|
2923
2948
|
var i = 0;
|
|
2924
2949
|
return function() {
|
|
@@ -2928,47 +2953,47 @@ function g1(t, l) {
|
|
|
2928
2953
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2929
2954
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2930
2955
|
}
|
|
2931
|
-
function
|
|
2956
|
+
function k4(t, l) {
|
|
2932
2957
|
if (!!t) {
|
|
2933
2958
|
if (typeof t == "string")
|
|
2934
|
-
return
|
|
2959
|
+
return M1(t, l);
|
|
2935
2960
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2936
2961
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2937
2962
|
return Array.from(t);
|
|
2938
2963
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2939
|
-
return
|
|
2964
|
+
return M1(t, l);
|
|
2940
2965
|
}
|
|
2941
2966
|
}
|
|
2942
|
-
function
|
|
2967
|
+
function M1(t, l) {
|
|
2943
2968
|
(l == null || l > t.length) && (l = t.length);
|
|
2944
2969
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
2945
2970
|
i[e] = t[e];
|
|
2946
2971
|
return i;
|
|
2947
2972
|
}
|
|
2948
|
-
function
|
|
2973
|
+
function _4(t, l) {
|
|
2949
2974
|
if (!(t instanceof l))
|
|
2950
2975
|
throw new TypeError("Cannot call a class as a function");
|
|
2951
2976
|
}
|
|
2952
|
-
function
|
|
2977
|
+
function x1(t, l) {
|
|
2953
2978
|
for (var e = 0; e < l.length; e++) {
|
|
2954
2979
|
var i = l[e];
|
|
2955
2980
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
2956
2981
|
}
|
|
2957
2982
|
}
|
|
2958
|
-
function
|
|
2959
|
-
return l &&
|
|
2983
|
+
function G4(t, l, e) {
|
|
2984
|
+
return l && x1(t.prototype, l), e && x1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2960
2985
|
}
|
|
2961
|
-
var
|
|
2986
|
+
var H3 = "9", j4 = 15, U4 = K(H3, j4), W4 = /[- ]/, Z4 = function() {
|
|
2962
2987
|
return /\[([^\[\]])*\]/g;
|
|
2963
|
-
},
|
|
2988
|
+
}, Y4 = function() {
|
|
2964
2989
|
return /\d(?=[^,}][^,}])/g;
|
|
2965
|
-
},
|
|
2990
|
+
}, K4 = new RegExp("[" + N + "]*\\$1[" + N + "]*(\\$\\d[" + N + "]*)*$"), H1 = 3, X4 = /* @__PURE__ */ function() {
|
|
2966
2991
|
function t(l) {
|
|
2967
2992
|
l.state;
|
|
2968
2993
|
var e = l.metadata;
|
|
2969
|
-
|
|
2994
|
+
_4(this, t), this.metadata = e, this.resetFormat();
|
|
2970
2995
|
}
|
|
2971
|
-
return
|
|
2996
|
+
return G4(t, [{
|
|
2972
2997
|
key: "resetFormat",
|
|
2973
2998
|
value: function() {
|
|
2974
2999
|
this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
|
|
@@ -2982,9 +3007,9 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
2982
3007
|
key: "format",
|
|
2983
3008
|
value: function(e, i) {
|
|
2984
3009
|
var a = this;
|
|
2985
|
-
if (
|
|
2986
|
-
for (var d =
|
|
2987
|
-
var n = r.value, c =
|
|
3010
|
+
if (F4(i.nationalSignificantNumber, this.metadata))
|
|
3011
|
+
for (var d = z1(this.matchingFormats), r; !(r = d()).done; ) {
|
|
3012
|
+
var n = r.value, c = A4(i, n, {
|
|
2988
3013
|
metadata: this.metadata,
|
|
2989
3014
|
shouldTryNationalPrefixFormattingRule: function(s) {
|
|
2990
3015
|
return a.shouldTryNationalPrefixFormattingRule(s, {
|
|
@@ -2997,7 +3022,7 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
2997
3022
|
}
|
|
2998
3023
|
});
|
|
2999
3024
|
if (c)
|
|
3000
|
-
return this.resetFormat(), this.chosenFormat = n, this.setNationalNumberTemplate(c.replace(/\d/g,
|
|
3025
|
+
return this.resetFormat(), this.chosenFormat = n, this.setNationalNumberTemplate(c.replace(/\d/g, D), i), this.populatedNationalNumberTemplate = c, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(D), c;
|
|
3001
3026
|
}
|
|
3002
3027
|
return this.formatNationalNumberWithNextDigits(e, i);
|
|
3003
3028
|
}
|
|
@@ -3011,7 +3036,7 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3011
3036
|
}, {
|
|
3012
3037
|
key: "narrowDownMatchingFormats",
|
|
3013
3038
|
value: function(e) {
|
|
3014
|
-
var i = this, a = e.nationalSignificantNumber, d = e.nationalPrefix, r = e.international, n = a, c = n.length -
|
|
3039
|
+
var i = this, a = e.nationalSignificantNumber, d = e.nationalPrefix, r = e.international, n = a, c = n.length - H1;
|
|
3015
3040
|
c < 0 && (c = 0), this.matchingFormats = this.matchingFormats.filter(function(h) {
|
|
3016
3041
|
return i.formatSuits(h, r, d) && i.formatMatches(h, n, c);
|
|
3017
3042
|
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
@@ -3029,9 +3054,9 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3029
3054
|
return !0;
|
|
3030
3055
|
a = Math.min(a, d - 1);
|
|
3031
3056
|
var r = e.leadingDigitsPatterns()[a];
|
|
3032
|
-
if (i.length <
|
|
3057
|
+
if (i.length < H1)
|
|
3033
3058
|
try {
|
|
3034
|
-
return new
|
|
3059
|
+
return new R4(r).match(i, {
|
|
3035
3060
|
allowOverflow: !0
|
|
3036
3061
|
}) !== void 0;
|
|
3037
3062
|
} catch (n) {
|
|
@@ -3049,10 +3074,10 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3049
3074
|
value: function(e) {
|
|
3050
3075
|
for (var i = this, a = function() {
|
|
3051
3076
|
var h = r.value;
|
|
3052
|
-
return i.chosenFormat === h ? "break" :
|
|
3077
|
+
return i.chosenFormat === h ? "break" : K4.test(i.getFormatFormat(h, e.international)) ? i.createTemplateForFormat(h, e) ? (i.chosenFormat = h, "break") : (i.matchingFormats = i.matchingFormats.filter(function(s) {
|
|
3053
3078
|
return s !== h;
|
|
3054
3079
|
}), "continue") : "continue";
|
|
3055
|
-
}, d =
|
|
3080
|
+
}, d = z1(this.matchingFormats.slice()), r; !(r = d()).done; ) {
|
|
3056
3081
|
var n = a();
|
|
3057
3082
|
if (n === "break")
|
|
3058
3083
|
break;
|
|
@@ -3071,7 +3096,7 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3071
3096
|
}, {
|
|
3072
3097
|
key: "getSeparatorAfterNationalPrefix",
|
|
3073
3098
|
value: function(e) {
|
|
3074
|
-
return this.isNANP || e && e.nationalPrefixFormattingRule() &&
|
|
3099
|
+
return this.isNANP || e && e.nationalPrefixFormattingRule() && W4.test(e.nationalPrefixFormattingRule()) ? " " : "";
|
|
3075
3100
|
}
|
|
3076
3101
|
}, {
|
|
3077
3102
|
key: "getInternationalPrefixBeforeCountryCallingCode",
|
|
@@ -3086,47 +3111,47 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3086
3111
|
for (var i = -1, a = 0, d = e.international ? this.getInternationalPrefixBeforeCountryCallingCode(e, {
|
|
3087
3112
|
spacing: !1
|
|
3088
3113
|
}) : ""; a < d.length + e.getDigitsWithoutInternationalPrefix().length; )
|
|
3089
|
-
i = this.template.indexOf(
|
|
3090
|
-
return
|
|
3114
|
+
i = this.template.indexOf(D, i + 1), a++;
|
|
3115
|
+
return u1(this.template, i + 1);
|
|
3091
3116
|
}
|
|
3092
3117
|
}
|
|
3093
3118
|
}, {
|
|
3094
3119
|
key: "setNationalNumberTemplate",
|
|
3095
3120
|
value: function(e, i) {
|
|
3096
|
-
this.nationalNumberTemplate = e, this.populatedNationalNumberTemplate = e, this.populatedNationalNumberTemplatePosition = -1, i.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(i).replace(/[\d\+]/g,
|
|
3121
|
+
this.nationalNumberTemplate = e, this.populatedNationalNumberTemplate = e, this.populatedNationalNumberTemplatePosition = -1, i.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(i).replace(/[\d\+]/g, D) + K(D, i.callingCode.length) + " " + e : this.template = e;
|
|
3097
3122
|
}
|
|
3098
3123
|
}, {
|
|
3099
3124
|
key: "getTemplateForFormat",
|
|
3100
3125
|
value: function(e, i) {
|
|
3101
3126
|
var a = i.nationalSignificantNumber, d = i.international, r = i.nationalPrefix, n = i.complexPrefixBeforeNationalSignificantNumber, c = e.pattern();
|
|
3102
|
-
c = c.replace(
|
|
3103
|
-
var h =
|
|
3127
|
+
c = c.replace(Z4(), "\\d").replace(Y4(), "\\d");
|
|
3128
|
+
var h = U4.match(c)[0];
|
|
3104
3129
|
if (!(a.length > h.length)) {
|
|
3105
|
-
var s = new RegExp("^" + c + "$"), o = a.replace(/\d/g,
|
|
3130
|
+
var s = new RegExp("^" + c + "$"), o = a.replace(/\d/g, H3);
|
|
3106
3131
|
s.test(o) && (h = o);
|
|
3107
|
-
var v = this.getFormatFormat(e, d),
|
|
3132
|
+
var v = this.getFormatFormat(e, d), x;
|
|
3108
3133
|
if (this.shouldTryNationalPrefixFormattingRule(e, {
|
|
3109
3134
|
international: d,
|
|
3110
3135
|
nationalPrefix: r
|
|
3111
3136
|
})) {
|
|
3112
|
-
var
|
|
3113
|
-
if (
|
|
3114
|
-
for (var
|
|
3115
|
-
v = v.replace(/\d/,
|
|
3137
|
+
var u = v.replace(_1, e.nationalPrefixFormattingRule());
|
|
3138
|
+
if (Q(e.nationalPrefixFormattingRule()) === (r || "") + Q("$1") && (v = u, x = !0, r))
|
|
3139
|
+
for (var $ = r.length; $ > 0; )
|
|
3140
|
+
v = v.replace(/\d/, D), $--;
|
|
3116
3141
|
}
|
|
3117
|
-
var
|
|
3118
|
-
return
|
|
3142
|
+
var M = h.replace(new RegExp(c), v).replace(new RegExp(H3, "g"), D);
|
|
3143
|
+
return x || (n ? M = K(D, n.length) + " " + M : r && (M = K(D, r.length) + this.getSeparatorAfterNationalPrefix(e) + M)), d && (M = k1(M)), M;
|
|
3119
3144
|
}
|
|
3120
3145
|
}
|
|
3121
3146
|
}, {
|
|
3122
3147
|
key: "formatNextNationalNumberDigits",
|
|
3123
3148
|
value: function(e) {
|
|
3124
|
-
var i =
|
|
3149
|
+
var i = C4(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, e);
|
|
3125
3150
|
if (!i) {
|
|
3126
3151
|
this.resetFormat();
|
|
3127
3152
|
return;
|
|
3128
3153
|
}
|
|
3129
|
-
return this.populatedNationalNumberTemplate = i[0], this.populatedNationalNumberTemplatePosition = i[1],
|
|
3154
|
+
return this.populatedNationalNumberTemplate = i[0], this.populatedNationalNumberTemplatePosition = i[1], u1(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
3130
3155
|
}
|
|
3131
3156
|
}, {
|
|
3132
3157
|
key: "shouldTryNationalPrefixFormattingRule",
|
|
@@ -3140,31 +3165,31 @@ var w3 = "9", T4 = 15, V4 = W(w3, T4), R4 = /[- ]/, k4 = function() {
|
|
|
3140
3165
|
}
|
|
3141
3166
|
}]), t;
|
|
3142
3167
|
}();
|
|
3143
|
-
function
|
|
3144
|
-
return
|
|
3168
|
+
function K1(t, l) {
|
|
3169
|
+
return e5(t) || q4(t, l) || Q4(t, l) || J4();
|
|
3145
3170
|
}
|
|
3146
|
-
function
|
|
3171
|
+
function J4() {
|
|
3147
3172
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3148
3173
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3149
3174
|
}
|
|
3150
|
-
function
|
|
3175
|
+
function Q4(t, l) {
|
|
3151
3176
|
if (!!t) {
|
|
3152
3177
|
if (typeof t == "string")
|
|
3153
|
-
return
|
|
3178
|
+
return y1(t, l);
|
|
3154
3179
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
3155
3180
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
3156
3181
|
return Array.from(t);
|
|
3157
3182
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
3158
|
-
return
|
|
3183
|
+
return y1(t, l);
|
|
3159
3184
|
}
|
|
3160
3185
|
}
|
|
3161
|
-
function
|
|
3186
|
+
function y1(t, l) {
|
|
3162
3187
|
(l == null || l > t.length) && (l = t.length);
|
|
3163
3188
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
3164
3189
|
i[e] = t[e];
|
|
3165
3190
|
return i;
|
|
3166
3191
|
}
|
|
3167
|
-
function
|
|
3192
|
+
function q4(t, l) {
|
|
3168
3193
|
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
3169
3194
|
if (e != null) {
|
|
3170
3195
|
var i = [], a = !0, d = !1, r, n;
|
|
@@ -3184,32 +3209,32 @@ function Z4(t, l) {
|
|
|
3184
3209
|
return i;
|
|
3185
3210
|
}
|
|
3186
3211
|
}
|
|
3187
|
-
function
|
|
3212
|
+
function e5(t) {
|
|
3188
3213
|
if (Array.isArray(t))
|
|
3189
3214
|
return t;
|
|
3190
3215
|
}
|
|
3191
|
-
function
|
|
3216
|
+
function t5(t, l) {
|
|
3192
3217
|
if (!(t instanceof l))
|
|
3193
3218
|
throw new TypeError("Cannot call a class as a function");
|
|
3194
3219
|
}
|
|
3195
|
-
function
|
|
3220
|
+
function b1(t, l) {
|
|
3196
3221
|
for (var e = 0; e < l.length; e++) {
|
|
3197
3222
|
var i = l[e];
|
|
3198
3223
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
3199
3224
|
}
|
|
3200
3225
|
}
|
|
3201
|
-
function
|
|
3202
|
-
return l &&
|
|
3226
|
+
function l5(t, l, e) {
|
|
3227
|
+
return l && b1(t.prototype, l), e && b1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
3203
3228
|
}
|
|
3204
|
-
var
|
|
3229
|
+
var i5 = "[" + N + b + "]+", a5 = new RegExp("^" + i5 + "$", "i"), d5 = "(?:[" + e3 + "][" + N + b + "]*|[" + N + b + "]+)", r5 = new RegExp("[^" + N + b + "]+.*$"), n5 = /[^\d\[\]]/, c5 = /* @__PURE__ */ function() {
|
|
3205
3230
|
function t(l) {
|
|
3206
3231
|
var e = l.defaultCountry, i = l.defaultCallingCode, a = l.metadata, d = l.onNationalSignificantNumberChange;
|
|
3207
|
-
|
|
3232
|
+
t5(this, t), this.defaultCountry = e, this.defaultCallingCode = i, this.metadata = a, this.onNationalSignificantNumberChange = d;
|
|
3208
3233
|
}
|
|
3209
|
-
return
|
|
3234
|
+
return l5(t, [{
|
|
3210
3235
|
key: "input",
|
|
3211
3236
|
value: function(e, i) {
|
|
3212
|
-
var a =
|
|
3237
|
+
var a = o5(e), d = K1(a, 2), r = d[0], n = d[1], c = Q(r), h;
|
|
3213
3238
|
return n && (i.digits || (i.startInternationalNumber(), c || (h = !0))), c && this.inputDigits(c, i), {
|
|
3214
3239
|
digits: c,
|
|
3215
3240
|
justLeadingPlus: h
|
|
@@ -3237,7 +3262,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3237
3262
|
}, {
|
|
3238
3263
|
key: "extractCountryCallingCode",
|
|
3239
3264
|
value: function(e) {
|
|
3240
|
-
var i =
|
|
3265
|
+
var i = Z1("+" + e.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), a = i.countryCallingCode, d = i.number;
|
|
3241
3266
|
if (a)
|
|
3242
3267
|
return e.setCallingCode(a), e.update({
|
|
3243
3268
|
nationalSignificantNumber: d
|
|
@@ -3249,7 +3274,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3249
3274
|
if (e) {
|
|
3250
3275
|
this.hasSelectedNumberingPlan = !0;
|
|
3251
3276
|
var i = e._nationalPrefixForParsing();
|
|
3252
|
-
this.couldPossiblyExtractAnotherNationalSignificantNumber = i &&
|
|
3277
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = i && n5.test(i);
|
|
3253
3278
|
} else
|
|
3254
3279
|
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
3255
3280
|
}
|
|
@@ -3257,7 +3282,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3257
3282
|
key: "extractNationalSignificantNumber",
|
|
3258
3283
|
value: function(e, i) {
|
|
3259
3284
|
if (!!this.hasSelectedNumberingPlan) {
|
|
3260
|
-
var a =
|
|
3285
|
+
var a = w3(e, this.metadata), d = a.nationalPrefix, r = a.nationalNumber, n = a.carrierCode;
|
|
3261
3286
|
if (r !== e)
|
|
3262
3287
|
return this.onExtractedNationalNumber(d, n, r, e, i), !0;
|
|
3263
3288
|
}
|
|
@@ -3268,7 +3293,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3268
3293
|
if (!this.hasExtractedNationalSignificantNumber)
|
|
3269
3294
|
return this.extractNationalSignificantNumber(e, a);
|
|
3270
3295
|
if (!!this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
3271
|
-
var d =
|
|
3296
|
+
var d = w3(e, this.metadata), r = d.nationalPrefix, n = d.nationalNumber, c = d.carrierCode;
|
|
3272
3297
|
if (n !== i)
|
|
3273
3298
|
return this.onExtractedNationalNumber(r, c, n, e, a), !0;
|
|
3274
3299
|
}
|
|
@@ -3307,7 +3332,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3307
3332
|
value: function(e) {
|
|
3308
3333
|
var i = e.international, a = e.IDDPrefix, d = e.digits;
|
|
3309
3334
|
if (e.nationalSignificantNumber, !(i || a)) {
|
|
3310
|
-
var r =
|
|
3335
|
+
var r = U1(d, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
3311
3336
|
if (r !== void 0 && r !== d)
|
|
3312
3337
|
return e.update({
|
|
3313
3338
|
IDDPrefix: d.slice(0, d.length - r.length)
|
|
@@ -3321,7 +3346,7 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3321
3346
|
key: "fixMissingPlus",
|
|
3322
3347
|
value: function(e) {
|
|
3323
3348
|
if (!e.international) {
|
|
3324
|
-
var i =
|
|
3349
|
+
var i = W1(e.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), a = i.countryCallingCode;
|
|
3325
3350
|
if (i.number, a)
|
|
3326
3351
|
return e.update({
|
|
3327
3352
|
missingPlus: !0
|
|
@@ -3346,54 +3371,54 @@ var J4 = "[" + b + H + "]+", Q4 = new RegExp("^" + J4 + "$", "i"), q4 = "(?:[" +
|
|
|
3346
3371
|
}
|
|
3347
3372
|
}]), t;
|
|
3348
3373
|
}();
|
|
3349
|
-
function
|
|
3350
|
-
var l = t.search(
|
|
3374
|
+
function h5(t) {
|
|
3375
|
+
var l = t.search(d5);
|
|
3351
3376
|
if (!(l < 0)) {
|
|
3352
3377
|
t = t.slice(l);
|
|
3353
3378
|
var e;
|
|
3354
|
-
return t[0] === "+" && (e = !0, t = t.slice(1)), t = t.replace(
|
|
3379
|
+
return t[0] === "+" && (e = !0, t = t.slice(1)), t = t.replace(r5, ""), e && (t = "+" + t), t;
|
|
3355
3380
|
}
|
|
3356
3381
|
}
|
|
3357
|
-
function
|
|
3358
|
-
var l =
|
|
3382
|
+
function s5(t) {
|
|
3383
|
+
var l = h5(t) || "";
|
|
3359
3384
|
return l[0] === "+" ? [l.slice(1), !0] : [l];
|
|
3360
3385
|
}
|
|
3361
|
-
function
|
|
3362
|
-
var l =
|
|
3363
|
-
return
|
|
3386
|
+
function o5(t) {
|
|
3387
|
+
var l = s5(t), e = K1(l, 2), i = e[0], a = e[1];
|
|
3388
|
+
return a5.test(i) || (i = ""), [i, a];
|
|
3364
3389
|
}
|
|
3365
|
-
function
|
|
3366
|
-
return
|
|
3390
|
+
function y3(t) {
|
|
3391
|
+
return y3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
3367
3392
|
return typeof l;
|
|
3368
3393
|
} : function(l) {
|
|
3369
3394
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
3370
|
-
},
|
|
3395
|
+
}, y3(t);
|
|
3371
3396
|
}
|
|
3372
|
-
function
|
|
3373
|
-
return
|
|
3397
|
+
function v5(t, l) {
|
|
3398
|
+
return $5(t) || g5(t, l) || u5(t, l) || f5();
|
|
3374
3399
|
}
|
|
3375
|
-
function
|
|
3400
|
+
function f5() {
|
|
3376
3401
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3377
3402
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3378
3403
|
}
|
|
3379
|
-
function
|
|
3404
|
+
function u5(t, l) {
|
|
3380
3405
|
if (!!t) {
|
|
3381
3406
|
if (typeof t == "string")
|
|
3382
|
-
return
|
|
3407
|
+
return C1(t, l);
|
|
3383
3408
|
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
3384
3409
|
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
3385
3410
|
return Array.from(t);
|
|
3386
3411
|
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
3387
|
-
return
|
|
3412
|
+
return C1(t, l);
|
|
3388
3413
|
}
|
|
3389
3414
|
}
|
|
3390
|
-
function
|
|
3415
|
+
function C1(t, l) {
|
|
3391
3416
|
(l == null || l > t.length) && (l = t.length);
|
|
3392
3417
|
for (var e = 0, i = new Array(l); e < l; e++)
|
|
3393
3418
|
i[e] = t[e];
|
|
3394
3419
|
return i;
|
|
3395
3420
|
}
|
|
3396
|
-
function
|
|
3421
|
+
function g5(t, l) {
|
|
3397
3422
|
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
3398
3423
|
if (e != null) {
|
|
3399
3424
|
var i = [], a = !0, d = !1, r, n;
|
|
@@ -3413,34 +3438,34 @@ function h5(t, l) {
|
|
|
3413
3438
|
return i;
|
|
3414
3439
|
}
|
|
3415
3440
|
}
|
|
3416
|
-
function
|
|
3441
|
+
function $5(t) {
|
|
3417
3442
|
if (Array.isArray(t))
|
|
3418
3443
|
return t;
|
|
3419
3444
|
}
|
|
3420
|
-
function
|
|
3445
|
+
function m5(t, l) {
|
|
3421
3446
|
if (!(t instanceof l))
|
|
3422
3447
|
throw new TypeError("Cannot call a class as a function");
|
|
3423
3448
|
}
|
|
3424
|
-
function
|
|
3449
|
+
function A1(t, l) {
|
|
3425
3450
|
for (var e = 0; e < l.length; e++) {
|
|
3426
3451
|
var i = l[e];
|
|
3427
3452
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
3428
3453
|
}
|
|
3429
3454
|
}
|
|
3430
|
-
function
|
|
3431
|
-
return l &&
|
|
3455
|
+
function p5(t, l, e) {
|
|
3456
|
+
return l && A1(t.prototype, l), e && A1(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
3432
3457
|
}
|
|
3433
|
-
var
|
|
3458
|
+
var X1 = /* @__PURE__ */ function() {
|
|
3434
3459
|
function t(l, e) {
|
|
3435
|
-
|
|
3436
|
-
var i = this.getCountryAndCallingCode(l), a =
|
|
3460
|
+
m5(this, t), this.metadata = new H(e);
|
|
3461
|
+
var i = this.getCountryAndCallingCode(l), a = v5(i, 2), d = a[0], r = a[1];
|
|
3437
3462
|
this.defaultCountry = d, this.defaultCallingCode = r, this.reset();
|
|
3438
3463
|
}
|
|
3439
|
-
return
|
|
3464
|
+
return p5(t, [{
|
|
3440
3465
|
key: "getCountryAndCallingCode",
|
|
3441
3466
|
value: function(e) {
|
|
3442
3467
|
var i, a;
|
|
3443
|
-
return e && (
|
|
3468
|
+
return e && (y3(e) === "object" ? (i = e.defaultCountry, a = e.defaultCallingCode) : i = e), i && !this.metadata.hasCountry(i) && (i = void 0), [i, a];
|
|
3444
3469
|
}
|
|
3445
3470
|
}, {
|
|
3446
3471
|
key: "input",
|
|
@@ -3464,17 +3489,17 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3464
3489
|
key: "reset",
|
|
3465
3490
|
value: function() {
|
|
3466
3491
|
var e = this;
|
|
3467
|
-
return this.state = new
|
|
3492
|
+
return this.state = new x4({
|
|
3468
3493
|
onCountryChange: function(a) {
|
|
3469
3494
|
e.country = a;
|
|
3470
3495
|
},
|
|
3471
3496
|
onCallingCodeChange: function(a, d) {
|
|
3472
3497
|
e.metadata.selectNumberingPlan(d, a), e.formatter.reset(e.metadata.numberingPlan, e.state), e.parser.reset(e.metadata.numberingPlan);
|
|
3473
3498
|
}
|
|
3474
|
-
}), this.formatter = new
|
|
3499
|
+
}), this.formatter = new X4({
|
|
3475
3500
|
state: this.state,
|
|
3476
3501
|
metadata: this.metadata
|
|
3477
|
-
}), this.parser = new
|
|
3502
|
+
}), this.parser = new c5({
|
|
3478
3503
|
defaultCountry: this.defaultCountry,
|
|
3479
3504
|
defaultCallingCode: this.defaultCallingCode,
|
|
3480
3505
|
metadata: this.metadata,
|
|
@@ -3549,7 +3574,7 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3549
3574
|
value: function() {
|
|
3550
3575
|
var e = this.getNonFormattedNumber();
|
|
3551
3576
|
if (e)
|
|
3552
|
-
return e.replace(/[\+\d]/g,
|
|
3577
|
+
return e.replace(/[\+\d]/g, D);
|
|
3553
3578
|
}
|
|
3554
3579
|
}, {
|
|
3555
3580
|
key: "isCountryCallingCodeAmbiguous",
|
|
@@ -3560,7 +3585,7 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3560
3585
|
}, {
|
|
3561
3586
|
key: "determineTheCountry",
|
|
3562
3587
|
value: function() {
|
|
3563
|
-
this.state.setCountry(
|
|
3588
|
+
this.state.setCountry(Y1(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, this.state.nationalSignificantNumber, this.metadata));
|
|
3564
3589
|
}
|
|
3565
3590
|
}, {
|
|
3566
3591
|
key: "getNumberValue",
|
|
@@ -3580,7 +3605,7 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3580
3605
|
value: function() {
|
|
3581
3606
|
var e = this.state, i = e.nationalSignificantNumber, a = e.carrierCode, d = e.callingCode, r = this._getCountry();
|
|
3582
3607
|
if (!!i && !(!r && !d)) {
|
|
3583
|
-
var n = new
|
|
3608
|
+
var n = new j1(r || d, i, this.metadata.metadata);
|
|
3584
3609
|
return a && (n.carrierCode = a), n;
|
|
3585
3610
|
}
|
|
3586
3611
|
}
|
|
@@ -3613,245 +3638,273 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3613
3638
|
}
|
|
3614
3639
|
}]), t;
|
|
3615
3640
|
}();
|
|
3616
|
-
function
|
|
3617
|
-
return
|
|
3618
|
-
}
|
|
3619
|
-
function
|
|
3620
|
-
return
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
function
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3641
|
+
function E5() {
|
|
3642
|
+
return P2(w4, arguments);
|
|
3643
|
+
}
|
|
3644
|
+
function V(t) {
|
|
3645
|
+
return X1.call(this, t, A3);
|
|
3646
|
+
}
|
|
3647
|
+
V.prototype = Object.create(X1.prototype, {});
|
|
3648
|
+
V.prototype.constructor = V;
|
|
3649
|
+
function u3(t, l) {
|
|
3650
|
+
return t.replace(l, "");
|
|
3651
|
+
}
|
|
3652
|
+
function g3(t) {
|
|
3653
|
+
const { defaultCountry: l, initialValue: e, disableFormatting: i, splitCallingCode: a } = t, d = l && !a ? `+${Z[l]?.[0]}` : "", r = new V(l);
|
|
3654
|
+
let n = r.input(e);
|
|
3655
|
+
const c = r.getNumberValue();
|
|
3656
|
+
i && c && (n = c);
|
|
3657
|
+
const h = r.getCallingCode();
|
|
3658
|
+
return a && h && (n = n.replace(`+${h}`, "").trim()), {
|
|
3659
|
+
inputValue: n || d,
|
|
3660
|
+
isoCode: r.getCountry() || l || null
|
|
3631
3661
|
};
|
|
3632
3662
|
}
|
|
3633
|
-
function
|
|
3663
|
+
function w5(t, l) {
|
|
3634
3664
|
const { excludedCountries: e, onlyCountries: i, continents: a } = l;
|
|
3635
|
-
return !(
|
|
3665
|
+
return !(B(e, !0) && e.includes(t) || B(i) && !i.includes(t) || B(a) && !b2(a, t));
|
|
3636
3666
|
}
|
|
3637
|
-
function
|
|
3667
|
+
function z5({
|
|
3638
3668
|
value: t,
|
|
3639
3669
|
onChange: l,
|
|
3640
3670
|
defaultCountry: e,
|
|
3641
3671
|
forceCallingCode: i,
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3672
|
+
splitCallingCode: a,
|
|
3673
|
+
onlyCountries: d,
|
|
3674
|
+
excludedCountries: r,
|
|
3675
|
+
continents: n,
|
|
3676
|
+
disableFormatting: c
|
|
3646
3677
|
}) {
|
|
3647
|
-
const
|
|
3678
|
+
const h = g.useRef(
|
|
3648
3679
|
e || null
|
|
3649
|
-
),
|
|
3680
|
+
), s = g.useRef(new V(e)), o = g.useRef(null), [v, x] = g.useState(e), [u, $] = g.useState(() => g3({
|
|
3650
3681
|
initialValue: t,
|
|
3651
3682
|
defaultCountry: e,
|
|
3652
|
-
disableFormatting:
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3683
|
+
disableFormatting: c,
|
|
3684
|
+
splitCallingCode: a
|
|
3685
|
+
})), [M, y] = g.useState(t), C = (f) => ({
|
|
3686
|
+
countryCallingCode: s.current.getCallingCode() || null,
|
|
3687
|
+
countryCode: s.current.getCountry() || null,
|
|
3688
|
+
nationalNumber: s.current.getNationalNumber(),
|
|
3689
|
+
numberValue: s.current.getNumberValue() || null,
|
|
3658
3690
|
reason: f
|
|
3659
|
-
}),
|
|
3660
|
-
onlyCountries:
|
|
3661
|
-
excludedCountries:
|
|
3662
|
-
continents:
|
|
3663
|
-
}),
|
|
3664
|
-
let
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3691
|
+
}), a3 = (f) => f && w5(f, {
|
|
3692
|
+
onlyCountries: d,
|
|
3693
|
+
excludedCountries: r,
|
|
3694
|
+
continents: n
|
|
3695
|
+
}), R = (f) => (s.current.reset(), s.current.input(f)), d3 = (f) => {
|
|
3696
|
+
let w = f.target.value;
|
|
3697
|
+
if (a) {
|
|
3698
|
+
const F = u3(w, "+"), n3 = u.isoCode || e;
|
|
3699
|
+
w = `+${_(n3)}${F}`;
|
|
3700
|
+
} else
|
|
3701
|
+
w = w.startsWith("+") || w === "" ? w : `+${w}`;
|
|
3702
|
+
const L = R(w), A = w === "+" || !w ? null : s.current.getCountry() || h.current || null;
|
|
3703
|
+
a || (h.current = A);
|
|
3704
|
+
const I = s.current.getNumber() || null, m = s.current.getNumberValue() || "";
|
|
3705
|
+
if (a) {
|
|
3706
|
+
const F = (c ? m : L).replace(
|
|
3707
|
+
`+${_(
|
|
3708
|
+
u.isoCode || e
|
|
3709
|
+
)}`,
|
|
3710
|
+
""
|
|
3711
|
+
).trim();
|
|
3712
|
+
l?.(F, C("input")), y(F), $({
|
|
3713
|
+
isoCode: h.current,
|
|
3714
|
+
inputValue: F
|
|
3715
|
+
});
|
|
3716
|
+
} else if (i && !I && (u.isoCode || e)) {
|
|
3717
|
+
const F = `+${_(
|
|
3671
3718
|
u.isoCode || e
|
|
3672
3719
|
)}`;
|
|
3673
|
-
l?.(
|
|
3720
|
+
l?.(F, C("input")), y(F), $({
|
|
3674
3721
|
isoCode: u.isoCode || e || null,
|
|
3675
|
-
inputValue:
|
|
3722
|
+
inputValue: F
|
|
3676
3723
|
});
|
|
3677
3724
|
} else
|
|
3678
|
-
|
|
3679
|
-
...
|
|
3725
|
+
m && (!A || !a3(A)) ? (l?.(m, {
|
|
3726
|
+
...C("input"),
|
|
3680
3727
|
countryCode: null,
|
|
3681
3728
|
countryCallingCode: null,
|
|
3682
3729
|
nationalNumber: null
|
|
3683
|
-
}),
|
|
3730
|
+
}), y(m), $({
|
|
3684
3731
|
isoCode: null,
|
|
3685
|
-
inputValue:
|
|
3686
|
-
})) :
|
|
3687
|
-
isoCode:
|
|
3688
|
-
inputValue:
|
|
3689
|
-
})) : (l?.(
|
|
3690
|
-
isoCode:
|
|
3691
|
-
inputValue:
|
|
3732
|
+
inputValue: m
|
|
3733
|
+
})) : c ? (l?.(m, C("input")), y(m), $({
|
|
3734
|
+
isoCode: A || null,
|
|
3735
|
+
inputValue: m
|
|
3736
|
+
})) : (l?.(L, C("input")), y(L), $({
|
|
3737
|
+
isoCode: A || null,
|
|
3738
|
+
inputValue: L
|
|
3692
3739
|
}));
|
|
3693
3740
|
};
|
|
3694
|
-
|
|
3695
|
-
if (t !==
|
|
3696
|
-
|
|
3697
|
-
const f =
|
|
3741
|
+
g.useEffect(() => {
|
|
3742
|
+
if (t !== M) {
|
|
3743
|
+
y(t);
|
|
3744
|
+
const f = g3({
|
|
3698
3745
|
initialValue: t,
|
|
3699
|
-
defaultCountry: e
|
|
3746
|
+
defaultCountry: e,
|
|
3747
|
+
splitCallingCode: a
|
|
3700
3748
|
});
|
|
3701
|
-
|
|
3749
|
+
a ? f.isoCode = h.current : h.current = f.isoCode, $(f);
|
|
3702
3750
|
}
|
|
3703
|
-
}, [t,
|
|
3704
|
-
if (e !==
|
|
3705
|
-
|
|
3706
|
-
const { inputValue: f, isoCode:
|
|
3751
|
+
}, [t, M, e, a]), g.useEffect(() => {
|
|
3752
|
+
if (e !== v) {
|
|
3753
|
+
x(e), s.current = new V(e);
|
|
3754
|
+
const { inputValue: f, isoCode: w } = g3({
|
|
3707
3755
|
initialValue: "",
|
|
3708
|
-
defaultCountry: e
|
|
3756
|
+
defaultCountry: e,
|
|
3757
|
+
splitCallingCode: a
|
|
3709
3758
|
});
|
|
3710
|
-
|
|
3759
|
+
y(f), s.current.input(f), h.current = s.current.getCountry() || null, l?.(f, C("country")), $({
|
|
3711
3760
|
inputValue: f,
|
|
3712
|
-
isoCode:
|
|
3761
|
+
isoCode: w
|
|
3713
3762
|
});
|
|
3714
3763
|
}
|
|
3715
|
-
}, [e,
|
|
3716
|
-
const
|
|
3764
|
+
}, [e, v, a, l]);
|
|
3765
|
+
const r3 = (f) => {
|
|
3717
3766
|
if (f === u.isoCode)
|
|
3718
3767
|
return;
|
|
3719
|
-
const
|
|
3720
|
-
|
|
3721
|
-
|
|
3768
|
+
const w = Z[f]?.[0], { inputValue: L, isoCode: A } = u, I = A ? u3(L, `+${_(A)}`) : L;
|
|
3769
|
+
let m = `+${w}${I}`;
|
|
3770
|
+
c || (m = R(m)), a && (m = u3(m, `+${w}`).trim()), l?.(m, {
|
|
3771
|
+
...C("country"),
|
|
3722
3772
|
countryCode: f
|
|
3723
|
-
}),
|
|
3773
|
+
}), h.current = f, y(m), $({
|
|
3724
3774
|
isoCode: f,
|
|
3725
|
-
inputValue:
|
|
3775
|
+
inputValue: m
|
|
3726
3776
|
});
|
|
3727
3777
|
};
|
|
3728
3778
|
return {
|
|
3729
3779
|
inputValue: u.inputValue,
|
|
3730
3780
|
isoCode: u.isoCode,
|
|
3731
|
-
onInputChange:
|
|
3732
|
-
onCountryChange:
|
|
3733
|
-
inputRef:
|
|
3781
|
+
onInputChange: d3,
|
|
3782
|
+
onCountryChange: r3,
|
|
3783
|
+
inputRef: o
|
|
3734
3784
|
};
|
|
3735
3785
|
}
|
|
3736
|
-
const
|
|
3786
|
+
const M5 = g.forwardRef((t, l) => {
|
|
3737
3787
|
const {
|
|
3738
3788
|
forceCallingCode: e,
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3789
|
+
splitCallingCode: i,
|
|
3790
|
+
onlyCountries: a,
|
|
3791
|
+
excludedCountries: d,
|
|
3792
|
+
defaultCountry: r,
|
|
3793
|
+
onDoubleClick: n,
|
|
3794
|
+
onFocus: c,
|
|
3795
|
+
onCopy: h,
|
|
3796
|
+
value: s,
|
|
3797
|
+
inputProps: o,
|
|
3798
|
+
InputProps: v,
|
|
3799
|
+
inputRef: x,
|
|
3749
3800
|
disabled: u,
|
|
3750
|
-
onChange:
|
|
3751
|
-
disableDropdown:
|
|
3752
|
-
disableFormatting:
|
|
3753
|
-
focusOnSelectCountry:
|
|
3754
|
-
langOfCountryName:
|
|
3755
|
-
continents:
|
|
3756
|
-
preferredCountries:
|
|
3757
|
-
MenuProps:
|
|
3801
|
+
onChange: $,
|
|
3802
|
+
disableDropdown: M,
|
|
3803
|
+
disableFormatting: y,
|
|
3804
|
+
focusOnSelectCountry: C,
|
|
3805
|
+
langOfCountryName: a3,
|
|
3806
|
+
continents: R,
|
|
3807
|
+
preferredCountries: d3,
|
|
3808
|
+
MenuProps: r3,
|
|
3758
3809
|
className: f,
|
|
3759
|
-
...
|
|
3760
|
-
} = t,
|
|
3761
|
-
|
|
3810
|
+
...w
|
|
3811
|
+
} = t, L = g.useRef(null), [A, I] = g.useState(null), m = r || (i ? w2 : void 0);
|
|
3812
|
+
B2(t);
|
|
3762
3813
|
const {
|
|
3763
3814
|
onInputChange: F,
|
|
3764
|
-
onCountryChange:
|
|
3765
|
-
inputRef:
|
|
3766
|
-
isoCode:
|
|
3767
|
-
inputValue:
|
|
3768
|
-
} =
|
|
3769
|
-
defaultCountry:
|
|
3770
|
-
value:
|
|
3771
|
-
onChange:
|
|
3815
|
+
onCountryChange: n3,
|
|
3816
|
+
inputRef: S,
|
|
3817
|
+
isoCode: L3,
|
|
3818
|
+
inputValue: J1
|
|
3819
|
+
} = z5({
|
|
3820
|
+
defaultCountry: m,
|
|
3821
|
+
value: s ?? "",
|
|
3822
|
+
onChange: $,
|
|
3772
3823
|
forceCallingCode: e,
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3824
|
+
splitCallingCode: i,
|
|
3825
|
+
excludedCountries: d,
|
|
3826
|
+
onlyCountries: a,
|
|
3827
|
+
disableFormatting: y,
|
|
3828
|
+
continents: R
|
|
3829
|
+
}), Q1 = (p) => {
|
|
3830
|
+
p.preventDefault(), (!u || !M) && I(L.current);
|
|
3831
|
+
}, q1 = () => {
|
|
3832
|
+
S.current && S.current.focus();
|
|
3833
|
+
}, e2 = (p) => {
|
|
3834
|
+
I(null), n3(p), C && q1();
|
|
3835
|
+
}, t2 = (p) => {
|
|
3836
|
+
setTimeout(() => {
|
|
3837
|
+
S.current && L2(S.current);
|
|
3838
|
+
}, 0), c?.(p);
|
|
3839
|
+
}, l2 = (p) => {
|
|
3840
|
+
const k = S.current;
|
|
3841
|
+
k.setSelectionRange(0, k.value.length), n?.(p);
|
|
3842
|
+
}, i2 = (p) => {
|
|
3843
|
+
if (h) {
|
|
3844
|
+
h(p);
|
|
3793
3845
|
return;
|
|
3794
3846
|
}
|
|
3795
|
-
const
|
|
3796
|
-
if (
|
|
3797
|
-
const
|
|
3798
|
-
|
|
3799
|
-
}
|
|
3800
|
-
},
|
|
3801
|
-
|
|
3802
|
-
},
|
|
3803
|
-
|
|
3804
|
-
},
|
|
3805
|
-
|
|
3847
|
+
const k = window.getSelection();
|
|
3848
|
+
if (k) {
|
|
3849
|
+
const n2 = k.toString().replaceAll(" ", "");
|
|
3850
|
+
p.clipboardData.setData("text/plain", n2), p.preventDefault();
|
|
3851
|
+
}
|
|
3852
|
+
}, a2 = (p) => {
|
|
3853
|
+
S.current = p, v?.inputRef && c3(p, v.inputRef), x && c3(p, x);
|
|
3854
|
+
}, d2 = (p) => {
|
|
3855
|
+
L.current = p, l && c3(p, l);
|
|
3856
|
+
}, r2 = () => {
|
|
3857
|
+
I(null);
|
|
3806
3858
|
};
|
|
3807
|
-
return /* @__PURE__ */
|
|
3808
|
-
children: [/* @__PURE__ */
|
|
3859
|
+
return /* @__PURE__ */ j(b3, {
|
|
3860
|
+
children: [/* @__PURE__ */ z(u2, {
|
|
3809
3861
|
type: "tel",
|
|
3810
3862
|
disabled: u,
|
|
3811
|
-
value:
|
|
3812
|
-
ref:
|
|
3813
|
-
onDoubleClick:
|
|
3814
|
-
inputRef:
|
|
3863
|
+
value: J1,
|
|
3864
|
+
ref: d2,
|
|
3865
|
+
onDoubleClick: l2,
|
|
3866
|
+
inputRef: a2,
|
|
3815
3867
|
className: `MuiTelInput-TextField ${f || ""}`,
|
|
3816
3868
|
onChange: F,
|
|
3817
3869
|
inputProps: {
|
|
3818
|
-
onCopy:
|
|
3819
|
-
...
|
|
3870
|
+
onCopy: i2,
|
|
3871
|
+
...o
|
|
3820
3872
|
},
|
|
3821
|
-
onFocus:
|
|
3873
|
+
onFocus: t2,
|
|
3822
3874
|
InputProps: {
|
|
3823
|
-
...
|
|
3824
|
-
startAdornment: /* @__PURE__ */
|
|
3875
|
+
...v,
|
|
3876
|
+
startAdornment: /* @__PURE__ */ z(f2, {
|
|
3825
3877
|
position: "start",
|
|
3826
|
-
children: /* @__PURE__ */
|
|
3827
|
-
isFlagsMenuOpened: Boolean(
|
|
3828
|
-
isoCode:
|
|
3829
|
-
onClick:
|
|
3878
|
+
children: /* @__PURE__ */ z(D1, {
|
|
3879
|
+
isFlagsMenuOpened: Boolean(A),
|
|
3880
|
+
isoCode: L3,
|
|
3881
|
+
onClick: Q1,
|
|
3830
3882
|
disabled: u,
|
|
3831
|
-
disableDropdown: Boolean(
|
|
3883
|
+
disableDropdown: Boolean(M),
|
|
3884
|
+
splitCallingCode: i
|
|
3832
3885
|
})
|
|
3833
3886
|
})
|
|
3834
3887
|
},
|
|
3835
|
-
...
|
|
3836
|
-
}),
|
|
3837
|
-
onlyCountries:
|
|
3838
|
-
excludedCountries:
|
|
3839
|
-
continents:
|
|
3840
|
-
anchorEl:
|
|
3841
|
-
isoCode:
|
|
3842
|
-
preferredCountries:
|
|
3843
|
-
onClose:
|
|
3844
|
-
langOfCountryName:
|
|
3845
|
-
onSelectCountry:
|
|
3846
|
-
...
|
|
3888
|
+
...w
|
|
3889
|
+
}), M ? null : /* @__PURE__ */ z(L1, {
|
|
3890
|
+
onlyCountries: a,
|
|
3891
|
+
excludedCountries: d,
|
|
3892
|
+
continents: R,
|
|
3893
|
+
anchorEl: A,
|
|
3894
|
+
isoCode: L3,
|
|
3895
|
+
preferredCountries: d3,
|
|
3896
|
+
onClose: r2,
|
|
3897
|
+
langOfCountryName: a3,
|
|
3898
|
+
onSelectCountry: e2,
|
|
3899
|
+
...r3
|
|
3847
3900
|
})]
|
|
3848
3901
|
});
|
|
3849
3902
|
});
|
|
3850
|
-
|
|
3903
|
+
M5.defaultProps = {
|
|
3851
3904
|
value: ""
|
|
3852
3905
|
};
|
|
3853
3906
|
export {
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3907
|
+
V as AsYouType,
|
|
3908
|
+
M5 as MuiTelInput,
|
|
3909
|
+
E5 as matchIsValidTel
|
|
3857
3910
|
};
|