(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.libphonenumber = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i>> 0); goog.uidCounter_ = 0; goog.getHashCode = goog.getUid; goog.removeHashCode = goog.removeUid; goog.cloneObject = function(a) { var b = goog.typeOf(a); if ("object" == b || "array" == b) { if ("function" === typeof a.clone) { return a.clone(); } b = "array" == b ? [] : {}; for (var c in a) { b[c] = goog.cloneObject(a[c]); } return b; } return a; }; goog.bindNative_ = function(a, b, c) { return a.call.apply(a.bind, arguments); }; goog.bindJs_ = function(a, b, c) { if (!a) { throw Error(); } if (2 < arguments.length) { var d = Array.prototype.slice.call(arguments, 2); return function() { var c = Array.prototype.slice.call(arguments); Array.prototype.unshift.apply(c, d); return a.apply(b, c); }; } return function() { return a.apply(b, arguments); }; }; goog.bind = function(a, b, c) { Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_; return goog.bind.apply(null, arguments); }; goog.partial = function(a, b) { var c = Array.prototype.slice.call(arguments, 1); return function() { var b = c.slice(); b.push.apply(b, arguments); return a.apply(this, b); }; }; goog.mixin = function(a, b) { for (var c in b) { a[c] = b[c]; } }; goog.now = goog.TRUSTED_SITE && Date.now || function() { return +new Date; }; goog.globalEval = function(a) { if (goog.global.execScript) { goog.global.execScript(a, "JavaScript"); } else { if (goog.global.eval) { if (null == goog.evalWorksForGlobals_) { try { goog.global.eval("var _evalTest_ = 1;"); } catch (d) { } if ("undefined" != typeof goog.global._evalTest_) { try { delete goog.global._evalTest_; } catch (d) { } goog.evalWorksForGlobals_ = !0; } else { goog.evalWorksForGlobals_ = !1; } } if (goog.evalWorksForGlobals_) { goog.global.eval(a); } else { var b = goog.global.document, c = b.createElement("script"); c.type = "text/javascript"; c.defer = !1; c.appendChild(b.createTextNode(a)); b.head.appendChild(c); b.head.removeChild(c); } } else { throw Error("goog.globalEval not available"); } } }; goog.evalWorksForGlobals_ = null; goog.getCssName = function(a, b) { if ("." == String(a).charAt(0)) { throw Error('className passed in goog.getCssName must not start with ".". You passed: ' + a); } var c = function(a) { return goog.cssNameMapping_[a] || a; }, d = function(a) { a = a.split("-"); for (var b = [], d = 0; d < a.length; d++) { b.push(c(a[d])); } return b.join("-"); }; d = goog.cssNameMapping_ ? "BY_WHOLE" == goog.cssNameMappingStyle_ ? c : d : function(a) { return a; }; d = b ? a + "-" + d(b) : d(a); return goog.global.CLOSURE_CSS_NAME_MAP_FN ? goog.global.CLOSURE_CSS_NAME_MAP_FN(d) : d; }; goog.setCssNameMapping = function(a, b) { goog.cssNameMapping_ = a; goog.cssNameMappingStyle_ = b; }; !COMPILED && goog.global.CLOSURE_CSS_NAME_MAPPING && (goog.cssNameMapping_ = goog.global.CLOSURE_CSS_NAME_MAPPING); goog.getMsg = function(a, b, c) { c && c.html && (a = a.replace(/{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()'); }); a("es7", function() { return b("2 ** 2 == 4"); }); a("es8", function() { return b("async () => 1, true"); }); a("es9", function() { return b("({...rest} = {}), true"); }); a("es_next", function() { return !1; }); return {target:c, map:d}; }, goog.Transpiler.prototype.needsTranspile = function(a, b) { if ("always" == goog.TRANSPILE) { return !0; } if ("never" == goog.TRANSPILE) { return !1; } if (!this.requiresTranspilation_) { var c = this.createRequiresTranspilation_(); this.requiresTranspilation_ = c.map; this.transpilationTarget_ = this.transpilationTarget_ || c.target; } if (a in this.requiresTranspilation_) { return this.requiresTranspilation_[a] ? !0 : !goog.inHtmlDocument_() || "es6" != b || "noModule" in goog.global.document.createElement("script") ? !1 : !0; } throw Error("Unknown language mode: " + a); }, goog.Transpiler.prototype.transpile = function(a, b) { return goog.transpile_(a, b, this.transpilationTarget_); }, goog.transpiler_ = new goog.Transpiler, goog.protectScriptTag_ = function(a) { return a.replace(/<\/(SCRIPT)/ig, "\\x3c/$1"); }, goog.DebugLoader_ = function() { this.dependencies_ = {}; this.idToPath_ = {}; this.written_ = {}; this.loadingDeps_ = []; this.depsToLoad_ = []; this.paused_ = !1; this.factory_ = new goog.DependencyFactory(goog.transpiler_); this.deferredCallbacks_ = {}; this.deferredQueue_ = []; }, goog.DebugLoader_.prototype.bootstrap = function(a, b) { function c() { d && (goog.global.setTimeout(d, 0), d = null); } var d = b; if (a.length) { for (var e = [], f = 0; f < a.length; f++) { var g = this.getPathFromDeps_(a[f]); if (!g) { throw Error("Unregonized namespace: " + a[f]); } e.push(this.dependencies_[g]); } g = goog.require; var h = 0; for (f = 0; f < a.length; f++) { g(a[f]), e[f].onLoad(function() { ++h == a.length && c(); }); } } else { c(); } }, goog.DebugLoader_.prototype.loadClosureDeps = function() { this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath + "deps.js"), "deps.js", [], [], {}, !1)); this.loadDeps_(); }, goog.DebugLoader_.prototype.requested = function(a, b) { var c = this.getPathFromDeps_(a); if (c && (b || this.areDepsLoaded_(this.dependencies_[c].requires))) { var d = this.deferredCallbacks_[c]; d && (delete this.deferredCallbacks_[c], d()); } }, goog.DebugLoader_.prototype.setDependencyFactory = function(a) { this.factory_ = a; }, goog.DebugLoader_.prototype.load_ = function(a) { if (this.getPathFromDeps_(a)) { var b = this, c = [], d = function(a) { var e = b.getPathFromDeps_(a); if (!e) { throw Error("Bad dependency path or symbol: " + a); } if (!b.written_[e]) { b.written_[e] = !0; a = b.dependencies_[e]; for (e = 0; e < a.requires.length; e++) { goog.isProvided_(a.requires[e]) || d(a.requires[e]); } c.push(a); } }; d(a); a = !!this.depsToLoad_.length; this.depsToLoad_ = this.depsToLoad_.concat(c); this.paused_ || a || this.loadDeps_(); } else { throw a = "goog.require could not find: " + a, goog.logToConsole_(a), Error(a); } }, goog.DebugLoader_.prototype.loadDeps_ = function() { for (var a = this, b = this.paused_; this.depsToLoad_.length && !b;) { (function() { var c = !1, d = a.depsToLoad_.shift(), e = !1; a.loading_(d); var f = {pause:function() { if (c) { throw Error("Cannot call pause after the call to load."); } b = !0; }, resume:function() { c ? a.resume_() : b = !1; }, loaded:function() { if (e) { throw Error("Double call to loaded."); } e = !0; a.loaded_(d); }, pending:function() { for (var b = [], c = 0; c < a.loadingDeps_.length; c++) { b.push(a.loadingDeps_[c]); } return b; }, setModuleState:function(a) { goog.moduleLoaderState_ = {type:a, moduleName:"", declareLegacyNamespace:!1}; }, registerEs6ModuleExports:function(a, b, c) { c && (goog.loadedModules_[c] = {exports:b, type:goog.ModuleType.ES6, moduleId:c || ""}); }, registerGoogModuleExports:function(a, b) { goog.loadedModules_[a] = {exports:b, type:goog.ModuleType.GOOG, moduleId:a}; }, clearModuleState:function() { goog.moduleLoaderState_ = null; }, defer:function(b) { if (c) { throw Error("Cannot register with defer after the call to load."); } a.defer_(d, b); }, areDepsLoaded:function() { return a.areDepsLoaded_(d.requires); }}; try { d.load(f); } finally { c = !0; } })(); } b && this.pause_(); }, goog.DebugLoader_.prototype.pause_ = function() { this.paused_ = !0; }, goog.DebugLoader_.prototype.resume_ = function() { this.paused_ && (this.paused_ = !1, this.loadDeps_()); }, goog.DebugLoader_.prototype.loading_ = function(a) { this.loadingDeps_.push(a); }, goog.DebugLoader_.prototype.loaded_ = function(a) { for (var b = 0; b < this.loadingDeps_.length; b++) { if (this.loadingDeps_[b] == a) { this.loadingDeps_.splice(b, 1); break; } } for (b = 0; b < this.deferredQueue_.length; b++) { if (this.deferredQueue_[b] == a.path) { this.deferredQueue_.splice(b, 1); break; } } if (this.loadingDeps_.length == this.deferredQueue_.length && !this.depsToLoad_.length) { for (; this.deferredQueue_.length;) { this.requested(this.deferredQueue_.shift(), !0); } } a.loaded(); }, goog.DebugLoader_.prototype.areDepsLoaded_ = function(a) { for (var b = 0; b < a.length; b++) { var c = this.getPathFromDeps_(a[b]); if (!c || !(c in this.deferredCallbacks_ || goog.isProvided_(a[b]))) { return !1; } } return !0; }, goog.DebugLoader_.prototype.getPathFromDeps_ = function(a) { return a in this.idToPath_ ? this.idToPath_[a] : a in this.dependencies_ ? a : null; }, goog.DebugLoader_.prototype.defer_ = function(a, b) { this.deferredCallbacks_[a.path] = b; this.deferredQueue_.push(a.path); }, goog.LoadController = function() { }, goog.LoadController.prototype.pause = function() { }, goog.LoadController.prototype.resume = function() { }, goog.LoadController.prototype.loaded = function() { }, goog.LoadController.prototype.pending = function() { }, goog.LoadController.prototype.registerEs6ModuleExports = function(a, b, c) { }, goog.LoadController.prototype.setModuleState = function(a) { }, goog.LoadController.prototype.clearModuleState = function() { }, goog.LoadController.prototype.defer = function(a) { }, goog.LoadController.prototype.areDepsLoaded = function() { }, goog.Dependency = function(a, b, c, d, e) { this.path = a; this.relativePath = b; this.provides = c; this.requires = d; this.loadFlags = e; this.loaded_ = !1; this.loadCallbacks_ = []; }, goog.Dependency.prototype.getPathName = function() { var a = this.path, b = a.indexOf("://"); 0 <= b && (a = a.substring(b + 3), b = a.indexOf("/"), 0 <= b && (a = a.substring(b + 1))); return a; }, goog.Dependency.prototype.onLoad = function(a) { this.loaded_ ? a() : this.loadCallbacks_.push(a); }, goog.Dependency.prototype.loaded = function() { this.loaded_ = !0; var a = this.loadCallbacks_; this.loadCallbacks_ = []; for (var b = 0; b < a.length; b++) { a[b](); } }, goog.Dependency.defer_ = !1, goog.Dependency.callbackMap_ = {}, goog.Dependency.registerCallback_ = function(a) { var b = Math.random().toString(32); goog.Dependency.callbackMap_[b] = a; return b; }, goog.Dependency.unregisterCallback_ = function(a) { delete goog.Dependency.callbackMap_[a]; }, goog.Dependency.callback_ = function(a, b) { if (a in goog.Dependency.callbackMap_) { for (var c = goog.Dependency.callbackMap_[a], d = [], e = 1; e < arguments.length; e++) { d.push(arguments[e]); } c.apply(void 0, d); } else { throw Error("Callback key " + a + " does not exist (was base.js loaded more than once?)."); } }, goog.Dependency.prototype.load = function(a) { if (goog.global.CLOSURE_IMPORT_SCRIPT) { goog.global.CLOSURE_IMPORT_SCRIPT(this.path) ? a.loaded() : a.pause(); } else { if (goog.inHtmlDocument_()) { var b = goog.global.document; if ("complete" == b.readyState && !goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING) { if (/\bdeps.js$/.test(this.path)) { a.loaded(); return; } throw Error('Cannot write "' + this.path + '" after document load'); } if (!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING && goog.isDocumentLoading_()) { var c = goog.Dependency.registerCallback_(function(b) { goog.DebugLoader_.IS_OLD_IE_ && "complete" != b.readyState || (goog.Dependency.unregisterCallback_(c), a.loaded()); }), d = !goog.DebugLoader_.IS_OLD_IE_ && goog.getScriptNonce() ? ' nonce="' + goog.getScriptNonce() + '"' : ""; d = '