From 9cbf793ba3cd5ed63a5d9c9da8eef99cb4437472 Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Thu, 2 Aug 2018 16:27:48 -0700 Subject: [PATCH 1/2] update to latest google version --- .DS_Store | Bin 0 -> 6148 bytes bower.json | 4 +- dist/i18n.phonenumbers.min.js | 821 ++--- dist/lite.i18n.phonenumbers.min.js | 764 ++--- package-lock.json | 4669 ++++++++++++++++++++++++++++ 5 files changed, 5477 insertions(+), 781 deletions(-) create mode 100644 .DS_Store create mode 100644 package-lock.json diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ba288633c2da79eaebc93c6a3d2e7115304f4a04 GIT binary patch literal 6148 zcmeH~JqiLr422WjLa^D=avBfd4F=H@>;)`VZ2SR1>p8kFnIJe?i^vNkZ<3j?>{sk; zL`2uOaV64=$P8{OOAC!D@=iwC%SkTx;d(w^&Ii=2K8drohWFC!$2NroNPq-LfCNb3 zhX~lc4V%rYGLirZkie6GeIF9sG>4X|{^>yQ5dhku?1r_^63}D?Xbvq^QGsbp4;roN zV~Ewg9h%}?4lPw{yJ!p_8c$Z6VqjX^MH3R3W)}t$Ac2O!wC26t|6BN{`M+slN&+PC zX9Tp{44XAxD(=>|*R%RAsc?Math.max(0,a.length+c):c;if(k(a))return k(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aa.length?!1:M(Ja,a)}function Ra(a){return M(Ha,a)?N(a,Aa):N(a,K)}function Sa(a){var b=Ra(a.toString());r(a);a.a(b)}function Ta(){return da(Object.keys(ba),function(a){return isNaN(a)})} -function N(a,b){for(var c=new q,d,f=a.length,e=0;e=e&&e<=f;++e)if(d=parseInt(c.substring(0,e),10),d in p)return b.a(c.substring(e)),d;return 0} -function lb(a,b,c,d,f){if(0==a.length)return 0;a=new q(a);var e;null!=b&&(e=z(b,11));null==e&&(e="NonMatch");var g=a.toString();if(0==g.length)e=20;else if(L.test(g))g=g.replace(L,""),r(a),a.a(Ra(g)),e=1;else{g=new RegExp(e);Sa(a);e=a.toString();if(0==e.search(g)){var g=e.match(g)[0].length,h=e.substring(g).match(Da);h&&null!=h[1]&&0=a.b.length)throw"Phone number too short after IDD";c= -kb(a,c);if(0!=c)return y(f,1,c),c;throw"Invalid country calling code";}if(null!=b&&(e=A(b,10),g=""+e,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new q(h.substring(g.length)),h=z(b,1),g=new RegExp(A(h,2));mb(m,b,null);b=m.toString();h=A(h,3);if(!M(g,a.toString())&&M(g,b)||3==hb(h,a.toString()))return c.a(b),d&&y(f,6,10),y(f,1,e),e}y(f,1,0);return 0} -function mb(a,b,c){var d=a.toString(),f=d.length,e=z(b,15);if(0!=f&&null!=e&&0!=e.length&&(e=new RegExp("^(?:"+e+")"),f=e.exec(d))){var g=RegExp,h;h=z(b,1);h=A(h,2);g=new g(h);h=M(g,d);var m=f.length-1;b=z(b,16);if(null==b||0==b.length||null==f[m]||0==f[m].length){if(!h||M(g,d.substring(f[0].length)))null!=c&&0g.b.length)throw"The string supplied is too short to be a phone number";null!=b&&(a=new q,c=new q(g.toString()),mb(c,b,a),ib(b,c.toString())||(g=c,d&&y(e,7,a.toString())));d=g.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17=g){f=d;break}e=e.substring(0,g);e=N(e,K);if(0==e.length){f=d;break}h=h.clone();C(h,4);e=[h];h=A(c,1);d=R(c);h in p?(f=T(f,h,U(h)),g="",g=Za(e,d),null==g?g=d:(e=g.clone(),g=A(g,4),0c?Math.max(0,a.length+c):c;if(k(a))return k(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aa.length?!1:M(Na,a)}function Va(a){return M(La,a)?N(a,Ea):N(a,J)}function Wa(a){var b=Va(a.toString());H(a);a.a(b)}function Xa(){return ca(Object.keys(ba),function(a){return isNaN(a)})}function Ya(a){return null!=a&&(1!=z(a,9)||-1!=w(a,9)[0])} +function N(a,b){for(var c=new G,d,e=a.length,f=0;fb?2:f[f.length-1]=e&&e<=d;++e)if(c=parseInt(a.substring(0,e),10),c in p)return b.a(a.substring(e)),c;return 0} +function pb(a,b,c,d,e,f){if(0==b.length)return 0;b=new G(b);var g;null!=c&&(g=u(c,11));null==g&&(g="NonMatch");var h=b.toString();if(0==h.length)g=20;else if(L.test(h))h=h.replace(L,""),H(b),b.a(Va(h)),g=1;else{h=new RegExp(g);Wa(b);g=b.toString();if(0==g.search(h)){h=g.match(h)[0].length;var m=g.substring(h).match(Ha);m&&null!=m[1]&&0=b.b.length)throw Error("Phone number too short after IDD"); +a=ob(b,d);if(0!=a)return v(f,1,a),a;throw Error("Invalid country calling code");}if(null!=c&&(g=y(c,10),h=""+g,m=b.toString(),0==m.lastIndexOf(h,0)&&(h=new G(m.substring(h.length)),m=u(c,1),m=new RegExp(y(m,2)),qb(h,c,null),h=h.toString(),!M(m,b.toString())&&M(m,h)||3==W(a,b.toString(),c,-1))))return d.a(h),e&&v(f,6,10),v(f,1,g),g;v(f,1,0);return 0} +function qb(a,b,c){var d=a.toString(),e=d.length,f=u(b,15);if(0!=e&&null!=f&&0!=f.length){var g=new RegExp("^(?:"+f+")");if(e=g.exec(d)){f=new RegExp(y(u(b,1),2));var h=M(f,d),m=e.length-1;b=u(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||M(f,d.substring(e[0].length)))null!=c&&0b.b.length)throw Error("The string supplied is too short to be a phone number");null!=g&&(c=new G,e=new G(b.toString()),qb(e,g,c),a=W(a,e.toString(),g,-1),2!=a&&4!=a&&5!=a&&(b=e,d&&0a)throw Error("The string supplied is too short to be a phone number");if(17=e?b=c:(d=d.substring(0,e),d=N(d,J),0==d.length?b=c:(g=g.clone(),A(g,4),d=[g],g=y(a,1),c=Q(a),g in p?(b=S(b,g,T(g)),e=eb(d,c),null!=e&&(d=e.clone(),e=y(e,4),0c?Math.max(0,a.length+c):c;if(k(a))return k(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aa.length?!1:M(Ja,a)}function Ra(a){return M(Ha,a)?N(a,Aa):N(a,K)}function Sa(a){var b=Ra(a.toString());F(a);a.a(b)}function Ta(){return da(Object.keys(ba),function(a){return isNaN(a)})} -function N(a,b){for(var c=new E,d,f=a.length,e=0;e=e&&e<=f;++e)if(d=parseInt(c.substring(0,e),10),d in p)return b.a(c.substring(e)),d;return 0} -function lb(a,b,c,d,f){if(0==a.length)return 0;a=new E(a);var e;null!=b&&(e=x(b,11));null==e&&(e="NonMatch");var g=a.toString();if(0==g.length)e=20;else if(L.test(g))g=g.replace(L,""),F(a),a.a(Ra(g)),e=1;else{g=new RegExp(e);Sa(a);e=a.toString();if(0==e.search(g)){var g=e.match(g)[0].length,h=e.substring(g).match(Da);h&&null!=h[1]&&0=a.b.length)throw"Phone number too short after IDD";c= -kb(a,c);if(0!=c)return w(f,1,c),c;throw"Invalid country calling code";}if(null!=b&&(e=y(b,10),g=""+e,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new E(h.substring(g.length)),h=x(b,1),g=new RegExp(y(h,2));mb(m,b,null);b=m.toString();h=y(h,3);if(!M(g,a.toString())&&M(g,b)||3==hb(h,a.toString()))return c.a(b),d&&w(f,6,10),w(f,1,e),e}w(f,1,0);return 0} -function mb(a,b,c){var d=a.toString(),f=d.length,e=x(b,15);if(0!=f&&null!=e&&0!=e.length&&(e=new RegExp("^(?:"+e+")"),f=e.exec(d))){var g=RegExp,h;h=x(b,1);h=y(h,2);g=new g(h);h=M(g,d);var m=f.length-1;b=x(b,16);if(null==b||0==b.length||null==f[m]||0==f[m].length){if(!h||M(g,d.substring(f[0].length)))null!=c&&0g.b.length)throw"The string supplied is too short to be a phone number";null!=b&&(a=new E,c=new E(g.toString()),mb(c,b,a),ib(b,c.toString())||(g=c,d&&w(e,7,a.toString())));d=g.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17=g){f=d;break}e=e.substring(0,g);e=N(e,K);if(0==e.length){f=d;break}h=h.clone();A(h,4);e=[h];h=y(c,1);d=R(c);h in p?(f=T(f,h,U(h)),g="",g=Za(e,d),null==g?g=d:(e=g.clone(),g=y(g,4),0c?Math.max(0,a.length+c):c;if(k(a))return k(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aa.length?!1:M(Na,a)}function Va(a){return M(La,a)?N(a,Ea):N(a,J)}function Wa(a){var b=Va(a.toString());G(a);a.a(b)}function Xa(){return ca(Object.keys(ba),function(a){return isNaN(a)})}function Ya(a){return null!=a&&(1!=z(a,9)||-1!=w(a,9)[0])} +function N(a,b){for(var c=new F,d,e=a.length,f=0;fb?2:f[f.length-1]=e&&e<=d;++e)if(c=parseInt(a.substring(0,e),10),c in p)return b.a(a.substring(e)),c;return 0} +function pb(a,b,c,d,e,f){if(0==b.length)return 0;b=new F(b);var g;null!=c&&(g=u(c,11));null==g&&(g="NonMatch");var h=b.toString();if(0==h.length)g=20;else if(L.test(h))h=h.replace(L,""),G(b),b.a(Va(h)),g=1;else{h=new RegExp(g);Wa(b);g=b.toString();if(0==g.search(h)){h=g.match(h)[0].length;var m=g.substring(h).match(Ha);m&&null!=m[1]&&0=b.b.length)throw Error("Phone number too short after IDD"); +a=ob(b,d);if(0!=a)return v(f,1,a),a;throw Error("Invalid country calling code");}if(null!=c&&(g=y(c,10),h=""+g,m=b.toString(),0==m.lastIndexOf(h,0)&&(h=new F(m.substring(h.length)),m=u(c,1),m=new RegExp(y(m,2)),qb(h,c,null),h=h.toString(),!M(m,b.toString())&&M(m,h)||3==W(a,b.toString(),c,-1))))return d.a(h),e&&v(f,6,10),v(f,1,g),g;v(f,1,0);return 0} +function qb(a,b,c){var d=a.toString(),e=d.length,f=u(b,15);if(0!=e&&null!=f&&0!=f.length){var g=new RegExp("^(?:"+f+")");if(e=g.exec(d)){f=new RegExp(y(u(b,1),2));var h=M(f,d),m=e.length-1;b=u(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||M(f,d.substring(e[0].length)))null!=c&&0b.b.length)throw Error("The string supplied is too short to be a phone number");null!=g&&(c=new F,e=new F(b.toString()),qb(e,g,c),a=W(a,e.toString(),g,-1),2!=a&&4!=a&&5!=a&&(b=e,d&&0a)throw Error("The string supplied is too short to be a phone number");if(17=e?b=c:(d=d.substring(0,e),d=N(d,J),0==d.length?b=c:(g=g.clone(),A(g,4),d=[g],g=y(a,1),c=Q(a),g in p?(b=S(b,g,T(g)),e=eb(d,c),null!=e&&(d=e.clone(),e=y(e,4),0 Date: Thu, 2 Aug 2018 16:47:59 -0700 Subject: [PATCH 2/2] delete ds store file --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index ba288633c2da79eaebc93c6a3d2e7115304f4a04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~JqiLr422WjLa^D=avBfd4F=H@>;)`VZ2SR1>p8kFnIJe?i^vNkZ<3j?>{sk; zL`2uOaV64=$P8{OOAC!D@=iwC%SkTx;d(w^&Ii=2K8drohWFC!$2NroNPq-LfCNb3 zhX~lc4V%rYGLirZkie6GeIF9sG>4X|{^>yQ5dhku?1r_^63}D?Xbvq^QGsbp4;roN zV~Ewg9h%}?4lPw{yJ!p_8c$Z6VqjX^MH3R3W)}t$Ac2O!wC26t|6BN{`M+slN&+PC zX9Tp{44XAxD(=>|*R%RAs