diff --git a/java/release_notes.txt b/java/release_notes.txt index 8086aca9c..f2a7164c6 100644 --- a/java/release_notes.txt +++ b/java/release_notes.txt @@ -1,3 +1,6 @@ +Jan 12, 2016: libphonenumber-7.2.3 +Metadata changes: + Jan 08, 2016: libphonenumber-7.2.3 Metadata changes: - Updated phone metadata for region code(s): diff --git a/javascript/i18n/phonenumbers/demo-compiled.js b/javascript/i18n/phonenumbers/demo-compiled.js index 58cab02d3..4cbcfab04 100644 --- a/javascript/i18n/phonenumbers/demo-compiled.js +++ b/javascript/i18n/phonenumbers/demo-compiled.js @@ -1,16 +1,15 @@ (function(){var k=this; function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"== -b&&"undefined"==typeof a.call)return"object";return b}function ba(a){return"string"==typeof a}function l(a,b){function c(){}c.prototype=b.prototype;a.ha=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ma=function(a,c,f){for(var g=Array(arguments.length-2),h=2;hb?1:0};function fa(a,b){b.unshift(a);n.call(this,ca.apply(null,b));b.shift()}l(fa,n);fa.prototype.name="AssertionError";function ga(a,b){throw new fa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var ha=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(ba(a))return ba(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aparseFloat(a))?String(b):a}(),va={}; -function wa(a){if(!va[a]){for(var b=0,c=da(String(ua)).split("."),d=da(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb?1:0};function fa(a,b){b.unshift(a);n.call(this,ca.apply(null,b));b.shift()}l(fa,n);fa.prototype.name="AssertionError";function ga(a,b){throw new fa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var ha=Array.prototype,ia=ha.indexOf?function(a,b,c){return ha.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(ba(a))return ba(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?1:aparseFloat(a))?String(b):a}(),wa={}; +function xa(a){if(!wa[a]){for(var b=0,c=da(String(va)).split("."),d=da(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fa.length?!1:P(ob,a)}function xb(a){return P(mb,a)?Q(a,fb):Q(a,N)}function yb(a){var b=xb(a.toString());E(a);a.a(b)}function Q(a,b){for(var c=new D,d,e=a.length,f=0;f=e){a=c;break}d=d.substring(0,e);d=Q(d,N);if(0==d.length){a=c;break}g=g.clone();Wa(g,4);d=[g];g=z(b,1);c=S(b);g in K?(a=U(a,g,V(g)),e="",e=Gb(d,c),null==e?e=c:(d=e.clone(),e=z(e,4),0=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in K)return b.a(c.substring(f)),d;return 0} -function Qb(a,b,c,d,e){if(0==a.length)return 0;a=new D(a);var f;null!=b&&(f=y(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(O.test(g))g=g.replace(O,""),E(a),a.a(xb(g)),f=1;else{g=new RegExp(f);yb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(ib);h&&null!=h[1]&&0=a.b.length)throw"Phone number too short after IDD";c= -Pb(a,c);if(0!=c)return x(e,1,c),c;throw"Invalid country calling code";}if(null!=b&&(f=z(b,10),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new D(h.substring(g.length)),h=y(b,1),g=new RegExp(z(h,2));Rb(m,b,null);b=m.toString();h=z(h,3);if(!P(g,a.toString())&&P(g,b)||3==Nb(h,a.toString()))return c.a(b),d&&x(e,6,10),x(e,1,f),f}x(e,1,0);return 0} -function Rb(a,b,c){var d=a.toString(),e=d.length,f=y(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=y(b,1);h=z(h,2);g=new g(h);h=P(g,d);var m=e.length-1;b=y(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||P(g,d.substring(e[0].length)))null!=c&&0b.b.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new D,c=new D(b.toString()),Rb(c,g,a),e=c.toString(),g=y(g,1),g=z(g,3),2!=Nb(g,e)&&(b=c,d&&x(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17a.length?!1:P(pb,a)}function yb(a){return P(nb,a)?Q(a,gb):Q(a,N)}function zb(a){var b=yb(a.toString());E(a);a.a(b)}function Q(a,b){for(var c=new D,d,e=a.length,f=0;f=e){a=c;break}d=d.substring(0,e);d=Q(d,N);if(0==d.length){a=c;break}g=g.clone();Xa(g,4);d=[g];g=z(b,1);c=S(b);g in K?(a=U(a,g,V(g)),e="",e=Hb(d,c),null==e?e=c:(d=e.clone(),e=z(e,4),0=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in K)return b.a(c.substring(f)),d;return 0} +function Rb(a,b,c,d,e){if(0==a.length)return 0;a=new D(a);var f;null!=b&&(f=y(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(O.test(g))g=g.replace(O,""),E(a),a.a(yb(g)),f=1;else{g=new RegExp(f);zb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(jb);h&&null!=h[1]&&0=a.b.length)throw"Phone number too short after IDD";c= +Qb(a,c);if(0!=c)return x(e,1,c),c;throw"Invalid country calling code";}if(null!=b&&(f=z(b,10),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new D(h.substring(g.length)),h=y(b,1),g=new RegExp(z(h,2));Sb(m,b,null);b=m.toString();h=z(h,3);if(!P(g,a.toString())&&P(g,b)||3==Ob(h,a.toString()))return c.a(b),d&&x(e,6,10),x(e,1,f),f}x(e,1,0);return 0} +function Sb(a,b,c){var d=a.toString(),e=d.length,f=y(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=y(b,1);h=z(h,2);g=new g(h);h=P(g,d);var m=e.length-1;b=y(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||P(g,d.substring(e[0].length)))null!=c&&0b.b.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new D,c=new D(b.toString()),Sb(c,g,a),e=c.toString(),g=y(g,1),g=z(g,3),2!=Ob(g,e)&&(b=c,d&&x(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17