From 4ef16ea6396fb75d2276b6cc57cfb28cb4cecde0 Mon Sep 17 00:00:00 2001 From: "lararennie@google.com" Date: Mon, 30 Jun 2014 11:11:16 +0000 Subject: [PATCH] JS: Re-compiled demo after code update. git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@675 ee073f10-1060-11df-b6a4-87a95322a99c --- javascript/i18n/phonenumbers/demo-compiled.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/i18n/phonenumbers/demo-compiled.js b/javascript/i18n/phonenumbers/demo-compiled.js index 9fb4252..93a108a 100644 --- a/javascript/i18n/phonenumbers/demo-compiled.js +++ b/javascript/i18n/phonenumbers/demo-compiled.js @@ -457,9 +457,9 @@ function Jb(a,b){var c=S(b),d=b.g();if(!(d in L))return 1;d=U(a,d,V(d));d=A(d,1) function Lb(a,b,c,d,e){if(0==a.length)return 0;a=new G(a);var f;b!=l&&(f=A(b,11));f==l&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(O.test(g))g=g.replace(O,""),a.clear(),a.append(P(jb,g)?Q(g,cb):Q(g,N)),f=1;else{g=RegExp(f);tb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(fb);h&&(h[1]!=l&&0=a.h.length&&i("Phone number too short after IDD"); f=Kb(a,c);if(0!=f)return e.da(f),f;i("Invalid country calling code")}if(b!=l&&(f=b.g(),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var n=new G(h.substring(g.length)),h=A(b,1),g=RegExp(D(h,2));Mb(n,b,l);b=n.toString();h=D(h,3);if(!P(g,a.toString())&&P(g,b)||3==Ib(h,a.toString()))return c.append(b),d&&B(e,6,10),e.da(f),f}e.da(0);return 0} function Mb(a,b,c){var d=a.toString(),e=d.length,f=A(b,15);if(!(0==e||f==l||0==f.length))if(f=RegExp("^(?:"+f+")"),e=f.exec(d)){var g=RegExp,h;h=A(b,1);h=D(h,2);g=g(h);h=P(g,d);var n=e.length-1;b=A(b,16);if(b==l||0==b.length||e[n]==l||0==e[n].length){if(!h||P(g,d.substring(e[0].length)))c!=l&&(0e.toString().length?0:P(lb,e.toString()))|| -i("The string supplied did not seem to be a phone number");ub(c)||e.toString()!=l&&0b.substring(0,g).length?0:P(lb,b.substring(0,g))))for(var h=b.match(kb),n=h.length,x=1;xb.h.length&&i("The string supplied is too short to be a phone number");g!=l&&(a=new G,c=new G(b.toString()),Mb(c,g,a),e=c.toString(),g=A(g,1),g=D(g,3),2!=Ib(g,e)&&(b=c,d&&B(f,7,a.toString())));d=b.toString();a=d.length;2>a&&i("The string supplied is too short to be a phone number");17e.toString().length? +0:P(lb,e.toString()))||i("The string supplied did not seem to be a phone number");ub(c)||e.toString()!=l&&0b.substring(0,g).length?0:P(lb,b.substring(0,g))))for(var h=b.match(kb),n=h.length,x=1;xb.h.length&&i("The string supplied is too short to be a phone number");g!=l&&(a=new G,c=new G(b.toString()),Mb(c,g,a),e=c.toString(),g=A(g,1),g=D(g,3),2!=Ib(g,e)&&(b=c,d&&B(f,7,a.toString())));d=b.toString();a=d.length;2>a&&i("The string supplied is too short to be a phone number");17